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

:root {
    --k8s-blue:    #326CE5;
    --k8s-blue-l:  #5A8FF0;
    --k8s-blue-d:  #1A4FB5;
    --bg-deep:     #0A0F1E;
    --bg-dark:     #0D1421;
    --bg-card:     #111827;
    --bg-card-alt: #161D2E;
    --bg-alt:      #0F1829;
    --border:      rgba(50, 108, 229, 0.2);
    --border-dim:  rgba(255,255,255,0.06);
    --text:        #E2E8F0;
    --text-muted:  #8B9DC3;
    --text-dim:    #4A5568;
    --green:       #10D982;
    --red:         #F56565;
    --yellow:      #F6AD55;
    --mono:        'JetBrains Mono', 'Courier New', monospace;
    --sans:        'Inter', system-ui, sans-serif;
    --radius:      8px;
    --radius-lg:   14px;
    --shadow:      0 4px 24px rgba(0,0,0,0.4);
    --shadow-blue: 0 0 40px rgba(50, 108, 229, 0.15);
    /* CSS var aliases — fixes undefined --text-primary / --text-secondary */
    --text-primary:   #E2E8F0;
    --text-secondary: #8B9DC3;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--k8s-blue-l); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }
code {
    font-family: var(--mono);
    background: rgba(50, 108, 229, 0.12);
    color: var(--k8s-blue-l);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
}
img { max-width: 100%; display: block; }

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-dim); border-bottom: 1px solid var(--border-dim); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.section-header p  { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; margin: 0 auto; }

