/* Landing Page Styles */

.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-logo {
    height: 32px;
    width: 32px;
    object-fit: contain;
}

.brand-icon {
    font-size: 1.5em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hero Section */
.hero {
    padding: 80px 30px;
    text-align: center;
    background: var(--page-bg);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3em;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0 auto 36px;
    max-width: 480px;
    text-align: left;
}

.hero-checklist li {
    position: relative;
    padding: 10px 0 10px 32px;
    font-size: 1.05em;
    line-height: 1.5;
    color: var(--text-primary);
}

.hero-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 10px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75em;
    font-weight: 700;
}

/* Typing reveal animation */
.hero-checklist li {
    opacity: 0;
    transform: translateY(8px);
    animation: checklistReveal 0.4s ease forwards;
}

.hero-checklist li:nth-child(1) { animation-delay: 0.3s; }
.hero-checklist li:nth-child(2) { animation-delay: 0.7s; }
.hero-checklist li:nth-child(3) { animation-delay: 1.1s; }

@keyframes checklistReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 800;
    color: var(--primary-color);
}

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

/* Features Section */
.features {
    padding: 80px 30px;
    background: var(--page-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    border-color: var(--border-color);
}

.feature-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 30px;
    background: var(--light-bg);
}

.pricing h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

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

.pricing-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
}

.pricing-card.featured:hover {
    border-color: var(--primary-color);
}

.plan-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
}

.plan-duration {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.plan-price {
    margin-bottom: 25px;
}

.price-amount {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    display: block;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

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

.btn-block {
    width: 100%;
}

/* Login Modal */
.login-modal-content {
    max-width: 400px;
    text-align: center;
}

.login-modal-content h2 {
    margin-bottom: 10px;
}

.login-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: var(--primary-color);
    background: var(--light-bg);
}

.social-btn svg {
    flex-shrink: 0;
}

.google-btn:hover {
    border-color: #4285F4;
}

.facebook-btn:hover {
    border-color: #1877F2;
}

.apple-btn:hover {
    border-color: var(--text-primary);
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.login-divider span {
    padding: 0 15px;
    color: var(--text-secondary);
    font-size: 0.9em;
}

.login-terms {
    margin-top: 20px;
    font-size: 0.8em;
    color: var(--text-secondary);
}

.login-terms a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-terms a:hover {
    text-decoration: underline;
}

/* Footer */
.landing-footer {
    margin-top: auto;
    padding: 40px 30px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

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

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

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.85em;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-nav {
        padding: 12px 15px;
    }

    .nav-brand {
        font-size: 1.1em;
    }

    .brand-name {
        display: none;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 2em;
    }

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

    .hero-checklist li {
        font-size: 0.95em;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2em;
    }

    .features, .pricing {
        padding: 50px 20px;
    }

    .features h2, .pricing h2 {
        font-size: 1.8em;
    }

    .pricing-card.featured {
        border: 2px solid var(--primary-color);
    }

    .pricing-card.featured:hover {
        border-color: var(--primary-color);
    }

    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6em;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
}
