/* ═══════════════════════════════════════════
   Docker Image Updater — Premium Landing Page
   Design System: Dark Industrial SaaS
   ═══════════════════════════════════════════ */

/* ── Variables ─────────────────────────────── */
:root {
    --bg-base: #08090d;
    --bg-elevated: #0f1117;
    --bg-surface: #14161e;
    --bg-glass: rgba(255, 255, 255, 0.035);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    --border-default: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);
    --border-accent: rgba(59, 130, 246, 0.5);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    --accent-purple: #8b5cf6;

    --gradient-hero: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --nav-height: 72px;
    --max-width: 1400px;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* ── Light Mode ─────────────────────────────── */
[data-theme="light"] {
    --bg-base: #f8fafc;
    --bg-elevated: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);

    --border-default: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.18);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ── Reset & Base ───────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    background-color: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s, color 0.3s;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.hide-mobile {
    display: flex !important;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}


a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ── Typography ─────────────────────────────── */
h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

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

p {
    color: var(--text-secondary);
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
}

code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-cyan);
    padding: 0.1em 0.45em;
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ── Layout ─────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--bg-elevated);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}


.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse>* {
    direction: ltr;
}

/* ── Section Labels ─────────────────────────── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0.75rem auto 3rem;
    line-height: 1.6;
}

/* ── Problem Section ────────────────────────*/
.section-problem {
    padding: 5rem 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.problem-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.problem-list li {
    display: flex;
    gap: 1.25rem;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.list-icon-error-box {
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-top: 2px;
}

.problem-visual-caption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    font-style: italic;
    opacity: 0.8;
}

/* ── Terminal Mockup ─────────────────────────── */
.terminal-mockup {
    background: #0d1117;
    border: 1px solid var(--border-default);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background: #161b22;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-default);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

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

.tdot.red {
    background: #ff5f56;
}

.tdot.yellow {
    background: #ffbd2e;
}

.tdot.green {
    background: #27c93f;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #8b949e;
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 260px;
}

.t-cmd {
    color: #58a6ff;
}

.t-output {
    color: #8b949e;
}

.t-comment {
    color: #8b949e;
    font-style: italic;
}

.terminal-mockup .t-line,
.solution-log .log-line {
    opacity: 0;
    transform: translateY(5px);
}

.visible .terminal-mockup .t-line,
.visible .solution-log .log-line {
    animation: terminalLineIn 0.4s ease forwards;
}

@keyframes terminalLineIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-mockup .t-line:nth-child(1) {
    animation-delay: 0.5s;
}

.terminal-mockup .t-line:nth-child(2) {
    animation-delay: 1.2s;
}

.terminal-mockup .t-line:nth-child(3) {
    animation-delay: 1.8s;
}

.terminal-mockup .t-line:nth-child(4) {
    animation-delay: 2.2s;
}

.terminal-mockup .t-line:nth-child(5) {
    animation-delay: 2.8s;
}

.terminal-mockup .t-line:nth-child(6) {
    animation-delay: 3.2s;
}

.terminal-mockup .t-line:nth-child(7) {
    animation-delay: 3.8s;
}

.terminal-mockup .t-line:nth-child(8) {
    animation-delay: 4.2s;
}

.terminal-mockup .t-line:nth-child(9) {
    animation-delay: 4.8s;
}

.terminal-mockup .t-line:nth-child(10) {
    animation-delay: 5.2s;
}

.solution-log .log-line:nth-child(1) {
    animation-delay: 1s;
}

.solution-log .log-line:nth-child(2) {
    animation-delay: 2s;
}

.solution-log .log-line:nth-child(3) {
    animation-delay: 3s;
}

.t-cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background: #27c93f;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4b5563;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #22c55e;
}

.live-indicator .pulse-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

/* ── Solution Section ─────────────────────── */
.section-alt {
    background: var(--bg-elevated);
}

.solution-card {
    padding: 1.5rem;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-default);
}

.solution-header>i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.solution-title {
    font-weight: 700;
    font-size: 1rem;
}

.solution-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}


.t-prompt {
    color: var(--accent-green);
    margin-right: 0.75rem;
    user-select: none;
}

