/* ============================================
   GLOBAL RESET & VARIABLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #0d1420;
    --bg-card: #101a26;
    --bg-card-hover: #142230;
    --text-primary: #f3f5f8;
    --text-secondary: #a9b4c2;
    --text-muted: #6b7889;
    --accent: #4a8cf7;
    --accent-hover: #6aa3ff;
    --accent-cyan: #38bdf8;
    --accent-amber: #e8a06a;
    --accent-glow: rgba(74, 140, 247, 0.25);
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --radius: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* Light mode overrides */
.light-mode {
    --bg-primary: #f4f6fa;
    --bg-secondary: #e8ecf2;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f2f7;
    --text-primary: #0b0e14;
    --text-secondary: #4a5a72;
    --text-muted: #8a9bb0;
    --border-color: #d0d8e4;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 2rem;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}
.light-mode .navbar {
    background: rgba(244, 246, 250, 0.88);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    box-shadow: 0 4px 16px var(--accent-glow);
    color: #05070c;
    font-size: 1rem;
    flex-shrink: 0;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}
.logo-accent {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-actions {
    display: flex;
    gap: 0.4rem;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-icon:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: 0 0 0 1px var(--border-color), 0 6px 20px var(--accent-glow);
    transform: translateY(-2px);
}
.btn-icon:active {
    transform: scale(0.92);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 3rem;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, rgba(74, 140, 247, 0.06), transparent 70%),
                radial-gradient(ellipse at 70% 80%, rgba(74, 140, 247, 0.04), transparent 60%),
                var(--bg-primary);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 140, 247, 0.12), transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    100% { opacity: 0.8; transform: scale(1.2) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroReveal {
    from { opacity: 0; transform: scale(0.96) translateY(16px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content {
        animation: none;
    }
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.hero-badge i {
    color: var(--accent);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.hero h1 .word {
    display: inline-block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
    vertical-align: top;
}
.hero h1 .word span {
    display: inline-block;
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: heroTitleShine 8s ease-in-out infinite;
}
@keyframes heroTitleShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    line-height: 1.6;
}

.hero-stats {
    position: relative;
    z-index: 1;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-stats:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}
.hero-stats::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: calc(var(--radius) + 2px);
    background: conic-gradient(from 0deg, var(--accent), var(--accent-cyan), var(--accent-amber), var(--accent), var(--accent-cyan));
    animation: aboutBorderSpin 9s linear infinite;
    opacity: 0.4;
}
.hero-stats::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(300px circle at var(--stats-mx, 50%) var(--stats-my, 50%), rgba(74, 140, 247, 0.16), transparent 70%);
    transition: opacity 0.4s ease;
}
.hero-stats:hover::after {
    opacity: 1;
}

.stat-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: floatStat 4s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-item:hover {
    transform: scale(1.08) translateY(-2px);
}
.stat-item:nth-child(1) { animation-delay: 0s; }
.stat-item:nth-child(2) { animation-delay: 0.5s; }
.stat-item:nth-child(3) { animation-delay: 1s; }

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--accent);
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

@keyframes floatStat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.stat-divider {
    width: 1px;
    height: 2.5rem;
    background: var(--border-color);
    position: relative;
    z-index: 1;
}

/* Reusable "live" pulse dot — used in badges across the page */
.live-dot,
.about-live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    margin-right: 0.4rem;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
    animation: aboutLivePulse 2s ease-out infinite;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Animated underline that draws in when section titles scroll into view */
.about-title {
    position: relative;
    display: inline-block;
}
.about-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible .about-title::after,
.reveal .about-title.in-view::after {
    transform: scaleX(1);
}

.hero-scroll {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: floatDown 2s ease-in-out infinite;
}
@keyframes floatDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}
.hero-scroll i {
    font-size: 1rem;
}

/* ============================================
   FILTERS
   ============================================ */
.filters {
    position: sticky;
    top: 4.2rem;
    z-index: 100;
    padding: 1rem 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    transition: background 0.3s ease;
}
.light-mode .filters {
    background: rgba(232, 236, 242, 0.92);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: border-color var(--transition);
    flex: 1 1 180px;
}
.filter-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.filter-group i {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.filter-group input,
.filter-group select {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.4rem 0;
    width: 100%;
    outline: none;
}
.filter-group select {
    cursor: pointer;
}
.filter-group input::placeholder {
    color: var(--text-muted);
}
.filter-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.sr-only-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.custom-select-group {
    position: relative;
    padding: 0;
    border: none;
    background: transparent;
    overflow: visible;
}
.custom-select-group i {
    display: none;
}
.custom-select {
    position: relative;
    width: 100%;
}
.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}
.custom-select-trigger:hover {
    border-color: rgba(74, 140, 247, 0.35);
}
.custom-select.open .custom-select-trigger {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.custom-select-trigger:active {
    transform: scale(0.98);
}
.custom-select-trigger i {
    display: block !important;
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.custom-select.open .custom-select-trigger i {
    transform: rotate(180deg);
    color: var(--accent);
}

.custom-select-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 60;
    list-style: none;
    margin: 0;
    padding: 0.4rem;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    max-height: 280px;
    overflow-y: auto;
    transform-origin: top center;
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0.28s;
}
.custom-select.open .custom-select-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0s;
}

.custom-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0;
    transform: translateX(-8px);
    transition: background 0.2s ease, color 0.2s ease, opacity 0.35s ease, transform 0.35s ease;
}
.custom-select.open .custom-select-option {
    opacity: 1;
    transform: translateX(0);
}
.custom-select-option:hover,
.custom-select-option.active {
    background: rgba(74, 140, 247, 0.12);
    color: var(--text-primary);
}
.custom-select-option.selected {
    color: var(--accent);
    font-weight: 600;
}
.custom-select-option .check-icon {
    font-size: 0.7rem;
    opacity: 0;
    color: var(--accent);
    transition: opacity 0.2s ease;
}
.custom-select-option.selected .check-icon {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .custom-select-trigger i,
    .custom-select-panel,
    .custom-select-option {
        transition: opacity 0.1s ease;
    }
}

