/* Premium Dark Mode & Glassmorphism Design System */
:root {
    /* Color Palette */
    --bg-base: #0B0B0E;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(17, 18, 23, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --primary: #5B4EE6;
    --primary-hover: #4C3CDE;
    --secondary: #1F222B;
    --secondary-hover: #292D38;
    
    --accent-red: #FF5A5F;
    --accent-green: #10B981;
    
    --text-main: #FFFFFF;
    --text-muted: #94A0B8;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1140px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 99px;
    
    /* Effects */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Background Blobs for depth - Web App Aesthetics */
.blob {
    position: absolute;
    filter: blur(120px);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.35;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -15%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(91,78,230,0.6) 0%, rgba(91,78,230,0) 70%);
}

.blob-2 {
    bottom: 0%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,90,95,0.4) 0%, rgba(255,90,95,0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 80px); }
}

/* Core Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-effect {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
}

.gradient-text {
    background: linear-gradient(135deg, #FFF, #7B8BA3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Navigation Menu */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-glass);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
}

.logo-text {
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.6rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(91, 78, 230, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 78, 230, 0.6);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: var(--bg-surface);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    min-height: 100vh;
    padding-top: 6rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Interactive Hero Mockup Card */
.hero-mockup {
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transform: perspective(1000px) rotateY(-12deg) rotateX(6deg);
    box-shadow: var(--shadow-glass);
    animation: float-mockup 7s infinite ease-in-out alternate;
}

@keyframes float-mockup {
    0% { transform: perspective(1000px) rotateY(-12deg) rotateX(6deg) translateY(0); }
    100% { transform: perspective(1000px) rotateY(-8deg) rotateX(2deg) translateY(-25px); }
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background: #FF5F56; }
.yellow { background: #FFBD2E; }
.green { background: #27C93F; }

.mockup-body h3 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-size: 1.3rem;
}

.benchmark-item {
    margin-bottom: 1.5rem;
}

.benchmark-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--secondary);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    background: var(--primary);
    border-radius: var(--radius-pill);
    position: relative;
}

.progress-bar .fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Sections Base */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* High-Converting Grid System */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.tool-card {
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.tool-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent-red), #FF8E53);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(255, 90, 95, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tool-header {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.tool-title-group h3 {
    font-size: 1.4rem;
    line-height: 1.2;
}

.tool-category {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.tool-description {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.tool-features {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-glass);
}

.tool-features span {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #E2E8F0;
    font-weight: 500;
}

.tool-features .check {
    color: var(--accent-green);
    font-style: normal;
    font-weight: bold;
    font-size: 1rem;
}

.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-rating {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.star {
    color: #FBBF24;
}

.review-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Media Queries */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
        gap: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-mockup {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .nav-links {
        display: none;
    }
}
