/* ========================================
   CSS Variables & Design System
   ======================================== */
:root {
    /* Colors */
    --primary-color: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --accent-color: #06b6d4;
    --accent-light: #22d3ee;

    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.nav.glass {
    border-radius: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: var(--transition);
    border-radius: 0;
    width: 100%;
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--spacing-xl) 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* App Store Badges */
.app-store-badges {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.app-badge {
    display: inline-block;
    text-decoration: none;
    background: #000000;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.badge-small {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-large {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Phone Mockup Styles */
.phone-mockup {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.05s ease-out;
    cursor: grab;
    user-select: none;
    width: 260px;
    height: 530px;
}

.phone-mockup:active {
    cursor: grabbing;
}

.phone-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.phone-front {
    transform: rotateY(0deg);
}

.phone-back {
    transform: rotateY(180deg);
}

/* Phone side faces for 3D depth */
.phone-right {
    width: 18px;
    height: 530px;
    right: 0;
    transform-origin: right center;
    transform: rotateY(90deg);
    background: linear-gradient(135deg, rgba(100, 100, 120, 0.4), rgba(60, 60, 80, 0.6));
    border-radius: 3px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.phone-left {
    width: 18px;
    height: 530px;
    left: 0;
    transform-origin: left center;
    transform: rotateY(-90deg);
    background: linear-gradient(135deg, rgba(60, 60, 80, 0.6), rgba(100, 100, 120, 0.4));
    border-radius: 3px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.phone-top {
    width: 260px;
    height: 18px;
    top: 0;
    transform-origin: top center;
    transform: rotateX(90deg);
    background: linear-gradient(135deg, rgba(80, 80, 100, 0.5), rgba(60, 60, 80, 0.6));
    border-radius: 3px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.phone-bottom {
    width: 260px;
    height: 18px;
    bottom: 0;
    transform-origin: bottom center;
    transform: rotateX(-90deg);
    background: linear-gradient(135deg, rgba(60, 60, 80, 0.6), rgba(80, 80, 100, 0.5));
    border-radius: 3px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.phone-frame {
    width: 260px;
    height: 530px;
    padding: 10px;
    border-radius: 35px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.phone-frame-back {
    width: 260px;
    height: 530px;
    padding: 10px;
    border-radius: 35px;
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
}

.phone-camera-module {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.camera-lens {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, #4a5568, #1a202c);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.camera-lens::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.camera-lens-small {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 24px;
    height: 24px;
}

.camera-flash {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #fbbf24, #f59e0b);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: var(--bg-darker);
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-content {
    padding: 35px 16px 16px;
    height: 100%;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    margin-bottom: 1.5rem;
}

.phone-time {
    font-weight: 600;
}

.phone-status {
    display: flex;
    gap: 4px;
    font-size: 0.6rem;
}

.phone-app-content {
    text-align: center;
}

.app-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.app-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.app-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
}

.stat-icon {
    font-size: 1.25rem;
}

.stat-text {
    text-align: left;
    flex: 1;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-item {
    padding: 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-color), var(--accent-color));
    opacity: 0.2;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: float 8s ease-in-out infinite;
}

.mini-card {
    padding: 1rem;
    font-size: 2rem;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.mini-card:hover {
    transform: scale(1.2) rotate(10deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateZ(0px); }
    50% { transform: translateY(-20px) translateZ(10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: var(--spacing-lg) 0;
    background: #ffffff;
    color: var(--bg-dark);
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.features .section-title {
    color: var(--bg-dark);
}

.features .section-subtitle {
    color: #475569;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    padding: var(--spacing-md);
    transition: var(--transition);
    cursor: pointer;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    background: rgba(37, 99, 235, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--bg-dark);
}

.feature-description {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--spacing-xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.stat-card {
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: var(--spacing-lg) 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.cta-content {
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--primary-color), var(--accent-color));
    opacity: 0.15;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.15; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.25; transform: translate(-50%, -50%) scale(1.1); }
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.cta .app-store-badges {
    justify-content: center;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid var(--glass-border);
    margin-top: 0;
    width: 100%;
    border-radius: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    color: var(--text-tertiary);
    margin-top: var(--spacing-sm);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--glass-border);
    color: var(--text-tertiary);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 400px;
    }

    .phone-frame {
        width: 240px;
        height: 490px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .phone-frame {
        width: 220px;
        height: 450px;
    }

    .app-logo {
        font-size: 1.75rem;
    }

    .floating-element {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .phone-frame {
        width: 200px;
        height: 410px;
    }

    .app-logo {
        font-size: 1.5rem;
    }
}

/* ========================================
   New Sections Styling
   ======================================== */

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.stat-label-hero {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Phone Earnings UI */
.earnings-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.earnings-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.earnings-total {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.earnings-subtitle {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.recent-payments {
    margin-bottom: 1rem;
}

.payment-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
}

.payment-icon {
    font-size: 1.25rem;
}

.payment-details {
    flex: 1;
}

.payment-desc {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.payment-date {
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

.payment-amount {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.phone-cta-btn {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.phone-cta-btn:hover {
    transform: translateY(-2px);
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-lg) 0;
    background: #ffffff;
    color: var(--bg-dark);
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.step-card {
    padding: var(--spacing-md);
    text-align: left;
    position: relative;
    transition: var(--transition);
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--bg-dark);
}

.step-description {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

.how-it-works .section-title {
    color: var(--bg-dark);
}

.how-it-works .section-subtitle {
    color: #475569;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    padding: var(--spacing-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.testimonial-rating {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* FAQ Section */
.faq {
    padding: var(--spacing-lg) 0;
    background: #ffffff;
    color: var(--bg-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.faq-item {
    padding: var(--spacing-md);
    transition: var(--transition);
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.faq-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    background: rgba(37, 99, 235, 0.08);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--bg-dark);
}

.faq-answer {
    color: #475569;
    line-height: 1.7;
}

.faq .section-title {
    color: var(--bg-dark);
}

/* Sign In Link */
.sign-in-link {
    opacity: 0.8;
}

.sign-in-link:hover {
    opacity: 1;
}

/* Responsive Updates for New Sections */
@media (max-width: 768px) {
    .hero-stats {
        gap: var(--spacing-sm);
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .app-store-badges {
        width: 100%;
    }

    .app-badge {
        flex: 1;
        justify-content: center;
    }

    .badge-content {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}
