/* =====================
   LANDING PAGE STYLES
   ===================== */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #3b82f6;
    --accent: #f59e0b; /* Gold for Lifetime */
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --light: #f8fafc;
    --light-2: #f1f5f9;
    --gray: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    /* Shadows */
    --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);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--dark);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--dark);
    color: white;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.4);
}

.btn-arrow {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover .btn-arrow {
    transform: translateX(5px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-hero);
    padding: 160px 0 100px;
    margin-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--light-2);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-info {
    display: flex;
    gap: 24px;
}

.check-item {
    color: var(--light-2);
    font-size: 14px;
    font-weight: 500;
}

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
    width: 320px;
    height: 640px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #0f172a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
}

.demo-app {
    padding: 50px 20px 20px;
}

.demo-header {
    padding-bottom: 16px;
    border-bottom: 2px solid var(--light-2);
    margin-bottom: 20px;
}

.demo-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.demo-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light);
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: item-pulse 2s ease-in-out infinite;
}

.demo-item:nth-child(1) { animation-delay: 0s; }
.demo-item:nth-child(2) { animation-delay: 0.5s; }
.demo-item:nth-child(3) { animation-delay: 1s; }
.demo-item:nth-child(4) { animation-delay: 1.5s; }

@keyframes item-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.demo-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.demo-item span:not(.tag) {
    flex: 1;
    font-weight: 500;
    color: var(--dark);
}

.demo-item input:checked + span {
    text-decoration: line-through;
    opacity: 0.5;
}

.tag {
    font-size: 12px;
    padding: 4px 8px;
    background: var(--light-2);
    border-radius: 6px;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--section-padding) 0;
    background: white;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--gray);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: var(--light);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
    padding: 60px 0;
    background: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 18px;
    color: var(--gray);
    font-weight: 500;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: var(--section-padding) 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    padding: 48px;
    background: var(--light);
    border-radius: 24px;
    border: 3px solid transparent;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.premium {
    border-color: var(--primary);
}

.pricing-card.lifetime {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 20px 40px -5px rgba(245, 158, 11, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    color: white;
    white-space: nowrap;
}

.pricing-card.premium .pricing-badge {
    background: var(--gradient-primary);
}

.pricing-card.lifetime .pricing-badge {
    background: var(--gradient-gold);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray);
    margin-top: 8px;
}

.amount {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
}

.pricing-card.premium .amount {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card.lifetime .amount {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 20px;
    color: var(--gray);
    align-self: flex-end;
    padding-bottom: 12px;
}

.trial-info {
    color: var(--gray);
    font-weight: 500;
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
}

.pricing-card.lifetime .pricing-features li::before {
    color: var(--accent);
}

.btn-pricing {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: block;
    transition: all 0.3s ease;
    color: white;
}

.pricing-card.premium .btn-pricing {
    background: var(--gradient-primary);
}

.pricing-card.lifetime .btn-pricing {
    background: var(--gradient-gold);
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.pricing-note {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    margin-top: 16px;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: var(--section-padding) 0;
    background: var(--light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== CTA FINAL ===== */
.cta-final {
    padding: 100px 0;
    background: var(--gradient-hero);
    text-align: center;
}

.cta-final h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-final p {
    font-size: 20px;
    color: var(--light-2);
    margin-bottom: 32px;
}

.cta-note {
    font-size: 14px !important;
    margin-top: 16px !important;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 0;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px 40px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-column a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--dark-3);
    padding: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        padding: 12px 16px;
    }

    .nav {
        display: none;
    }
    
    .logo span {
        display: none; /* Hide logo text on mobile to save space */
    }

    .btn-signup {
        display: none; /* Hide big CTA on mobile header, prioritize simple Login */
    }

    .btn-login {
        border: none;
        padding: 8px 12px;
        font-weight: 700;
        color: var(--primary);
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
