/* ═══════════════════════════════════════
   BitMuse Landing Page
   ═══════════════════════════════════════ */

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

/* --- Tokens --- */
:root {
    --bg:          #ffffff;
    --bg-alt:      #f5f5f7;
    --bg-card:     #ffffff;
    --text:        #1d1d1f;
    --text-2:      #6e6e73;
    --text-3:      #86868b;
    --accent:      #7B2FBE;
    --accent-2:    #06b6d4;
    --accent-glow: rgba(123, 47, 190, 0.25);
    --gradient:    linear-gradient(135deg, #7B2FBE, #06b6d4);
    --gradient-subtle: linear-gradient(135deg, rgba(123,47,190,0.08), rgba(6,182,212,0.08));
    --border:      rgba(0, 0, 0, 0.06);
    --border-card: rgba(0, 0, 0, 0.08);
    --header-bg:   rgba(255, 255, 255, 0.72);
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.04);
    --shadow-md:   0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg:   0 12px 48px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 60px rgba(123,47,190,0.15);
    --radius:      16px;
    --radius-lg:   24px;
    --font:        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg:          #09090b;
        --bg-alt:      #111113;
        --bg-card:     rgba(255,255,255,0.04);
        --text:        #f5f5f7;
        --text-2:      #a1a1a6;
        --text-3:      #6e6e73;
        --accent:      #a855f7;
        --accent-2:    #22d3ee;
        --accent-glow: rgba(168, 85, 247, 0.2);
        --gradient:    linear-gradient(135deg, #a855f7, #22d3ee);
        --gradient-subtle: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(34,211,238,0.1));
        --border:      rgba(255, 255, 255, 0.06);
        --border-card: rgba(255, 255, 255, 0.08);
        --header-bg:   rgba(9, 9, 11, 0.72);
        --shadow-sm:   0 1px 3px rgba(0,0,0,0.2);
        --shadow-md:   0 4px 24px rgba(0,0,0,0.3);
        --shadow-lg:   0 12px 48px rgba(0,0,0,0.4);
        --shadow-glow: 0 0 80px rgba(168,85,247,0.2);
    }
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ═══ Header ═══ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: var(--border);
}
.nav {
    max-width: 1080px; margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text); font-weight: 600; font-size: 17px;
}
.logo img { border-radius: 8px; }
.logo-tagline {
    display: block; font-size: 11px; font-weight: 400;
    color: var(--text-3); line-height: 1; margin-top: -2px;
}
.badge-beta {
    display: inline-block; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 2px 7px; border-radius: 5px;
    background: var(--gradient); color: #fff;
    margin-left: 6px; vertical-align: middle; line-height: 1.2;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link {
    font-size: 14px; color: var(--text-2); text-decoration: none;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

/* ═══ Buttons ═══ */
.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 10px 22px; border-radius: 980px;
    font-size: 15px; font-weight: 500; font-family: var(--font);
    text-decoration: none; cursor: pointer;
    background: var(--gradient); color: #fff; border: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 7px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; font-weight: 600; }
.btn-glow { box-shadow: 0 4px 20px var(--accent-glow); }
.btn-glow:hover { box-shadow: 0 6px 32px var(--accent-glow); }
.btn svg { flex-shrink: 0; }

/* ═══ Hero ═══ */
.hero {
    position: relative;
    max-width: 1080px; margin: 0 auto;
    padding: 160px 24px 80px; text-align: center;
}
.hero-particles {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}
.hero-content, .hero-screenshot { position: relative; z-index: 1; }
.hero-glow {
    position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none; z-index: -1;
    animation: glow-pulse 6s ease-in-out infinite;
}
@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50%      { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 980px; margin-bottom: 24px;
    font-size: 13px; font-weight: 500; color: var(--accent);
    background: var(--gradient-subtle);
    border: 1px solid var(--border-card);
}
.hero-badge svg { stroke: var(--accent); }
.hero-title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    margin-top: 20px;
    font-size: clamp(17px, 2vw, 21px);
    color: var(--text-2);
    max-width: 640px; margin-left: auto; margin-right: auto;
    line-height: 1.5;
}
.hero-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-meta { font-size: 13px; color: var(--text-3); }

.hero-screenshot { margin-top: 72px; will-change: transform; }
.hero-frame { max-width: 900px; margin: 0 auto; }

/* ═══ Screenshot frames ═══ */
.screenshot-frame {
    transition: transform 0.4s var(--ease);
}
.screenshot-frame:hover {
    transform: translateY(-4px);
}
.screenshot-img {
    width: 100%; height: auto; display: block;
}

.screenshot-phone {
    max-width: 320px; margin: 0 auto;
    border-radius: 32px; overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-card);
    background: var(--bg-alt);
}
.screenshot-phone:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow), 0 0 0 1px var(--border-card);
}

