/* ============================================
   CSS Variables & Theme Setup
   ============================================ */

:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --border-color: #e5e7eb;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.dark-theme {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1f1f1f;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --border-color: #2a2a2a;
    --accent-primary: #818cf8;
    --accent-secondary: #a78bfa;
    --accent-gradient: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(129, 140, 248, 0.4);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Theme Toggle
   ============================================ */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    background: var(--bg-tertiary);
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: headerFloat 6s ease-in-out infinite;
}

.dark-theme .header {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@keyframes headerFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo svg {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-primary);
}

.ai-shadow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.shadow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: 10%;
    left: 10%;
    animation: subtleFloat 8s infinite ease-in-out;
}

.shadow-2 {
    width: 350px;
    height: 350px;
    background: var(--accent-secondary);
    bottom: 15%;
    right: 15%;
    animation: subtleFloat 10s infinite ease-in-out;
    animation-delay: 2s;
}

.shadow-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: subtleFloat 12s infinite ease-in-out;
    animation-delay: 4s;
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: center;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
}

.hero-text {
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.app-store-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.app-store-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    transition: left 0.3s ease;
    z-index: 0;
}

.app-store-btn:hover::before {
    left: 0;
}

.app-store-btn svg,
.app-store-btn .app-store-text {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.app-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

.app-store-btn:hover svg,
.app-store-btn:hover .app-store-text {
    color: white;
}

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

.app-store-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.app-store-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.app-store-btn:hover .app-store-label,
.app-store-btn:hover .app-store-name {
    color: white;
}

.app-store-btn.large {
    padding: 1.25rem 2rem;
    min-width: 200px;
}

.app-store-btn.large svg {
    width: 40px;
    height: 40px;
}

.app-store-btn.large .app-store-name {
    font-size: 1.25rem;
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 0 auto;
    animation: floatPhone 6s infinite ease-in-out;
}

@media (max-width: 768px) {
    .phone-mockup {
        animation: none !important;
    }
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(99, 102, 241, 0.3);
    border: 8px solid var(--bg-primary);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.phone-mockup:hover .app-screenshot {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .phone-mockup:hover .app-screenshot {
        transform: none;
    }
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: var(--accent-gradient);
    border-radius: 2.5rem;
    filter: blur(30px);
    opacity: 0.2;
    z-index: 1;
    animation: pulseGlow 4s infinite ease-in-out;
}

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

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    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.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* ============================================
   Sections
   ============================================ */

section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */

.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.feature-card {
    text-align: center;
    max-width: 350px;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Testimonials Section
   ============================================ */

/* ============================================
   Trusted By Section
   ============================================ */

.trusted-by {
    background: var(--bg-secondary);
    padding: 4rem 0;
    overflow: hidden;
}

.trusted-by-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    overflow: hidden;
}

.trusted-by-logos-container {
    width: 100%;
    overflow: hidden;
    padding: 0 2rem;
}

.trusted-by-fade-left,
.trusted-by-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 300px;
    z-index: 2;
    pointer-events: none;
}

.trusted-by-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary) 0%, var(--bg-secondary) 30%, rgba(248, 249, 250, 0.8) 50%, rgba(248, 249, 250, 0.4) 70%, rgba(248, 249, 250, 0.1) 85%, transparent 100%);
}

.dark-theme .trusted-by-fade-left {
    background: linear-gradient(to right, var(--bg-secondary) 0%, var(--bg-secondary) 30%, rgba(20, 20, 20, 0.8) 50%, rgba(20, 20, 20, 0.4) 70%, rgba(20, 20, 20, 0.1) 85%, transparent 100%);
}

.trusted-by-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary) 0%, var(--bg-secondary) 30%, rgba(248, 249, 250, 0.8) 50%, rgba(248, 249, 250, 0.4) 70%, rgba(248, 249, 250, 0.1) 85%, transparent 100%);
}

.dark-theme .trusted-by-fade-right {
    background: linear-gradient(to left, var(--bg-secondary) 0%, var(--bg-secondary) 30%, rgba(20, 20, 20, 0.8) 50%, rgba(20, 20, 20, 0.4) 70%, rgba(20, 20, 20, 0.1) 85%, transparent 100%);
}

.trusted-by-logos {
    display: inline-flex;
    gap: 4rem;
    align-items: center;
    will-change: transform;
    animation: scrollLogos 30s linear infinite;
}

.trusted-by-logos:hover {
    animation-play-state: paused;
}

.trusted-logo {
    flex-shrink: 0;
    color: var(--text-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.7;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
    white-space: nowrap;
}

.trusted-logo:hover {
    opacity: 1;
    color: var(--accent-primary);
    transform: scale(1.1);
}

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

.testimonials {
    background: var(--bg-primary);
    padding: 4rem 0;
    overflow: hidden;
}

.testimonials-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    overflow: hidden;
}

.testimonials-fade-left,
.testimonials-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 250px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, var(--bg-primary) 40%, rgba(255, 255, 255, 0.3) 60%, transparent 100%);
}