.t-cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background: var(--accent-green);
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ── Badges ─────────────────────────────────── */
.badge {
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-synced {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.badge-deploying {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* ── Solution Specs ─────────────────────────── */
.solution-log {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.log-line {
    margin-bottom: 0.4rem;
    color: #9ca3af;
}

.log-line span {
    color: #4b5563;
}

.log-line.warn span {
    color: #eab308;
}

.log-line.success {
    color: #22c55e;
}

.solution-points {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.sol-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.sol-icon {
    width: 36px;
    height: 36px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Glass Card ─────────────────────────────── */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ── Buttons ─────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-default);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    background: var(--bg-glass);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
    padding: 0.75rem 1rem;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

/* ── Navbar ─────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(8, 9, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-default);
}

[data-theme="light"] #navbar.scrolled {
    background: rgba(248, 250, 252, 0.9);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}


.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-hero);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}




.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-btns-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border-default);
    background: var(--bg-glass);
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}




.theme-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border-default);
    background: var(--bg-glass);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.theme-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

/* ── Hero ───────────────────────────────────── */
.hero {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-glow-left,
.hero-glow-right {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.hero-glow-left {
    top: -200px;
    left: -200px;
    background: rgba(59, 130, 246, 0.12);
}

.hero-glow-right {
    top: -150px;
    right: -250px;
    background: rgba(6, 182, 212, 0.08);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 70% 60% at center, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black, transparent);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 3rem;
    align-items: center;
    max-width: var(--max-width) !important;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.hero-text h1 {
    margin-bottom: 1.25rem;
}

.hero-text .lead {
    max-width: 500px;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat i {
    color: var(--accent-blue);
}

.stat-divider {
    width: 1px;
    height: 20px;
    background: var(--border-default);
}

.hero-visual {
    position: relative;
}

.hero-video-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    position: relative;
    /* Adjusted horizontal expansion to prevent horizontal overflow on smaller viewports */
    width: 100%;
    margin-top: 1.5rem;
}

@media (min-width: 1800px) {
    .hero-video-wrap {
        width: 106%;
        transform: translateX(3%);
        margin-top: 0;
    }
}

.hero-video-wrap video {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.video-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-hero);
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: -1;
    opacity: 0.4;
    filter: blur(6px);
}

/* ── Live Log Dashboard ─────────────────────── */
.log-dashboard-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    height: 354px;
    margin-top: 3.5rem;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid var(--border-default);
    background: rgba(13, 15, 21, 0.6);
}

.dashboard-sidebar {
    background: rgba(18, 20, 29, 0.8);
    border-right: 1px solid var(--border-default);
    display: flex;
    flex-direction: column;
}

.sidebar-id {
    padding: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent-blue);
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-services {
    padding: 1rem 0;
}

.service-item {
    padding: 0.85rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-size: 1rem;
}

.service-item i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.service-item {
    padding: 1rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-size: 1.1rem;
}

.service-item:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--text-primary);
}

.service-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
    border-left-color: var(--accent-blue);
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dashboard-toolbar {
    height: 70px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-default);
    background: rgba(8, 9, 13, 0.4);
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.tool-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-default);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tool-pill span {
    font-weight: 700;
}

.tool-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-default);
    border-radius: 6px;
    padding: 2px;
}

.toggle-opt {
    padding: 4px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    border-radius: 4px;
    cursor: pointer;
}

.toggle-opt.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.tool-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 8px 14px;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tool-btn.active {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
    color: #10b981;
}

.tool-btn.live {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
    color: #ef4444;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: p-pulse 2s infinite;
}

.pulse-dot.red {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

@keyframes p-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.dashboard-terminal {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    line-height: 1.8;
    background: #08090d;
    letter-spacing: 0.2px;
}

.log-line {
    margin-bottom: 0.5rem;
    white-space: pre-wrap;
}

.l-time {
    color: var(--text-muted);
    margin-right: 0.75rem;
}

.l-tag {
    font-weight: 700;
    margin-right: 1rem;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.l-tag.info {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.l-tag.warn {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.l-tag.exec {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.l-tag.success {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.log-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent-blue);
    margin-left: 4px;
    vertical-align: middle;
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
    50% {
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .log-dashboard-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }

    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-default);
    }

    .dashboard-toolbar {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ── Problem Section ─────────────────────────*/
.split-text h2 {
    margin-bottom: 1rem;
}

.split-text .lead {
    margin-bottom: 1.75rem;
}

.pain-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pain-list li {
    display: flex;
    gap: 1rem;
}

.pain-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    font-size: 0.8rem;
    margin-top: 2px;
}

.pain-list strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.pain-list p {
    font-size: 0.92rem;
    margin: 0;
}

/* Terminal Card */
.terminal-card {
    border-radius: var(--radius-lg);
    background: #060810;
    border: 1px solid #1e2232;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
    font-family: var(--font-mono);
}

.terminal-bar {
    background: #0d1017;
    border-bottom: 1px solid #1e2232;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.tdot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.tdot.red {
    background: #ff5f57;
}

.tdot.yellow {
    background: #febc2e;
}

.tdot.green {
    background: #28c840;
}

.terminal-title {
    font-size: 0.78rem;
    color: #4a5568;
    margin-left: 0.5rem;
}

.terminal-body {
    padding: 1.25rem;
    line-height: 1.8;
    font-size: 0.875rem;
    overflow-x: auto;
}


.tline {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.1rem;
}

.tprompt {
    color: var(--accent-green);
    user-select: none;
}

.tcmd {
    color: #e2e8f0;
}

.toutput {
    color: #6b7280;
    padding-left: 1.5rem;
}

.t-comment {
    color: #374151;
    padding-left: 1.5rem;
    font-style: italic;
}

.t-wait {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.blink-cursor {
    display: inline-block;
    color: var(--accent-green);
    animation: blink 1.2s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.pain-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}

/* ── Solution Section ─────────────────────── */
.solution-card {
    padding: 1.5rem;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-default);
}

.solution-header>i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.solution-title {
    font-weight: 700;
    font-size: 1rem;
}

.solution-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.solution-header .badge {
    margin-left: auto;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-default);
    margin-bottom: 0.75rem;
}

.svc-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
}

.svc-name i {
    color: var(--accent-blue);
    font-size: 0.85rem;
}

.svc-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    flex: 1.5;
}

