/* ============================================
   CSS Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors matching the app */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --green-600: #16a34a;
    --green-700: #15803d;
    
    --red-600: #dc2626;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 6rem 1.5rem;
    --section-padding-mobile: 4rem 1.5rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--slate-900);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-500);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--slate-700);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid var(--slate-300);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--slate-400);
    background: var(--slate-50);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--slate-900);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 0.75rem;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--slate-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-600);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--slate-700);
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-links.active {
    display: flex !important;
    position: absolute;
    top: 100%;
    right: 1.5rem;
    background: #1f2421;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    padding: 0.75rem;
    flex-direction: column;
    gap: 0.5rem;
    width: max-content;
    z-index: 999;
}

.nav-links.active a {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.nav-links.active a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #9cc5a1;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
    margin-top: 4rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--slate-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-600);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-600);
}

/* App Mockup */
.app-mockup {
    position: relative;
}

.mockup-screen {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--slate-200);
}

.mockup-header {
    margin-bottom: 1.5rem;
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--slate-300);
}

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-card {
    background: var(--slate-50);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 2px solid var(--slate-200);
}

.mockup-card-label {
    font-size: 0.75rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.mockup-card-value {
    font-size: 2rem;
    font-weight: 300;
    color: var(--slate-900);
}

.mockup-card-value.green {
    color: var(--green-600);
}

.mockup-progress {
    height: 0.5rem;
    background: var(--slate-200);
    border-radius: 0.25rem;
    overflow: hidden;
}

.mockup-progress-bar {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
    animation: progressGrow 2s ease-out;
}

@keyframes progressGrow {
    from { width: 0; }
    to { width: 65%; }
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 1rem;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-300);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-100);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-600);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--slate-600);
    line-height: 1.6;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits {
    padding: var(--section-padding);
    background: var(--slate-50);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-check {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: var(--green-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.benefit-check svg {
    width: 1rem;
    height: 1rem;
}

.benefit-text h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: var(--slate-600);
}

.stats-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--slate-200);
}

.stats-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--slate-200);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row .stat-label {
    color: var(--slate-600);
    font-size: 0.875rem;
}

.stat-row .stat-value {
    font-weight: 700;
    font-size: 1.25rem;
}

.stat-row .stat-value.green {
    color: var(--green-600);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: var(--section-padding);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-500);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-500);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--slate-900);
}

.price-period {
    font-size: 1rem;
    color: var(--slate-600);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--slate-700);
    border-bottom: 1px solid var(--slate-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: var(--green-600);
    font-weight: 700;
    margin-right: 0.75rem;
}

/* ============================================
   Waitlist Section
   ============================================ */
.waitlist {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--slate-50) 0%, white 100%);
}

.waitlist-content {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-card {
    background: white;
    border: 2px solid var(--primary-200);
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.waitlist-heading {
    font-size: 1.75rem;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.waitlist-description {
    color: var(--slate-600);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.waitlist-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-direction: column;
}

@media (min-width: 640px) {
    .form-group {
        flex-direction: row;
    }

    .email-input {
        flex: 1;
    }

    .form-group button {
        flex-shrink: 0;
        width: auto;
        min-width: 150px;
    }
}

.email-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--slate-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.email-input::placeholder {
    color: var(--slate-400);
}

.form-message {
    font-size: 0.95rem;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--green-600);
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--red-600);
}

.waitlist-benefit {
    background: var(--primary-50);
    border-left: 4px solid var(--primary-500);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: left;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.waitlist-benefit p {
    color: var(--slate-700);
    line-height: 1.6;
}
/* Social Proof Band */
.social-proof {
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 0;
}

.social-proof-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.proof-item {
    display: flex;
    gap: 0.5rem;
}

.proof-label { color: var(--slate-600); }
.proof-value { font-weight: 700; color: var(--slate-900); }
.proof-divider { width: 1px; height: 20px; background: var(--slate-200); }

/* Why Waitlist */
.why-waitlist { padding: var(--section-padding); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.why-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}
.waitlist-form.inline { display: flex; gap: 0.75rem; align-items: center; }
.waitlist-form.inline .email-input { flex: 1; }

@media (max-width: 768px) {
    .social-proof-content { flex-direction: column; gap: 1rem; }
    .waitlist-form.inline { flex-direction: column; align-items: stretch; }
}

/* Waitlist Stats */
.waitlist-stats {
    margin-top: 1.5rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

.waitlist-stats .stats-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.waitlist-stats .stats-label {
    color: var(--slate-600);
}

.waitlist-stats .stats-value {
    font-weight: 700;
    color: var(--slate-900);
}

.waitlist-stats .stats-note {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--primary-100);
    margin-bottom: 2rem;
}

.cta-note {
    margin-top: 1rem;
    color: var(--primary-200);
    font-size: 0.875rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 60px;
    height: 60px;
}

.footer-description {
    color: var(--slate-400);
    line-height: 1.6;
}

.footer-heading {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    text-align: center;
    font-size: 0.875rem;
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Remove card styling on mobile for better fit */
    .waitlist-card {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 2rem 0;
        box-shadow: none;
    }

    .waitlist-heading {
        font-size: 1.5rem;
    }

    .waitlist-content {
        max-width: 100%;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