.dark-theme .testimonials-fade-left {
    background: linear-gradient(to right, var(--bg-primary) 0%, var(--bg-primary) 40%, rgba(10, 10, 10, 0.5) 60%, transparent 100%);
}

.testimonials-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, var(--bg-primary) 40%, rgba(255, 255, 255, 0.3) 60%, transparent 100%);
}

.dark-theme .testimonials-fade-right {
    background: linear-gradient(to left, var(--bg-primary) 0%, var(--bg-primary) 40%, rgba(10, 10, 10, 0.5) 60%, transparent 100%);
}

.testimonials-scroll {
    display: inline-flex;
    gap: 2rem;
    animation: scrollReviews 20s linear infinite;
    padding: 0 2rem;
    will-change: transform;
}

.testimonials-scroll:hover {
    animation-play-state: paused;
}

.testimonial-card {
    flex-shrink: 0;
    width: 320px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    white-space: normal;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

@keyframes scrollReviews {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.testimonials-scroll {
    animation: scrollReviews 25s linear infinite;
}

/* ============================================
   Download Section
   ============================================ */

.download {
    background: var(--bg-secondary);
    text-align: center;
}

.download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-tertiary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-logo svg {
    color: var(--accent-primary);
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-newsletter-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ============================================
   Animations
   ============================================ */

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

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

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .header {
        top: 1rem;
        width: 95%;
        border-radius: 1.5rem;
        padding: 0.5rem;
    }

    .nav {
        padding: 0.5rem 1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .nav-links {
        position: fixed;
        top: 90px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        background: var(--bg-primary);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: 1.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        align-items: center;
        text-align: center;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-text {
        order: 1;
        margin-bottom: 1rem;
    }

    .hero-visual {
        order: 2;
        height: auto;
        min-height: 400px;
        justify-content: center;
        align-items: center;
        margin-top: 0;
        margin-bottom: 50px;
        padding-bottom: 0;
        overflow: visible;
        position: relative;
    }

    .phone-mockup {
        max-width: 220px;
        animation: none !important;
        transform: none !important;
        margin-bottom: 0;
        position: relative;
        clip-path: none;
        -webkit-clip-path: none;
        height: auto;
    }

    .app-screenshot {
        margin-bottom: 0;
    }

    .phone-glow {
        clip-path: none;
        -webkit-clip-path: none;
    }

    .app-store-buttons {
        margin-top: 0;
        padding-top: 0;
    }

    .phone-glow {
        filter: blur(20px);
        opacity: 0.15;
    }

    .app-store-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .app-store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1.25rem 1.5rem;
        min-height: 60px;
    }

    .app-store-btn.large {
        width: 100%;
        max-width: 300px;
        padding: 1.5rem 2rem;
        min-height: 70px;
    }

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

    .feature-card {
        max-width: 100%;
    }

    .trusted-by-fade-left,
    .trusted-by-fade-right {
        width: 120px;
    }

    .trusted-logo {
        min-width: 140px;
        font-size: 1.75rem;
        font-weight: 700;
    }

    .testimonials-fade-left,
    .testimonials-fade-right {
        width: 100px;
    }

    .testimonial-card {
        width: 280px;
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .testimonials-scroll {
        animation: scrollReviews 18s linear infinite;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .download-buttons .app-store-btn {
        width: 100%;
        max-width: 300px;
    }

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

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .header {
        width: 98%;
        top: 0.5rem;
    }

    .logo span {
        font-size: 1.25rem;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
        height: auto;
        min-height: 350px;
        justify-content: center;
        align-items: center;
        margin-top: 0;
        margin-bottom: 45px;
        padding-bottom: 0;
        overflow: visible;
        position: relative;
    }

    .phone-mockup {
        max-width: 200px;
        animation: none !important;
        transform: none !important;
        margin-bottom: 0;
        position: relative;
        clip-path: none;
        -webkit-clip-path: none;
        height: auto;
    }

    .app-screenshot {
        margin-bottom: 0;
    }

    .phone-glow {
        clip-path: none;
        -webkit-clip-path: none;
    }

    .app-store-buttons {
        margin-top: 0;
        padding-top: 0;
    }

    .testimonials-fade-left,
    .testimonials-fade-right {
        width: 60px;
    }

    .testimonial-card {
        width: 260px;
        padding: 1rem;
    }

    .testimonials-scroll {
        animation: scrollReviews 16s linear infinite;
    }

    .app-store-btn {
        padding: 1rem 1.25rem;
        min-height: 56px;
    }

    .app-store-btn .app-store-text {
        font-size: 0.875rem;
    }

    .app-store-btn .app-store-name {
        font-size: 1rem;
    }

    .trusted-logo {
        min-width: 130px;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .trusted-by-fade-left,
    .trusted-by-fade-right {
        width: 100px;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 2rem;
    }

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

    .btn {
        width: 100%;
    }

    .testimonial-card {
        padding: 2rem;
    }
}

/* ============================================
   Scroll Animations (will be enhanced with GSAP)
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