.btn-clear {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-clear:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--accent);
}
.btn-clear i {
    font-size: 0.8rem;
}

/* ============================================
   HOVER TOOLTIPS (pure CSS, zero JS overhead)
   Add data-tooltip="..." to any element to enable
   ============================================ */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    white-space: nowrap;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

[data-tooltip]::before {
    content: '';
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    border: 5px solid transparent;
    border-bottom-color: var(--bg-card);
    opacity: 0;
    pointer-events: none;
    z-index: 51;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before,
[data-tooltip]:focus-visible::after,
[data-tooltip]:focus-visible::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
    [data-tooltip]::after,
    [data-tooltip]::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-tooltip]::after,
    [data-tooltip]::before {
        transition: opacity 0.1s ease;
    }
}

/* ============================================
   STATS CHART
   ============================================ */
.stats-chart {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.chart-container {
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.chart-container::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}
.chart-container h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
    position: relative;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 1.2rem;
    height: 180px;
    padding-bottom: 1.8rem;
    position: relative;
}
.chart-bars::after {
    content: '';
    position: absolute;
    bottom: 1.6rem;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    height: 100%;
    justify-content: flex-end;
}

.bar {
    width: 100%;
    max-width: 50px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--accent-hover), var(--accent));
    min-height: 4px;
    transform-origin: bottom;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 0 rgba(74, 140, 247, 0);
    transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.bar:hover {
    filter: brightness(1.25);
    box-shadow: 0 0 24px var(--accent-glow), 0 0 0 1px rgba(74, 140, 247, 0.3);
}
.bar-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}
.bar-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

/* ============================================
   TIMELINE – DARK TIDES STYLE
   ============================================ */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.timeline-item {
    position: relative;
    padding: 1.8rem 2rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 900px;
    will-change: transform;
    cursor: pointer;
    overflow: hidden;
}

.timeline-item.tilting {
    transition: box-shadow 0.3s ease;
    transform: translateY(0) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) scale(1.015);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--accent-glow);
}

.timeline-item::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(74, 140, 247, 0.14), transparent 70%);
    transition: opacity 0.35s ease;
}

.timeline-item.tilting::after {
    opacity: 1;
}

.timeline-item.pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid var(--accent);
    animation: cardPulse 0.6s ease-out;
    pointer-events: none;
}

@keyframes cardPulse {
    0% { opacity: 0.9; transform: scale(0.98); }
    100% { opacity: 0; transform: scale(1.04); }
}