/* ═══ Section titles ═══ */
.section-title {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700; letter-spacing: -0.025em;
    text-align: center; line-height: 1.12;
}
.section-sub {
    font-size: 18px; color: var(--text-2); text-align: center;
    margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto;
}

/* ═══ Features Grid ═══ */
.features {
    max-width: 1080px; margin: 0 auto;
    padding: 40px 24px 36px;
}
.features .section-title { margin-bottom: 8px; }
.features .section-sub { margin-bottom: 56px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature {
    padding: 28px 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
    position: relative; overflow: hidden;
}
.feature::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient);
    opacity: 0; transition: opacity 0.3s;
}
.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.feature:hover::before { opacity: 1; }

/* Animated gradient border on hover */
.feature::after {
    content: '';
    position: absolute; inset: -1px;
    border-radius: var(--radius);
    background: conic-gradient(from var(--angle, 0deg), #a855f7, #06b6d4, #a855f7);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}
.feature:hover::after {
    opacity: 0.5;
    animation: rotate-border 3s linear infinite;
}
@keyframes rotate-border {
    to { --angle: 360deg; }
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.feature-icon-wrap {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-subtle);
    margin-bottom: 16px;
}
.feature h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* ═══ Showcase ═══ */
.showcase {
    position: relative;
    padding: 40px 24px;
}
.showcase-glow {
    position: absolute; top: 50%; width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none; z-index: 0;
    opacity: 0.5;
    filter: blur(40px);
    animation: glow-pulse 8s ease-in-out infinite;
}
.showcase-glow-left  { left: -300px;  transform: translateY(-50%); }
.showcase-glow-right { right: -300px; transform: translateY(-50%); }

.showcase-inner {
    position: relative; z-index: 1;
    max-width: 1080px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: center;
}
.showcase-reverse .showcase-inner { direction: rtl; }
.showcase-reverse .showcase-inner > * { direction: ltr; }

.showcase-label {
    display: inline-block; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--accent); margin-bottom: 16px;
}
.showcase-text h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
}
.showcase-text p {
    margin-top: 16px; font-size: 16px; color: var(--text-2); line-height: 1.6;
}
.showcase-list {
    margin-top: 20px; list-style: none;
    display: flex; flex-direction: column; gap: 10px;
}
.showcase-list li {
    font-size: 15px; color: var(--text-2);
    display: flex; align-items: center; gap: 10px;
}
.showcase-list li::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
    background: var(--gradient);
}

/* ═══ Showcase: DSP (centered layout) ═══ */
.showcase-dsp-inner {
    position: relative; z-index: 1;
    max-width: 1080px; margin: 0 auto;
    text-align: center;
}
.showcase-dsp-text { max-width: 680px; margin: 0 auto; }
.showcase-dsp-text h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
}
.showcase-dsp-text p {
    margin-top: 16px; font-size: 16px; color: var(--text-2); line-height: 1.6;
}
.showcase-dsp-text .showcase-list {
    display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px;
    margin-top: 20px;
}
.showcase-dsp-visual {
    margin-top: 56px;
    max-width: 900px; margin-left: auto; margin-right: auto;
}

/* ═══ Formats ═══ */
.formats {
    padding: 40px 24px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.formats-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.formats .section-sub { margin-bottom: 40px; }
.format-tags {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin-bottom: 24px;
}
.format-tag {
    padding: 10px 22px; border-radius: 980px;
    font-size: 14px; font-weight: 600; letter-spacing: 0.03em;
    color: var(--tag-color);
    border: 1px solid color-mix(in srgb, var(--tag-color) 30%, transparent);
    background: color-mix(in srgb, var(--tag-color) 8%, transparent);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.format-tag:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ═══ Extras ═══ */
.extras {
    max-width: 1080px; margin: 0 auto;
    padding: 40px 24px 36px;
}
.extras .section-title { margin-bottom: 48px; }
.extras-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.extra {
    padding: 20px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border-card);
    display: flex; flex-direction: column; gap: 6px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
    position: relative; overflow: hidden;
}
.extra::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--gradient-subtle);
    opacity: 0; transition: opacity 0.3s;
}
.extra:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(168,85,247,0.15);
}
.extra:hover::before { opacity: 1; }
.extra > * { position: relative; z-index: 1; }
.extra-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-subtle);
    margin-bottom: 4px;
}
.extra strong { font-size: 14px; font-weight: 600; }
.extra span { font-size: 12px; color: var(--text-3); line-height: 1.4; }

/* ═══ Stats ═══ */
.stats {
    padding: 36px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.stats-inner {
    max-width: 900px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center; gap: 48px;
}
.stat {
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.stat-value {
    display: flex; align-items: baseline; justify-content: center;
}
.stat-number, .stat-plus {
    font-size: 48px; font-weight: 700; letter-spacing: -0.03em;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.stat-label {
    font-size: 14px; color: var(--text-2); font-weight: 500;
}
.stat-divider {
    width: 1px; height: 48px;
    background: var(--border);
}

/* ═══ Download ═══ */
.download {
    position: relative;
    padding: 20px 24px 48px; text-align: center;
}
.download-glow {
    position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.download-content {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.download-icon {
    border-radius: 24px; box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.download h2 { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.download p { font-size: 18px; color: var(--text-2); margin-bottom: 8px; }
.download-meta {
    margin-top: 16px; display: flex; gap: 8px;
    font-size: 13px; color: var(--text-3);
}

/* Waitlist form */
.waitlist-form {
    display: flex;
    max-width: 440px;
    margin: 24px auto 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid var(--border-card);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-form:focus-within {
    border-color: var(--accent);
    box-shadow: var(--shadow-md), 0 0 0 3px var(--accent-glow);
}
.waitlist-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 16px 20px;
    font-size: 16px;
    font-family: var(--font);
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    -webkit-appearance: none;
}
.waitlist-form input[type="email"]::placeholder {
    color: var(--text-3);
}
.waitlist-form button {
    padding: 16px 28px;
    margin: 5px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    background: var(--gradient);
    color: #fff;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.15s;
}
.waitlist-form button:hover {
    opacity: 0.92;
    transform: scale(1.02);
}
.waitlist-form button:active {
    transform: scale(0.98);
}
.waitlist-form button:disabled {
    opacity: 0.5;
    cursor: default;
    transform: none;
}
.waitlist-thanks {
    font-size: 17px;
    font-weight: 600;
    padding: 16px 0;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@media (max-width: 480px) {
    .waitlist-form { max-width: 100%; }
    .waitlist-form button { padding: 14px 20px; font-size: 14px; }
}

/* ═══ Footer ═══ */
.footer {
    border-top: 1px solid var(--border); padding: 28px 24px;
}
.footer-content {
    max-width: 1080px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.footer-left { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ═══ Cookie Banner ═══ */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: var(--bg-alt); border-top: 1px solid var(--border);
    padding: 16px 24px;
    display: flex; align-items: center; justify-content: center; gap: 16px;
    font-size: 14px; color: var(--text-2);
    transform: translateY(100%);
    transition: transform 0.35s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner a { color: var(--accent); text-decoration: none; }
.cookie-banner a:hover { text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
    padding: 8px 20px; border-radius: 8px; border: none;
    font-size: 13px; font-weight: 600; cursor: pointer;
    font-family: var(--font); transition: opacity 0.2s;
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn-accept { background: var(--gradient); color: #fff; }
.cookie-btn-decline { background: var(--border); color: var(--text-2); }

@media (max-width: 768px) {
    .cookie-banner { flex-direction: column; text-align: center; gap: 12px; }
}

/* ═══ Animations ═══ */
.anim-fade {
    opacity: 0; transform: translateY(16px);
    animation: fade-up 0.7s var(--ease) forwards;
}
.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.2s; }
.anim-d3 { animation-delay: 0.35s; }
.anim-d4 { animation-delay: 0.5s; }

@keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
}

.anim-scroll {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim-scroll.in-view {
    opacity: 1; transform: translateY(0);
}

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
    .extras-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase-inner { grid-template-columns: 1fr; gap: 40px; }
    .showcase-reverse .showcase-inner { direction: ltr; }
    .showcase-visual { order: -1; }
    .extras-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-inner { gap: 24px; flex-wrap: wrap; }
    .stat-number { font-size: 36px; }
    .stat-divider { display: none; }
    .hero { padding-top: 120px; }
    .hero-sub br { display: none; }
    .hero-title br { display: none; }
    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
    .download-meta { flex-wrap: wrap; justify-content: center; }
    .nav-links .btn-sm { display: none; }
    .nav-links { gap: 16px; }
    .logo-tagline { display: none; }
    .badge-beta { display: none; }
    .nav { padding: 12px 16px; }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .extras-grid { grid-template-columns: 1fr; }
    .showcase-text h2 br { display: none; }
}

/* ═══ FAQ ═══ */
.faq {
    max-width: 720px; margin: 0 auto;
    padding: 40px 24px 48px;
}
.faq .section-title { margin-bottom: 8px; }
.faq .section-sub { margin-bottom: 40px; }
.faq-list {
    display: flex; flex-direction: column; gap: 8px;
}
.faq-item {
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(168,85,247,0.15); }
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 18px 22px;
    background: none; border: none; cursor: pointer;
    font-family: var(--font); font-size: 15px; font-weight: 600;
    color: var(--text); text-align: left;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-chevron {
    width: 20px; height: 20px; flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    color: var(--text-3);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s var(--ease);
}
.faq-answer-inner {
    padding: 0 22px 18px;
    font-size: 14px; color: var(--text-2); line-height: 1.65;
}

/* ═══ Inline Comparison (landing) ═══ */
.compare-inline {
    max-width: 1080px; margin: 0 auto;
    padding: 40px 24px 36px;
}
.compare-inline .section-title { margin-bottom: 8px; }
.compare-inline .section-sub { margin-bottom: 40px; }
.compare-inline .compare-disclaimer { margin-top: 16px; }
.compare-inline .compare-disclaimer a {
    color: var(--accent); text-decoration: none;
}
.compare-inline .compare-disclaimer a:hover { text-decoration: underline; }
.compare-compact td:first-child { min-width: 170px; }
.compare-compact td,
.compare-compact th { padding: 11px 16px; }

/* ═══ Comparison Page ═══ */
.compare-hero {
    max-width: 1080px; margin: 0 auto;
    padding: 140px 24px 40px; text-align: center;
}
.compare-title {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700; letter-spacing: -0.025em;
    background: var(--gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.compare-sub {
    margin-top: 12px; font-size: 18px; color: var(--text-2);
    max-width: 560px; margin-left: auto; margin-right: auto;
}
.compare-section {
    max-width: 1080px; margin: 0 auto;
    padding: 0 24px 48px;
}
.compare-table-wrap {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    border: 1px solid var(--border-card);
}
.compare-table {
    width: 100%; border-collapse: collapse;
    font-size: 14px; white-space: nowrap;
}
.compare-table th,
.compare-table td {
    padding: 12px 18px; text-align: center;
    border-bottom: 1px solid var(--border);
}
.compare-table th {
    font-size: 15px; font-weight: 600;
    padding: 20px 18px; background: var(--bg-alt);
    position: sticky; top: 0; z-index: 2;
    vertical-align: bottom;
}
.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left; font-weight: 500;
    position: sticky; left: 0; z-index: 1;
    background: var(--bg);
    min-width: 200px;
}
.compare-table th:first-child { z-index: 3; background: var(--bg-alt); }
.compare-highlight {
    background: var(--gradient-subtle) !important;
}
.compare-app-icon {
    display: block; margin: 0 auto 6px;
    border-radius: 6px;
}
.compare-price {
    display: block; font-size: 12px; font-weight: 400;
    color: var(--text-3); margin-top: 4px;
}
.compare-group td {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--accent); padding: 14px 18px 8px;
    background: var(--bg-alt) !important;
    text-align: left !important;
}
/* Yes / No / Partial indicators */
.compare-yes::before {
    content: '\2713';
    font-size: 16px; font-weight: 700;
    color: #22c55e;
}
.compare-no::before {
    content: '\2014';
    font-size: 16px;
    color: var(--text-3);
    opacity: 0.4;
}
.compare-partial {
    font-size: 12px; color: var(--text-3); font-weight: 500;
    padding: 2px 8px; border-radius: 6px;
    background: color-mix(in srgb, var(--text-3) 10%, transparent);
    cursor: help;
}
.compare-text {
    font-size: 13px; color: var(--text-2); font-weight: 500;
}
.compare-good {
    font-size: 12px; color: #22c55e; font-weight: 600;
    padding: 2px 8px; border-radius: 6px;
    background: color-mix(in srgb, #22c55e 10%, transparent);
}
.compare-disclaimer {
    margin-top: 20px; font-size: 12px; color: var(--text-3);
    text-align: center; max-width: 600px; margin-left: auto; margin-right: auto;
}
@media (max-width: 768px) {
    .compare-table { font-size: 13px; }
    .compare-table th,
    .compare-table td { padding: 10px 14px; }
    .compare-table td:first-child { min-width: 160px; }
    .compare-hero { padding-top: 120px; }
}