/* ─── Navigation ────────────────────────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 24px;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}
.nav-scrolled {
    background: rgba(10, 15, 30, 0.95);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; height: 64px; gap: 32px; }
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1rem; color: #fff;
    white-space: nowrap; flex-shrink: 0;
}
.k8s-wheel { width: 28px; height: 28px; flex-shrink: 0; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu li a {
    display: block; padding: 6px 12px; border-radius: 6px;
    font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
    transition: all 0.2s;
}
.nav-menu li a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-active { color: #fff !important; }
.nav-cta {
    background: var(--k8s-blue) !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 6px 16px !important;
}
.nav-cta:hover { background: var(--k8s-blue-l) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: 0.3s; }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 24px 120px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(50, 108, 229, 0.22) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 80% 80%, rgba(26, 79, 181, 0.12) 0%, transparent 60%),
                var(--bg-deep);
}
.hero-grid-overlay {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(50,108,229,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50,108,229,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 0%, transparent 75%);
}
.hero-content { position: relative; z-index: 1; max-width: 860px; width: 100%; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(50, 108, 229, 0.12);
    border: 1px solid rgba(50, 108, 229, 0.35);
    color: var(--k8s-blue-l);
    padding: 6px 18px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em;
    margin-bottom: 32px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800; line-height: 1.1;
    color: #fff; margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--k8s-blue-l); font-weight: 600;
    margin-bottom: 16px;
}
.hero-tagline {
    font-size: 1rem; color: var(--text-muted);
    max-width: 620px; margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-stats {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
    margin-bottom: 48px;
}
.stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius); padding: 18px 24px;
    min-width: 120px; text-align: center;
    transition: border-color 0.2s;
}
.stat:hover { border-color: var(--border); }
.stat.highlight { border-color: rgba(50,108,229,0.4); background: rgba(50,108,229,0.08); }
.stat-value { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.stat.highlight .stat-value { color: var(--k8s-blue-l); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }

.install-preview {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(0,0,0,0.4); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 10px 20px;
    font-family: var(--mono); font-size: 0.85rem;
    max-width: 420px;
}
.terminal-prompt { color: var(--green); font-weight: 700; flex-shrink: 0; }
.terminal-cmd { color: var(--text-muted); white-space: nowrap; }
.terminal-comment { color: var(--text-dim); white-space: nowrap; font-size: 0.78rem; }

.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: var(--text-dim); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}
.scroll-arrow {
    width: 10px; height: 10px;
    border-right: 1.5px solid var(--text-dim);
    border-bottom: 1.5px solid var(--text-dim);
    transform: rotate(45deg);
    margin-top: -2px;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 24px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.93rem;
    transition: all 0.2s; cursor: pointer; border: none;
    text-decoration: none; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary  { background: var(--k8s-blue); color: #fff; box-shadow: 0 0 24px rgba(50,108,229,0.3); }
.btn-primary:hover { background: var(--k8s-blue-l); color: #fff; transform: translateY(-1px); box-shadow: 0 0 32px rgba(50,108,229,0.4); }
.btn-secondary { background: rgba(255,255,255,0.07); color: var(--text); border: 1px solid var(--border-dim); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: var(--border); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border-dim); }
.btn-ghost:hover { color: #fff; border-color: var(--border); background: rgba(255,255,255,0.04); }

/* ─── Why Section ───────────────────────────────────────────────────────── */
.why-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.why-card {
    background: var(--bg-card); border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg); padding: 28px 24px;
}
.why-card-bad { opacity: 0.7; }
.why-card-good {
    border-color: rgba(50,108,229,0.5);
    background: rgba(50,108,229,0.08);
    box-shadow: var(--shadow-blue);
}
.why-icon { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.why-card-bad .why-icon { color: var(--red); }
.why-card-good .why-icon { color: var(--green); }
.why-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Features ──────────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 64px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg); padding: 28px 24px;
    transition: all 0.25s;
}
.feature-card:hover { border-color: var(--border); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-card-primary { border-color: rgba(50,108,229,0.35); background: rgba(50,108,229,0.06); }
.feature-card-primary:hover { border-color: rgba(50,108,229,0.6); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.feature-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 500;
    color: var(--k8s-blue-l); background: rgba(50,108,229,0.1);
    border: 1px solid rgba(50,108,229,0.2);
    padding: 3px 10px; border-radius: 50px;
}

/* Actions table */
.actions-section { text-align: center; }
.actions-section h3 { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.actions-section > p { color: var(--text-muted); margin-bottom: 32px; }
.actions-table-wrap { overflow-x: auto; }
.actions-table {
    width: 100%; max-width: 680px; margin: 0 auto;
    border-collapse: collapse; font-size: 0.9rem;
}
.actions-table th {
    background: rgba(50,108,229,0.1); color: var(--k8s-blue-l);
    padding: 12px 20px; text-align: center; font-weight: 600;
    border: 1px solid var(--border-dim); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.actions-table th:first-child { text-align: left; }
.actions-table td {
    padding: 11px 20px; text-align: center;
    border: 1px solid var(--border-dim); color: var(--text-muted);
}
.actions-table td:first-child { text-align: left; color: var(--text); }
.actions-table tr:hover td { background: rgba(255,255,255,0.03); }
.actions-table .yes { color: var(--green); font-weight: 700; font-size: 1rem; }
.actions-table .no  { color: var(--text-dim); }

/* ─── Screenshots ───────────────────────────────────────────────────────── */
.screenshots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.screenshot-card {
    background: var(--bg-card); border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all 0.25s;
}
.screenshot-card:hover { border-color: var(--border); transform: translateY(-3px); box-shadow: var(--shadow); }
.screenshot-featured { grid-column: 1 / -1; }
.screenshot-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.screenshot-featured img { aspect-ratio: 16/7; }
.screenshot-label { padding: 12px 16px; font-size: 0.82rem; color: var(--text-muted); border-top: 1px solid var(--border-dim); }

/* ─── Architecture ──────────────────────────────────────────────────────── */
.arch-diagram {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px;
    margin-bottom: 48px; overflow-x: auto;
}
.arch-pre {
    font-family: var(--mono); font-size: 0.85rem; line-height: 1.8;
    color: var(--text-muted); white-space: pre;
}
.arch-pre { color: #64B5F6; }

.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tech-card {
    background: var(--bg-card); border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg); padding: 24px;
}
.tech-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--k8s-blue-l); margin-bottom: 14px; }
.tech-items { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-items span {
    background: rgba(50,108,229,0.08); border: 1px solid rgba(50,108,229,0.15);
    color: var(--text-muted); border-radius: 50px;
    padding: 4px 12px; font-size: 0.82rem;
}

/* ─── Install ───────────────────────────────────────────────────────────── */
.install-steps { display: grid; gap: 24px; margin-bottom: 48px; }
.install-step { display: flex; gap: 24px; }
.step-number {
    flex-shrink: 0; width: 40px; height: 40px;
    border-radius: 50%; background: var(--k8s-blue);
    color: #fff; font-weight: 800; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(50,108,229,0.3);
}
.step-content { flex: 1; }
.step-content h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.code-block {
    background: #020812; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
    overflow-x: auto;
}
.code-block code {
    font-family: var(--mono); font-size: 0.84rem; line-height: 1.9;
    color: #A8D8FF; background: none; padding: 0; border-radius: 0;
    white-space: pre;
}
.install-note {
    background: rgba(50, 108, 229, 0.08);
    border: 1px solid rgba(50, 108, 229, 0.25);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}
.install-note strong { color: var(--text-primary); }
.install-note code { font-family: var(--mono); font-size: 0.84em; color: #A8D8FF; }
.install-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

/* ─── ISMS Core pitch ───────────────────────────────────────────────────── */
.isms-pitch {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 32px 36px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.isms-pitch strong { color: var(--text-primary); }
.isms-pitch code { font-family: var(--mono); font-size: 0.84em; color: #A8D8FF; }

/* ─── Security ──────────────────────────────────────────────────────────── */
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.security-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--bg-card); border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg); padding: 20px 22px;
    transition: border-color 0.2s;
}
.security-item:hover { border-color: rgba(16,217,130,0.3); }
.security-check {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    background: rgba(16,217,130,0.12); color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem;
    border: 1px solid rgba(16,217,130,0.25);
}
.security-item strong { display: block; color: #fff; margin-bottom: 5px; font-size: 0.95rem; }
.security-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Optional ──────────────────────────────────────────────────────────── */
.optional-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.optional-card {
    background: var(--bg-card); border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg); padding: 32px 28px;
    transition: all 0.25s;
}
.optional-card:hover { border-color: var(--border); transform: translateY(-2px); }
.optional-icon { font-size: 2rem; margin-bottom: 16px; }
.optional-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.optional-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.optional-detail { font-size: 0.78rem; color: var(--k8s-blue-l); font-family: var(--mono); }

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: var(--radius-lg); overflow: hidden; }
.faq-q {
    width: 100%; text-align: left; background: none; border: none;
    padding: 20px 24px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-size: 0.97rem; font-weight: 600; color: #fff;
    transition: background 0.2s;
}
.faq-q:hover { background: rgba(255,255,255,0.04); }
.faq-q[aria-expanded="true"] { color: var(--k8s-blue-l); }
.faq-arrow { flex-shrink: 0; font-size: 1.1rem; color: var(--text-muted); transition: transform 0.25s; }
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); color: var(--k8s-blue-l); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
    border-top: 0px solid var(--border-dim);
}
.faq-q[aria-expanded="true"] + .faq-a { border-top-width: 1px; }
.faq-a p { padding: 16px 24px 20px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.75; }