.timeline-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(74, 140, 247, 0.08);
    background: var(--bg-card-hover);
}

/* ============================================
   DATE BADGE (like FIX + AUG10, 2026)
   ============================================ */
.timeline-item .badge-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}

.timeline-item .badge-pill {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-amber);
    background: rgba(232, 160, 106, 0.1);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    border: 1px solid rgba(232, 160, 106, 0.18);
}

.timeline-item .badge-year {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Type-based pill colours */
.timeline-item[data-type="Worm"] .badge-pill { color: #f27272; background: rgba(242, 114, 114, 0.1); border-color: rgba(242, 114, 114, 0.18); }
.timeline-item[data-type="Virus"] .badge-pill { color: #f0a868; background: rgba(240, 168, 104, 0.1); border-color: rgba(240, 168, 104, 0.18); }
.timeline-item[data-type="Ransomware"] .badge-pill { color: #e77373; background: rgba(231, 115, 115, 0.1); border-color: rgba(231, 115, 115, 0.18); }
.timeline-item[data-type="Data Breach"] .badge-pill { color: #5aa9e6; background: rgba(90, 169, 230, 0.1); border-color: rgba(90, 169, 230, 0.18); }
.timeline-item[data-type="DDoS"] .badge-pill { color: #b389e0; background: rgba(179, 137, 224, 0.1); border-color: rgba(179, 137, 224, 0.18); }
.timeline-item[data-type="Supply Chain"] .badge-pill { color: #8fa3b8; background: rgba(143, 163, 184, 0.1); border-color: rgba(143, 163, 184, 0.18); }
.timeline-item[data-type="APT"] .badge-pill { color: var(--accent-cyan); background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.18); }
.timeline-item[data-type="Other"] .badge-pill { color: #9aa7b5; background: rgba(154, 167, 181, 0.1); border-color: rgba(154, 167, 181, 0.18); }

/* ============================================
   TITLE (like TIDES UPDATED TO V1.2.7!)
   ============================================ */
.timeline-item .title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 0 0.6rem 0;
    color: var(--text-primary);
}

/* ============================================
   DESCRIPTION (bullet-point style like Dark Tides)
   ============================================ */
.timeline-item .description-list {
    list-style: none;
    padding-left: 0;
    margin: 0.4rem 0 0.6rem 0;
}

.timeline-item .description-list li {
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0.35rem;
    padding-left: 1.3rem;
}

.timeline-item .description-list li::before {
    content: '';
    position: absolute;
    left: 0.15rem;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
}

/* ============================================
   IMPACT (like the "Impact" line)
   ============================================ */
.timeline-item .impact {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-color);
}

.timeline-item .impact strong {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ============================================
   CLICK-TO-EXPAND: SECURITY LESSONS
   (grid-rows trick = smooth height animation
   with zero JS measuring, fully independent per card)
   ============================================ */
.expand-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.expanded .expand-wrapper {
    grid-template-rows: 1fr;
}

.expand-inner {
    overflow: hidden;
    min-height: 0;
}

.lessons {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px dashed var(--border-color);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.timeline-item.expanded .lessons {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.expanded .lessons:not(.story-block) {
    transition-delay: 0.16s;
}

.story-block .lessons-heading {
    color: var(--accent-amber);
}

.lessons-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.lessons p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
}

.medium-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.22s,
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.22s,
                background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.timeline-item.expanded .medium-link {
    opacity: 1;
    transform: translateY(0);
}

.medium-link i.fa-medium {
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: color 0.25s ease;
}

.medium-link i.fa-arrow-up-right-from-square {
    font-size: 0.68rem;
    color: var(--text-muted);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}

.medium-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.medium-link:hover i.fa-medium,
.medium-link:hover i.fa-arrow-up-right-from-square {
    color: #ffffff;
}

.medium-link:hover i.fa-arrow-up-right-from-square {
    transform: translate(2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
    .medium-link {
        transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    }
}

.expand-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
    padding: 0;
    background: none;
    border: none;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.expand-toggle i {
    font-size: 0.7rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.expanded .expand-toggle i {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .expand-wrapper,
    .lessons,
    .expand-toggle i {
        transition: none;
    }
}

/* ============================================
   ICON TYPE (right side)
   ============================================ */
.timeline-item .icon-type {
    position: absolute;
    right: 1.2rem;
    top: 1.4rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    opacity: 0.25;
    transition: opacity 0.3s ease;
}
.timeline-item:hover .icon-type {
    opacity: 0.6;
}

/* ============================================
   REMOVE OLD DOT CONNECTOR
   ============================================ */
.timeline-item::before {
    display: none;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}
.empty-state h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    background: var(--bg-secondary);
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent), transparent);
    background-size: 200% 100%;
    animation: footerGlowSweep 6s linear infinite;
}
@keyframes footerGlowSweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
}
.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 340px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.footer-col a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    width: fit-content;
    position: relative;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-col a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-col a:hover {
    color: var(--text-primary);
    transform: translateX(3px);
}
.footer-col a:hover::after {
    width: 100%;
}
.footer-col a i {
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

.footer-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-top-btn:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}
.footer-top-btn i {
    font-size: 0.8rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-color);
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0;
}
.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.footer-bottom a:hover {
    text-decoration: underline;
}
.footer-heart {
    color: #e74c3c;
    display: inline-block;
    animation: heartbeat 1.6s ease-in-out infinite;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

@media (max-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-glow,
    .footer-heart {
        animation: none;
    }
}
.footer a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .navbar { padding: 0.6rem 1rem; }
    .hero { min-height: 70vh; padding: 5rem 1rem 2rem; }
    .hero h1 { font-size: 2.4rem; }
    .hero-stats { gap: 1.2rem; padding: 1rem 1.2rem; }
    .stat-number { font-size: 1.4rem; }
    .stat-divider { height: 1.8rem; }
    .hero-scroll { display: none; }

    .filters { padding: 0.8rem 1rem; top: 3.6rem; }
    .filter-container { gap: 0.6rem; }
    .filter-group { flex: 1 1 100%; }

    .stats-chart { padding: 0 1rem; }
    .chart-container { padding: 1rem; }
    .chart-bars { height: 140px; gap: 0.6rem; }
    .bar { max-width: 30px; }

    .timeline { padding: 1.5rem 1rem 3rem; }
    .timeline-item { padding: 1.2rem 1.2rem 1.2rem 3.5rem; }
    .timeline-item::before { left: 0.8rem; top: 1.2rem; width: 12px; height: 12px; }
    .timeline-item .title { font-size: 1rem; }
    .timeline-item .icon-type { display: none; }

    .btn-clear { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .stat-number { font-size: 1.2rem; }
    .stat-label { font-size: 0.65rem; }
    .timeline-item .description { font-size: 0.85rem; }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating slide-in for timeline cards, landing-page style */
.timeline-item.reveal {
    transform: translateY(40px) translateX(0);
    transition-delay: var(--reveal-delay, 0s);
}
.timeline-item.reveal:nth-child(odd) {
    transform: translateY(30px) translateX(-24px);
}
.timeline-item.reveal:nth-child(even) {
    transform: translateY(30px) translateX(24px);
}
.timeline-item.reveal.visible {
    transform: translateY(0) translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .timeline-item.reveal:nth-child(odd),
    .timeline-item.reveal:nth-child(even) {
        transition: opacity 0.3s ease;
        transform: none;
    }
}

/* ============================================
   AURORA BACKGROUND (buttery smooth, CSS-only, GPU-composited)
   ============================================ */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.8;
    filter: hue-rotate(calc(var(--scroll-progress, 0) * 45deg));
}

.aurora-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
}

.aurora-bg span {
    position: absolute;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
    mix-blend-mode: screen;
}

.aurora-layer:nth-child(1) span {
    top: -15%;
    left: -10%;
    background: radial-gradient(circle, rgba(74, 140, 247, 0.35), transparent 70%);
    animation: auroraDrift1 26s ease-in-out infinite;
}

.aurora-layer:nth-child(2) span {
    top: 20%;
    right: -15%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 70%);
    animation: auroraDrift2 32s ease-in-out infinite;
}

.aurora-layer:nth-child(3) span {
    bottom: -20%;
    left: 20%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(232, 160, 106, 0.16), transparent 70%);
    animation: auroraDrift3 38s ease-in-out infinite;
}

@keyframes auroraDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8vw, 6vh) scale(1.12); }
}