.text-success {
    color: var(--accent-green);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    white-space: nowrap;
}

.badge-active {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-synced {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-deploying {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.solution-log {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.3);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 2;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.log-ts {
    color: var(--text-muted);
}

.log-info {
    color: var(--text-secondary);
}

.log-warn {
    color: var(--accent-yellow);
}

.log-success {
    color: var(--accent-green);
}

.solution-points {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.sol-point {
    display: flex;
    gap: 1rem;
}

.sol-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 0.95rem;
    margin-top: 2px;
}

.sol-point strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.sol-point p {
    font-size: 0.92rem;
    margin: 0;
}

/* ── How It Works ────────────────────────── */
.steps-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 1rem;
    margin-top: 3rem;
}

.step-card {
    padding: 2.5rem 1.75rem;
    text-align: center;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.step-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.step-card:hover .step-icon-wrap {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.92rem;
    line-height: 1.6;
}

.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 5.5rem;
    color: var(--border-hover);
}

.step-connector i {
    font-size: 1.1rem;
}

.connector-line {
    width: 1px;
    height: 20px;
    background: var(--border-default);
    margin-top: 0.5rem;
    display: none;
}

/* ── Features Bento ──────────────────────── */
.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
    text-align: left;
}

.feature-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-wide {
    grid-column: span 2;
}

.feature-full {
    grid-column: span 3;
}

.feature-content-split {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.feature-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

@media (max-width: 992px) {

    .feature-content-split,
    .feature-content-row {
        grid-template-columns: 1fr;
    }

    .feature-wide,
    .feature-full {
        grid-column: span 1;
    }

    .features-bento {
        grid-template-columns: 1fr;
    }
}

/* ── Expanded Live Log UI ── */
.feature-terminal-expanded {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-header-expanded {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.feature-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.live-status {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(239, 68, 68, 0.25);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.feature-desc-expanded {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 450px;
}

.terminal-container-expanded {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: #05070a;
    border: 1px solid var(--border-default);
    border-radius: 12px;
    overflow: hidden;
    height: 240px;
}

.terminal-sidebar {
    background: #0a0d14;
    border-right: 1px solid var(--border-default);
    padding: 1rem 0;
}

.ts-item {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.ts-item i {
    font-size: 0.9rem;
}

.ts-item:hover,
.ts-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.mini-terminal.expanded {
    padding: 1.25rem;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow-y: auto;
}

/* ── Redesigned Registry Card ── */
.feature-registries-card {
    padding: 1.5rem !important;
}

.registry-card-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.registry-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.registry-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.reg-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.reg-tile img {
    width: 14px;
    height: 14px;
    transition: var(--transition);
}

.reg-tile span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.reg-tile i {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reg-tile:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.reg-tile:hover span {
    color: var(--text-primary);
}

.reg-tile:hover img {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .registry-card-content {
        grid-template-columns: 1fr;
    }

    .registry-tiles {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Registry Lists ── */
.vertical-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-registries-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.feature-registries-horizontal .reg-badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
    white-space: nowrap;
}

.vertical-list .reg-badge {
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: flex-start;
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--icon-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--icon-color) 25%, transparent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--icon-color, var(--accent-blue));
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
    box-shadow: 0 0 20px color-mix(in srgb, var(--icon-color) 30%, transparent);
}

.feature-card h3 {
    font-size: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.feature-registries {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-default);
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.reg-badge:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.feature-terminal {
    align-items: start;
}

.mini-terminal {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.875rem;
    line-height: 2;
}

.mt-line {
    display: flex;
    gap: 0.75rem;
}

.mt-ts {
    color: var(--text-muted);
}

.mt-info {
    color: var(--text-secondary);
}

.mt-warn {
    color: var(--accent-yellow);
}

.mt-success {
    color: var(--accent-green);
}

/* ── Comparison Table ─────────────────────── */
.comparison-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1.1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-default);
    font-size: 0.95rem;
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.comparison-table .col-feature {
    color: var(--text-muted);
    width: 25%;
}

.comparison-table .col-manual {
    width: 35%;
}

.comparison-table .col-ours {
    width: 40%;
    background: rgba(16, 185, 129, 0.04);
}

.comparison-table .last-row td {
    border-bottom: none;
}

.manual-val span,
.ours-val span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.manual-val {
    color: var(--text-muted);
}

.manual-val i {
    color: var(--accent-red);
    font-size: 0.85rem;
}

.ours-val {
    color: var(--accent-green);
    font-weight: 600;
}

.ours-val i {
    font-size: 0.85rem;
}

.col-ours {
    background: rgba(16, 185, 129, 0.04);
}

.comparison-table td:last-child {
    background: rgba(16, 185, 129, 0.02);
}

/* ── Install Block ───────────────────────── */
.install-block {
    background: #050810;
    border-color: #1a1f2e;
    text-align: left;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.install-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid #1a1f2e;
}

.install-filename {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #4a5568;
    margin-left: 0.5rem;
}

.copy-btn {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #1a1f2e;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.copy-btn:hover {
    color: #fff;
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.install-code {
    padding: 2rem;
    margin: 0;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 2;
}

.c-comment {
    color: #4a5568;
    font-style: italic;
}

.c-cmd {
    color: var(--accent-cyan);
    font-weight: 700;
}

.c-prompt {
    color: var(--accent-green);
    margin-right: 0.5rem;
    user-select: none;
}

.t-line {
    opacity: 0;
    transform: translateY(5px);
    margin-bottom: 0.25rem;
    font-family: var(--font-mono);
}

.install-block.visible .t-line {
    animation: terminalLineIn 0.3s ease forwards;
    animation-delay: calc(var(--line-index) * 0.4s);
}

@keyframes terminalLineIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Pricing ─────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    align-items: start;
}

.price-card {
    padding: 2.25rem;
    position: relative;
}

.plan-popular {
    border-color: var(--accent-blue);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.2), var(--shadow-md);
    transform: scale(1.03);
}

.popular-ribbon {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-icon {
    width: 52px;
    height: 52px;
    background: color-mix(in srgb, var(--plan-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--plan-color) 25%, transparent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--plan-color);
    margin-bottom: 1.25rem;
}

.plan-name {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 0.75rem 0;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.plan-features i {
    color: var(--accent-green);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.plan-btn {
    width: 100%;
    justify-content: center;
}

/* ── FAQ ─────────────────────────────────── */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    cursor: pointer;
}

.faq-item:hover {
    transform: none;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 0.97rem;
    gap: 1rem;
    transition: var(--transition);
}

.faq-q:hover {
    color: var(--accent-blue);
}

.faq-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 1.5rem 1.25rem;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.faq-item.open .faq-q {
    color: var(--accent-blue);
}

/* ── Final CTA ───────────────────────────── */
.cta-section {
    background: var(--bg-elevated);
}

.cta-card {
    padding: 5rem 3rem;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.cta-card>*:not(.cta-glow) {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    margin-bottom: 1rem;
    font-size: 3rem;
}

.cta-card .lead {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cta-meta i {
    margin-right: 0.35rem;
    color: var(--accent-blue);
}

/* ── Footer ──────────────────────────────── */
footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-default);
    padding-top: 3.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-default);
}

.footer-brand>.logo {
    margin-bottom: 1rem;
}

.footer-brand>p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-glass);
    border: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.08);
}

.chai-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 0.45rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.chai-link:hover {
    background: rgba(245, 158, 11, 0.15);
}

.footer-links-col h5 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-col a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--accent-blue);
}

.mit-badge {
    background: #f59e0b;
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* ── Architecture Diagram ────────────────── */
.arch-wrap {
    margin-top: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.arch-svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Scroll Reveal Animations ────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1100px) {
    .features-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-wide {
        grid-column: span 2;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .plan-popular {
        transform: none;
    }

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

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-video-wrap {
        width: 100%;
        margin-right: 0;
        transform: none;
    }

    .hero-text .lead {
        max-width: unset;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .split-layout {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .split-layout.reverse {
        direction: ltr;
    }

    .steps-flow {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step-connector {
        padding-top: 0;
        padding: 0.5rem 0;
        flex-direction: row;
    }

    .step-connector i {
        transform: rotate(90deg);
    }
}

/* ── Documentation ─────────────────────────── */
#documentation {
    background: var(--bg-surface);
}

.doc-h3 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.doc-h3 i {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.doc-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.doc-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.mermaid {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.doc-item code {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.badge-row img {
    height: 28px;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.badge-row img:hover {
    transform: translateY(-2px);
}