:root {
    --primary-color: #00d9ff;
    --secondary-color: #7c4dff;
    --accent-color: #27ffb5;
    --background-color: #07090d;
    --card-color: rgba(17, 23, 34, 0.74);
    --text-color: #ffffff;
    --muted-color: #9aa4b2;
    --button-color: #00d9ff;
    --button-text-color: #031014;
    --border-glow: rgba(0, 217, 255, 0.42);
    --border-radius: 12px;
    --site-font: Inter;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text-color);
    background: var(--background-color);
    font-family: var(--site-font), Inter, system-ui, sans-serif;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 15%, rgba(0, 217, 255, .14), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(124, 77, 255, .13), transparent 25%),
        linear-gradient(180deg, #07090d 0%, #0c1017 45%, #07090d 100%);
    background-size: cover;
    background-position: center;
    z-index: -3;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #243044; border-radius: 10px; }
::-webkit-scrollbar-track { background: #07090d; }

.page-glow {
    position: fixed;
    inset: auto -15% -30% -15%;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 217, 255, .13), transparent 68%);
    pointer-events: none;
    z-index: -2;
}
.particle-field {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.22) 1px, transparent 1px),
        radial-gradient(circle, rgba(0,217,255,.22) 1px, transparent 1px);
    background-size: 80px 80px, 140px 140px;
    opacity: .16;
    animation: drift 18s linear infinite;
    z-index: -1;
}
.motion-off .particle-field, .motion-off .reveal, .motion-off * { animation: none !important; transition: none !important; }
.motion-low .particle-field { animation-duration: 34s; opacity: .1; }
.motion-high .particle-field { animation-duration: 10s; opacity: .22; }
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-80px, -80px, 0); } }

.announcement-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 18px;
    color: #dff9ff;
    background: linear-gradient(90deg, rgba(0,217,255,.18), rgba(124,77,255,.18));
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 14px;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 56px);
    background: var(--navbar-color);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand, .admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #061014;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    box-shadow: 0 0 28px var(--border-glow);
}
.main-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--muted-color);
    font-size: 14px;
    font-weight: 700;
}
.main-nav a {
    position: relative;
    padding: 8px 0;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .22s ease;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.ghost-link { color: var(--muted-color); font-weight: 700; }
.nav-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 22px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    color: var(--button-text-color);
    background: linear-gradient(135deg, var(--button-color), var(--accent-color));
    border: 0;
    border-radius: 10px;
    font-weight: 900;
    box-shadow: 0 0 28px var(--border-glow);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-ghost, .ghost-button {
    color: var(--text-color);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: none;
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 74px);
    display: grid;
    align-items: center;
    padding: clamp(64px, 8vw, 112px) clamp(18px, 7vw, 96px);
    overflow: hidden;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .98;
    z-index: -2;
}
.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(0deg, var(--background-color), transparent);
    z-index: -1;
}
.hero-copy { max-width: 760px; }
.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-color);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 13px;
}
h1, h2, h3, p { margin-top: 0; }
.hero-copy h1, .subpage-hero h1 {
    margin-bottom: 18px;
    letter-spacing: 0;
    font-weight: 900;
}
.hero-copy h1 {
    max-width: 820px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .96;
    text-wrap: balance;
}
.hero-title span { display: block; }
.subpage-hero h1 {
    font-size: clamp(40px, 7vw, 76px);
    line-height: .98;
}
.hero-copy p, .subpage-hero p {
    color: #d6deea;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.65;
    max-width: 680px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 34px; }
.hero-actions.centered { justify-content: center; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 12px;
    max-width: 760px;
}
.hero-stats div, .stat-card, .panel, .feature-card, .pricing-card, .auth-card, .checkout-summary, .checkout-form, .success-card, .invoice-card {
    background: var(--card-color);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--border-radius);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(16px);
}
.hero-stats div {
    padding: 18px;
    min-height: 92px;
}
.hero-stats strong, .stat-card span {
    display: block;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}
.hero-stats span, .stat-card p { color: var(--muted-color); margin: 0; }
.hero-media { position: absolute; inset: 0; pointer-events: none; }
.server-stack, .minecraft-cube { display: none; }

.section-band {
    padding: clamp(54px, 7vw, 96px) clamp(18px, 6vw, 84px);
}
.section-heading {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading.narrow { max-width: 680px; }
.section-heading h2, .dashboard-content h1, .admin-page-head h1 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: 0;
    font-weight: 900;
}
.section-heading p { color: var(--muted-color); line-height: 1.65; }
.feature-grid, .pricing-grid, .service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}
.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .pricing-card { position: relative; padding: 24px; overflow: hidden; transition: transform .22s ease, border-color .22s ease; }
.feature-card:hover, .pricing-card:hover { transform: translateY(-6px); border-color: var(--border-glow); }
.feature-card i, .plan-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--primary-color);
    background: rgba(0, 217, 255, .1);
    border: 1px solid rgba(0, 217, 255, .25);
    border-radius: 10px;
    margin-bottom: 18px;
}
.feature-card h3, .pricing-card h3 { margin-bottom: 8px; font-size: 20px; }
.feature-card p, .pricing-card p, .form-note { color: var(--muted-color); line-height: 1.6; }
.service-card { display: grid; align-content: start; gap: 10px; }
.service-card .plan-specs { margin: 6px 0 8px; }
.service-panel-link {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.card-topline {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}
.pricing-shell { padding: 20px clamp(18px, 5vw, 70px) 90px; }
.minecraft-font {
    font-family: "Press Start 2P", var(--site-font), sans-serif;
    letter-spacing: 0;
}
.pricing-tabs, .hardware-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 30px;
}
.tab-button, .chip, .copy-chip {
    min-height: 38px;
    padding: 0 14px;
    color: var(--muted-color);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    font-weight: 800;
}
.category-tab {
    align-items: center;
    display: inline-flex;
    gap: 9px;
    font-size: 10px;
    min-height: 44px;
}
.category-tab i { font-size: 14px; }
.category-heading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: clamp(20px, 3vw, 34px);
    line-height: 1.35;
}
.category-heading i { color: var(--primary-color); font-size: .84em; }
.tab-button.active, .chip.active {
    color: #061014;
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.pricing-panel { display: none; }
.pricing-panel.active { display: block; animation: panelIn .25s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pricing-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pricing-card-header .plan-icon { margin: 0; flex: 0 0 auto; }
.pricing-card-header p { margin: 4px 0 0; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0; }
.plan-price span { font-size: 34px; font-weight: 900; }
.plan-price small { color: var(--muted-color); }
.badge {
    display: inline-flex;
    margin: 0 6px 12px 0;
    padding: 6px 9px;
    color: #dffcff;
    background: rgba(0, 217, 255, .1);
    border: 1px solid rgba(0, 217, 255, .25);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}
.badge.featured { border-color: rgba(39,255,181,.35); color: var(--accent-color); }
.badge.recommended { border-color: rgba(124,77,255,.45); color: #c8bcff; }
.plan-specs { display: grid; gap: 10px; padding: 0; margin: 18px 0; list-style: none; color: #d7e2ef; }
.plan-specs li { display: flex; align-items: center; gap: 10px; }
.plan-specs i { color: var(--primary-color); width: 18px; }
.plan-description { min-height: 50px; }

.subpage-hero {
    padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 84px) 42px;
    text-align: center;
}
.subpage-hero p { margin-left: auto; margin-right: auto; }
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
    padding: 20px 22px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--border-radius);
}
.faq-item summary { cursor: pointer; font-weight: 900; }
.faq-item p { color: var(--muted-color); line-height: 1.65; margin: 14px 0 0; }

.auth-shell, .success-shell, .invoice-shell {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 70px 18px;
}
.auth-card, .checkout-form, .checkout-summary, .success-card, .invoice-card {
    width: min(100%, 480px);
    padding: 28px;
}
.form-grid { display: grid; gap: 16px; }
label { display: grid; gap: 8px; color: #e8eef8; font-weight: 800; }
label span { color: var(--muted-color); font-weight: 600; }
input, select, textarea {
    width: 100%;
    color: #fff;
    background: rgba(3, 8, 15, .78);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 12px 13px;
    outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0,217,255,.12); }
.inline-check { display: flex; align-items: center; gap: 10px; }
.inline-check input { width: auto; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-note { font-size: 13px; }
.form-note a { color: var(--primary-color); }
.field-title {
    margin: 0 0 8px;
    color: #e8eef8;
    font-weight: 900;
}
.password-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}
.password-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 82px;
    padding: 0 12px;
    color: #061116;
    background: var(--primary-color);
    border: 0;
    border-radius: 10px;
    font-weight: 900;
    cursor: pointer;
}
.password-toggle:hover { filter: brightness(1.08); }
.account-checklist, .requirement-list {
    display: grid;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
}
.requirement {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    color: var(--muted-color);
    font-size: 13px;
    line-height: 1.4;
}
.requirement i { margin-top: 2px; color: rgba(255,255,255,.4); }
.requirement.ok { color: #c8ffe9; }
.requirement.ok i { color: var(--accent-color); }
.requirement.bad { color: #ffd3dc; }
.requirement.bad i { color: #ff5c7a; }
.payment-methods {
    display: grid;
    gap: 10px;
}
.payment-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    color: #dce6f3;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    cursor: pointer;
}
.payment-option:has(input:checked) {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,217,255,.11);
}
.payment-option input { width: auto; margin-top: 4px; }
.payment-option span {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 2px 9px;
}
.payment-option i {
    grid-row: span 2;
    color: var(--primary-color);
    margin-top: 2px;
}
.payment-option strong { color: #fff; line-height: 1.3; }
.payment-option small { color: var(--muted-color); line-height: 1.45; }

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    padding: 34px clamp(18px, 4vw, 54px) 80px;
}
.dashboard-sidebar {
    position: sticky;
    top: 94px;
    align-self: start;
    display: grid;
    gap: 8px;
    padding: 16px;
    background: rgba(12,16,23,.82);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--border-radius);
}
.dashboard-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    color: var(--muted-color);
    border-radius: 8px;
}
.dashboard-sidebar a:hover { color: #fff; background: rgba(255,255,255,.06); }
.dashboard-content { min-width: 0; }
.stat-grid, .admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.stat-card { padding: 20px; }
.split-panels, .admin-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.panel { padding: 22px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 13px 12px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; color: #dce6f3; }
th { color: #fff; font-size: 13px; text-transform: uppercase; }
td small { color: var(--muted-color); }
.status {
    display: inline-flex;
    padding: 5px 8px;
    color: #cfeeff;
    background: rgba(0,217,255,.1);
    border: 1px solid rgba(0,217,255,.18);
    border-radius: 999px;
    text-transform: capitalize;
    font-size: 12px;
    font-weight: 900;
}
.status.active, .status.paid, .status.captured { color: #c8ffe9; background: rgba(39,255,181,.1); border-color: rgba(39,255,181,.22); }
.status.pending, .status.unpaid, .status.waiting_payment { color: #ffe9b5; background: rgba(255,205,86,.1); border-color: rgba(255,205,86,.25); }
.status.failed, .status.cancelled, .status.refunded, .status.declined, .status.payment_declined { color: #ffd3dc; background: rgba(255,92,122,.1); border-color: rgba(255,92,122,.25); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--muted-color); }
.empty-state i { font-size: 34px; color: var(--primary-color); margin-bottom: 14px; }

.checkout-shell {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(320px, 660px);
    gap: 22px;
    align-items: start;
    padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 84px);
}
.centered-checkout { grid-template-columns: minmax(280px, 520px); justify-content: center; }
.checkout-summary, .checkout-form { width: 100%; }
.input-action { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.inline-alert {
    padding: 12px 14px;
    border-radius: 10px;
    color: #dbeafe;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
}
.inline-alert.success { border-color: rgba(39,255,181,.35); color: #c8ffe9; }
.inline-alert.danger { border-color: rgba(255,92,122,.35); color: #ffd3dc; }
.success-card { width: min(100%, 720px); text-align: center; }
.success-icon { color: var(--accent-color); font-size: 54px; margin-bottom: 14px; filter: drop-shadow(0 0 24px rgba(39,255,181,.4)); }
.deployment-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}
.step {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 16px 8px;
    color: var(--muted-color);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
}
.step.done { color: #c8ffe9; border-color: rgba(39,255,181,.3); }
.ticket-thread { display: grid; gap: 12px; margin: 18px 0; }
.ticket-message {
    padding: 18px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--border-radius);
}
.ticket-message.staff { border-color: rgba(0,217,255,.25); background: rgba(0,217,255,.07); }
.ticket-message p { color: #dce6f3; line-height: 1.65; }
.ticket-message small { color: var(--muted-color); }

.invoice-card { width: min(100%, 900px); }
.invoice-head, .invoice-meta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.invoice-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.invoice-status-stamp {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 8px 12px;
    color: #061014;
    background: var(--accent-color);
    border-radius: 8px;
    font-weight: 900;
    letter-spacing: 0;
}
.invoice-status-stamp.unpaid, .invoice-status-stamp.cancelled {
    color: #fff;
    background: #ff5c7a;
}
.invoice-meta div { display: grid; gap: 6px; }
.invoice-meta span { color: var(--muted-color); }
.manual-instructions {
    margin-top: 20px;
    padding: 16px;
    background: rgba(88,101,242,.1);
    border: 1px solid rgba(88,101,242,.28);
    border-radius: 10px;
}
.manual-instructions h2, .invoice-text-block h2 { margin-bottom: 8px; font-size: 18px; }
.manual-instructions p { color: var(--muted-color); line-height: 1.55; }
.invoice-text-block {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
}
.invoice-text-block pre {
    margin: 0;
    white-space: pre-wrap;
    color: #dce6f3;
    font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.success-invoice-text {
    margin-top: 22px;
    text-align: left;
}

.toast-stack {
    position: fixed;
    right: 18px;
    top: 86px;
    z-index: 60;
    display: grid;
    gap: 10px;
}
.toast {
    width: min(360px, calc(100vw - 36px));
    padding: 14px 16px;
    color: #eaf8ff;
    background: rgba(17,23,34,.94);
    border: 1px solid rgba(255,255,255,.12);
    border-left: 3px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
    animation: toastIn .24s ease;
}
.toast-success { border-left-color: var(--accent-color); }
.toast-danger { border-left-color: #ff5c7a; }
@keyframes toastIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

.site-footer {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 28px;
    padding: 50px clamp(18px, 6vw, 84px) 32px;
    background: #07090d;
    border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer p, .site-footer a { color: var(--muted-color); line-height: 1.65; }
.site-footer a { display: block; margin: 8px 0; }
.footer-bottom { grid-column: 1 / -1; margin: 18px 0 0; }
.text-success { color: var(--accent-color); }
.text-danger { color: #ff8aa0; }

@media (max-width: 980px) {
    .site-header { grid-template-columns: auto auto; }
    .nav-toggle { display: block; justify-self: end; }
    .main-nav {
        display: none;
        grid-column: 1 / -1;
        justify-content: start;
        flex-direction: column;
        gap: 6px;
    }
    .main-nav.open { display: flex; }
    .nav-actions { grid-column: 1 / -1; }
    .hero-stats, .feature-grid, .pricing-grid, .stat-grid, .admin-stat-grid, .split-panels, .admin-grid-two, .checkout-shell {
        grid-template-columns: 1fr 1fr;
    }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .hero-section { min-height: auto; padding-top: 76px; }
    .hero-copy h1 { font-size: clamp(34px, 11vw, 48px); line-height: 1.02; }
    .subpage-hero h1 { font-size: clamp(34px, 11vw, 54px); }
    .hero-stats, .feature-grid, .pricing-grid, .stat-grid, .admin-stat-grid, .split-panels, .admin-grid-two, .checkout-shell, .form-row, .form-row.three, .deployment-steps, .site-footer {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar { grid-template-columns: 1fr; }
    .site-footer { padding-bottom: 40px; }
    .auth-card, .checkout-form, .checkout-summary, .success-card, .invoice-card { padding: 22px; }
    .input-action, .password-input { grid-template-columns: 1fr; }
    .password-toggle { min-height: 42px; width: 100%; }
}
@media print {
    .site-header, .site-footer, .particle-field, .page-glow, .no-print { display: none !important; }
    body { background: #fff; color: #000; }
    .invoice-card { box-shadow: none; border-color: #ddd; color: #000; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
