:root {
    --bg: #ffffff;
    --surface: #f8fafc;
    --soft: #ecfdf5;
    --soft-blue: #eff6ff;
    --text: #0f172a;
    --muted: #526071;
    --border: #dbe4ea;
    --primary: #0f766e;
    --primary-strong: #0b5f59;
    --primary-soft: #ccfbf1;
    --accent: #2563eb;
    --warning: #b45309;
    --danger: #b91c1c;
    --success: #047857;
    --dark: #081a2e;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, .08);
    --shadow-lg: 0 28px 70px rgba(15, 23, 42, .16);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.center { text-align: center; }
.center-actions { justify-content: center; }
.muted { color: var(--muted); }
.mt-32 { margin-top: 32px; }

h1, h2, h3 { margin: 0 0 14px; line-height: 1.16; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 18px; color: var(--muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--primary);
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(15, 118, 110, .24); }
.btn-primary:hover { background: var(--primary-strong); }
.btn-secondary { background: #fff; border-color: var(--border); color: var(--text); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--primary-strong); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-sm { min-height: 40px; padding: 10px 15px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding-inline: 26px; }
.btn-block { width: 100%; }
.text-link { color: var(--primary); font-weight: 800; }
.text-link:hover { text-decoration: underline; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(219,228,234,.8);
    backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #0f766e, #14b8a6); font-weight: 900; box-shadow: 0 8px 20px rgba(15,118,110,.22); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1rem; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a:not(.btn) { padding: 10px 12px; border-radius: 10px; color: #334155; font-weight: 700; font-size: .94rem; }
.site-nav > a:not(.btn):hover, .site-nav > a.active:not(.btn) { background: var(--surface); color: var(--primary); }
.mobile-menu-button { display: none; border: 0; background: var(--surface); width: 44px; height: 44px; border-radius: 12px; font-size: 1.25rem; }

.flash-stack { position: fixed; z-index: 100; top: 90px; right: 20px; width: min(420px, calc(100% - 40px)); display: grid; gap: 10px; }
.flash { padding: 14px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 700; animation: slideIn .25s ease; }
.flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }

.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 76px;
    background:
        radial-gradient(circle at 12% 15%, rgba(45,212,191,.15), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(59,130,246,.11), transparent 30%),
        linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
}
.hero::before { content: ""; position: absolute; inset: auto -15% -240px 35%; height: 460px; background: rgba(204,251,241,.4); filter: blur(80px); border-radius: 50%; }
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.hero-copy h1 { max-width: 780px; font-size: clamp(2.6rem, 5vw, 4.75rem); }
.hero-copy > p { max-width: 680px; font-size: 1.12rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-trust { display: flex; gap: 14px 20px; flex-wrap: wrap; color: #334155; font-weight: 700; font-size: .9rem; }
.hero-visual { position: relative; }
.browser-frame { overflow: hidden; border: 1px solid #cbd5e1; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #94a3b8; }
.browser-bar i:first-child { background: #fb7185; }.browser-bar i:nth-child(2) { background: #facc15; }.browser-bar i:nth-child(3) { background: #4ade80; }
.browser-bar span { margin-left: 10px; color: #64748b; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-frame img { width: 100%; }
.browser-frame.clean { border: 0; padding: 0; box-shadow: var(--shadow-sm); }
.browser-frame.clean:hover { box-shadow: var(--shadow-lg); }
.floating-card { position: absolute; display: flex; flex-direction: column; min-width: 180px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.95); border: 1px solid #e2e8f0; box-shadow: var(--shadow-sm); }
.floating-card strong { color: var(--primary); }
.floating-card span { color: var(--muted); font-size: .8rem; }
.floating-card-top { top: -28px; right: 20px; }
.floating-card-bottom { bottom: -28px; left: -28px; }

.section { padding: 92px 0; }
.section-tight { padding: 38px 0; }
.section-soft { background: var(--surface); }
.section-dark { color: #fff; background: radial-gradient(circle at 15% 20%, rgba(20,184,166,.24), transparent 30%), linear-gradient(135deg, #071a2f, #0b2538); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.center { margin-inline: auto; }
.section-heading.light p { color: #b6c4d1; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.split-heading p { font-size: 1.08rem; }
.page-hero { padding: 92px 0 72px; background: radial-gradient(circle at 15% 15%, rgba(45,212,191,.15), transparent 35%), linear-gradient(180deg, #f8fffe, #fff); text-align: center; }
.page-hero .container { max-width: 930px; }
.page-hero p { max-width: 760px; margin-inline: auto; font-size: 1.08rem; }
.page-hero.compact { padding-block: 64px 46px; }

.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.stats-grid > div { display: flex; flex-direction: column; padding: 26px; border-right: 1px solid var(--border); }
.stats-grid > div:last-child { border: 0; }
.stats-grid strong { color: var(--primary); font-size: 2rem; line-height: 1; }
.stats-grid span { margin-top: 8px; color: var(--muted); font-size: .9rem; }

.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.problem-card { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.problem-card > span { display: inline-flex; margin-bottom: 34px; color: var(--primary); font-size: .8rem; font-weight: 900; }
.problem-card p { margin-bottom: 0; font-size: .93rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.feature-card { position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: #99f6e4; box-shadow: var(--shadow-sm); }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 24px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); font-weight: 900; }
.feature-card p { font-size: .93rem; }
.feature-card a { margin-top: auto; color: var(--primary); font-weight: 800; font-size: .9rem; }

.product-tour { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; align-items: center; }
.tour-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tour-image { padding: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; text-align: left; box-shadow: var(--shadow-sm); transition: transform .2s ease; }
.tour-image:hover { transform: translateY(-4px); }
.tour-image img { aspect-ratio: 16/9; object-fit: cover; object-position: top; }
.tour-image span { display: block; padding: 12px 14px; font-weight: 800; }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; }
.check-list li { position: relative; margin: 12px 0; padding-left: 28px; color: #334155; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 900; }

.role-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.role-grid article { padding: 24px; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.055); }
.role-grid article > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 13px; color: #a7f3d0; background: rgba(20,184,166,.18); font-weight: 900; }
.role-grid h3 { color: #fff; }
.role-grid p { margin-bottom: 0; color: #b7c6d5; font-size: .9rem; }

.process-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; align-items: center; }
.steps { counter-reset: steps; list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.steps li:last-child { border-bottom: 0; }
.steps li > span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--primary-soft); color: var(--primary); font-weight: 900; }
.steps h3 { margin-bottom: 5px; }
.steps p { margin-bottom: 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); max-width: 940px; gap: 22px; margin-inline: auto; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.price-card.featured { border: 2px solid var(--primary); }
.price-badge { position: absolute; top: -14px; right: 24px; padding: 7px 12px; border-radius: 20px; background: var(--primary); color: #fff; font-size: .75rem; font-weight: 900; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 24px 0; }
.price strong { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.price span { color: var(--muted); font-size: .85rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; }
.price-card li { padding: 8px 0; color: #334155; }
.price-card .btn { margin-top: auto; }
.pricing-note { max-width: 940px; margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--border); color: var(--muted); }
.pricing-page { max-width: 980px; }
.cost-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 36px 0 24px; }
.cost-grid article { display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.cost-grid span, .cost-grid small { color: var(--muted); }
.cost-grid strong { margin: 10px 0; color: var(--primary); font-size: 1.6rem; }
.comparison { max-width: 900px; }
.comparison > h2 { margin-bottom: 26px; }
.comparison-table { overflow: hidden; border: 1px solid var(--border); border-radius: 18px; }
.comparison-row { display: grid; grid-template-columns: 1fr 220px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.comparison-row:last-child { border-bottom: 0; }
.comparison-row.head { background: var(--dark); color: #fff; font-weight: 900; }
.comparison-row strong { color: var(--primary); }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.accordion-list { display: grid; gap: 12px; }
.accordion-list details { border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.accordion-list summary { position: relative; padding: 19px 48px 19px 20px; list-style: none; font-weight: 850; cursor: pointer; }
.accordion-list summary::-webkit-details-marker { display: none; }
.accordion-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 1.4rem; }
.accordion-list details[open] summary::after { content: "−"; }
.accordion-list details p { padding: 0 20px 20px; margin: 0; }
.faq-page { max-width: 900px; }

.cta-section { padding: 0 0 92px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px; border-radius: 26px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(94,234,212,.25), transparent 30%), linear-gradient(135deg, #0f766e, #064e3b); box-shadow: var(--shadow-lg); }
.cta-box h2 { max-width: 720px; }
.cta-box p { margin: 0; color: rgba(255,255,255,.78); }
.cta-box .eyebrow { color: #ccfbf1; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

.site-footer { padding: 68px 0 24px; background: #071523; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
.brand-footer { margin-bottom: 20px; }
.brand-footer small { color: #91a4b7; }
.footer-grid p { color: #91a4b7; max-width: 410px; }
.footer-grid h3 { margin-bottom: 18px; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; color: #a7f3d0; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid > div:not(:first-child) > a:not(.btn) { color: #b7c6d5; }
.footer-grid > div:not(:first-child) > a:not(.btn):hover { color: #fff; }
.footer-contact { font-size: .88rem; word-break: break-all; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #778b9e; font-size: .82rem; }

.feature-detail-list { display: grid; gap: 96px; }
.feature-detail-list > article { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; scroll-margin-top: 100px; }
.feature-detail-list > article.reverse > :first-child { order: 2; }
.feature-detail-list > article.reverse > :last-child { order: 1; }
.number { display: inline-flex; margin-right: 10px; color: #94a3b8; font-weight: 900; }
.feature-detail-list button { border: 0; background: transparent; }
.notice { padding: 16px 18px; border: 1px solid #bae6fd; border-radius: 12px; background: #f0f9ff; color: #0c4a6e; }
.notice p { margin: 6px 0 0; color: inherit; }
.notice.warning { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.stacked-shots { display: grid; gap: 16px; }
.stacked-shots button { padding: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }

.role-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-detail-grid article { padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.role-detail-grid article.role-note { background: #f0fdfa; border-color: #99f6e4; }
.role-avatar { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); font-weight: 900; }
.role-detail-grid ul { padding-left: 20px; color: #334155; }
.role-detail-grid li { margin: 8px 0; }
.principle-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.principle-grid article { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.principle-grid strong { color: var(--primary); font-size: 1.02rem; }
.principle-grid p { margin: 8px 0 0; font-size: .9rem; }

.demo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.demo-card { padding: 0; border: 1px solid var(--border); border-radius: 17px; overflow: hidden; background: #fff; text-align: left; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.demo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.demo-card img { aspect-ratio: 16/9; object-fit: cover; object-position: top; }
.demo-card > span { display: flex; flex-direction: column; padding: 16px; }
.demo-card small { margin-top: 4px; color: var(--muted); }
.demo-notes { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 40px; background: rgba(2, 6, 23, .88); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1250px, 96vw); max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox > button { position: fixed; top: 18px; right: 24px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; line-height: 1; }

.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.contact-card { padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.contact-card > span { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 24px; border-radius: 15px; background: var(--primary-soft); color: var(--primary); font-weight: 900; }
.business-info { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.legal-content { max-width: 820px; }
.legal-content h2 { margin-top: 34px; font-size: 1.5rem; }
.legal-content a { color: var(--primary); font-weight: 700; }

.registration-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 40px; align-items: start; }
.sticky-card { position: sticky; top: 100px; padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.registration-form { display: grid; gap: 22px; }
.form-section { padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.form-section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.form-section-heading > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--primary-soft); color: var(--primary); font-weight: 900; }
.form-section-heading h2 { margin: 0 0 3px; font-size: 1.35rem; }
.form-section-heading p { margin: 0; font-size: .88rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-weight: 800; font-size: .9rem; }
.field input, .field select, .field textarea, .filter-bar input, .filter-bar select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .filter-bar input:focus, .filter-bar select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15,118,110,.1); }
.field-error { min-height: 1px; color: var(--danger); font-size: .78rem; font-weight: 700; }
.agreement { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.agreement input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--primary); }
.agreement a { color: var(--primary); font-weight: 700; }
.agreement-error { display: block; margin-top: -16px; }
.honeypot { position: absolute !important; left: -10000px !important; opacity: 0 !important; }
.form-footnote { text-align: center; font-size: .82rem; }
.success-section { min-height: 75vh; display: grid; place-items: center; background: var(--surface); }
.success-card { max-width: 780px; padding: 52px; border: 1px solid var(--border); border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: #d1fae5; color: var(--success); font-size: 2rem; font-weight: 900; }
.registration-code { display: inline-flex; margin: 14px 0 30px; padding: 13px 18px; border-radius: 12px; background: var(--dark); color: #fff; font-size: 1.2rem; font-weight: 900; letter-spacing: .06em; }
.success-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 26px; }
.success-summary > div { display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--border); border-radius: 12px; }
.success-summary span { color: var(--muted); font-size: .78rem; }

/* Admin */
.admin-body { background: #f1f5f9; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 18px; color: #fff; background: #071523; }
.brand-admin { padding: 0 8px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-admin small { color: #93a4b6; }
.admin-nav { display: grid; gap: 5px; margin-top: 22px; }
.admin-nav a { padding: 12px 14px; border-radius: 10px; color: #b8c6d3; font-weight: 700; font-size: .92rem; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(20,184,166,.16); color: #ecfdf5; }
.admin-user { margin-top: auto; padding: 16px 10px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; }
.admin-user small { margin-bottom: 12px; color: #90a2b4; word-break: break-all; }
.admin-main { min-width: 0; }
.admin-topbar { height: 76px; display: flex; align-items: center; gap: 15px; padding: 0 28px; border-bottom: 1px solid var(--border); background: #fff; }
.admin-topbar > div { display: flex; flex-direction: column; }
.admin-topbar small { color: var(--muted); }
.icon-button { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.admin-content { padding: 30px; }
.admin-page-heading { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-bottom: 26px; }
.admin-page-heading h1 { font-size: 2.1rem; }
.admin-page-heading p { margin-bottom: 0; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; margin-bottom: 24px; }
.admin-stat-grid article { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--border); border-radius: 15px; background: #fff; }
.admin-stat-grid span { color: var(--muted); font-size: .82rem; }
.admin-stat-grid strong { margin: 4px 0 12px; color: var(--primary); font-size: 2rem; }
.admin-stat-grid a { margin-top: auto; color: var(--primary); font-size: .78rem; font-weight: 800; }
.admin-card { padding: 24px; border: 1px solid var(--border); border-radius: 17px; background: #fff; box-shadow: 0 7px 22px rgba(15,23,42,.04); }
.admin-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.admin-card-heading p { margin: 0; }
.admin-stack { display: grid; gap: 22px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
td { font-size: .9rem; }
td > small { display: block; margin-top: 4px; color: var(--muted); }
td a { color: var(--primary); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
.empty { padding: 36px; text-align: center; color: var(--muted); }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e2e8f0; color: #334155; font-size: .75rem; font-weight: 900; white-space: nowrap; }
.status.large { padding: 9px 14px; font-size: .86rem; }
.status-new { background: #dbeafe; color: #1d4ed8; }.status-contacted { background: #fef3c7; color: #92400e; }.status-verified { background: #ede9fe; color: #6d28d9; }.status-approved { background: #dcfce7; color: #166534; }.status-activated { background: #ccfbf1; color: #115e59; }.status-rejected { background: #fee2e2; color: #991b1b; }
.filter-bar { display: grid; grid-template-columns: 1fr 210px auto auto; gap: 10px; margin-bottom: 20px; }
.pagination { display: flex; gap: 7px; margin-top: 20px; }
.pagination a { display: grid; place-items: center; min-width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 9px; background: #fff; font-weight: 800; }
.pagination a.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.detail-list { margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); font-size: .83rem; }
.detail-list dd { margin: 0; font-weight: 650; }
.back-link { display: inline-flex; margin-bottom: 8px; color: var(--primary); font-weight: 800; font-size: .85rem; }
.switch { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: relative; width: 44px; height: 24px; border-radius: 20px; background: #cbd5e1; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s ease; }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(20px); }

.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 15% 15%, rgba(45,212,191,.17), transparent 35%), #f8fafc; }
.auth-card { width: min(440px, 100%); padding: 36px; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.auth-brand { margin-bottom: 34px; }
.auth-copy h1 { font-size: 2rem; }
.auth-card form { display: grid; gap: 16px; }
.auth-back { display: block; margin-top: 22px; text-align: center; }

.error-page { min-height: 65vh; display: grid; place-items: center; text-align: center; }
.error-page span { color: var(--primary); font-size: 5rem; font-weight: 900; }
.error-page p { max-width: 560px; margin-inline: auto; }

@media (max-width: 1100px) {
    .hero-grid, .product-tour, .process-grid, .faq-layout { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-copy > p { margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-visual { max-width: 900px; margin: 20px auto 0; }
    .feature-grid { grid-template-columns: repeat(2,1fr); }
    .role-grid { grid-template-columns: repeat(3,1fr); }
    .problem-grid { grid-template-columns: repeat(2,1fr); }
    .role-detail-grid, .demo-grid { grid-template-columns: repeat(2,1fr); }
    .principle-grid, .cost-grid { grid-template-columns: repeat(2,1fr); }
    .admin-stat-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 900px) {
    .mobile-menu-button { display: grid; place-items: center; }
    .site-nav { position: fixed; inset: 76px 0 auto; display: none; padding: 18px 20px 24px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
    .site-nav.open { display: grid; }
    .site-nav > a { width: 100%; }
    .site-nav .btn { margin-top: 8px; }
    .split-heading, .feature-detail-list > article, .feature-detail-list > article.reverse, .registration-layout, .demo-notes, .business-info { grid-template-columns: 1fr; }
    .feature-detail-list > article.reverse > :first-child, .feature-detail-list > article.reverse > :last-child { order: initial; }
    .role-grid { grid-template-columns: repeat(2,1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .registration-info { order: 2; }
    .sticky-card { position: static; }
    .admin-shell { display: block; }
    .admin-sidebar { position: fixed; z-index: 80; inset: 0 auto 0 0; width: 260px; transform: translateX(-100%); transition: transform .2s ease; }
    .admin-sidebar.open { transform: translateX(0); }
    .icon-button { display: inline-grid; place-items: center; }
    .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 68px 0; }
    .hero { padding: 68px 0 60px; }
    .page-hero { padding: 68px 0 52px; }
    .stats-grid, .feature-grid, .problem-grid, .tour-gallery, .role-grid, .role-detail-grid, .demo-grid, .principle-grid, .cost-grid, .success-summary { grid-template-columns: 1fr; }
    .stats-grid > div { border-right: 0; border-bottom: 1px solid var(--border); }
    .stats-grid > div:last-child { border-bottom: 0; }
    .floating-card { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .form-section, .admin-card, .success-card { padding: 22px; }
    .cta-box { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
    .cta-actions { width: 100%; flex-direction: column; }
    .cta-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .comparison-row { grid-template-columns: 1fr; gap: 6px; }
    .admin-content { padding: 20px 14px; }
    .admin-page-heading { align-items: flex-start; flex-direction: column; }
    .admin-stat-grid { grid-template-columns: repeat(2,1fr); }
    .filter-bar { grid-template-columns: 1fr; }
    .detail-list > div { grid-template-columns: 1fr; gap: 4px; }
    .lightbox { padding: 16px; }
}

/* =========================================================
   SiBK Online Branding
   ========================================================= */

.brand-main {
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.brand-logo-header {
    width: auto;
    height: 52px;
    max-width: 220px;
}

.brand-logo-footer {
    width: auto;
    height: 62px;
    max-width: 240px;
}

.brand-logo-auth {
    width: auto;
    height: 72px;
    max-width: 280px;
    margin-inline: auto;
}

.brand-icon {
    display: block;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    object-fit: contain;
}

.brand-admin {
    align-items: center;
}

.brand-admin > span:last-child {
    min-width: 0;
}

.brand-admin strong {
    color: #ffffff;
    font-size: .95rem;
}

.auth-brand-logo {
    display: flex;
    justify-content: center;
}

@media (max-width: 760px) {
    .brand-logo-header {
        height: 44px;
        max-width: 175px;
    }

    .brand-logo-footer {
        height: 54px;
        max-width: 210px;
    }

    .brand-logo-auth {
        height: 62px;
        max-width: 230px;
    }
}