@keyframes auroraDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-7vw, 9vh) scale(1.08); }
}

@keyframes auroraDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(6vw, -8vh) scale(1.15); }
}

.light-mode .aurora-bg {
    opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
    .aurora-bg {
        filter: none;
    }
    .aurora-bg span {
        animation: none;
    }
}

/* ============================================
   SHARED SECTION HEADER (About / Tips / Protect / FAQ)
   ============================================ */
.about-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.about-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 720px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
.about-container {
    padding: 2.4rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

/* ============================================
   ABOUT SECTION – PREMIUM MOTION LAYER
   (purely decorative, text content untouched)
   ============================================ */
.about-container-premium {
    position: relative;
    z-index: 1;
    overflow: hidden;
    isolation: isolate;
}

.about-glow-border {
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: calc(var(--radius) + 2px);
    background: conic-gradient(from 0deg, var(--accent), var(--accent-cyan), var(--accent-amber), var(--accent), var(--accent-cyan));
    animation: aboutBorderSpin 7s linear infinite;
    opacity: 0.55;
}

@keyframes aboutBorderSpin {
    to { transform: rotate(360deg); }
}

.about-quote-icon {
    position: absolute;
    top: 1.6rem;
    right: 2rem;
    font-size: 3.5rem;
    color: var(--accent);
    opacity: 0.08;
    z-index: 0;
    animation: aboutQuoteFloat 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes aboutQuoteFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-4deg); }
}

