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

:root {
    /* Colors */
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary: #EC4899;
    --background: #FFFFFF;
    --surface: #F9FAFB;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-accent: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: var(--space-xs);
}

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

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

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

.btn-secondary:hover {
    background: var(--border);
}

.btn-small {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.logo-icon {
    font-size: var(--font-size-2xl);
}

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

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

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

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    z-index: 999;
}

.mobile-menu a {
    display: block;
    padding: var(--space-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: calc(72px + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--surface) 0%, white 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

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

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.apple-icon {
    width: 24px;
    height: 24px;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary);
}

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

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 680px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 8px;
    box-shadow:
        0 50px 100px -20px rgba(50, 50, 93, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 -2px 6px 0 rgba(10, 37, 64, 0.35);
    position: relative;
    overflow: hidden;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    background: white;
}


/* Screenshots Showcase */
.screenshots-showcase {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f5f5f5 0%, white 100%);
}

.screenshots-carousel {
    margin-top: var(--space-3xl);
    position: relative;
}

.screenshot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 700px;
    position: relative;
}

.screenshot-wrapper {
    position: absolute;
    opacity: 0;
    transform: scale(0.8) translateX(100px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.screenshot-wrapper.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    pointer-events: auto;
}

.iphone-frame {
    width: 350px;
    height: 740px;
    background: #1a1a1a;
    border-radius: 45px;
    padding: 10px;
    box-shadow:
        0 50px 100px -20px rgba(50, 50, 93, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 -2px 6px 0 rgba(10, 37, 64, 0.35);
    position: relative;
    overflow: hidden;
}


.iphone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
    background: white;
}

.screen-label {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.screenshot-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    width: 40px;
    background: var(--gradient-accent);
}

.nav-dot:hover {
    background: var(--primary-light);
}

/* Value Props Section */
.value-props {
    padding: var(--space-3xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-3xl);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.value-card {
    padding: var(--space-xl);
    background: var(--surface);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.value-card h3 {
    margin-bottom: var(--space-sm);
}

/* How It Works */
.how-it-works {
    padding: var(--space-3xl) 0;
    background: var(--surface);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin: 0 auto var(--space-md);
}

/* Calculator Section */
.calculator-section {
    padding: var(--space-3xl) 0;
}

.calculator-card {
    background: var(--gradient-accent);
    color: white;
    padding: var(--space-3xl);
    border-radius: var(--radius-xl);
    text-align: center;
}

.calculator-card h2 {
    color: white;
    margin-bottom: var(--space-sm);
}

.calculator-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.calculator {
    max-width: 600px;
    margin: 0 auto;
}

.calc-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.input-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: var(--font-size-lg);
    text-align: center;
}

.input-with-prefix {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    padding-left: var(--space-sm);
}

.input-with-prefix span {
    font-size: var(--font-size-lg);
}

.input-with-prefix input {
    border: none;
    background: none;
    padding-left: var(--space-xs);
}

.calc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.result-item {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.result-item.highlight {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.result-label {
    display: block;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-xs);
}

.result-value {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
}

/* Pricing Section */
.pricing {
    padding: var(--space-3xl) 0;
    background: var(--surface);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

.pricing-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.price {
    margin: var(--space-md) 0;
}

.amount {
    font-size: var(--font-size-3xl);
    font-weight: 700;
}

.period {
    color: var(--text-secondary);
}

.features-list {
    list-style: none;
    margin: var(--space-xl) 0;
}

.features-list li {
    padding: var(--space-xs) 0;
}

/* FAQ Section */
.faq {
    padding: var(--space-3xl) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.faq-item h3 {
    margin-bottom: var(--space-sm);
}

/* Trust Section */
.trust {
    padding: var(--space-3xl) 0;
    background: var(--surface);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

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

.trust-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-sm);
}

/* Final CTA */
.final-cta {
    padding: var(--space-3xl) 0;
}

.cta-card {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-3xl);
    border-radius: var(--radius-xl);
    text-align: center;
}

.cta-card h2 {
    color: white;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2.5rem;
}

.download-note, .qr-note {
    font-size: var(--font-size-sm);
    margin-top: var(--space-sm);
}

.cta-logo-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.cta-logo {
    width: 350px;
    height: 120px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    opacity: 0.9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
}

.cta-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.qr-download {
    display: none;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: var(--radius);
    padding: var(--space-sm);
}

.waitlist {
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-form {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.waitlist-form input {
    flex: 1;
    padding: var(--space-sm);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: var(--font-size-base);
}

.waitlist-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--text-primary);
    color: white;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

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

.link-group h4 {
    color: white;
    margin-bottom: var(--space-md);
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: var(--space-xs) 0;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 900;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Typography */
    h1, .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: var(--space-xl);
    }
    
    .phone-mockup {
        width: 280px;
        height: 595px;
    }
    
    /* Value Props */
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    /* How It Works */
    .steps {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    /* Calculator */
    .calc-inputs {
        grid-template-columns: 1fr;
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* Trust */
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    /* Download Options */
    .download-options {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    /* Logo */
    .cta-logo {
        width: 280px;
        height: 90px;
    }
    
    /* Screenshots */
    .iphone-frame {
        width: 300px;
        height: 635px;
    }
    
    .screenshot-container {
        min-height: 650px;
    }
    
    /* Floating CTA */
    .floating-cta {
        left: var(--space-md);
        right: var(--space-md);
        bottom: var(--space-md);
    }
    
    .floating-cta .btn {
        width: 100%;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }