/* ═══════════════════════════════════════════════════════════════════
   Dopel — Premium Minimalist SaaS Landing
   Inspired by Linear / Stripe / Apple
   ═══════════════════════════════════════════════════════════════════ */

/* Language dropdown */
.lang-dd { position: relative; display: inline-block; }
.lang-dd-trigger {
    display: flex; align-items: center; gap: 6px;
    background: none; border: 1px solid var(--border, rgba(255,255,255,0.1));
    border-radius: 8px; padding: 6px 10px;
    color: var(--text-secondary, rgba(255,255,255,0.6));
    cursor: pointer; font-size: 0.82rem; transition: border-color 0.2s;
}
.lang-dd-trigger:hover { border-color: var(--accent, #7c6cf7); }
.lang-dd-globe { opacity: 0.5; }
.lang-dd-chevron { opacity: 0.4; transition: transform 0.2s; }
.lang-dd-trigger[aria-expanded="true"] .lang-dd-chevron { transform: rotate(180deg); }
.lang-dd-menu {
    display: none; position: absolute; right: 0; top: calc(100% + 6px);
    background: var(--bg-elevated, #1a1a2e); border: 1px solid var(--border, rgba(255,255,255,0.1));
    border-radius: 10px; min-width: 120px; z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4); overflow: hidden;
}
.lang-dd-menu.open { display: block; }
.lang-dd-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; cursor: pointer; font-size: 0.85rem;
    color: var(--text-secondary, rgba(255,255,255,0.6)); transition: background 0.15s;
}
.lang-dd-item:hover { background: var(--bg-hover, rgba(255,255,255,0.05)); }
.lang-dd-item.active { color: var(--accent, #7c6cf7); font-weight: 600; }
.lang-dd-check { display: none; }
.lang-dd-item.active .lang-dd-check { display: block; color: var(--accent, #7c6cf7); }

/* Nav Telegram link */
.nav-tg-link {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 8px;
    color: var(--text-secondary, rgba(255,255,255,0.5));
    transition: color 0.2s, background 0.2s;
}
.nav-tg-link:hover {
    color: #7c6cf7;
    background: rgba(124,108,247,0.08);
}

/* Pricing AI chip */
.pricing-ai-chip {
    position: absolute; top: 16px; right: 16px;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em;
    padding: 4px 10px; border-radius: 6px;
    background: rgba(255,255,255,0.05); color: var(--text-secondary, rgba(255,255,255,0.5));
    border: 1px solid rgba(255,255,255,0.08);
}
.pricing-ai-chip--paid {
    background: rgba(124,108,247,0.1); color: #a78bfa;
    border-color: rgba(124,108,247,0.2);
}

/* ── Font fallback tuning — minimises CLS when Inter hasn't cached yet ── */
/* Inter metrics approximation for Arial/system-ui */
@font-face {
    font-family: 'Inter';
    src: local('Arial');
    size-adjust: 100.3%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

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

@keyframes meshFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(-45%, -55%) rotate(120deg) scale(1.1);
    }

    66% {
        transform: translate(-55%, -45%) rotate(240deg) scale(1.05);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    40% {
        transform: translateY(-9px) rotate(0.3deg);
    }

    70% {
        transform: translateY(-5px) rotate(-0.2deg);
    }
}

@keyframes floatFeatured {

    0%,
    100% {
        transform: translateY(-8px) rotate(0deg);
    }

    25% {
        transform: translateY(-22px) rotate(-0.7deg);
    }

    60% {
        transform: translateY(-14px) rotate(0.55deg);
    }

    80% {
        transform: translateY(-20px) rotate(-0.3deg);
    }
}

/* Entrance: sink then rise */
@keyframes cardRise {
    0% {
        transform: translateY(28px) scale(0.97);
        opacity: 0;
    }

    28% {
        transform: translateY(38px) scale(0.96);
        opacity: 0.4;
    }

    68% {
        transform: translateY(-10px) scale(1.015);
        opacity: 1;
    }

    84% {
        transform: translateY(4px) scale(0.999);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes cardRiseFeatured {
    0% {
        transform: translateY(28px) scale(0.97);
        opacity: 0;
    }

    28% {
        transform: translateY(38px) scale(0.96);
        opacity: 0.4;
    }

    68% {
        transform: translateY(-20px) scale(1.015);
        opacity: 1;
    }

    84% {
        transform: translateY(-5px) scale(0.999);
        opacity: 1;
    }

    100% {
        transform: translateY(-8px) scale(1);
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(32px);
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fade-in.d1 {
    animation-delay: 0.1s;
}

.fade-in.d2 {
    animation-delay: 0.2s;
}

.fade-in.d3 {
    animation-delay: 0.3s;
}

.fade-in.d4 {
    animation-delay: 0.4s;
}

.fade-in.d5 {
    animation-delay: 0.5s;
}

.fade-in.d6 {
    animation-delay: 0.6s;
}

/* ── Hero intro sequence ─────────────────────────────────────────── */
/* Premium easing — same curve as Linear/Vercel */
@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge,
.hero-title,
.hero-sub,
.hero-buttons,
.hero-stats {
    opacity: 0;
    transform: translateY(20px);
}

.hero-badge    { animation: heroReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards; }
.hero-title    { animation: heroReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards; }
.hero-sub      { animation: heroReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.30s forwards; }
.hero-buttons  { animation: heroReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards; }
/* Stats are last — JS count-up fires at ~700ms, right as they appear */
.hero-stats    { animation: heroReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.58s forwards; }

/* Smooth scroll globally */
html {
    scroll-behavior: smooth;
}

/* ── Landing layout ─────────────────────────────────────────────── */
.landing-page {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: #030303;
    color: #e4e4e7;
}

/* ── Nav — Glassmorphism ────────────────────────────────────────── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.landing-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.landing-nav-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    transition: color 0.2s ease;
    letter-spacing: -0.01em;
}

.landing-nav-links a:hover {
    color: #fff;
}

/* ── Hero — Mesh Gradient ───────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 32px 120px;
    text-align: center;
    overflow: hidden;
}

/* Mesh gradient layer */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124, 92, 252, 0.15), transparent),
        radial-gradient(ellipse 60% 80% at 20% 60%, rgba(56, 189, 248, 0.08), transparent),
        radial-gradient(ellipse 50% 50% at 80% 30%, rgba(168, 85, 247, 0.1), transparent);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 252, 0.2), rgba(56, 189, 248, 0.05) 50%, transparent 70%);
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
    filter: blur(40px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(124, 92, 252, 0.08);
    color: #9b82fc;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 32px;
    border: 0.5px solid rgba(124, 92, 252, 0.2);
    backdrop-filter: blur(8px);
    letter-spacing: -0.01em;
}

.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
    color: #fff;
}

.hero-gradient {
    background: linear-gradient(135deg, #9b82fc, #a78bfa, #38bdf8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 40px;
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Primary button glow */
.landing-page .btn-primary {
    background: linear-gradient(135deg, #6366f1, #7c5cfc);
    border: 0.5px solid rgba(124, 92, 252, 0.3);
    box-shadow:
        0 0 20px rgba(124, 92, 252, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-page .btn-primary:hover {
    transform: scale(1.04);
    box-shadow:
        0 0 32px rgba(124, 92, 252, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.landing-page .btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease;
}

.landing-page .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

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

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ── Social Proof ────────────────────────────────────────────────── */
.social-proof-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 32px 40px;
}

.social-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
    padding: 32px 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 0.5px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    backdrop-filter: blur(12px);
}

.social-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.social-stat-num {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 60%, rgba(124, 92, 252, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    letter-spacing: -0.01em;
}

.social-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.review-card {
    background: rgba(255, 255, 255, 0.02);
    border: 0.5px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
    border-color: rgba(124, 92, 252, 0.2);
    transform: translateY(-3px);
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars svg {
    width: 16px;
    height: 16px;
}

.review-text {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    flex: 1;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.review-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
}

.review-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2px;
}

/* ── Features — Bento Grid ──────────────────────────────────────── */
.features-section,
.pricing-section,
.faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    color: #fff;
}

.section-sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 56px;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
}

/* Bento: 1st and 4th cards span 2 columns */
.features-grid .feature-card:nth-child(1),
.features-grid .feature-card:nth-child(4) {
    grid-column: span 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(124, 92, 252, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    border-color: rgba(124, 92, 252, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(124, 92, 252, 0.06);
}

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

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(124, 92, 252, 0.08);
    border: 0.5px solid rgba(124, 92, 252, 0.15);
    margin-bottom: 20px;
    color: #9b82fc;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.75;
    fill: none;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    position: relative;
}

/* ── Pricing — premium glass cards ──────────────────────────────── */
.pricing-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 0.5px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 32px 28px 28px;
    position: relative;
    transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    animation: cardRise 0.95s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0s) both,
        floatCard var(--card-dur, 5.4s) ease-in-out calc(0.95s + var(--card-delay, 0s)) infinite;
}

.pricing-card.featured {
    animation: cardRiseFeatured 0.95s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0s) both,
        floatFeatured var(--card-dur, 4.1s) ease-in-out calc(0.95s + var(--card-delay, 0s)) infinite;
}


.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    animation-play-state: paused;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ── Featured (Standard) ── */
.pricing-card.featured {
    border-color: rgba(124, 92, 252, 0.35);
    background: rgba(124, 92, 252, 0.05);
    box-shadow:
        0 0 0 1px rgba(124, 92, 252, 0.12),
        0 0 60px rgba(124, 92, 252, 0.1);
    /* float animation applied by .p-visible override above */
}

.pricing-card.featured:hover {
    animation-play-state: paused;
    box-shadow:
        0 0 0 1px rgba(124, 92, 252, 0.28),
        0 0 80px rgba(124, 92, 252, 0.2);
    border-color: rgba(124, 92, 252, 0.5);
}

/* ── Premium (Custom / Under Key) ── */
.pricing-card.premium {
    border-color: rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.02);
}

.pricing-card.premium:hover {
    animation-play-state: paused;
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(245, 158, 11, 0.1);
}

/* ── Enterprise ── */
.pricing-card.enterprise {
    border-color: rgba(56, 189, 248, 0.15);
    background: rgba(56, 189, 248, 0.02);
}

.pricing-card.enterprise:hover {
    animation-play-state: paused;
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(56, 189, 248, 0.08);
}

/* ── Badges ── */
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
}

.pricing-badge-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* ── Tier icons ── */
.pricing-header {
    margin-bottom: 24px;
}

.pricing-tier-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 0.5px solid transparent;
}

.pricing-tier-icon svg {
    width: 20px;
    height: 20px;
}

.tier-icon-free {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
}

.tier-icon-standard {
    background: rgba(124, 92, 252, 0.1);
    border-color: rgba(124, 92, 252, 0.2);
    color: #9b82fc;
}

.tier-icon-custom {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.tier-icon-enterprise {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

/* ── Typography ── */
.pricing-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pricing-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: -0.01em;
}

/* ── Price block ── */
.pricing-price-block {
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-price-text {
    font-size: 1.6rem;
}

.pricing-currency {
    font-size: 1.3rem;
    font-weight: 700;
    vertical-align: top;
    margin-top: 4px;
    display: inline-block;
}

.pricing-price-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: -0.01em;
}

.pricing-promo-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    color: #a78bfa;
    background: rgba(124, 92, 252, 0.12);
    border: 1px solid rgba(124, 92, 252, 0.28);
    border-radius: 100px;
    padding: 3px 9px;
    margin-top: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: promo-pulse 2.8s ease-in-out infinite;
}

@keyframes promo-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 92, 252, 0); }
    50%       { box-shadow: 0 0 8px 1px rgba(124, 92, 252, 0.2); }
}

.pricing-model-label {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.03em;
    pointer-events: none;
}

.pricing-model-label--premium {
    color: rgba(155, 130, 252, 0.55);
}

/* ── Divider ── */
.pricing-divider {
    height: 0.5px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
}

/* ── Feature list ── */
.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.pricing-features li {
    padding: 7px 0 7px 24px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    line-height: 1.4;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 13px;
    height: 13px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Ccircle cx='6.5' cy='6.5' r='6.5' fill='rgba(255,255,255,0.06)'/%3E%3Cpath d='M3.5 6.5l2 2 4-4' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-size: contain;
}

.pricing-card.featured .pricing-features li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Ccircle cx='6.5' cy='6.5' r='6.5' fill='rgba(124,92,252,0.15)'/%3E%3Cpath d='M3.5 6.5l2 2 4-4' stroke='%239b82fc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

.pricing-card.premium .pricing-features li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Ccircle cx='6.5' cy='6.5' r='6.5' fill='rgba(245,158,11,0.12)'/%3E%3Cpath d='M3.5 6.5l2 2 4-4' stroke='%23f59e0b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

.pricing-card.enterprise .pricing-features li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Ccircle cx='6.5' cy='6.5' r='6.5' fill='rgba(56,189,248,0.1)'/%3E%3Cpath d='M3.5 6.5l2 2 4-4' stroke='%2338bdf8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* ── Highlight rows (limits) ── */
.pricing-feature-highlight {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
}

/* ── Inherited badge ── */
.feature-inherited {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.28);
    font-style: italic;
}

/* ── CTA buttons ── */
.btn-block {
    width: 100%;
    justify-content: center;
}

.pricing-btn {
    margin-top: auto;
}

.pricing-btn-gold {
    border-color: rgba(245, 158, 11, 0.25) !important;
    color: rgba(245, 158, 11, 0.8) !important;
}

.pricing-btn-gold:hover {
    border-color: rgba(245, 158, 11, 0.5) !important;
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.06) !important;
}



/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-item summary {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: '−';
    color: #818cf8;
}

.faq-item p {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.landing-footer {
    border-top: 0.5px solid rgba(255, 255, 255, 0.06);
    padding: 40px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.25);
}

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

.footer-links a {
    font-size: 0.82rem;
    color: #7c6cf7;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

/* ── Auth page ───────────────────────────────────────────────────── */
.auth-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #030303;
}

.auth-card {
    background: rgba(255, 255, 255, 0.02);
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 48px;
    width: 380px;
    text-align: center;
    backdrop-filter: blur(12px);
}

.auth-status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* Register card variant */
.auth-card-register {
    width: 420px;
    border-color: rgba(124, 92, 252, 0.2);
    background: rgba(124, 92, 252, 0.03);
    box-shadow: 0 0 60px rgba(124, 92, 252, 0.08);
}

/* Perks list inside register card */
.register-perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 20px;
}

.register-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
}

.register-perk span:first-child {
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-grid .feature-card:nth-child(1),
    .features-grid .feature-card:nth-child(4) {
        grid-column: span 1;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reduce float amplitude on mobile */
    @keyframes floatCard {

        0%,
        100% {
            transform: translateY(0)
        }

        50% {
            transform: translateY(-2px)
        }
    }

    @keyframes floatFeatured {

        0%,
        100% {
            transform: translateY(-4px)
        }

        50% {
            transform: translateY(-7px)
        }
    }

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

    .landing-nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero {
        padding: 120px 20px 80px;
    }

    .features-section,
    .pricing-section,
    .faq-section {
        padding: 100px 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS — Pulse button, Scroll-reveal, Counters
   ══════════════════════════════════════════════════════════════ */

/* ── 1. CTA Button pulse ─────────────────────────────────────── */
@keyframes ctaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(124, 92, 252, 0.8); }
    70%  { box-shadow: 0 0 0 32px rgba(124, 92, 252, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 92, 252, 0); }
}

.btn-pulse {
    animation: ctaPulse 2s ease-out infinite;
}

.btn-pulse:hover {
    animation-play-state: paused;
}

/* ── 2. Scroll-reveal for elements ───────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0);    }
}

.fade-in {
    opacity: 0;
}

.fade-in.visible {
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fade-in.visible.d1 { animation-delay: 0s; }
.fade-in.visible.d2 { animation-delay: 0.1s; }
.fade-in.visible.d3 { animation-delay: 0.2s; }
.fade-in.visible.d4 { animation-delay: 0.3s; }
.fade-in.visible.d5 { animation-delay: 0.4s; }
.fade-in.visible.d6 { animation-delay: 0.5s; }