/* ─── CTA section ───────────────────────────────────────────────────────── */
.cta-section { background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(50,108,229,0.15) 0%, transparent 70%), var(--bg-alt); }
.cta-content { text-align: center; }
.cta-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; color: #fff; margin-bottom: 12px; }
.cta-content > p { color: var(--text-muted); margin-bottom: 40px; font-size: 1.05rem; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer { background: #07090F; border-top: 1px solid var(--border-dim); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.87rem; color: var(--text-dim); line-height: 1.7; }
.footer-links h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: var(--text-dim); }
.footer-links a:hover { color: var(--text-muted); }
.footer-bottom { border-top: 1px solid var(--border-dim); padding-top: 24px; }
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); line-height: 1.8; }

/* ─── Migration page ────────────────────────────────────────────────────── */
.migration-hero { min-height: unset; padding: 140px 24px 80px; background: radial-gradient(ellipse 70% 50% at 50% 20%, rgba(50, 108, 229, 0.25) 0%, transparent 65%), var(--bg-deep); }

.migration-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.migration-timeline::before { content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--k8s-blue), rgba(50,108,229,0.1)); }
.migration-step { display: flex; gap: 32px; padding-bottom: 48px; position: relative; }
.migration-step:last-child { padding-bottom: 0; }
.step-circle { flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; background: var(--k8s-blue); color: #fff; font-weight: 800; font-size: 0.9rem; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 24px rgba(50,108,229,0.4); z-index: 1; line-height: 1.1; }
.step-circle-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.8; }
.step-body { flex: 1; background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: var(--radius-lg); padding: 24px 28px; transition: border-color 0.2s; }
.step-body:hover { border-color: var(--border); }
.step-body h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-body p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }
.step-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.step-tag { font-size: 0.74rem; font-family: var(--mono); color: var(--k8s-blue-l); background: rgba(50,108,229,0.1); border: 1px solid rgba(50,108,229,0.2); padding: 2px 9px; border-radius: 50px; }

.lessons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.lesson-card { background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: var(--radius-lg); padding: 24px 26px; }
.lesson-card:hover { border-color: rgba(246,173,85,0.3); }
.lesson-id { font-size: 0.72rem; font-family: var(--mono); color: var(--yellow); background: rgba(246,173,85,0.1); border: 1px solid rgba(246,173,85,0.2); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 10px; }
.lesson-card h3 { font-size: 0.97rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.lesson-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

.ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0; }
.ai-card { background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: var(--radius-lg); padding: 28px 28px 24px; }
.ai-card-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--k8s-blue-l); margin-bottom: 20px; border-bottom: 1px solid var(--border-dim); padding-bottom: 12px; }
.ai-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ai-card ul li { display: flex; gap: 12px; font-size: 0.87rem; color: var(--text-muted); line-height: 1.5; }
.ai-card ul li::before { content: '→'; color: var(--k8s-blue-l); flex-shrink: 0; }

