/* ===== RESET & BASE ===== */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-gradient: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
    --bg-dark: #0a0612;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent-purple: #9945FF;
    --accent-green: #14F195;
    --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 20px 40px -10px rgba(153, 69, 255, 0.15);
    --card-radius: 16px;
    --navbar-height: 72px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: #f8fafc;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(at 0% 0%, rgba(153, 69, 255, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(20, 241, 149, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(153, 69, 255, 0.12) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(20, 241, 149, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    padding-top: var(--navbar-height);
}

a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #93c5fd;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

ul {
    margin-bottom: 1rem;
    padding-left: 20px;
}

li {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

/* Force Dark Text in White Containers */
.bot-card,
.table-wrapper,
.faq-item,
.bg-white {
    color: var(--text-main);
}

.bot-card p,
.bot-card li,
.faq-item p,
.table-wrapper td,
.bg-white p,
.bg-white li {
    color: var(--text-muted);
}

.bot-card h3,
.bot-card h4,
.faq-item h3,
.bg-white h2,
.bg-white h3 {
    color: var(--text-main);
}

/* ===== STICKY NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    background: rgba(10, 6, 18, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: height 0.3s, background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    height: 60px;
    background: rgba(10, 6, 18, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-brand:hover {
    opacity: 0.85;
    color: #ffffff;
}

.nav-logo {
    height: 40px;
    width: auto;
    border-radius: 50%;
    transition: height 0.3s;
}

.navbar.scrolled .nav-logo {
    height: 34px;
}

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

.nav-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: transparent;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated particles background */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(153, 69, 255, 0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(20, 241, 149, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(153, 69, 255, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 50%, rgba(20, 241, 149, 0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 80%, rgba(153, 69, 255, 0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 10%, rgba(20, 241, 149, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 50% 50%, rgba(153, 69, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 90%, rgba(20, 241, 149, 0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 80%, rgba(153, 69, 255, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 15% 50%, rgba(20, 241, 149, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 30%, rgba(153, 69, 255, 0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 15%, rgba(20, 241, 149, 0.3) 0%, transparent 100%);
    animation: particleDrift 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(153, 69, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

@keyframes particleDrift {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-15px) translateX(10px); }
    50% { transform: translateY(-5px) translateX(-8px); }
    75% { transform: translateY(-20px) translateX(5px); }
    100% { transform: translateY(0) translateX(0); }
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 30px rgba(153, 69, 255, 0.3));
    animation: heroGlow 3s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { filter: drop-shadow(0 0 20px rgba(153, 69, 255, 0.25)); }
    100% { filter: drop-shadow(0 0 40px rgba(153, 69, 255, 0.45)); }
}

.hero-brand {
    font-size: 1.1rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-section h1 {
    font-size: 3.8rem;
    margin-bottom: 1.25rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1.15;
}

.hero-tagline {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: #94a3b8;
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-gradient);
    color: white;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(153, 69, 255, 0.3);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(153, 69, 255, 0.45);
    color: white;
    text-decoration: none;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

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

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
}

/* ===== CONTENT SECTION (used on subpages + index) ===== */
.content-section {
    padding: 40px 0;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-section ul {
    padding-left: 24px;
}

/* White Card Container (shared) */
.bg-white {
    background-color: #ffffff;
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: var(--glass-shadow);
    margin: 0 auto 40px;
    border: 1px solid #e2e8f0;
    max-width: 900px;
}

.bg-white h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title p {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 8px;
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
    padding: 40px 0 80px;
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--glass-shadow);
    border: 1px solid #e2e8f0;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

th, td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

td {
    font-size: 0.95rem;
}

.bot-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-logo-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

tr:hover td {
    background-color: #f8fafc;
}

tr:last-child td {
    border-bottom: none;
}

/* ===== MOBILE TABLE -> CARDS ===== */
@media (max-width: 900px) {
    .table-wrapper {
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible;
    }

    table {
        min-width: unset;
    }

    thead {
        display: none;
    }

    tbody {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    tbody tr {
        display: block;
        background: #ffffff;
        border-radius: 14px;
        padding: 20px;
        box-shadow: var(--glass-shadow);
        border: 1px solid #e2e8f0;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    tbody tr:hover {
        transform: translateY(-2px);
        box-shadow: var(--hover-shadow);
    }

    tbody tr:hover td {
        background: transparent;
    }

    td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #f1f5f9;
        gap: 12px;
    }

    td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #475569;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        flex-shrink: 0;
        min-width: 90px;
    }

    td:first-child {
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 14px;
        margin-bottom: 4px;
    }

    td:first-child::before {
        display: none;
    }

    td:first-child .bot-cell strong {
        font-size: 1.1rem;
    }

    td:last-child {
        border-bottom: none;
        padding-top: 14px;
        justify-content: flex-start;
    }

    td:last-child::before {
        display: none;
    }

    /* content tables (not the bot comparison): keep the label on the last cell too */
    table.labelled td:last-child {
        justify-content: space-between;
    }

    table.labelled td:last-child::before {
        display: block;
    }

    /* text-heavy tables: label above the value so long text gets the full width */
    table.labelled.stacked td {
        display: block;
    }

    table.labelled.stacked td::before {
        display: block;
        min-width: 0;
        margin-bottom: 4px;
    }

    table.labelled.stacked td:first-child::before {
        display: none;
    }
}

/* ===== BOT DETAIL CARDS ===== */
.bot-details-section {
    padding: 60px 0;
}

.bot-details-section > .container > .section-title {
    margin-bottom: 50px;
}

.bot-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--card-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

/* Gradient border effect on hover */
.bot-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--card-radius);
    padding: 2px;
    background: var(--primary-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

/* Glow effect on hover */
.bot-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--card-radius);
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s;
    filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

.bot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
    border-color: transparent;
}

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

.bot-card:hover::after {
    opacity: 0.15;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.bot-logo-lg {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bot-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0px;
    color: #0f172a;
}

.card-body {
    transition: max-height 0.4s ease, opacity 0.3s ease;
    overflow: hidden;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.details-grid h4 {
    color: #334155;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 16px;
}

.details-grid h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--primary-gradient);
}

.meta-info {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    border: 1px solid #f1f5f9;
}

.meta-info p {
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
}

/* Mobile card toggle button */
.card-toggle {
    display: none;
    background: none;
    border: 1px solid #e2e8f0;
    color: var(--accent-purple);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-top: 12px;
}

.card-toggle:hover {
    background: rgba(153, 69, 255, 0.05);
    border-color: var(--accent-purple);
}

.card-toggle::after {
    content: ' +';
}

.bot-card.expanded .card-toggle::after {
    content: ' -';
}

/* View All Reviews link */
.view-all-link {
    text-align: center;
    margin-top: 20px;
}

.view-all-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    border: 1px solid rgba(153, 69, 255, 0.2);
    border-radius: 10px;
    transition: all 0.2s;
}

.view-all-link a:hover {
    background: rgba(153, 69, 255, 0.08);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

/* ===== CTA BUTTONS ===== */
.cta-button {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(153, 69, 255, 0.25);
    border: none;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    border: 1px solid #e2e8f0;
    box-shadow: var(--glass-shadow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(153, 69, 255, 0.35);
    text-decoration: none;
    color: white;
}

.cta-button.secondary:hover {
    background: #fff;
    color: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: 0 8px 25px rgba(153, 69, 255, 0.15);
}

.cta-small {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(153, 69, 255, 0.2);
}

.cta-small.secondary {
    background: #f1f5f9;
    color: var(--text-main);
    box-shadow: none;
}

.cta-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(153, 69, 255, 0.3);
    text-decoration: none;
    color: white;
}

.cta-small.secondary:hover {
    background: #e2e8f0;
    color: var(--accent-purple);
}

.bot-card-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== BLOG PREVIEW SECTION ===== */
.blog-preview-section {
    padding: 80px 0;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.blog-preview-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--card-radius);
    padding: 32px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.blog-preview-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--card-radius);
    padding: 1px;
    background: var(--primary-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.blog-preview-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(153, 69, 255, 0.1);
}

.blog-preview-card:hover::before {
    opacity: 1;
}

.blog-preview-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-green);
    background: rgba(20, 241, 149, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.blog-preview-card h3 {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-preview-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.blog-preview-card .read-more {
    margin-top: 16px;
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-preview-cta {
    text-align: center;
}

.blog-preview-cta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    border: 1px solid rgba(153, 69, 255, 0.2);
    border-radius: 10px;
    transition: all 0.2s;
}

.blog-preview-cta a:hover {
    background: rgba(153, 69, 255, 0.08);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

/* ===== RISKS SECTION ===== */
.risks-section {
    padding: 40px 0;
}

.risk-box {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(244, 63, 94, 0.02));
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-left: 4px solid #f43f5e;
    border-radius: 14px;
    padding: 40px;
    backdrop-filter: blur(4px);
}

.risk-box h2 {
    color: #fb7185;
    font-size: 1.75rem;
}

.risk-box p,
.risk-box li {
    color: #fda4af;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.25rem;
}

.faq-item {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s;
    backdrop-filter: blur(4px);
}

.faq-item:hover {
    border-color: rgba(153, 69, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #e2e8f0;
    font-weight: 600;
    transition: color 0.2s;
}

.faq-item:hover .faq-question h3 {
    color: #fff;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: #94a3b8;
    transition: all 0.3s;
}

.faq-item.active .faq-icon {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 28px 22px;
}

.faq-answer p {
    margin-bottom: 0;
    color: #94a3b8;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: rgba(10, 6, 18, 0.9);
    color: #94a3b8;
    padding: 60px 0 40px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.footer-brand span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
}

.footer-brand-text p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

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

.footer-column h4 {
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #e2e8f0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.footer-social a:hover {
    border-color: var(--accent-purple);
    background: rgba(153, 69, 255, 0.1);
    transform: translateY(-2px);
}

.footer-social img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-social a:hover img {
    opacity: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.footer-links a {
    color: #64748b;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
}

.disclaimer-text {
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    text-align: center;
    color: #475569;
    margin: 0;
    font-size: 0.85rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(153, 69, 255, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    pointer-events: none;
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top:hover {
    box-shadow: 0 8px 25px rgba(153, 69, 255, 0.45);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --navbar-height: 64px;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    /* When menu is open, make navbar fullscreen */
    .navbar.menu-open {
        height: 100vh;
        height: 100dvh;
        background: #0a0612;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        z-index: 9999;
        background: #0a0612;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 40px 30px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        z-index: 10000;
        position: relative;
    }

    .nav-links a {
        font-size: 1.4rem;
        font-weight: 600;
        padding: 18px 32px;
        color: #ffffff;
        border-radius: 14px;
        border: 1px solid rgba(153, 69, 255, 0.25);
        background: rgba(153, 69, 255, 0.08);
        width: 85%;
        text-align: center;
        letter-spacing: 0.02em;
    }

    .nav-links a:hover,
    .nav-links a:active {
        color: #ffffff;
        background: rgba(153, 69, 255, 0.25);
        border-color: rgba(153, 69, 255, 0.5);
    }

    /* Hero */
    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-logo {
        width: 72px;
        height: 72px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 32px;
        margin-top: 2.5rem;
    }

    .hero-stat-value {
        font-size: 1.6rem;
    }

    /* Bot cards */
    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .meta-info {
        flex-direction: column;
        gap: 10px;
    }

    .bot-card {
        padding: 24px;
    }

    .card-header {
        gap: 14px;
    }

    .bot-logo-lg {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .bot-card h3 {
        font-size: 1.3rem;
    }

    .bot-details-section h2,
    .section-title h2 {
        font-size: 1.8rem;
    }

    /* Show toggle button on mobile */
    .card-toggle {
        display: inline-block;
    }

    /* Collapse card body by default on mobile */
    .bot-card .card-body {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
    }

    /* Cards with card-body-open always show content (tools/wallets/info pages) */
    .bot-card .card-body.card-body-open {
        max-height: none !important;
        opacity: 1 !important;
        margin-top: 15px !important;
    }

    .bot-card.expanded .card-body {
        max-height: 2000px;
        opacity: 1;
        margin-top: 20px;
    }

    .bg-white {
        padding: 24px;
        margin: 0 0 30px;
    }

    .comparison-section {
        padding: 30px 0 50px;
    }

    .comparison-section h2 {
        margin-bottom: 24px;
        font-size: 1.6rem;
    }

    /* Blog preview */
    .blog-preview-section {
        padding: 50px 0;
    }

    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-preview-card {
        padding: 24px;
    }

    /* FAQ */
    .faq-section {
        padding: 50px 0;
    }

    .faq-question {
        padding: 18px 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 18px;
    }

    .risk-box {
        padding: 24px;
    }

    .cta-button {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-links {
        gap: 4px;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

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

    .bot-card-buttons {
        flex-direction: column;
    }

    .bot-card-buttons .cta-button {
        text-align: center;
    }

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

/* TOP Badge */
.top-badge {
    display: inline-block;
    background: linear-gradient(135deg, #9945FF, #14F195);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(153, 69, 255, 0.35);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(153, 69, 255, 0.35); }
    50% { box-shadow: 0 2px 16px rgba(20, 241, 149, 0.5); }
}

.last-updated { color: #888; font-size: 0.85rem; margin-top: 0.25rem; margin-bottom: 1.5rem; }
