/* ============================================================
   LLMRanky — Landing Page Styles (v2 — WOW Edition)
   Hero · Logo Bar · Problem/Solution · How It Works · Features
   Social Proof · Live Demo · Pricing · FAQ · CTA
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
    position: relative;
    padding: var(--space-16) 0 var(--space-20);
    overflow: hidden;
    text-align: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--color-primary);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-6);
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
    50% { box-shadow: 0 0 20px 4px rgba(37,99,235,0.1); }
}

.hero h1 {
    margin-bottom: var(--space-5);
    line-height: 1.15;
}

.hero h1 .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero { padding: var(--space-24) 0; }
    .hero-subtitle { font-size: var(--text-xl); }
}

.hero-form {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.hero-trust-icon {
    color: var(--color-excellent);
    font-weight: 700;
}

/* ── Hero Particles ────────────────────────────────────────── */

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0%   { opacity: 0; transform: translateY(0) scale(0.5); }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-100vh) scale(0); }
}

/* ── Mesh Background ────────────────────────────────────────── */

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--gradient-hero);
}

.hero-mesh::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: mesh-float-1 18s ease-in-out infinite;
}

.hero-mesh::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    bottom: -120px;
    left: -80px;
    animation: mesh-float-2 22s ease-in-out infinite;
}

.hero-mesh-extra {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: mesh-float-3 25s ease-in-out infinite;
}

@keyframes mesh-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.05); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}
@keyframes mesh-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.08); }
}
@keyframes mesh-float-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}

/* ── Logo Bar ──────────────────────────────────────────────── */

.logo-bar {
    padding: var(--space-10) 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.logo-bar-title {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.logo-bar-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.logo-bar-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
}

.logo-bar-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 800;
    color: #fff;
}