.migration-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; margin: 24px 0; }
.migration-table th { background: rgba(50,108,229,0.1); color: var(--k8s-blue-l); padding: 10px 16px; text-align: left; font-weight: 600; border: 1px solid var(--border-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.migration-table td { padding: 10px 16px; border: 1px solid var(--border-dim); color: var(--text-muted); }
.migration-table td:first-child { font-family: var(--mono); font-size: 0.82rem; color: var(--k8s-blue-l); }
.migration-table tr:hover td { background: rgba(255,255,255,0.02); }
.migration-table .section-cell { font-weight: 600; color: var(--text); font-family: var(--sans); font-size: 0.87rem; }

.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin: 48px 0; }
.result-tile { background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.result-tile:hover { border-color: var(--border); }
.result-value { font-size: 2rem; font-weight: 800; color: #fff; display: block; line-height: 1; margin-bottom: 6px; }
.result-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.migration-teaser { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.teaser-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.teaser-stat { background: rgba(255,255,255,0.04); border: 1px solid var(--border-dim); border-radius: var(--radius); padding: 20px 32px; text-align: center; min-width: 150px; }
.teaser-stat-value { display: block; font-size: 2rem; font-weight: 800; color: var(--k8s-blue-l); line-height: 1; margin-bottom: 4px; }
.teaser-stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .nav-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: rgba(10,15,30,0.97); flex-direction: column; justify-content: center; align-items: center; gap: 8px; z-index: 99; }
    .nav-menu.nav-open { display: flex; }
    .nav-menu li a { font-size: 1.1rem; padding: 12px 24px; }
    .nav-toggle { display: flex; margin-left: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .install-step { flex-direction: column; }
    .ai-split { grid-template-columns: 1fr; }
    .migration-timeline::before { left: 22px; }
    .step-circle { width: 46px; height: 46px; font-size: 0.8rem; }
}

@media (max-width: 600px) {
    .section { padding: 64px 0; }
    .hero { padding: 100px 20px 60px; }
    .hero-stats { gap: 10px; }
    .stat { min-width: 90px; padding: 14px 16px; }
    .stat-value { font-size: 1.3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .screenshots-grid { grid-template-columns: 1fr; }
    .screenshot-featured { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .install-preview { display: none; }
    .arch-pre { font-size: 0.72rem; }
    .migration-step { flex-direction: column; }
    .migration-timeline::before { display: none; }
    .step-circle { width: 40px; height: 40px; align-self: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOWCASE LAYOUT — Feature Gallery & Extensions pages
   ═══════════════════════════════════════════════════════════════════════════ */

.showcase-item {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
    padding: 72px 0;
    border-bottom: 1px solid var(--border-dim);
}
.showcase-item:last-child { border-bottom: none; }
.showcase-item.flip { grid-template-columns: 2fr 3fr; }
.showcase-item.flip .showcase-img { order: 2; }
.showcase-item.flip .showcase-text { order: 1; }

.showcase-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-dim);
    box-shadow: 0 12px 48px rgba(0,0,0,0.5);
    transition: all 0.3s;
}
.showcase-img img:hover {
    border-color: var(--border);
    box-shadow: 0 12px 48px rgba(50,108,229,0.2);
    transform: translateY(-2px);
}
.showcase-img .img-caption {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
}
.showcase-no-img {
    background: var(--bg-card);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.875rem;
    text-align: center;
    padding: 40px;
}
.showcase-no-img svg { opacity: 0.3; }

.showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(50,108,229,0.1);
    border: 1px solid rgba(50,108,229,0.25);
    border-radius: 20px;
    font-size: 12px;
    color: var(--k8s-blue-l);
    font-family: var(--mono);
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}
.crd-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(16,217,130,0.07);
    border: 1px solid rgba(16,217,130,0.2);
    border-radius: 6px;
    font-size: 11px;
    color: var(--green);
    font-family: var(--mono);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.showcase-text {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
}
.showcase-text h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.25;
}
.showcase-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 20px;
}
.showcase-text ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.showcase-text ul li {
    color: var(--text-muted);
    font-size: 0.925rem;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}
.showcase-text ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--k8s-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Detection overview table (extensions page) */
.detect-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.detect-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.detect-table th {
    text-align: left;
    padding: 12px 20px;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-card-alt);
    border-bottom: 1px solid var(--border-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.detect-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-dim);
    color: var(--text-muted);
    vertical-align: middle;
}
.detect-table tr:last-child td { border-bottom: none; }
.detect-table td:first-child { color: #fff; font-weight: 600; }
.detect-table td code { font-size: 0.8em; }
.detect-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-size: 0.8rem;
}
.detect-dot::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .showcase-item,
    .showcase-item.flip {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0;
    }
    .showcase-item.flip .showcase-img,
    .showcase-item.flip .showcase-text { order: unset; }
}

/* Acknowledgement note */
.ack-note {
    max-width: 760px;
    margin: 40px auto 0;
    padding: 24px 28px;
    border-left: 3px solid var(--k8s-blue);
    background: rgba(50, 108, 229, 0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}