.about-container-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(360px circle at var(--about-mx, 50%) var(--about-my, 30%), rgba(74, 140, 247, 0.14), transparent 70%);
    transition: opacity 0.4s ease;
}
.about-container-premium:hover::after {
    opacity: 1;
}

.about-container-premium .about-badge,
.about-container-premium .about-title,
.about-container-premium .about-text {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .about-glow-border,
    .about-quote-icon,
    .about-live-dot,
    .live-dot {
        animation: none;
    }
}

/* ============================================
   TIPS SECTION
   ============================================ */
.tips-section {
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}
.tip-card {
    padding: 1.6rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--accent-glow);
    border-color: rgba(74, 140, 247, 0.3);
}
.tip-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(74, 140, 247, 0.1);
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.tip-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.tip-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
}
.tip-card p a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.tip-card p a:hover {
    text-decoration: underline;
}

/* ============================================
   PROTECT YOUR DEVICES
   ============================================ */
.protect-section {
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
/* Inline content links (Privacy Guides mentions, etc.) — high-contrast
   in dark mode instead of the browser-default blue, readable in light mode too */
.about-text a,
.protect-intro a,
.tip-card p a {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.about-text a:hover,
.protect-intro a:hover,
.tip-card p a:hover {
    color: var(--accent-cyan);
    text-decoration-color: var(--accent-cyan);
}

.protect-intro {
    margin-bottom: 0;
}
.protect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}
.protect-card {
    display: block;
    padding: 1.6rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.protect-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--accent-glow);
    border-color: rgba(56, 189, 248, 0.35);
}
.protect-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}
.protect-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.protect-card p {
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.protect-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.02em;
}
.protect-link i {
    font-size: 0.65rem;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
    max-width: 900px;
    margin: 5rem auto 6rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
.faq-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.faq-item {
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: border-color 0.35s ease;
}
.faq-item.open {
    border-color: rgba(74, 140, 247, 0.3);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}
.faq-question i {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-item .expand-wrapper {
    grid-template-rows: 0fr;
}
.faq-item.open .expand-wrapper {
    grid-template-rows: 1fr;
}
.faq-answer {
    padding: 0 1.4rem 1.2rem;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 640px) {
    .about-container,
    .tip-card,
    .protect-card {
        padding: 1.3rem;
    }
    .about-section,
    .tips-section,
    .protect-section,
    .faq-section {
        margin: 3rem auto;
        padding: 0 1.2rem;
    }
}

/* ============================================
   TRAILING CURSOR GLOW
   ============================================ */
.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 140, 247, 0.7), rgba(56, 189, 248, 0.15) 60%, transparent 75%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    mix-blend-mode: screen;
}
.cursor-trail-active {
    width: 44px;
    height: 44px;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover), var(--accent));
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 20px var(--accent-glow), 0 0 60px rgba(74, 140, 247, 0.15);
}
