/* landing page styles */

/* ============ NAV ============ */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0;
    transition: background 0.3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    color: var(--bg-darkest);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}

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

.mobile-menu-btn {
    background: none;
    border: 1px solid var(--border-default);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.4rem;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-dark);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--border-default);
}

/* ============ HERO ============ */
.hero {
    padding-top: 12rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Beautiful deep emerald glowing orbs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.hero::before {
    top: 0;
    left: 10%;
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.4);
}

.hero::after {
    bottom: -20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: rgba(52, 211, 153, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
    transition: all 0.2s;
}

.hero-badge:hover {
    background: rgba(16, 185, 129, 0.15);
    transform: translateY(-1px);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.hero h1 .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 400;
}

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

.hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-full);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    padding-top: 5rem;
    position: relative;
    margin-top: 5rem;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-default), transparent);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============ FEATURES ============ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features {
    padding: 6rem 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.05), transparent 70%);
    transition: opacity 0.3s;
    pointer-events: none;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    background: var(--bg-lighter);
    border: 1px solid var(--border-subtle);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

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

/* ============ PRICING ============ */
.pricing-preview,
.pricing-page {
    padding: 6rem 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    transform: translateY(-8px);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
}

.pricing-card:not(.featured):hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: var(--bg-darkest);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.pricing-card-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.04em;
}

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

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    list-style: none;
    padding: 0;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ============ CTA ============ */
.cta {
    padding: 6rem 0;
}

.cta-box {
    text-align: center;
    background: rgba(16, 185, 129, 0.05);
    color: var(--text-primary);
    padding: 6rem 4rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-inline: auto;
}

.cta-box .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    position: relative;
    z-index: 10;
}

/* ============ FAQ ============ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.faq-item {
    padding: 1rem 0;
}

.faq-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ FOOTER ============ */
.landing-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 0 3rem;
    background: var(--bg-darkest);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* ============ STRUCTURED ANIMATIONS ============ */
@keyframes smoothFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-badge {
    opacity: 0;
    animation: smoothFadeUp 0.6s cubic-bezier(0, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

.hero h1 {
    opacity: 0;
    animation: smoothFadeUp 0.6s cubic-bezier(0, 0, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

.hero-description {
    opacity: 0;
    animation: smoothFadeUp 0.6s cubic-bezier(0, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.hero-actions {
    opacity: 0;
    animation: smoothFadeUp 0.6s cubic-bezier(0, 0, 0.2, 1) forwards;
    animation-delay: 0.4s;
}

.hero-stats {
    opacity: 0;
    animation: smoothFadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
        border-top: none;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}