/* ==========================================================================
   ZeroRegistrar — Commercial-Grade SaaS Design System (v3.0 Ultra)
   Light-First Default • High-Density SaaS UI • Accessible (WCAG 2.1 AAA)
   Ultra-Responsive (320px to 1920px+) • High-Performance Vanilla CSS
   ========================================================================== */


@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   Design Tokens — "Signal" premium system (light default)
   High-contrast Swiss-technical aesthetic. Terracotta signal on obsidian/white.
   Legacy accent names are remapped here so every template re-skins at once.
   -------------------------------------------------------------------------- */
:root {
    color-scheme: light;

    /* Base surfaces */
    --bg: #f6f7f9;
    --bg-alt: #eef0f3;
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.82);
    --surface2: #f3f4f6;
    --surface3: #e9ebef;
    --text: #0f1115;
    --text-secondary: #4a5361;
    --muted: #737d8c;
    --line: #e6e8ec;
    --line-light: #f0f1f4;
    --line-focus: #f2b7a3;

    /* Brand signal (terracotta) mapped onto legacy accent names */
    --primary: #e35d30;
    --primary-hover: #c8461d;
    --primary-fg: #ffffff;
    --blue: #e35d30;
    --blue-hover: #c8461d;
    --blue-light: #fdeee7;
    --blue-glow: rgba(227, 93, 48, 0.18);
    --indigo: #c8461d;
    --indigo-light: #fdeee7;
    --purple: var(--info-text);
    --purple-light: var(--info);
    --cyan: #0e9bb4;
    --cyan-light: #e2f6f9;
    --green: #16a34a;
    --green-light: #e6f6ec;
    --emerald: #15803d;
    --amber: #d97706;
    --amber-light: #fbf0e0;
    --red: #e11d48;
    --red-light: #fde7ec;
    --rose: #f43f5e;

    /* Semantic aliases */
    --primary-badge: var(--blue-light);
    --card: var(--surface);
    --card-muted: var(--surface2);
    --border: var(--line);
    --border-hover: #cfd3da;
    --heading-color: var(--text);
    --subtle: var(--muted);
    --input-bg: #ffffff;

    /* Status container / text pairs */
    --success: #e6f6ec;
    --success-text: #15803d;
    --warning: #fbf0e0;
    --warning-text: #b45309;
    --danger: #fde7ec;
    --danger-text: #be123c;
    --info: #e8eefe;
    --info-text: #2952d6;

    /* Elevation */
    --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.06);
    --shadow: 0 2px 6px rgba(15, 17, 21, 0.06), 0 1px 2px rgba(15, 17, 21, 0.04);
    --shadow-md: 0 12px 28px -8px rgba(15, 17, 21, 0.14), 0 4px 8px -4px rgba(15, 17, 21, 0.06);
    --shadow-lg: 0 28px 60px -18px rgba(15, 17, 21, 0.24), 0 10px 20px -12px rgba(15, 17, 21, 0.10);
    --shadow-glow: 0 10px 30px rgba(227, 93, 48, 0.28);

    /* Radii */
    --r-xs: 6px;
    --r-sm: 9px;
    --r: 14px;
    --r-lg: 18px;
    --r-xl: 26px;
    --r-full: 9999px;

    /* Typography */
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', 'Manrope', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout metrics */
    --top-height: 68px;
    --sidebar-width: 268px;
}

[data-theme="dark"] {
    color-scheme: dark;

    --bg: #0a0a0b;
    --bg-alt: #101012;
    --surface: #151517;
    --surface-glass: rgba(21, 21, 23, 0.78);
    --surface2: #1d1d20;
    --surface3: #26262b;
    --text: #f5f6f8;
    --text-secondary: #b7bdc7;
    --muted: #8a92a0;
    --line: #262629;
    --line-light: #2f2f34;
    --line-focus: #6b3520;

    --primary: #f97316;
    --primary-hover: #fb8b3c;
    --primary-fg: #17110c;
    --blue: #f97316;
    --blue-hover: #fb8b3c;
    --blue-light: rgba(249, 115, 22, 0.16);
    --blue-glow: rgba(249, 115, 22, 0.34);
    --indigo: #fb8b3c;
    --indigo-light: rgba(249, 115, 22, 0.16);
    --purple: var(--info-text);
    --purple-light: var(--info);
    --cyan: #22c3dd;
    --cyan-light: rgba(34, 195, 221, 0.16);
    --green: #22c55e;
    --green-light: rgba(34, 197, 94, 0.16);
    --emerald: #34d399;
    --amber: #f59e0b;
    --amber-light: rgba(245, 158, 11, 0.16);
    --red: #f43f5e;
    --red-light: rgba(244, 63, 94, 0.16);
    --rose: #fb7185;

    --primary-badge: var(--blue-light);
    --card: var(--surface);
    --card-muted: var(--surface2);
    --border: var(--line);
    --border-hover: #3a3a40;
    --heading-color: var(--text);
    --input-bg: #101012;

    --success: rgba(34, 197, 94, 0.16);
    --success-text: #4ade80;
    --warning: rgba(245, 158, 11, 0.16);
    --warning-text: #fbbf24;
    --danger: rgba(244, 63, 94, 0.16);
    --danger-text: #fb7185;
    --info: rgba(59, 130, 246, 0.16);
    --info-text: #93b4fb;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 14px 32px -10px rgba(0, 0, 0, 0.7), 0 6px 12px -6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 30px 70px -18px rgba(0, 0, 0, 0.8), 0 12px 24px -12px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 10px 34px rgba(249, 115, 22, 0.36);
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.55;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* Accessibility screen-reader only utility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--heading-color);
    letter-spacing: -0.035em;
    font-weight: 800;
    line-height: 1.2;
}

h1 { font-size: clamp(32px, 5.5vw, 56px); line-height: 1.1; }
h2 { font-size: clamp(24px, 3.5vw, 34px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); }
h4 { font-size: 16px; font-weight: 700; }

.lead {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
}

.eyebrow {
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-light);
    padding: 4px 12px;
    border-radius: var(--r-full);
    border: 1px solid rgba(227, 93, 48, 0.18);
}