.logo-bar-gpt    { background: linear-gradient(135deg, #10A37F, #1A7F64); }
.logo-bar-claude { background: linear-gradient(135deg, #D97706, #B45309); }
.logo-bar-perp   { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.logo-bar-gemini { background: linear-gradient(135deg, #4285F4, #7C3AED); }

/* ── Problem / Solution ────────────────────────────────────── */

.problem-section { background: var(--color-bg); }

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .problem-grid { grid-template-columns: 1fr 1fr; }
}

.problem-card {
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.problem-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.05;
    transform: translate(50%, -50%);
}

.problem-card-bad {
    background: var(--color-critical-bg);
    border: 1px solid var(--color-critical-border);
}
.problem-card-bad::after { background: var(--color-critical); }

.problem-card-good {
    background: var(--color-excellent-bg);
    border: 1px solid var(--color-excellent-border);
}
.problem-card-good::after { background: var(--color-excellent); }

.problem-label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.problem-card-bad .problem-label { color: var(--color-critical); }
.problem-card-good .problem-label { color: var(--color-excellent); }

.problem-card h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .problem-card h2 { font-size: var(--text-2xl); }
}

.problem-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.problem-x {
    color: var(--color-critical);
    font-weight: 700;
    font-size: var(--text-base);
    flex-shrink: 0;
    margin-top: -1px;
}

.problem-check {
    color: var(--color-excellent);
    font-weight: 700;
    font-size: var(--text-base);
    flex-shrink: 0;
    margin-top: -1px;
}

/* ── How It Works v2 (timeline + demos) ────────────────────── */

.how-section { background: var(--color-surface); }

.how-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

.how-step-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    .how-step-v2 {
        grid-template-columns: auto 1fr 1fr;
        gap: var(--space-8);
    }
}

.how-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 800;
    font-size: var(--text-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

.how-step-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.how-step-content p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* How — Demo blocks */

.how-demo {
    background: var(--color-text);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    color: #fff;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    position: relative;
    overflow: hidden;
    min-height: 80px;
}

.how-demo-bar {
    display: flex;
    gap: 6px;
    margin-bottom: var(--space-3);
}

.how-demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.how-demo-dot:first-child { background: #EF4444; }
.how-demo-dot:nth-child(2) { background: #F59E0B; }
.how-demo-dot:nth-child(3) { background: #10B981; }

.how-demo-input {
    display: flex;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}

.how-demo-cursor {
    animation: blink-cursor 1s step-end infinite;
    color: var(--color-primary);
    font-weight: 300;
}

@keyframes blink-cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.how-demo-q {
    padding: var(--space-3);
    background: rgba(37,99,235,0.15);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: var(--space-3);
    font-style: italic;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
}

.how-demo-models {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.how-demo-model {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-family: var(--font-sans);
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    opacity: 0;
    animation: model-appear 0.5s ease forwards;
}

.how-demo-model:nth-child(1) { animation-delay: 0.5s; }
.how-demo-model:nth-child(2) { animation-delay: 0.8s; }
.how-demo-model:nth-child(3) { animation-delay: 1.1s; }

@keyframes model-appear {
    to { opacity: 1; }
}

/* How — Gauge */

.how-demo-score {
    background: var(--color-text);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-demo-gauge {
    position: relative;
    width: 120px;
    height: 80px;
}

.how-gauge-svg { width: 100%; height: 100%; }

.how-gauge-fill {
    transition: stroke-dashoffset 2s ease;
}

.how-gauge-value {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-sans);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: #fff;
}

.how-demo-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: var(--space-2);
}

.how-demo-label {
    font-size: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
    opacity: 0.6;
}

.how-demo-label-bad { color: var(--color-critical); }
.how-demo-label-ok { color: var(--color-good); }
.how-demo-label-great { color: var(--color-excellent); }

/* ── Feature Sections (13 animated) ────────────────────────── */

.feat-section { padding: var(--space-16) 0; }
.feat-section-alt { background: var(--color-surface); }

.feat-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
}

@media (min-width: 768px) {
    .feat-row { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
}

.feat-row-reverse .feat-text { order: 1; }
@media (min-width: 768px) {
    .feat-row-reverse .feat-text { order: 2; }
    .feat-row-reverse .feat-demo { order: 1; }
}

.feat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-4);
}
.feat-badge-blue   { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.feat-badge-purple { background: linear-gradient(135deg, #7C3AED, #6D28D9); }
.feat-badge-green  { background: linear-gradient(135deg, #10B981, #059669); }
.feat-badge-amber  { background: linear-gradient(135deg, #F59E0B, #D97706); }

.feat-text h3 {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-3);
    line-height: 1.25;
}
@media (min-width: 768px) { .feat-text h3 { font-size: var(--text-3xl); } }

.feat-text p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-5);
}

.feat-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    cursor: pointer;
}
.feat-cta:hover { gap: var(--space-2); color: var(--color-primary-hover); }

/* ── Feature Demo Container ───────────────────────────────── */

.feat-demo {
    background: var(--color-text);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* ── feat1: Score Demo ────────────────────────────────────── */

.fd-score-gauge { text-align: center; margin-bottom: var(--space-5); }
.fd-gauge-svg { width: 180px; height: 110px; }
.fd-gauge-fill { transition: stroke-dashoffset 2s ease; }
.fd-gauge-num { font-size: 40px; font-weight: 800; margin-top: -40px; }
.fd-gauge-label { font-size: 12px; opacity: 0.5; margin-top: 2px; }
.fd-score-bars { display: flex; flex-direction: column; gap: 10px; }
.fd-sbar { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.fd-sbar-label { width: 80px; opacity: 0.6; text-align: right; flex-shrink: 0; }
.fd-sbar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.fd-sbar-fill { height: 100%; border-radius: 3px; width: 0; transition: width 1.5s ease; }
.fd-sbar-blue { background: #3b82f6; }
.fd-sbar-purple { background: #7c3aed; }
.fd-sbar-green { background: #10b981; }
.fd-sbar-val { width: 24px; font-weight: 700; opacity: 0.8; }

/* ── feat2: Questions Demo ────────────────────────────────── */

.fd-q-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 8px;
    opacity: 0; transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.fd-q-item.visible { opacity: 1; transform: translateX(0); }
.fd-q-priority {
    font-size: 10px; font-weight: 800; padding: 2px 8px;
    border-radius: var(--radius-full); flex-shrink: 0;
    letter-spacing: 0.05em;
}
.fd-q-high { background: rgba(239,68,68,0.15); color: #f87171; }
.fd-q-med  { background: rgba(245,158,11,0.15); color: #fbbf24; }
.fd-q-low  { background: rgba(16,185,129,0.15); color: #34d399; }
.fd-q-text { flex: 1; font-size: 13px; opacity: 0.9; }

/* ── feat3: Content Generation Demo ───────────────────────── */

.fd-article { position: relative; }
.fd-article-bar { display: flex; gap: 6px; margin-bottom: var(--space-4); }
.fd-dot { width: 8px; height: 8px; border-radius: 50%; }
.fd-dot-r { background: #ef4444; }
.fd-dot-y { background: #f59e0b; }
.fd-dot-g { background: #10b981; }
.fd-article-h1 { height: 16px; width: 0; background: rgba(255,255,255,0.2); border-radius: 4px; margin-bottom: 12px; transition: width 1.5s ease; }
.fd-article-h1.active { width: 70%; }
.fd-article-meta { display: flex; gap: 6px; margin-bottom: 16px; }
.fd-tag { font-size: 10px; padding: 2px 10px; border-radius: var(--radius-full); background: rgba(59,130,246,0.15); color: #60a5fa; font-weight: 600; opacity: 0; transition: opacity 0.5s ease; }
.fd-tag.visible { opacity: 1; }
.fd-article-lines { display: flex; flex-direction: column; gap: 8px; }
.fd-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); width: 0; transition: width 0.8s ease; }
.fd-line.active { background: rgba(255,255,255,0.1); }
.fd-line-full.active { width: 100%; }
.fd-line-80.active { width: 80%; }
.fd-line-60.active { width: 60%; }
.fd-article-cursor {
    position: absolute; bottom: 30px; left: 0;
    width: 2px; height: 14px;
    background: #3b82f6;
    opacity: 0;
    animation: fd-blink 1s step-end infinite;
}
.fd-article.typing .fd-article-cursor { opacity: 1; }
@keyframes fd-blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

/* ── feat4: GEO Kit Demo ─────────────────────────────────── */

.fd-geo-step {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 8px;
    opacity: 0; transform: translateY(10px);
    transition: all 0.5s ease;
}
.fd-geo-step.visible { opacity: 1; transform: translateY(0); }
.fd-geo-check {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    font-size: 11px; transition: all 0.4s ease;
}
.fd-geo-step.checked .fd-geo-check {
    background: #10b981; border-color: #10b981; color: #fff;
}
.fd-geo-step.checked .fd-geo-check::after { content: '\2713'; }
.fd-geo-label { flex: 1; font-size: 13px; font-weight: 600; }
.fd-geo-status { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: var(--radius-full); }
.fd-geo-ok { background: rgba(16,185,129,0.15); color: #34d399; }
.fd-geo-pending { background: rgba(245,158,11,0.15); color: #fbbf24; }

/* ── feat5: Scanner Demo ─────────────────────────────────── */

.fd-scan-tree { font-size: 13px; font-family: var(--font-mono); }
.fd-scan-node {
    padding: 6px 12px; margin-bottom: 4px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    opacity: 0; transform: translateX(-15px);
    transition: all 0.4s ease;
}
.fd-scan-node.visible { opacity: 1; transform: translateX(0); }
.fd-scan-root { font-weight: 700; background: rgba(37,99,235,0.15); }
.fd-scan-branch { padding-left: 20px; border-left: 2px solid rgba(255,255,255,0.08); margin-left: 12px; }
.fd-scan-icon { margin-right: 6px; }
.fd-scan-counter { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 700; color: #60a5fa; }
.fd-scan-num { font-size: 22px; }

/* ── feat6: Dashboard Demo ────────────────────────────────── */

.fd-dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: var(--space-4); }
.fd-dash-kpi { text-align: center; padding: 10px 4px; background: rgba(255,255,255,0.04); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.06); }
.fd-dash-kpi-val { font-size: 20px; font-weight: 800; color: #60a5fa; line-height: 1; }
.fd-dash-kpi-label { font-size: 10px; opacity: 0.5; margin-top: 4px; }
.fd-dash-chart { display: flex; align-items: flex-end; justify-content: center; gap: 10px; height: 100px; padding-top: 10px; }
.fd-dash-bar {
    width: 24px; height: 0; border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #3b82f6, #7c3aed);
    transition: height 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fd-dash-bar.animated { height: var(--h); }

/* ── feat7: Pricing Demo ─────────────────────────────────── */

.fd-price-cards { display: flex; gap: 10px; justify-content: center; }
.fd-price-card {
    flex: 1; max-width: 120px; text-align: center;
    padding: 16px 10px; border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    opacity: 0; transform: translateY(20px);
    transition: all 0.5s ease;
    position: relative;
}
.fd-price-card.visible { opacity: 1; transform: translateY(0); }
.fd-price-popular { border-color: #3b82f6; background: rgba(59,130,246,0.08); }
.fd-price-pop-badge {
    position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
    font-size: 9px; font-weight: 700; padding: 1px 8px;
    background: #3b82f6; color: #fff; border-radius: var(--radius-full);
}
.fd-price-name { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.fd-price-amount { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.fd-price-amount span { font-size: 11px; font-weight: 500; opacity: 0.5; }
.fd-price-feat { font-size: 11px; opacity: 0.6; margin-bottom: 2px; }

/* ── feat8: Map Demo ──────────────────────────────────────── */

.fd-map-svg { width: 100%; height: auto; }
.fd-map-edge {
    stroke: rgba(255,255,255,0.08); stroke-width: 1.5;
    stroke-dasharray: 200; stroke-dashoffset: 200;
    transition: stroke-dashoffset 1s ease;
}
.fd-map-edge.visible { stroke-dashoffset: 0; stroke: rgba(59,130,246,0.3); }
.fd-map-node { fill: rgba(255,255,255,0.1); opacity: 0; transition: all 0.5s ease; }
.fd-map-node.visible { opacity: 1; fill: #3b82f6; }
.fd-map-hub.visible { fill: #7c3aed; filter: drop-shadow(0 0 8px rgba(124,58,237,0.4)); }
.fd-map-small.visible { fill: #10b981; }
.fd-map-legend { text-align: center; margin-top: 12px; font-size: 11px; opacity: 0.5; display: flex; align-items: center; justify-content: center; gap: 12px; }
.fd-map-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; }
.fd-map-dot-big { width: 10px; height: 10px; background: #7c3aed; }

/* ── feat9: Citations Demo ────────────────────────────────── */

.fd-cite-timeline { display: flex; flex-direction: column; gap: 10px; }
.fd-cite-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    opacity: 0; transform: translateY(15px);
    transition: all 0.5s ease;
}
.fd-cite-item.visible { opacity: 1; transform: translateY(0); }
.fd-cite-model {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.fd-cite-gpt { background: #10A37F; }
.fd-cite-claude { background: #D97706; }
.fd-cite-perp { background: #2563EB; }
.fd-cite-txt { flex: 1; font-size: 12px; opacity: 0.8; }
.fd-cite-date { font-size: 11px; opacity: 0.4; flex-shrink: 0; }

/* ── feat10: Competitors Demo ─────────────────────────────── */

.fd-comp-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fd-comp-name { width: 90px; font-size: 12px; font-weight: 600; opacity: 0.8; text-align: right; flex-shrink: 0; }
.fd-comp-bar-wrap { flex: 1; height: 20px; background: rgba(255,255,255,0.05); border-radius: 10px; overflow: hidden; }
.fd-comp-bar { height: 100%; border-radius: 10px; width: 0; transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.fd-comp-you { background: linear-gradient(90deg, #3b82f6, #7c3aed); }
.fd-comp-a { background: rgba(239,68,68,0.6); }
.fd-comp-b { background: rgba(245,158,11,0.6); }
.fd-comp-c { background: rgba(107,114,128,0.5); }
.fd-comp-score { width: 28px; font-size: 14px; font-weight: 800; }

/* ── feat11: Calendar Demo ────────────────────────────────── */

.fd-cal-header { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 8px; }
.fd-cal-header span { text-align: center; font-size: 11px; font-weight: 700; opacity: 0.4; }
.fd-cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.fd-cal-cell {
    padding: 10px 6px; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    text-align: center; font-size: 11px; opacity: 0.7;
    opacity: 0; transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fd-cal-cell.visible { opacity: 1; transform: scale(1); }
.fd-cal-empty { background: transparent; border-color: transparent; }
.fd-cal-dot { width: 8px; height: 8px; border-radius: 50%; margin: 0 auto 4px; }
.fd-cal-blue { background: #3b82f6; }
.fd-cal-purple { background: #7c3aed; }
.fd-cal-green { background: #10b981; }
.fd-cal-amber { background: #f59e0b; }

/* ── feat12: Authority Demo ───────────────────────────────── */

.fd-auth-svg { width: 100%; height: auto; }
.fd-auth-spoke {
    stroke: rgba(255,255,255,0.06); stroke-width: 2;
    stroke-dasharray: 150; stroke-dashoffset: 150;
    transition: stroke-dashoffset 0.8s ease;
}
.fd-auth-spoke.visible { stroke-dashoffset: 0; stroke: rgba(124,58,237,0.3); }
.fd-auth-hub { fill: rgba(255,255,255,0.05); opacity: 0; transition: all 0.5s ease; }
.fd-auth-hub.visible { opacity: 1; fill: #7c3aed; filter: drop-shadow(0 0 10px rgba(124,58,237,0.5)); }
.fd-auth-hub-text { fill: #fff; font-size: 11px; font-weight: 700; opacity: 0; transition: opacity 0.5s ease; }
.fd-auth-hub-text.visible { opacity: 1; }
.fd-auth-cluster { fill: rgba(255,255,255,0.05); opacity: 0; transition: all 0.5s ease; }
.fd-auth-cluster.visible { opacity: 1; fill: #3b82f6; }
.fd-auth-labels { display: flex; justify-content: center; gap: 16px; margin-top: 12px; }
.fd-auth-label { font-size: 11px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: all 0.4s ease; padding: 2px 10px; border-radius: var(--radius-full); background: rgba(59,130,246,0.1); color: #60a5fa; }
.fd-auth-label.visible { opacity: 1; transform: translateY(0); }

/* ── feat13: Link Sculpting Demo ──────────────────────────── */

.fd-sculpt-links { display: flex; flex-direction: column; gap: 8px; }
.fd-sculpt-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    opacity: 0; transform: translateX(20px);
    transition: all 0.5s ease;
    position: relative;
}
.fd-sculpt-link.visible { opacity: 1; transform: translateX(0); }
.fd-sculpt-url { flex: 1; font-size: 12px; font-family: var(--font-mono); opacity: 0.8; }
.fd-sculpt-action {
    font-size: 10px; font-weight: 800; padding: 2px 10px;
    border-radius: var(--radius-full); letter-spacing: 0.05em; flex-shrink: 0;
}
.fd-sculpt-keep { background: rgba(16,185,129,0.15); color: #34d399; }
.fd-sculpt-mask { background: rgba(239,68,68,0.15); color: #f87171; }
.fd-sculpt-eval { background: rgba(245,158,11,0.15); color: #fbbf24; }
.fd-sculpt-flow {
    width: 40px; height: 4px; border-radius: 2px;
    overflow: hidden; flex-shrink: 0; position: relative;
}
.fd-sculpt-flow::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 2px;
}
.fd-sculpt-flow-high::after { background: #10b981; animation: fd-flow 1.5s ease-in-out infinite; }
.fd-sculpt-flow-med::after { background: #f59e0b; animation: fd-flow 2s ease-in-out infinite; }
.fd-sculpt-flow-blocked::after { background: #ef4444; width: 30%; animation: none; }

@keyframes fd-flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ── Feature section scroll reveal ────────────────────────── */

.feat-text, .feat-demo {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.feat-section.in-view .feat-text { opacity: 1; transform: translateY(0); }
.feat-section.in-view .feat-demo { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }

/* ── Social Proof ───────────────────────────────────────────── */

.proof-section { background: var(--color-surface); }

.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .proof-grid { grid-template-columns: repeat(4, 1fr); }
}

.proof-stat { text-align: center; }

.proof-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-2);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .proof-number { font-size: var(--text-4xl); }
}

.proof-label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* ── Live Demo Window ──────────────────────────────────────── */

.demo-section { background: var(--color-bg); }

.demo-window {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(37,99,235,0.08);
    border: 1px solid var(--color-border);
}

.demo-chrome {
    background: var(--color-text);
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.demo-dot-red    { background: #EF4444; }
.demo-dot-yellow { background: #F59E0B; }
.demo-dot-green  { background: #10B981; }

.demo-chrome-url {
    margin-left: var(--space-4);
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.6);
    font-family: var(--font-mono);
}

.demo-body {
    display: flex;
    background: var(--color-surface);
    min-height: 280px;
}

.demo-sidebar {
    width: 140px;
    background: var(--color-bg);
    border-right: 1px solid var(--color-border);
    padding: var(--space-3);
    display: none;
}

@media (min-width: 640px) {
    .demo-sidebar { display: block; }
}

.demo-sb-item {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    cursor: default;
    margin-bottom: 2px;
}

.demo-sb-item.active {
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-weight: 600;
}

.demo-main {
    flex: 1;
    padding: var(--space-5);
}

.demo-kpi-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

@media (min-width: 640px) {
    .demo-kpi-row { grid-template-columns: repeat(4, 1fr); }
}

.demo-kpi {
    text-align: center;
    padding: var(--space-3);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.demo-kpi-val {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.demo-kpi-label {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.demo-chart-area {
    padding: var(--space-4);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.demo-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: var(--space-4);
    height: 120px;
}

.demo-bar {
    width: 40px;
    height: 0;
    background: var(--c);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    position: relative;
    transition: height 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-bar.animated { height: var(--h); }

.demo-bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--color-text-muted);
    white-space: nowrap;
    font-family: var(--font-sans);
}

/* ── Pricing Preview ────────────────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
}

.pricing-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.pricing-card.popular {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--color-primary);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--color-text-inverse);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.25rem 0.875rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-name { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-2); }
.pricing-price { margin-bottom: var(--space-6); }
.pricing-amount { font-size: var(--text-4xl); font-weight: 700; color: var(--color-text); }
.pricing-currency { font-size: var(--text-lg); font-weight: 600; color: var(--color-text-secondary); vertical-align: super; }
.pricing-period { font-size: var(--text-sm); color: var(--color-text-muted); }

.pricing-features { text-align: left; margin-bottom: var(--space-8); }
.pricing-features li { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-2) 0; font-size: var(--text-sm); color: var(--color-text-secondary); }
.pricing-check { color: var(--color-excellent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-check-highlight { color: var(--color-secondary); font-weight: 700; }

.pricing-link {
    display: block;
    text-align: center;
    margin-top: var(--space-8);
    color: var(--color-primary);
    font-weight: 500;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}
.pricing-link:hover { color: var(--color-primary-hover); }

/* ── FAQ ───────────────────────────────────────────────────── */

.faq-section { background: var(--color-surface); }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-trigger:hover { color: var(--color-primary); }

.faq-trigger h3 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    line-height: 1.5;
    transition: color var(--transition-fast);
}

.faq-trigger:hover h3 { color: var(--color-primary); }

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform var(--transition-base);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-text-secondary);
    border-radius: 2px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-icon::before { width: 14px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item.open .faq-trigger h3 { color: var(--color-primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0;
}

.faq-item.open .faq-answer { max-height: 400px; padding-bottom: var(--space-5); }

.faq-answer p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin: 0;
}

@media (min-width: 768px) {
    .faq-trigger { padding: var(--space-6) 0; }
    .faq-trigger h3 { font-size: var(--text-lg); }
    .faq-answer p { font-size: var(--text-base); }
}

/* ── Final CTA ──────────────────────────────────────────────── */

.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation: mesh-float-1 18s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 { margin-bottom: var(--space-3); font-size: var(--text-2xl); }
@media (min-width: 768px) { .cta-content h2 { font-size: var(--text-3xl); } }
.cta-content p { color: var(--color-text-secondary); margin-bottom: var(--space-8); font-size: var(--text-lg); }
.cta-form { display: flex; justify-content: center; margin-bottom: var(--space-4); }
.cta-note { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ── .text-gradient (reusable) ─────────────────────────────── */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
