/* ========================================
   EquityOpinions - Main Stylesheet
   ======================================== */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --border: #1e1e2e;
    --border-light: #2a2a3e;
    --text-primary: #f0f0f5;
    --text-secondary: #8888a0;
    --text-muted: #555570;
    --accent-primary: #6366f1;
    --accent-secondary: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #6366f1, #06b6d4);
    --green: #22c55e;
    --green-dim: #22c55e33;
    --red: #ef4444;
    --red-dim: #ef444433;
    --yellow: #eab308;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 60px rgba(99,102,241,0.15);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Gradient Text ---- */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(99,102,241,0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}
.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(99,102,241,0.08);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10,10,15,0.7);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}
.nav-link:hover {
    color: var(--text-primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
    background: rgba(99,102,241,0.08);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-secondary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.positive { color: var(--green); }
.negative { color: var(--red); }

/* Source Cards (Hero) */
.source-card-stack {
    position: relative;
    width: 360px;
    height: 520px;
}

.source-card {
    position: absolute;
    width: 320px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.04);
}

.source-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(99,102,241,0.5);
    z-index: 10 !important;
}

.card-1 { top: 0; left: 10px; z-index: 4; transform: rotate(-1deg); border-color: rgba(99,102,241,0.3); }
.card-2 { top: 120px; left: 40px; z-index: 3; transform: rotate(1.5deg); border-color: rgba(6,182,212,0.3); }
.card-3 { top: 240px; left: 0; z-index: 2; transform: rotate(-0.5deg); border-color: rgba(244,63,94,0.3); }
.card-4 { top: 360px; left: 30px; z-index: 1; transform: rotate(1deg); opacity: 0.8; border-color: rgba(168,85,247,0.3); }

.source-card-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    border: 1px solid;
}
.source-card-badge.analyst { background: rgba(99,102,241,0.15); color: #818cf8; border-color: rgba(99,102,241,0.3); }
.source-card-badge.news { background: rgba(6,182,212,0.15); color: #22d3ee; border-color: rgba(6,182,212,0.3); }
.source-card-badge.social { background: rgba(244,63,94,0.15); color: #fb7185; border-color: rgba(244,63,94,0.3); }
.source-card-badge.sec { background: rgba(168,85,247,0.15); color: #c084fc; border-color: rgba(168,85,247,0.3); }

.source-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.source-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}
.source-type {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.source-card-opinion {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.source-ticker {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 2px 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    border: 1px solid var(--border);
}
.source-rating {
    font-size: 0.8rem;
    font-weight: 500;
}
.source-rating.bullish { color: var(--green); }
.source-rating.bearish { color: var(--red); }
.source-rating.neutral { color: var(--yellow); }

.source-ai-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 8px 12px;
    background: rgba(99,102,241,0.06);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(99,102,241,0.15);
}

/* ========================================
   AI Pipeline Section
   ======================================== */
.ai-pipeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.pipeline-step {
    flex: 1;
    max-width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: all 0.3s ease;
}
.pipeline-step:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pipeline-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.5;
    margin-bottom: 12px;
}

.pipeline-icon {
    margin-bottom: 16px;
}

.pipeline-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pipeline-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.pipeline-connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    flex-shrink: 0;
}

.pipeline-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.source-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.pipeline-demo {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
}

.demo-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.ai-output-line {
    padding: 3px 0;
    color: var(--text-secondary);
}

.ai-key {
    color: var(--text-muted);
}

.pipeline-result {
    text-align: center;
    padding: 20px;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.12);
    border-radius: var(--radius-md);
}

.result-ticker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.result-score {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.result-breakdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* ========================================
   Ticker Bar
   ======================================== */
.ticker-bar {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    overflow: hidden;
    padding: 12px 0;
}

.ticker-track {
    display: flex;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 48px;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.ticker-item .symbol {
    font-weight: 600;
    color: var(--text-primary);
}
.ticker-item .price { color: var(--text-secondary); }
.ticker-item .change { font-weight: 500; }
.ticker-item .change.up { color: var(--green); }
.ticker-item .change.down { color: var(--red); }

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Sections
   ======================================== */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
    background: rgba(99,102,241,0.06);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* ========================================
   Opinions Grid
   ======================================== */
.opinions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.opinion-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
}
.opinion-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.opinion-card.featured {
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.05));
    border-color: rgba(99,102,241,0.2);
}

.opinion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.opinion-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}
.avatar-lg {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.author-badge {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--accent-secondary);
    font-weight: 500;
}

.author-rank {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.opinion-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.opinion-ticker-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.ticker-symbol {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 0.85rem;
}

.ticker-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

.opinion-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.featured .opinion-text {
    font-size: 1.05rem;
}

.opinion-sentiment {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.sentiment-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.sentiment-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}
.bullish-fill {
    background: var(--accent-gradient);
}
.bearish-fill {
    background: linear-gradient(135deg, var(--red), #fb923c);
}

.sentiment-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.opinion-actions {
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.opinion-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.opinion-btn:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
}

/* ========================================
   Sentiment Dashboard
   ======================================== */
.sentiment-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sentiment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s ease;
}
.sentiment-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sentiment-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.sentiment-ticker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
}

.sentiment-score {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
}
.sentiment-score.bullish { color: var(--green); }
.sentiment-score.bearish { color: var(--red); }
.sentiment-score.neutral { color: var(--yellow); }

.sentiment-gauge { margin-bottom: 8px; }

.gauge-track {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.gauge-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gauge-fill.neutral-fill {
    background: linear-gradient(135deg, var(--yellow), #fb923c);
}

.sentiment-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sentiment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ========================================
   Features Grid
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover {
    border-color: var(--border-light);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(99,102,241,0.08);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Roadmap
   ======================================== */
.roadmap-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), var(--border));
}

.roadmap-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.roadmap-phase {
    width: 80px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-secondary);
    text-align: right;
    padding-top: 4px;
    flex-shrink: 0;
}

.roadmap-item::after {
    content: '';
    position: absolute;
    left: 76px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 2px solid var(--bg-secondary);
    z-index: 1;
}

.roadmap-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    flex: 1;
    transition: all 0.3s ease;
}
.roadmap-content:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.roadmap-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.roadmap-content ul {
    list-style: none;
    margin-bottom: 16px;
}

.roadmap-content li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.roadmap-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.5;
}

.roadmap-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.roadmap-status.live {
    background: var(--green-dim);
    color: var(--green);
}
.roadmap-status.upcoming {
    background: rgba(99,102,241,0.15);
    color: var(--accent-primary);
}
.roadmap-status.planned {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 60px 0 100px;
}

.cta-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    position: relative;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    max-width: 440px;
    margin: 0 auto 16px;
    position: relative;
}

.cta-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}
.cta-input:focus {
    border-color: var(--accent-primary);
}
.cta-input::placeholder {
    color: var(--text-muted);
}

.cta-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    position: relative;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    background: var(--bg-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    .hero-content { max-width: 100%; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 40px; }
    .ai-pipeline { flex-direction: column; align-items: center; }
    .pipeline-connector { transform: rotate(90deg); padding-top: 0; padding: 10px 0; }
    .pipeline-step { max-width: 100%; }
    .opinions-grid { grid-template-columns: 1fr; }
    .opinion-card.featured { grid-row: auto; }
    .sentiment-dashboard { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }
    .hero-visual { display: none; }
    .sentiment-dashboard { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 40px 24px; }
    .cta-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .roadmap-timeline::before { left: 0; }
    .roadmap-phase { width: auto; text-align: left; }
    .roadmap-item::after { left: -4px; }
    .roadmap-item { flex-direction: column; gap: 12px; }
}