.text-gradient {
    background: linear-gradient(120deg, #f2723f 0%, #e35d30 45%, #c8461d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(120deg, #e35d30 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Navigation Bar */
.top {
    height: var(--top-height);
    background: var(--surface-glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.logo {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 850;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    font-weight: 900;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav {
    display: flex;
    gap: 28px;
    margin-left: 44px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13.5px;
}

.nav a {
    position: relative;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav a:hover {
    color: var(--blue);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.2s ease;
    border-radius: 2px;
}

.nav a:hover::after {
    width: 100%;
}

.row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.grow {
    flex-grow: 1;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    min-height: 40px;
}

.btn.primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn.primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn.secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.btn.secondary:hover {
    background: var(--surface2);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.btn.ghost {
    background: transparent;
    color: var(--text-secondary);
}

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

.btn.danger {
    background: var(--danger);
    color: var(--danger-text);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn.danger:hover {
    background: #fee2e2;
    transform: translateY(-1px);
}

.btn.small {
    padding: 6px 13px;
    font-size: 12.5px;
    min-height: 34px;
    border-radius: 8px;
}

.btn.large {
    padding: 13px 26px;
    font-size: 15px;
    min-height: 48px;
    border-radius: 12px;
}

.icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--text);
    transition: 0.15s ease;
}

.icon:hover {
    background: var(--surface2);
    border-color: var(--border-hover);
}

/* Cards & Surfaces */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
    border-color: var(--border-hover);
}

.card.elevated {
    box-shadow: var(--shadow-md);
}

.card.elevated:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card.glow {
    position: relative;
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

/* Form Controls */
.form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: span 2;
}

label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--input-bg);
    color: var(--text);
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-glow);
}

textarea {
    resize: vertical;
    line-height: 1.5;
}

/* Hero & Search Omnibox */
.hero {
    padding: 70px 24px 50px;
    text-align: center;
    background: radial-gradient(circle at 50% 15%, var(--blue-glow) 0%, transparent 60%);
    position: relative;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 320px;
    background: radial-gradient(ellipse at center, var(--blue-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.searchbox {
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    padding: 6px 8px 6px 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    max-width: 680px;
    margin: 28px auto 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 10;
}

.searchbox:focus-within {
    border-color: var(--blue);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.18);
}

.searchbox input {
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 600;
    flex-grow: 1;
    color: var(--text);
    box-shadow: none !important;
}

.searchbox .suffix {
    font-family: var(--font-mono);
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    padding: 0 12px;
    border-left: 1px solid var(--line);
    white-space: nowrap;
}

.chips {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.chip {
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* KPI Widgets */
.kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.kpi {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.kpi:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.kpitop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 8px;
}

.metric {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 850;
    color: var(--heading-color);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    margin-top: 8px;
}

.trend.up { color: var(--green); }
.trend.down { color: var(--red); }
.trend.neutral { color: var(--muted); }

/* Tags & Badges */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 750;
    padding: 3px 9px;
    border-radius: var(--r-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tag.ok { background: var(--success); color: var(--success-text); }
.tag.warn { background: var(--warning); color: var(--warning-text); }
.tag.bad { background: var(--danger); color: var(--danger-text); }
.tag.info { background: var(--info); color: var(--info-text); }
.tag.neutral { background: var(--surface2); color: var(--muted); border: 1px solid var(--line); }

/* Tables */
.tablewrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.table th {
    background: var(--surface2);
    padding: 12px 18px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    vertical-align: middle;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: var(--surface2);
}

/* App Shell (Sidebar & Main Workspace) */
.customer-shell, .shell {
    display: flex;
    min-height: 100vh;
}

.side {
    width: var(--sidebar-width);
    background: var(--surface);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 60;
}

.main {
    flex-grow: 1;
    min-width: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
}

.appbar {
    height: var(--top-height);
    background: var(--surface-glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 40;
}

.content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 32px 28px 80px;
}

.pageh {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.pageh h1 {
    font-size: 28px;
    margin: 0;
}

.st {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 18px 0 8px;
    padding-left: 12px;
}

.slink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.slink:hover {
    background: var(--surface2);
    color: var(--blue);
}

.slink.active {
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 750;
}

.slink span {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Mobile Bar & Overlays */
.mobilebar {
    display: none;
}

.side-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 55;
}

/* Impersonation Banner */
.impersonation-banner {
    background: linear-gradient(90deg, #991b1b 0%, #b45309 100%);
    color: #ffffff;
    padding: 10px 28px;
    font-weight: 750;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.25);
}

/* Split Panes & Grids */
.split {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
}

.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.builder-grid {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    gap: 20px;
    align-items: start;
}

.dns-form-grid {
    display: grid;
    grid-template-columns: 140px 180px 1fr 160px 140px;
    gap: 14px;
    align-items: flex-end;
}

.paneltitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.paneltitle h3 {
    margin: 0;
    font-size: 16px;
}

/* Theme Previews & Showcase */
.theme-card {
    overflow: hidden;
    padding: 0;
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
}

.theme-card .preview {
    height: 160px;
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

[data-theme="dark"] .theme-card .preview {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

.theme-card .content-box {
    padding: 16px;
}

/* SaaS Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 60px 0 36px;
}

.footergrid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    display: block;
    margin-bottom: 14px;
}

.footer a, .footer p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
    display: block;
    margin: 8px 0;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: var(--muted);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 14px;
    color: var(--muted);
}

.empty-title {
    font-size: 18px;
    font-weight: 750;
    margin-bottom: 6px;
    color: var(--text);
}

.empty-desc {
    color: var(--muted);
    max-width: 420px;
    margin: 0 auto 20px;
    font-size: 13.5px;
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
    .nav { display: none; }
    .g4 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .builder-grid { grid-template-columns: 1fr; }
    .dns-form-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top { height: 60px; padding: 0 16px; }
    .hero { padding: 45px 16px 36px; }
    h1 { font-size: 32px; }
    .lead { font-size: 14.5px; }
    
    .searchbox { 
        flex-direction: column; 
        padding: 10px; 
        border-radius: 14px; 
    }
    .suffix { 
        border: 0; 
        border-top: 1px solid var(--line); 
        margin: 6px 0; 
        width: 100%; 
        justify-content: center; 
    }
    .searchbox .btn { width: 100%; margin-top: 6px; }
    
    .g3, .g4, .g2 { grid-template-columns: 1fr; }
    .form { grid-template-columns: 1fr; }
    .field.full { grid-column: span 1; }
    .dns-form-grid { grid-template-columns: 1fr; }
    .builder-grid { grid-template-columns: 1fr; }
    
    .side { display: none; }
    .main { margin-left: 0; }
    .appbar { height: 58px; padding: 0 16px; }
    .mobilebar { 
        display: grid; 
        width: 36px; 
        height: 36px; 
        border: 1px solid var(--line); 
        border-radius: 8px; 
        background: var(--surface); 
        place-items: center; 
        margin-right: 10px; 
        font-size: 18px; 
    }
    .content { padding: 20px 16px 85px; }
    .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
    .kpi { padding: 14px; }
    .metric { font-size: 24px; }
    .footergrid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    /* Sticky Mobile Bottom App Bar */
    .bottom, .mobile-bottom-nav {
        position: fixed;
        display: flex;
        bottom: 0;
        left: 0;
        right: 0;
        height: 62px;
        background: var(--surface-glass);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        border-top: 1px solid var(--line);
        z-index: 80;
        justify-content: space-around;
        align-items: center;
    }

    .mobile-nav-item, .bottom a {
        font-size: 10px;
        font-weight: 750;
        color: var(--muted);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        text-decoration: none;
    }

    .mobile-nav-item.active, .bottom a.active {
        color: var(--blue);
    }

    .mobile-nav-icon, .bottom a span {
        font-size: 18px;
    }
}

:root {
    --zr-ink: var(--text);
    --zr-muted: var(--muted);
    --zr-line: var(--line);
    --zr-surface: var(--surface);
    --zr-soft: var(--surface2);
    --zr-blue: var(--primary);
    --zr-purple: var(--info-text);
    --zr-green: var(--green);
    --zr-coral: var(--primary);
}

.zr-home-shell { max-width: 1240px; margin: -8px auto 0; padding: 0 22px 80px; color: var(--zr-ink); }
.zr-home-hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); align-items: center; gap: clamp(28px, 6vw, 86px); padding: 70px 0 84px; position: relative; }
.zr-home-hero::before { content: ''; position: absolute; z-index: -1; top: -80px; right: -160px; width: 620px; height: 520px; background: radial-gradient(circle, rgba(227, 93, 48, .16) 0%, rgba(227, 93, 48, .05) 35%, transparent 70%); pointer-events: none; }
.zr-kicker { display: inline-flex; align-items: center; gap: 8px; color: #52637d; font: 800 11px/1 var(--font-mono); letter-spacing: .13em; text-transform: uppercase; }
.zr-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--zr-blue); box-shadow: 0 0 0 4px rgba(227,93,48,.14); }
.zr-hero-copy h1 { max-width: 700px; margin: 20px 0 20px; font: 800 clamp(44px, 6.3vw, 82px)/.98 var(--font-display); letter-spacing: -.065em; }
.zr-hero-lead { max-width: 585px; margin: 0; color: var(--zr-muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; }
.zr-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.zr-hero-note { margin-top: 18px; color: #8390a3; font-size: 12px; }
.zr-hero-note span { color: var(--zr-purple); font-size: 18px; vertical-align: -1px; margin-right: 4px; }
.zr-product-frame { border: 1px solid rgba(125, 142, 181, .36); border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: 0 30px 80px rgba(35, 66, 137, .16), 0 2px 4px rgba(15,23,42,.05); overflow: hidden; transform: rotate(1.2deg); }
.zr-frame-topbar { min-height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 18px; background: rgba(249,251,255,.92); border-bottom: 1px solid var(--zr-line); color: #7d8ca5; font: 600 10px var(--font-mono); }
.zr-window-dots { display: inline-flex; gap: 5px; }
.zr-window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d4dceb; }
.zr-window-dots i:first-child { background: #f7a39a; }.zr-window-dots i:nth-child(2) { background: #f5d27c; }.zr-window-dots i:nth-child(3) { background: #89d2b6; }
.zr-live-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #087a5d; font: 700 10px var(--font-sans); text-transform: uppercase; letter-spacing: .06em; }
.zr-live-pill b { width: 6px; height: 6px; border-radius: 50%; background: #19b486; }
.zr-frame-body { display: grid; grid-template-columns: 132px 1fr; min-height: 395px; }
.zr-frame-sidebar { display: flex; flex-direction: column; gap: 16px; padding: 24px 16px; background: #fbfcff; border-right: 1px solid var(--zr-line); color: #8a98af; font-size: 11px; }
.zr-mini-mark { width: 28px; height: 28px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 9px; background: #e9edff; color: var(--zr-blue); font: 900 14px var(--font-display); }
.zr-sidebar-active { color: var(--zr-blue); font-weight: 800; }
.zr-frame-main { padding: 28px 30px; }
.zr-frame-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; border-bottom: 1px solid var(--zr-line); padding-bottom: 22px; }
.zr-frame-heading strong { display: block; margin-top: 8px; font: 700 21px var(--font-display); letter-spacing: -.03em; }
.zr-mono-label { color: #91a0b8; font: 700 9px var(--font-mono); letter-spacing: .1em; }
.zr-status-chip { padding: 7px 10px; border: 1px solid #c9e9dc; border-radius: 99px; color: #087a5d; background: #f0fcf7; font-size: 10px; white-space: nowrap; }
.zr-system-stack { margin: 28px 0; padding: 22px; border: 1px solid #e3e8f2; border-radius: 18px; background: linear-gradient(180deg, #fbfdff 0%, #f6f8fc 100%); }
.zr-system-row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; }
.zr-system-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; font: 800 10px var(--font-mono); }.zr-icon-blue { background: #eaf0ff; color: #285be0; }.zr-icon-purple { background: #f0ebff; color: #7446e8; }.zr-icon-green { background: #e8f8f2; color: #07835f; }
.zr-system-row b { display: block; font-size: 13px; }.zr-system-row small { display: block; margin-top: 3px; color: #8a97aa; font-size: 10px; }.zr-row-state { color: #7890ac; font: 600 10px var(--font-mono); text-align: right; }
.zr-system-line { height: 23px; width: 1px; margin-left: 16px; background: #cbd7e8; }
.zr-frame-footer { display: flex; justify-content: space-between; align-items: center; color: #71819b; font-size: 11px; }.zr-frame-footer b { color: var(--zr-ink); }.zr-arrow-box { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--zr-ink); color: white; font-size: 16px; }
.zr-search-section, .zr-platform-section, .zr-theme-section, .zr-pricing-section { padding: 94px 0 0; }
.zr-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }.zr-section-heading.compact { align-items: center; }
.zr-section-heading h2, .zr-pricing-copy h2, .zr-final-cta h2 { margin: 13px 0 0; font: 700 clamp(29px, 4vw, 50px)/1.03 var(--font-display); letter-spacing: -.055em; }.zr-section-heading p { max-width: 390px; margin: 0; color: var(--zr-muted); line-height: 1.65; font-size: 14px; }
.zr-search-bar { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid #cbd7e8; border-radius: 18px; background: var(--zr-surface); box-shadow: 0 16px 40px rgba(31, 65, 134, .09); }.zr-search-symbol { padding-left: 15px; color: var(--zr-blue); font-size: 24px; }.zr-search-bar input { min-width: 0; flex: 1; border: 0; background: transparent; box-shadow: none !important; padding: 14px 4px; font-size: 16px; }.zr-search-bar input:focus { outline: none; }.zr-search-bar .btn { min-height: 48px; border-radius: 12px; }
.zr-catalog-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }.zr-catalog-chip { display: inline-flex; gap: 10px; align-items: center; padding: 8px 11px; border: 1px solid var(--zr-line); border-radius: 10px; background: #fbfcff; color: #7b8aa2; font-size: 11px; }.zr-catalog-chip b { color: var(--zr-ink); font: 700 11px var(--font-mono); }.zr-catalog-empty { color: #8592a7; font-size: 12px; }
.zr-alert { margin: 0 0 14px; padding: 12px 15px; border: 1px solid #f3c4c0; border-radius: 12px; background: #fff7f6; color: #a63c33; font-size: 13px; }
.zr-count-pill, .zr-result-state { padding: 7px 10px; border-radius: 99px; background: #eef3ff; color: #315fd2; font: 700 10px var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }.zr-results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.zr-result-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; padding: 20px; border: 1px solid var(--zr-line); border-radius: 17px; background: var(--zr-surface); box-shadow: var(--shadow-sm); }.zr-result-card.is-available { border-color: #b8e5d3; }.zr-result-card.is-taken { opacity: .72; }.zr-result-card h3 { margin: 18px 0 8px; font: 700 18px var(--font-mono); letter-spacing: -.04em; overflow-wrap: anywhere; }.zr-result-card p { margin: 0; color: var(--zr-muted); font-size: 12px; line-height: 1.55; }.zr-result-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }.zr-result-bottom strong { font-size: 18px; }.zr-result-bottom strong small { margin-left: 4px; color: #8997ab; font-size: 10px; font-weight: 500; }.zr-result-bottom .btn { padding: 9px 12px; font-size: 11px; }.zr-muted-action { color: #9aa5b5; font: 700 11px var(--font-mono); }
.zr-flow-card { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr; align-items: center; padding: 26px; border: 1px solid var(--zr-line); border-radius: 20px; background: linear-gradient(130deg, #f5f8ff, #fff); }.zr-flow-step { display: flex; gap: 13px; align-items: start; }.zr-flow-step > span { color: var(--zr-blue); font: 800 12px var(--font-mono); }.zr-flow-step b { display: block; font-size: 14px; }.zr-flow-step small { display: block; margin-top: 5px; color: var(--zr-muted); font-size: 11px; line-height: 1.45; }.zr-flow-connector { height: 1px; background: linear-gradient(90deg, #b7c6e5, transparent); }
.zr-capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }.zr-capability-grid article { padding: 25px; border: 1px solid var(--zr-line); border-radius: 17px; background: var(--zr-surface); }.zr-cap-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-weight: 800; }.zr-cap-icon.blue { background: var(--blue-light); color: var(--primary); }.zr-cap-icon.purple { background: var(--purple-light); color: var(--purple); }.zr-cap-icon.green { background: var(--green-light); color: var(--emerald); }.zr-capability-grid h3 { margin: 20px 0 8px; font: 700 21px var(--font-display); letter-spacing: -.04em; }.zr-capability-grid p { min-height: 58px; margin: 0 0 20px; color: var(--zr-muted); font-size: 13px; line-height: 1.6; }.zr-capability-grid a, .text-link { color: var(--zr-blue); font-size: 12px; font-weight: 800; text-decoration: none; }.zr-capability-grid a:hover, .text-link:hover { text-decoration: underline; }
.zr-theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.zr-theme-card { overflow: hidden; border: 1px solid var(--zr-line); border-radius: 18px; background: var(--zr-surface); }.zr-theme-preview { height: 188px; position: relative; overflow: hidden; background: #101827; }.zr-theme-preview::before { content: ''; position: absolute; inset: 24px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; }.zr-theme-preview span, .zr-theme-preview i, .zr-theme-preview b, .zr-theme-preview em { position: absolute; display: block; border-radius: 5px; }.zr-theme-preview span { top: 50px; left: 46px; width: 35%; height: 9px; background: #fff; }.zr-theme-preview i { top: 74px; left: 46px; width: 54%; height: 5px; background: rgba(255,255,255,.45); }.zr-theme-preview b { top: 107px; left: 46px; width: 32%; height: 30px; border: 1px solid rgba(255,255,255,.4); }.zr-theme-preview em { top: 107px; right: 46px; width: 22%; height: 30px; background: #698dff; }.theme-developer { background: linear-gradient(135deg,#161a2b,#283a68); }.theme-creative { background: linear-gradient(135deg,#3b1d4f,#c75e81); }.theme-consultant { background: linear-gradient(135deg,#1d292d,#688f81); }.zr-theme-meta { display: flex; justify-content: space-between; gap: 14px; padding: 18px; }.zr-theme-meta h3 { margin: 0; font: 700 17px var(--font-display); }.zr-theme-meta p { margin: 7px 0 0; color: var(--zr-muted); font-size: 11px; }.zr-theme-number { color: #a1adbe; font: 700 11px var(--font-mono); }.zr-theme-empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--zr-line); border-radius: 14px; color: var(--zr-muted); text-align: center; }
.zr-pricing-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: 70px; align-items: center; padding-bottom: 94px; }.zr-pricing-copy p { max-width: 420px; margin: 22px 0; color: var(--zr-muted); font-size: 14px; line-height: 1.7; }.zr-price-list { border-top: 1px solid var(--zr-line); }.zr-price-row { display: grid; grid-template-columns: 35px 1fr auto 30px; align-items: center; gap: 14px; min-height: 76px; border-bottom: 1px solid var(--zr-line); }.zr-price-index { color: #9aa8ba; font: 700 10px var(--font-mono); }.zr-price-row strong { font: 700 16px var(--font-mono); }.zr-price-value { color: var(--zr-blue); font: 800 17px var(--font-display); }.zr-price-value small { margin-left: 3px; color: #8b98a9; font: 500 10px var(--font-sans); }.zr-price-row > a { color: var(--zr-blue); font-size: 18px; text-align: right; text-decoration: none; }.zr-final-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 34px 38px; border-radius: 20px; background: var(--zr-ink); color: #fff; }.zr-final-cta .zr-kicker { color: #a9b6cc; }.zr-final-cta h2 { color: #fff; }.zr-final-cta p { margin: 14px 0 0; color: #a9b6cc; font-size: 14px; }.zr-final-cta .btn.primary { background: #fff; color: var(--zr-ink); }.zr-final-cta .btn.primary:hover { background: #e9efff; }
@media (max-width: 980px) { .zr-home-hero { grid-template-columns: 1fr; padding-top: 38px; }.zr-hero-copy { max-width: 700px; }.zr-product-frame { max-width: 760px; width: 100%; margin: 0 auto; }.zr-capability-grid, .zr-theme-grid { grid-template-columns: repeat(2, 1fr); }.zr-pricing-section { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 720px) { .zr-home-shell { padding: 0 15px 48px; }.zr-home-hero { min-height: 0; padding: 30px 0 52px; gap: 34px; }.zr-hero-copy h1 { font-size: clamp(42px, 13vw, 66px); }.zr-hero-actions { display: grid; grid-template-columns: 1fr; }.zr-hero-actions .btn { width: 100%; }.zr-product-frame { transform: none; border-radius: 18px; }.zr-frame-body { grid-template-columns: 1fr; }.zr-frame-sidebar { display: none; }.zr-frame-main { padding: 22px 17px; }.zr-frame-heading { display: block; }.zr-status-chip { display: inline-flex; margin-top: 14px; }.zr-system-stack { padding: 15px; }.zr-system-row { grid-template-columns: 31px 1fr; }.zr-row-state { grid-column: 2; text-align: left; margin-top: -6px; }.zr-section-heading { display: block; }.zr-section-heading p { margin-top: 14px; }.zr-section-heading h2, .zr-pricing-copy h2, .zr-final-cta h2 { font-size: 38px; }.zr-search-bar { align-items: stretch; flex-wrap: wrap; padding: 7px; }.zr-search-symbol { display: none; }.zr-search-bar input { flex-basis: 100%; padding: 13px 12px; }.zr-search-bar .btn { width: 100%; }.zr-results-grid, .zr-capability-grid, .zr-theme-grid { grid-template-columns: 1fr; }.zr-flow-card { grid-template-columns: 1fr; gap: 18px; padding: 20px; }.zr-flow-connector { width: 1px; height: 22px; margin-left: 7px; background: linear-gradient(180deg, #b7c6e5, transparent); }.zr-pricing-section { padding-top: 68px; padding-bottom: 60px; }.zr-final-cta { display: block; padding: 28px 24px; }.zr-final-cta .btn { width: 100%; margin-top: 24px; }.zr-price-row { grid-template-columns: 26px 1fr auto; }.zr-price-row > a { display: none; } }
@media (prefers-reduced-motion: reduce) { .zr-product-frame, .zr-capability-grid article, .zr-theme-card { transition: none !important; transform: none !important; }
}


/* ==========================================================================\n   Unified app shell refinement\n   Public, customer, and admin layouts share the same visual rhythm while\n   preserving their existing navigation and backend contracts.\n   ========================================================================== */

.top,
.appbar,
.side,
.footer,
.bottom,
.mobile-bottom-nav {
    transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.top {
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

.zr-topbar-inner {
    display: flex;
    align-items: center;
    min-height: 100%;
    gap: 20px;
}

.zr-primary-nav {
    gap: 22px;
    margin-left: 34px;
}

.zr-primary-nav a {
    white-space: nowrap;
}

.zr-top-actions {
    flex-shrink: 0;
    gap: 8px;
}

.zr-top-actions .btn {
    white-space: nowrap;
}

.zr-theme-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    display: inline-grid;
    place-items: center;
}

.zr-primary-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 36px;
}

.zr-mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--text-secondary);
    background: var(--surface);
    font-size: 12px;
    font-weight: 800;
}

.zr-mobile-menu-toggle:hover,
.zr-theme-toggle:hover {
    color: var(--blue);
    border-color: var(--line-focus);
    box-shadow: var(--shadow-sm);
}

.zr-menu-icon {
    font-size: 17px;
    line-height: 1;
}

.zr-mobile-menu[hidden] {
    display: none !important;
}

.zr-mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    animation: zr-menu-in .18s ease-out both;
}

.zr-mobile-menu nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
}

.zr-mobile-menu nav a {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 750;
}

.zr-mobile-menu nav a:hover {
    color: var(--blue);
    background: var(--blue-light);
}

.zr-mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.zr-mobile-menu-actions .btn {
    width: 100%;
    justify-content: center;
}

@keyframes zr-menu-in {
    from { opacity: 0; transform: translateY(-5px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.zr-public-content {
    margin-top: 32px !important;
    margin-bottom: 64px !important;
    animation: zr-content-in .26s ease-out both;
}

.zr-app-content {
    animation: zr-content-in .26s ease-out both;
}

@keyframes zr-content-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.zr-workspace-shell .main,
.zr-admin-shell .main {
    min-height: 100vh;
}

.zr-appbar {
    min-height: var(--top-height);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

.zr-appbar-context {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.zr-appbar-context strong,
.zr-appbar-context .muted {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zr-appbar-context strong {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: -.025em;
}

.zr-appbar-context .muted {
    font-size: 11px;
}

.zr-appbar-kicker {
    color: var(--blue);
    font: 800 9px/1 var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.zr-appbar-action {
    min-height: 38px;
    padding: 0 14px !important;
    border-radius: 11px !important;
}

.zr-shell-footer {
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid var(--line);
    background: var(--surface2);
}

.zr-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 28px;
}

.zr-footer-brand p {
    max-width: 340px;
    margin: 12px 0 14px;
    line-height: 1.65;
}

.zr-footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    border: 1px solid rgba(16, 185, 129, .22);
    border-radius: 999px;
    color: var(--success-text);
    background: var(--success);
    font-size: 11px;
    font-weight: 800;
}

.zr-footer-status > span {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .12);
}

.zr-footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 14px;
}

.zr-footer-note {
    text-align: right;
}

.bottom,
.mobile-bottom-nav {
    display: none;
}

@media (hover: hover) {
    .zr-shell-footer a,
    .slink,
    .mobile-nav-item,
    .bottom a {
        transition: color .18s ease, background-color .18s ease, transform .18s ease;
    }

    .zr-shell-footer a:hover,
    .slink:hover {
        transform: translateX(2px);
    }

    .btn:hover,
    .zr-theme-toggle:hover,
    .mobilebar:hover {
        transform: translateY(-1px);
    }
}

@media (max-width: 1140px) {
    .zr-primary-nav {
        display: none;
    }

    .zr-mobile-menu-toggle {
        display: inline-flex;
    }

    .zr-topbar-inner {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .top {
        height: 60px;
        padding: 0 16px;
    }

    .zr-topbar-inner {
        padding: 0;
    }

    .zr-top-actions > .btn {
        display: none;
    }

    .zr-mobile-menu {
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
    }

    .zr-public-content {
        margin-top: 20px !important;
        margin-bottom: 44px !important;
    }

    .zr-appbar {
        min-height: 64px;
        height: auto;
        padding: 11px 16px;
    }

    .zr-appbar-context .muted {
        display: none;
    }

    .zr-appbar-context strong {
        font-size: 14px;
    }

    .zr-appbar .row {
        gap: 7px;
    }

    .zr-appbar-action {
        display: none;
    }

    .content {
        padding: 22px 16px 88px;
    }

    .side {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        height: 100dvh;
        box-shadow: var(--shadow-lg);
    }

    .bottom,
    .mobile-bottom-nav {
        position: fixed;
        display: flex;
        left: 0;
        right: 0;
        bottom: 0;
        min-height: 64px;
        height: calc(64px + env(safe-area-inset-bottom));
        padding: 4px 8px env(safe-area-inset-bottom);
        background: var(--surface-glass);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, .06);
        z-index: 80;
        justify-content: space-around;
        align-items: center;
    }

    .mobile-nav-item,
    .bottom a {
        min-width: 58px;
        min-height: 48px;
        padding: 5px 8px;
        border-radius: 12px;
        color: var(--muted);
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 10px;
        font-weight: 800;
        text-decoration: none;
    }

    .mobile-nav-item.active,
    .bottom a.active {
        color: var(--blue);
        background: var(--blue-light);
    }

    .mobile-nav-icon,
    .bottom a span {
        font-size: 18px;
        line-height: 1;
    }

    .zr-shell-footer {
        padding-bottom: 94px;
    }

    .zr-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
    }

    .zr-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .zr-footer-note {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .zr-topbar-inner .logo {
        font-size: 17px;
        gap: 8px;
    }

    .zr-topbar-inner .logo .mark {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .zr-mobile-menu nav,
    .zr-mobile-menu-actions,
    .zr-footer-grid {
        grid-template-columns: 1fr;
    }

    .zr-mobile-menu-actions .btn {
        min-height: 42px;
    }

    .zr-footer-grid {
        gap: 20px;
    }

    .zr-shell-footer {
        padding-top: 38px;
    }
}

@media (max-width: 360px) {
    .top {
        padding: 0 11px;
    }

    .zr-topbar-inner .logo span:last-child {
        display: none;
    }

    .zr-mobile-menu-toggle {
        padding: 0 9px;
    }

    .zr-theme-toggle {
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zr-public-content,
    .zr-app-content,
    .zr-mobile-menu {
        animation: none !important;
    }
}


/* ==========================================================================
   Homepage conversion redesign — v4 (Dynadot / Porkbun Clean Light Edition)
   Scoped to .zr-home-v4 so customer and admin surfaces remain unchanged.
   ========================================================================== */
.zr-home-v4 {
    --zr-v4-ink: var(--text);
    --zr-v4-muted: var(--muted);
    --zr-v4-line: var(--line);
    --zr-v4-blue: var(--primary);
    --zr-v4-blue-hover: var(--primary-hover);
    --zr-v4-bg: var(--bg);
    max-width: 1340px;
    margin: 0 auto;
    padding: 24px 28px 100px;
    color: var(--zr-v4-ink);
}

/* ==========================================================================
   Dynadot / Porkbun Clean Hero Section
   ========================================================================== */
.zr-home-hero-v4 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 64px) clamp(44px, 6vw, 64px);
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid var(--line);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    text-align: center;
}

[data-theme="dark"] .zr-home-hero-v4 {
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
    border-color: #1e293b;
}

.zr-hero-center-v4 {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zr-hero-badge-v4 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    font-weight: 750;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.zr-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.zr-badge-pill {
    background: var(--blue-light);
    color: var(--blue);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}

.zr-home-hero-v4 h1 {
    color: var(--text);
    font: 850 clamp(36px, 5.2vw, 64px)/1.08 var(--font-display);
    letter-spacing: -0.04em;
    margin: 0 0 18px 0;
}

.zr-hero-highlight {
    color: var(--blue);
}

.zr-hero-lead-v4 {
    max-width: 660px;
    margin: 0 auto 36px auto;
    color: var(--muted);
    font-size: clamp(15.5px, 1.25vw, 18px);
    line-height: 1.65;
}

/* Massive Dynadot / Porkbun Search Box */
.zr-hero-search-v4 {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 820px;
    padding: 8px 10px 8px 20px;
    border: 2px solid var(--blue);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 16px 40px rgba(227, 93, 48, 0.14);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.zr-hero-search-v4:focus-within {
    box-shadow: 0 20px 50px rgba(227, 93, 48, 0.22), 0 0 0 4px rgba(227, 93, 48, 0.16);
}

.zr-search-icon-wrap {
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zr-hero-search-v4 input {
    min-width: 0;
    flex: 1;
    height: 52px;
    padding: 0 8px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 17px;
    font-weight: 550;
    box-shadow: none !important;
}

.zr-hero-search-v4 input::placeholder {
    color: var(--muted);
}

.zr-hero-submit-btn {
    min-height: 52px;
    padding: 0 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(227, 93, 48, 0.35);
}

/* Value Proof Badges */
.zr-hero-proof-v4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
    margin-top: 28px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
}

.zr-hero-proof-v4 span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Colorful TLD Strip (Dynadot / Porkbun style) */
.zr-tld-strip-v4 {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
}

.zr-tld-card-v4 {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.zr-tld-card-v4:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.zr-tld-badge-v4 {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 850;
    color: var(--blue);
    background: var(--blue-light);
    padding: 4px 10px;
    border-radius: 8px;
}

.zr-tld-price-v4 strong {
    font-size: 16px;
    font-family: var(--font-mono);
    color: var(--text);
}

.zr-tld-price-v4 small {
    color: var(--muted);
    font-size: 12px;
}

.zr-tld-action-v4 {
    font-size: 12px;
    font-weight: 800;
    color: var(--blue);
}

/* Live Product Showcase Preview Window */
.zr-showcase-preview-v4 {
    margin-top: 48px;
    width: 100%;
    max-width: 860px;
    perspective: 1000px;
}

.zr-showcase-window {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zr-showcase-window:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.zr-showcase-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: var(--surface2);
    border-bottom: 1px solid var(--line);
    gap: 12px;
}

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

.zr-showcase-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.zr-showcase-dots i:nth-child(1) { background: #f87171; }
.zr-showcase-dots i:nth-child(2) { background: #fbbf24; }
.zr-showcase-dots i:nth-child(3) { background: #34d399; }

.zr-showcase-url {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--muted);
    background: var(--surface);
    padding: 3px 12px;
    border-radius: 6px;
    border: 1px solid var(--line);
}

.zr-showcase-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    color: #059669;
    letter-spacing: 0.04em;
}

.zr-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: zrPulseDot 2s infinite ease-in-out;
}

.zr-showcase-body {
    display: grid;
    grid-template-columns: 160px 1fr;
    min-height: 180px;
}

.zr-showcase-sidebar {
    background: var(--surface2);
    border-right: 1px solid var(--line);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zr-showcase-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 650;
    color: var(--text-secondary);
}

.zr-showcase-nav.active {
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 800;
}

.zr-showcase-main {
    padding: 20px 24px;
}

.zr-showcase-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
}

.zr-showcase-card-header small {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.zr-showcase-card-header strong {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text);
}

.zr-showcase-dns-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zr-showcase-row {
    display: grid;
    grid-template-columns: 70px 60px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 8px 12px;
    background: var(--surface2);
    border-radius: 8px;
    font-size: 12px;
}

.zr-row-header {
    background: transparent;
    font-size: 10px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.05em;
    padding: 0 12px;
}

/* ==========================================================================
   Trust Strip & Value Highlights
   ========================================================================== */
.zr-trust-strip-v4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin: 28px 0 0;
    padding: 20px 24px;
    border: 1px solid var(--zr-v4-line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.zr-trust-strip-v4 > div:not(.zr-trust-catalog-v4) {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.zr-trust-icon-v4 {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    font-weight: 800;
}

.zr-trust-blue { background: var(--blue-light); color: var(--primary); }
.zr-trust-purple { background: var(--purple-light); color: var(--purple); }
.zr-trust-green { background: var(--green-light); color: var(--emerald); }

.zr-trust-strip-v4 b,
.zr-trust-strip-v4 small {
    display: block;
}

.zr-trust-strip-v4 b {
    color: var(--text);
    font-size: 13px;
    font-weight: 750;
}

.zr-trust-strip-v4 small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11.5px;
}

.zr-trust-catalog-v4 {
    min-width: 100px;
    padding-left: 24px;
    border-left: 1px solid var(--zr-v4-line);
    text-align: right;
}

.zr-trust-catalog-v4 strong {
    display: block;
    margin-top: 2px;
    color: var(--blue);
    font: 800 20px var(--font-display);
}

/* ==========================================================================
   Section Headings & Bento Grid
   ========================================================================== */
.zr-platform-v4,
.zr-theme-v4,
.zr-pricing-v4 {
    padding-top: 96px;
}

.zr-section-heading-v4 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

.zr-section-heading-v4 h2,
.zr-pricing-copy-v4 h2,
.zr-final-cta-v4 h2 {
    margin: 8px 0 0;
    color: var(--text);
    font: 800 clamp(28px, 4.2vw, 48px)/1.1 var(--font-display);
    letter-spacing: -0.04em;
}

.zr-section-heading-v4 h2 em {
    color: var(--blue);
    font-style: normal;
}

.zr-section-heading-v4 > p {
    max-width: 380px;
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.zr-platform-grid-v4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.zr-platform-card-v4 {
    position: relative;
    min-height: 300px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zr-platform-card-v4:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.zr-platform-card-featured {
    border-color: rgba(227, 93, 48, 0.32);
    background: linear-gradient(180deg, var(--surface) 0%, rgba(227, 93, 48, 0.04) 100%);
}

.zr-cap-icon-v4 {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin: 24px 0 18px;
    border-radius: 14px;
    font-weight: 800;
}

.zr-cap-icon-blue-v4 { background: var(--blue-light); color: var(--primary); }
.zr-cap-icon-purple-v4 { background: var(--purple-light); color: var(--purple); }
.zr-cap-icon-green-v4 { background: var(--green-light); color: var(--emerald); }

.zr-platform-card-v4 h3 {
    margin: 0 0 10px;
    color: var(--text);
    font: 750 22px/1.2 var(--font-display);
    letter-spacing: -0.03em;
}

.zr-platform-card-v4 p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.zr-card-pills-v4,
.zr-card-tags-v4 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.zr-pill-item {
    font-size: 11px;
    font-weight: 800;
    background: var(--surface2);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 4px 10px;
    border-radius: 6px;
}

/* 3-Step Journey Workflow (SIMPLIFIED WORKFLOW) */
.zr-flow-v4 {
    display: grid;
    grid-template-columns: 1.3fr 1fr auto 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 32px;
    padding: 28px 32px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.zr-flow-intro-v4 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zr-flow-intro-v4 .zr-mono-label-v4 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--blue);
}

.zr-flow-intro-v4 strong {
    display: block;
    color: var(--text);
    font: 800 20px/1.2 var(--font-display);
    letter-spacing: -0.03em;
}

.zr-flow-step {
    display: flex;
    align-items: center;
    gap: 14px;
}

.zr-flow-step > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    font: 800 14px var(--font-mono);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.zr-flow-step > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.zr-flow-step b {
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 750;
}

.zr-flow-step small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.zr-flow-connector {
    width: 24px;
    height: 2px;
    background: var(--line);
    position: relative;
}

.zr-flow-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--muted);
}

/* Theme Previews */
.zr-theme-grid {
    gap: 20px;
}

.zr-theme-card-v4 {
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--zr-v4-line);
    background: var(--surface);
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zr-theme-card-v4:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.zr-theme-card-v4 .zr-theme-preview {
    height: 220px;
}

/* Transparent Pricing Section */
.zr-pricing-v4 {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: clamp(40px, 7vw, 84px);
    align-items: center;
    padding-bottom: 100px;
}

.zr-pricing-copy-v4 p {
    max-width: 440px;
    margin: 20px 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.zr-pricing-badges-v4 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.zr-pricing-badges-v4 span {
    font-size: 12px;
    font-weight: 750;
    color: var(--blue);
    background: var(--blue-light);
    padding: 6px 12px;
    border-radius: var(--r-full);
}

.zr-price-list-v4 {
    overflow: hidden;
    border: 1px solid var(--zr-v4-line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.zr-price-list-v4 .zr-price-row {
    min-height: 76px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 24px 1fr auto auto;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    transition: background 0.15s ease;
}

.zr-price-list-v4 .zr-price-row:hover {
    background: var(--surface2);
}

.zr-price-list-v4 .zr-price-row:last-child {
    border-bottom: 0;
}

.zr-price-dot-v4 {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.zr-price-domain-v4 strong {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text);
}

.zr-price-domain-v4 small {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
}

.zr-price-value-v4 strong {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--text);
}

.zr-price-value-v4 small {
    color: var(--muted);
    font-size: 12px;
}

.zr-catalog-empty-v4 {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 30px 24px;
    color: var(--muted);
    line-height: 1.5;
    text-align: center;
}

.zr-catalog-empty-v4 strong {
    color: var(--text);
    font-size: 15px;
}

/* High-Impact Final CTA Banner */
.zr-final-cta-v4 {
    position: relative;
    overflow: hidden;
    padding: 56px 60px;
    border-radius: 28px;
    background: radial-gradient(130% 150% at 12% 0%, #24160f 0%, #141416 55%, #0d0d0f 100%);
    box-shadow: 0 25px 60px -18px rgba(15, 17, 21, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.zr-final-cta-v4 .zr-kicker {
    color: #f2b7a3;
}

.zr-final-cta-v4 h2 {
    position: relative;
    z-index: 1;
    color: #ffffff;
    margin: 8px 0 0;
}

.zr-final-cta-v4 p {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14.5px;
    line-height: 1.6;
}

.zr-final-cta-v4 .btn.primary {
    background: #ffffff;
    color: var(--primary);
    font-size: 15px;
    padding: 14px 28px;
}

.zr-final-cta-v4 .btn.primary:hover {
    background: #f8fafc;
}

.zr-cta-orbit-v4 {
    position: absolute;
    right: 80px;
    bottom: -160px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
    .zr-trust-strip-v4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .zr-trust-catalog-v4 {
        padding-left: 0;
        border-left: 0;
        text-align: left;
    }

    .zr-platform-grid-v4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .zr-platform-card-featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .zr-home-v4 {
        padding: 12px 16px 72px;
    }

    .zr-home-hero-v4 {
        min-height: 0;
        padding: 36px 18px 32px;
        border-radius: 24px;
    }

    .zr-hero-badge-v4 {
        font-size: 10px;
        padding: 4px 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .zr-home-hero-v4 h1 {
        font-size: clamp(32px, 9vw, 46px);
    }

    .zr-hero-br {
        display: none;
    }

    .zr-hero-lead-v4 {
        font-size: 14.5px;
        margin-bottom: 24px;
    }

    .zr-hero-search-v4 {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
        border-radius: 16px;
    }

    .zr-search-icon-wrap {
        display: none;
    }

    .zr-hero-search-v4 input {
        width: 100%;
        height: 46px;
        padding: 0 12px;
        font-size: 15px;
    }

    .zr-hero-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .zr-hero-proof-v4 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
        margin-top: 20px;
        font-size: 11px;
    }

    .zr-tld-strip-v4 {
        gap: 8px;
        margin-top: 24px;
    }

    .zr-tld-card-v4 {
        padding: 10px 14px;
        gap: 10px;
    }

    .zr-trust-strip-v4 {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px;
    }

    .zr-trust-catalog-v4 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 14px;
        border-top: 1px solid var(--zr-v4-line);
    }

    .zr-section-heading-v4 {
        display: block;
        margin-bottom: 24px;
    }

    .zr-section-heading-v4 > p {
        margin-top: 12px;
    }

    .zr-section-heading-v4 h2,
    .zr-pricing-copy-v4 h2,
    .zr-final-cta-v4 h2 {
        font-size: 32px;
    }

    .zr-platform-v4,
    .zr-theme-v4,
    .zr-pricing-v4 {
        padding-top: 64px;
    }

    .zr-platform-grid-v4 {
        grid-template-columns: 1fr;
    }

    .zr-platform-card-featured {
        grid-column: auto;
    }

    .zr-flow-v4 {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .zr-pricing-v4 {
        display: block;
        padding-bottom: 64px;
    }

    .zr-price-list-v4 .zr-price-row {
        grid-template-columns: 24px 1fr auto;
        padding: 0 16px;
    }

    .zr-price-list-v4 .zr-price-row > a {
        display: none;
    }

    .zr-final-cta-v4 {
        display: block;
        padding: 32px 24px;
        border-radius: 20px;
    }

    .zr-final-cta-v4 .btn {
        width: 100%;
        margin-top: 24px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .zr-platform-card-v4,
    .zr-theme-card-v4 {
        transition: none;
        transform: none;
    }
}

/* ==========================================================================
   Dynadot-Inspired Domain Booking & UI Enhancements
   ========================================================================== */

.zr-search-shortcuts-v4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.zr-shortcuts-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.zr-shortcut-chip {
    background: var(--surface2);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 4px 10px;
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: all 0.15s ease;
}

.zr-shortcut-chip:hover {
    background: var(--blue-light);
    color: var(--blue);
    border-color: var(--blue);
    transform: translateY(-1px);
}

.zr-search-btn-arrow {
    display: inline-block;
    transition: transform 0.15s ease;
}

.zr-hero-search-v4 .btn:hover .zr-search-btn-arrow {
    transform: translateX(3px);
}

/* Dynadot-Style Availability Matrix Cards */
.zr-result-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.zr-result-card.is-available {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(180deg, var(--surface) 0%, rgba(16, 185, 129, 0.03) 100%);
}

.zr-result-card.is-available:hover {
    border-color: var(--green);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
    transform: translateY(-2px);
}

.zr-result-card.is-taken {
    opacity: 0.75;
    background: var(--surface2);
}

.zr-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zr-result-state.state-available {
    background: var(--green-light);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.zr-result-state.state-taken {
    background: var(--surface3);
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.zr-result-badge-inclusion {
    font-size: 10.5px;
    color: var(--blue);
    background: var(--blue-light);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 750;
}

.zr-result-domain-title {
    font-family: var(--font-mono);
    font-size: 17px;
    color: var(--text);
    margin: 8px 0 4px;
    word-break: break-all;
}

.zr-result-desc {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.4;
    margin: 0;
}

.zr-result-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.zr-result-price-wrap strong {
    font-size: 20px;
    font-family: var(--font-mono);
    color: var(--text);
}

.zr-result-price-wrap small {
    color: var(--muted);
    font-size: 12px;
}

.zr-reserve-btn {
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 800;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(227, 93, 48, 0.28);
}

/* App-Like Mobile Experience */
@media (max-width: 768px) {
    .zr-checkout-grid {
        grid-template-columns: 1fr !important;
    }
    
    .builder-grid {
        grid-template-columns: 1fr !important;
    }

    .dns-form-grid {
        grid-template-columns: 1fr !important;
    }

    .zr-search-shortcuts-v4 {
        justify-content: center;
    }

    body.zr-public-shell,
    body.zr-workspace-shell {
        padding-bottom: 76px !important;
    }

    .zr-shell-footer {
        padding-bottom: 96px !important;
    }
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav,
nav.bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--surface-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    z-index: 60;
    align-items: center;
    justify-content: space-around;
    padding: 0 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .mobile-bottom-nav,
    nav.bottom {
        display: flex;
    }
}

.mobile-nav-item,
nav.bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 10px;
    transition: all 0.15s ease;
    flex: 1;
    max-width: 80px;
}

.mobile-nav-item svg,
nav.bottom a svg {
    stroke: var(--muted);
    transition: stroke 0.15s ease, transform 0.15s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active,
nav.bottom a.active {
    color: var(--blue);
}

.mobile-nav-item.active svg,
nav.bottom a.active svg {
    stroke: var(--blue);
    transform: translateY(-1px);
}




/* ========================================================================== 
   ZeroRegistrar UI/UX Master Prompt — Shared Product Layer
   ========================================================================== */
:root {
    --zr-space-1: 4px;
    --zr-space-2: 8px;
    --zr-space-3: 12px;
    --zr-space-4: 16px;
    --zr-space-5: 20px;
    --zr-space-6: 24px;
    --zr-space-8: 32px;
    --zr-space-10: 40px;
    --zr-space-12: 48px;
    --zr-control-height: 44px;
    --zr-focus-ring: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent);
}

body {
    min-width: 320px;
    text-rendering: optimizeLegibility;
}

button, a, input, select, textarea { min-height: 44px; }
button.icon, .icon { min-height: 40px; }

.btn:focus-visible, .slink:focus-visible, .nav a:focus-visible,
.mobile-nav-item:focus-visible, .bottom a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    box-shadow: none;
}

.btn { border: 1px solid transparent; }
.btn.primary { background: var(--blue); }
.btn.primary:hover { background: var(--blue-hover); }

.zr-appbar-context { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.zr-appbar-context strong { font-size: 14px; white-space: nowrap; }
.zr-appbar-kicker { color: var(--muted); font: 800 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.zr-appbar-context .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zr-command-trigger { display: inline-flex !important; align-items: center !important; gap: 8px !important; width: auto !important; height: 38px !important; padding: 0 12px !important; border-radius: 9px !important; border: 1px solid var(--line) !important; background: var(--surface) !important; color: var(--muted) !important; font-size: 12.5px !important; justify-content: space-between !important; cursor: pointer !important; transition: all 0.15s ease !important; }
.zr-command-trigger:hover { background: var(--surface2) !important; border-color: var(--border-hover) !important; color: var(--text) !important; }
.zr-command-trigger kbd { display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 2px 6px !important; border: 1px solid var(--line) !important; border-bottom-width: 2px !important; border-radius: 6px !important; background: var(--surface2) !important; color: var(--muted) !important; font: 700 10px var(--font-mono) !important; line-height: 1 !important; margin-left: 4px !important; }
.zr-theme-toggle { width: 38px !important; height: 38px !important; border-radius: 9px !important; border: 1px solid var(--line) !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: var(--surface) !important; color: var(--text) !important; font-size: 15px !important; cursor: pointer !important; transition: all 0.15s ease !important; }
.zr-theme-toggle:hover { background: var(--surface2) !important; border-color: var(--border-hover) !important; }

.zr-modal-open { overflow: hidden; }
.zr-command-palette[hidden] { display: none; }
.zr-command-palette { position: fixed; inset: 0; z-index: 300; display: grid; place-items: start center; padding: 12vh 16px 24px; background: rgba(15, 23, 42, .52); backdrop-filter: blur(5px); }
.zr-command-dialog { width: min(620px, 100%); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); }
.zr-command-search { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.zr-command-search span { color: var(--blue); font-size: 18px; }
.zr-command-search input { min-height: 44px; padding: 0; border: 0; background: transparent; box-shadow: none !important; font-size: 16px; }
.zr-command-results { max-height: min(54vh, 460px); overflow-y: auto; padding: 8px; }
.zr-command-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-align: left; }
.zr-command-item:hover, .zr-command-item:focus-visible { background: var(--surface2); color: var(--blue); }
.zr-command-item small { margin-left: auto; color: var(--muted); font: 700 10px var(--font-mono); }
.zr-command-empty { padding: 28px 16px; color: var(--muted); text-align: center; }

.zr-toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 400; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); }
.zr-toast { transform: translateY(8px); opacity: 0; padding: 13px 15px; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-md); color: var(--text); font-size: 13px; transition: opacity .18s ease, transform .18s ease; }
.zr-toast.is-visible { transform: translateY(0); opacity: 1; }
.zr-toast-success { border-left-color: var(--green); }
.zr-toast-warning { border-left-color: var(--amber); }
.zr-toast-error { border-left-color: var(--red); }

.zr-public-topbar, .zr-appbar { box-shadow: 0 1px 0 rgba(15, 23, 42, .02); }
.zr-public-content { padding-top: 8px; }
.zr-home-shell, .content { isolation: isolate; }
.tablewrap { scrollbar-color: var(--line) transparent; }
.table th { position: sticky; top: 0; z-index: 1; }

@media (max-width: 1080px) {
    .zr-command-trigger { min-width: 44px; width: 44px; padding: 0; justify-content: center; }
    .zr-command-trigger span:not(.zr-search-glyph), .zr-command-trigger kbd { display: none; }
    .zr-appbar-context .muted { display: none; }
}

@media (max-width: 768px) {
    button, a, input, select, textarea { min-height: 44px; }
    .zr-appbar-context { gap: 6px; }
    .zr-appbar-context strong { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; }
    .zr-appbar-kicker { display: none; }
    .zr-toast-region { right: 16px; bottom: 76px; }
    .zr-command-palette { padding-top: 7vh; }
    .zr-command-item { min-height: 56px; }
}

@media (max-width: 480px) {
    .container, .container-wide { padding-left: 16px; padding-right: 16px; }
    .footergrid { grid-template-columns: 1fr; }
    .zr-hero-actions .btn { width: 100%; }
    .zr-search-bar { flex-wrap: wrap; }
    .zr-search-bar .btn { width: 100%; }
}

/* ==========================================================================
   ZeroRegistrar — Extended Component Suites & Specialized Pages
   ========================================================================== */

/* Tabs Navigation Component */
.zr-tab-container { width: 100%; }
.zr-tabs-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    padding: 0 4px;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}
.zr-tabs-nav::-webkit-scrollbar { display: none; }
.zr-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--muted);
    font-weight: 700;
    font-size: 13.5px;
    border-bottom: 2px solid transparent;
    transition: all 0.15s ease;
    white-space: nowrap;
    background: transparent;
    cursor: pointer;
}
.zr-tab-btn:hover { color: var(--text); }
.zr-tab-btn.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}
.zr-tab-panel[hidden] { display: none !important; }

/* Pricing Page Architecture */
.zr-pricing-hero {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}
.zr-pricing-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.zr-category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.zr-category-pill {
    padding: 6px 14px;
    border-radius: var(--r-full);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.zr-category-pill:hover,
.zr-category-pill.active {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
}
.zr-pricing-table-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Hosting Product Cards & Matrix */
.zr-hosting-hero {
    text-align: center;
    padding: 60px 20px 30px;
    max-width: 860px;
    margin: 0 auto;
}
.zr-billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    background: var(--surface2);
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    margin: 20px auto 40px;
    font-weight: 700;
    font-size: 13px;
}
.zr-hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}
.zr-hosting-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.zr-hosting-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-focus);
}
.zr-hosting-card.popular {
    border: 2px solid var(--blue);
    box-shadow: var(--shadow-glow);
}
.zr-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #ffffff;
    padding: 3px 12px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.zr-feature-checklist {
    list-style: none;
    margin: 24px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.zr-feature-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* Reseller Program & Profit Calculator */
.zr-reseller-hero {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}
.zr-calculator-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-md);
    margin: 40px auto 60px;
    max-width: 960px;
}
.zr-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
@media (max-width: 768px) {
    .zr-calc-grid { grid-template-columns: 1fr; }
}
.zr-calc-result-box {
    background: var(--surface2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

/* Code Snippet & Copy Block */
.zr-code-box {
    background: #090d16;
    border: 1px solid #1e293b;
    border-radius: 12px;
    overflow: hidden;
    margin: 16px 0;
}
.zr-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #0e1424;
    border-bottom: 1px solid #1e293b;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #94a3b8;
}
.zr-code-body {
    padding: 16px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: #f8fafc;
}
.zr-copy-btn {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.15s ease;
}
.zr-copy-btn:hover { background: rgba(255, 255, 255, 0.2); }
.zr-copy-btn.btn-copied { background: var(--green); color: #ffffff; border-color: var(--green); }

/* Monospace Badges & DNS Styling */
.zr-dns-tag {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}
.zr-mono-val {
    font-family: var(--font-mono);
    font-size: 12.5px;
    background: var(--surface2);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--line);
    word-break: break-all;
}

/* Auth Split Layout */
.zr-auth-split-shell {
    min-height: calc(100vh - var(--top-height));
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: var(--bg);
}
@media (max-width: 960px) {
    .zr-auth-split-shell { grid-template-columns: 1fr; }
    .zr-auth-split-hero { display: none !important; }
}
.zr-auth-split-hero {
    background: linear-gradient(150deg, #0a0a0b 0%, #141416 55%, #2a1710 100%);
    color: #ffffff;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #1e293b;
    position: relative;
    overflow: hidden;
}
.zr-auth-form-side {
    display: grid;
    place-items: center;
    padding: 40px 24px;
}
.zr-auth-card-inner {
    width: min(440px, 100%);
}



/* ==========================================================================
   Signal — premium polish layer (appended overrides win the cascade)
   ========================================================================== */
::selection { background: rgba(227, 93, 48, 0.22); color: inherit; }
[data-theme="dark"] ::selection { background: rgba(249, 115, 22, 0.30); }

html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--surface3); border: 3px solid var(--bg); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }
::-webkit-scrollbar-track { background: transparent; }

/* Headings + display feel */
h1, h2, h3 { letter-spacing: -0.028em; }

/* Buttons: solid signal with crisp depth */
.btn { border: 1px solid transparent; border-radius: var(--r-sm); font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em; transition: background-color .16s var(--ease-out), color .16s var(--ease-out), border-color .16s var(--ease-out), box-shadow .16s var(--ease-out), transform .16s var(--ease-out); }
.btn.primary { background: var(--primary); color: var(--primary-fg); box-shadow: 0 1px 2px rgba(15,17,21,0.12), inset 0 1px 0 rgba(255,255,255,0.16); }
.btn.primary:hover { background: var(--primary-hover); box-shadow: 0 8px 20px rgba(227,93,48,0.30); transform: translateY(-1px); }
[data-theme="dark"] .btn.primary:hover { box-shadow: 0 8px 20px rgba(249,115,22,0.34); }
.btn.large { border-radius: var(--r); }
.btn:active { transform: translateY(0) scale(0.985); }

/* Logo mark → signal */
.mark { background: linear-gradient(135deg, #f2723f 0%, #e35d30 52%, #c8461d 100%); box-shadow: 0 4px 14px rgba(227,93,48,0.35); }

/* Category / functional tags */
.tag.blue { background: var(--blue-light); color: var(--primary); }
.tag.purple { background: var(--purple-light); color: var(--purple); }
.tag.green { background: var(--green-light); color: var(--emerald); }
.tag.com { background: var(--surface3); color: var(--text-secondary); }

/* Inputs: refined focus ring */
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--blue-glow); }

/* Cards */
.card { border-radius: var(--r); transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .18s var(--ease-out); }

/* Sidebar active: left signal bar */
.slink { position: relative; }
.slink.active { background: var(--blue-light); color: var(--primary); }
.slink.active::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary); }

/* KPI hover accent */
.kpi { position: relative; overflow: hidden; }
.kpi::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--primary), transparent 70%); opacity: 0; transition: opacity .2s var(--ease-out); }
.kpi:hover::after { opacity: 1; }
.metric { font-family: var(--font-display); }

/* Legacy (non-v4) dark CTA stays dark in both themes */
.zr-final-cta { background: #141416; color: #fff; }
.zr-final-cta h2 { color: #fff; }

/* Public nav underline uses signal */
.nav a:hover { color: var(--primary); }

/* Staggered entrance for grids and rows */
@keyframes zrRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.kpis > .kpi,
.zr-results-grid > *,
.zr-platform-grid-v4 > *,
.zr-hosting-grid > *,
.g3 > *, .g4 > * { animation: zrRise .42s var(--ease) both; }
.kpis > .kpi:nth-child(2), .zr-results-grid > :nth-child(2), .zr-platform-grid-v4 > :nth-child(2), .zr-hosting-grid > :nth-child(2), .g3 > :nth-child(2), .g4 > :nth-child(2) { animation-delay: .05s; }
.kpis > .kpi:nth-child(3), .zr-results-grid > :nth-child(3), .zr-platform-grid-v4 > :nth-child(3), .zr-hosting-grid > :nth-child(3), .g3 > :nth-child(3), .g4 > :nth-child(3) { animation-delay: .10s; }
.kpis > .kpi:nth-child(4), .zr-results-grid > :nth-child(4), .zr-hosting-grid > :nth-child(4), .g4 > :nth-child(4) { animation-delay: .15s; }
.kpis > .kpi:nth-child(n+5), .zr-results-grid > :nth-child(n+5) { animation-delay: .20s; }

/* Skeleton loading utility */
.zr-skeleton { background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%); background-size: 200% 100%; animation: zrShimmer 1.4s infinite linear; border-radius: var(--r-sm); }
@keyframes zrShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .kpis > .kpi, .zr-results-grid > *, .zr-platform-grid-v4 > *, .zr-hosting-grid > *, .g3 > *, .g4 > * { animation: none !important; }
}


/* --------------------------------------------------------------------------
   Signal — QA refinement pass (sidebar labels, mobile menu, portal tables)
   -------------------------------------------------------------------------- */
.slink { gap: 10px; }
.slink svg { flex: 0 0 18px; width: 18px; height: 18px; }
.slink svg + span { width: auto; flex: 1 1 auto; min-width: 0; text-align: left; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Opaque mobile menu so page content never bleeds through */
.zr-mobile-menu { background: var(--surface); z-index: 200; }

/* Checkboxes / radios must not inherit the 44px min tap-height */
input[type="checkbox"], input[type="radio"] { min-height: 0; width: auto; }

/* Bare (non-.table) tables inside the portal/admin content get sane styling */
.zr-app-content table:not(.table) { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.zr-app-content table:not(.table) th,
.zr-app-content table:not(.table) td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; color: var(--text); }
.zr-app-content table:not(.table) th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800; }
.zr-app-content table:not(.table) tr:last-child td { border-bottom: 0; }


/* --------------------------------------------------------------------------
   Signal — mobile nav QA (bottom-nav labels + admin search overflow)
   -------------------------------------------------------------------------- */
nav.bottom a span, .bottom a span { font-size: 10px; line-height: 1.15; white-space: nowrap; font-weight: 800; }
nav.bottom a svg, .bottom a svg { width: 20px; height: 20px; flex: 0 0 auto; }
@media (max-width: 768px) {
    .zr-appbar form[action="/admin/search"] { display: none; }
}
