:root {
    --bg-0: #03060d;
    --bg-1: #060b18;
    --bg-2: #0a1326;
    --bg-3: #0e1b36;
    --line: rgba(120, 180, 255, 0.10);
    --line-strong: rgba(120, 180, 255, 0.22);
    --blue: #2f9bff;
    --blue-bright: #5cb6ff;
    --blue-deep: #0057d4;
    --cyan: #46e0ff;
    --text: #e9f1ff;
    --text-dim: #8ea4c4;
    --text-mute: #5a6f8e;
    --white: #ffffff;
    --black: #000000;
    --glow: 0 0 40px rgba(47, 155, 255, 0.35);
    --glow-soft: 0 0 24px rgba(47, 155, 255, 0.18);
    --font-display: 'Chakra Petch', sans-serif;
    --font-body: 'Sora', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
  }

  /* Animated grid background */
  .grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(47, 155, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(47, 155, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    animation: gridShift 20s linear infinite;
  }
  @keyframes gridShift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px; }
  }

  .glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
  }
  .glow-orb.one {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
    top: -200px; left: -200px;
    animation: float1 18s ease-in-out infinite;
  }
  .glow-orb.two {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--blue-deep) 0%, transparent 70%);
    bottom: -150px; right: -150px;
    animation: float2 22s ease-in-out infinite;
  }
  @keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(80px, 60px); }
  }
  @keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-60px, -40px); }
  }

  /* Navigation */
  nav.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 14px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(3, 6, 13, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    /* Only transition the properties that actually change on .scrolled, NOT
       `all` (which forces re-layout/paint of every property each frame). */
    transition: padding 0.25s ease, background-color 0.25s ease;
    /* Promote to its own GPU layer so backdrop-filter doesn't repaint the
       whole page on scroll. `will-change` is a strong hint to compositors. */
    will-change: transform;
    contain: layout style;
  }
  nav.topbar.scrolled {
    padding: 10px 36px;
    background: rgba(3, 6, 13, 0.94);
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.02em;
    color: var(--white);
    text-decoration: none;
    flex-shrink: 0;
  }
  .logo-mark {
    width: 32px; height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(47, 155, 255, 0.4));
    flex-shrink: 0;
  }
  .logo span.tld { color: var(--blue-bright); }

  .nav-tabs {
    display: flex;
    gap: 2px;
    list-style: none;
    background: rgba(10, 19, 38, 0.5);
    padding: 5px;
    border-radius: 100px;
    border: 1px solid var(--line);
    margin: 0;
  }
  .nav-tabs button {
    padding: 8px 18px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
  }
  .nav-tabs button:hover { color: var(--white); }
  .nav-tabs button.active {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(47, 155, 255, 0.4);
  }

  .nav-cta {
    display: flex; gap: 10px; align-items: center;
    flex-shrink: 0;
  }
  .nav-cart-btn {
    position: relative;
    background: rgba(10, 19, 38, 0.5);
    border: 1px solid var(--line);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--text-dim);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
  }
  .nav-cart-btn:hover {
    color: var(--white);
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.08);
  }
  .nav-cart-count {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 100px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border: 2px solid #03060d;
    transition: transform 0.2s ease;
  }
  .nav-cart-count.empty { display: none; }
  .nav-cart-count.bump { animation: cartBump 0.4s ease; }
  @keyframes cartBump {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
  }

  /* Account pill in nav */
  .nav-account { position: relative; }
  .nav-account-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 4px 4px;
    background: rgba(10, 19, 38, 0.6);
    border: 1px solid var(--line);
    border-radius: 100px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
  }
  .nav-account-pill:hover {
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.08);
  }
  .nav-account-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .nav-account-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .nav-account-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-account-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: rgba(10, 19, 38, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    z-index: 110;
  }
  .nav-account-menu.open { display: flex; }
  .nav-account-menu button {
    background: transparent;
    border: none;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: background 0.15s ease;
  }
  .nav-account-menu button:hover { background: rgba(47, 155, 255, 0.1); color: var(--white); }
  @media (max-width: 700px) {
    .nav-account-name { display: none; }
  }
  .btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(47, 155, 255, 0.3);
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(47, 155, 255, 0.5);
  }
  .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line-strong);
  }
  .btn-ghost:hover {
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.08);
  }

  /* (Status pill - removed from nav, kept for any internal use) */
  .status-pill {
    display: none;
  }
  .status-dot {
    width: 8px; height: 8px;
    background: #43d97a;
    border-radius: 50%;
    box-shadow: 0 0 10px #43d97a;
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }

  /* Main content area */
  main {
    position: relative;
    z-index: 1;
    padding-top: 90px;
  }
  .page {
    display: none;
    animation: fadeInPage 0.5s ease forwards;
    /* Skip rendering pages that aren't the active tab. content-visibility:
       auto lets the browser skip layout/paint of subtrees that aren't near
       the viewport. Combined with display:none this is essentially free. */
    contain: layout style paint;
  }
  .page.active { display: block; }
  @keyframes fadeInPage {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Large content sections become content-visibility candidates - the browser
     skips full layout for any of them that's currently offscreen. Each gets
     a `contain-intrinsic-size` hint so we don't get scroll jumps when they
     paint in. */
  section, .container > .reveal {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
  }

  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
  }

  /* HERO */
  .hero {
    padding: 80px 0 120px;
    position: relative;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(47, 155, 255, 0.08);
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--blue-bright);
    letter-spacing: 0.05em;
    margin-bottom: 32px;
  }
  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
  }
  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    color: var(--white);
  }
  .hero h1 .gradient {
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan) 50%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
  }
  .hero h1 .slash {
    color: var(--blue);
    display: inline-block;
    transform: skewX(-15deg);
  }
  .hero p.lead {
    font-size: 19px;
    color: var(--text-dim);
    max-width: 620px;
    margin-bottom: 40px;
    line-height: 1.65;
  }
  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
  }
  .btn-large {
    padding: 16px 32px;
    font-size: 15px;
  }

  /* Live stats strip */
  .live-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(6, 11, 24, 0.6);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
  }
  .stat {
    padding: 28px 32px;
    border-right: 1px solid var(--line);
    position: relative;
  }
  .stat:last-child { border-right: none; }
  .stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
  }
  .stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
  }
  .stat-value .unit {
    font-size: 18px;
    color: var(--blue-bright);
    margin-left: 4px;
  }

  /* Section heading */
  .section {
    padding: 100px 0;
    position: relative;
  }
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 60px;
    gap: 40px;
    flex-wrap: wrap;
  }
  .section-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--blue-bright);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-tag::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--blue);
  }
  .section h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--white);
    max-width: 700px;
  }
  .section-head p {
    max-width: 380px;
    color: var(--text-dim);
    font-size: 15px;
  }

  /* Feature grid */
  .features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .feature-card {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .feature-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
    box-shadow: var(--glow-soft);
  }
  .feature-card:hover::before { opacity: 1; }
  .feature-icon {
    width: 48px; height: 48px;
    background: rgba(47, 155, 255, 0.1);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: var(--blue-bright);
  }
  .feature-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
  }
  .feature-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
  }
  .feature-num {
    position: absolute;
    top: 24px; right: 28px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.1em;
  }

  /* Featured bots */
  .bots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .bot-card {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
  }
  .bot-card:hover {
    border-color: var(--blue);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px -20px rgba(47, 155, 255, 0.4);
  }
  .bot-preview {
    height: 160px;
    background:
      linear-gradient(135deg, rgba(47, 155, 255, 0.15) 0%, rgba(0, 87, 212, 0.05) 100%),
      repeating-linear-gradient(45deg, transparent 0, transparent 10px, rgba(47, 155, 255, 0.04) 10px, rgba(47, 155, 255, 0.04) 11px);
    border-bottom: 1px solid var(--line);
    position: relative;
    display: grid; place-items: center;
    overflow: hidden;
  }
  .bot-avatar {
    width: 72px; height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    color: var(--white);
    box-shadow: 0 8px 32px rgba(47, 155, 255, 0.5);
    position: relative;
    z-index: 2;
  }
  .bot-avatar::after {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    background: #43d97a;
    border: 3px solid var(--bg-1);
    border-radius: 50%;
    bottom: -2px; right: -2px;
    box-shadow: 0 0 12px #43d97a;
  }
  .bot-body { padding: 22px 24px 24px; }
  .bot-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
  }
  .bot-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
  }
  .bot-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue-bright);
    background: rgba(47, 155, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .bot-desc {
    font-size: 13.5px;
    color: var(--text-dim);
    margin-bottom: 18px;
    line-height: 1.55;
  }
  .bot-meta {
    display: flex;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
  }
  .bot-meta strong { color: var(--text); font-weight: 500; }

  /* Green trial badge - shown on every bot card */
  .bot-trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(67, 217, 122, 0.1);
    border: 1px solid rgba(67, 217, 122, 0.3);
    color: #43d97a;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 5px 10px 5px 9px;
    border-radius: 100px;
    margin-top: 16px;
    align-self: flex-start;
    width: fit-content;
  }
  .bot-trial-badge svg { color: #43d97a; }
  .bot-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .bot-price .price {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
  }
  .bot-price .price .per {
    font-size: 12px;
    color: var(--text-mute);
    font-family: var(--font-mono);
    font-weight: 400;
    margin-left: 2px;
  }
  .btn-rent {
    padding: 9px 18px;
    background: rgba(47, 155, 255, 0.1);
    color: var(--blue-bright);
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .btn-rent:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
  }

  /* Process / How it works */
  .process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
  }
  .process::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), var(--blue), var(--line-strong));
    z-index: 0;
  }
  .step {
    position: relative;
    z-index: 1;
    text-align: center;
  }
  .step-num {
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    background: var(--bg-1);
    border: 1px solid var(--blue);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--blue-bright);
    box-shadow: var(--glow-soft);
    position: relative;
  }
  .step-num::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue) 0%, transparent 100%);
    z-index: -1;
    opacity: 0.3;
    filter: blur(4px);
  }
  .step h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
  }
  .step p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
  }

  /* Compact bot row (billing subscription list) */
  .bot-cell-mini {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
  }
  .bot-cell-mini .dash-bot-avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  /* How-it-works cards (rent page) */
  .hiw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .hiw-card {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px 22px;
  }
  .hiw-card .hiw-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--blue-bright);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
  }
  .hiw-card h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .hiw-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.55;
    margin: 0;
  }
  @media (max-width: 960px) {
    .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .hiw-grid { grid-template-columns: 1fr; }
  }

  /* CART PAGE */
  .cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    padding-bottom: 80px;
  }
  .cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .cart-item-card {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 22px;
    transition: border-color 0.2s ease;
  }
  .cart-item-card:hover { border-color: rgba(120, 180, 255, 0.25); }
  .cart-item-top {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 16px;
    align-items: center;
  }
  .cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .seat-control { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .seat-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-mute); letter-spacing: 0.12em; font-weight: 600; }
  .seat-stepper { display: inline-flex; align-items: center; background: rgba(120, 180, 255, 0.08); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
  .seat-btn { background: transparent; border: none; color: var(--white); width: 32px; height: 32px; cursor: pointer; font-size: 18px; font-weight: 600; transition: background 0.15s ease; }
  .seat-btn:hover:not(:disabled) { background: rgba(47, 155, 255, 0.18); }
  .seat-btn:disabled { color: var(--text-mute); cursor: not-allowed; }
  .seat-count { min-width: 32px; text-align: center; font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--white); padding: 0 4px; }
  .seat-note { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.04em; }
  .cart-item-price-block { text-align: right; flex-shrink: 0; }
  .cart-item-price-big { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--white); line-height: 1; }
  .cart-item-price-per { font-family: var(--font-mono); font-size: 10px; color: var(--text-mute); letter-spacing: 0.12em; margin-top: 4px; }

  /* Duration picker */
  .duration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
  .duration-opt { background: rgba(10, 19, 38, 0.5); border: 1px solid var(--line); border-radius: 10px; padding: 12px 8px; cursor: pointer; transition: all 0.2s ease; text-align: center; color: var(--text); }
  .duration-opt:hover { border-color: rgba(120, 180, 255, 0.3); }
  .duration-opt.active { border-color: var(--blue); background: rgba(47, 155, 255, 0.12); box-shadow: 0 0 0 1px var(--blue) inset; }
  .dur-label { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--white); }
  .dur-save { font-family: var(--font-mono); font-size: 10px; color: var(--green); letter-spacing: 0.1em; margin-top: 4px; font-weight: 600; }
  .dur-save-empty { color: transparent; }
  @media (max-width: 480px) {
    .cart-item-top { grid-template-columns: 48px 1fr auto; }
    .cart-item-controls { flex-direction: column; align-items: stretch; }
    .seat-control { justify-content: space-between; }
    .cart-item-price-block { text-align: left; }
    .duration-grid { grid-template-columns: 1fr; }
  }
  .cart-item {
    display: grid;
    grid-template-columns: 72px 1fr auto auto;
    gap: 18px;
    padding: 22px 26px;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .cart-item:last-child { border-bottom: none; }
  .cart-item-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.2) 0%, rgba(0, 87, 212, 0.1) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--blue-bright);
    font-size: 28px;
  }
  .cart-item-logo img { width: 100%; height: 100%; object-fit: cover; }
  .cart-item-info .cart-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
  }
  .cart-item-info .cart-cat {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--blue-bright);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .cart-item-info .cart-trial {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: #43d97a;
    letter-spacing: 0.1em;
  }
  .cart-item-price {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-align: right;
    white-space: nowrap;
  }
  .cart-item-price .cart-per {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    font-weight: 400;
    display: block;
    margin-top: 1px;
  }
  .cart-remove {
    background: rgba(255, 90, 90, 0.08);
    border: 1px solid rgba(255, 90, 90, 0.25);
    color: #ff5a5a;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
  }
  .cart-remove:hover {
    background: rgba(255, 90, 90, 0.18);
    border-color: rgba(255, 90, 90, 0.5);
  }
  .cart-empty {
    text-align: center;
    padding: 80px 30px;
  }
  .cart-empty-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    background: rgba(47, 155, 255, 0.08);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--blue-bright);
  }
  .cart-empty h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
  }
  .cart-empty p {
    color: var(--text-dim);
    margin-bottom: 24px;
  }
  .cart-summary {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.7) 0%, rgba(6, 11, 24, 0.7) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 28px;
    position: sticky;
    top: 90px;
    align-self: flex-start;
  }
  .cart-summary h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
  }
  .cart-summary-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 13.5px;
    color: var(--text-dim);
  }
  .cart-summary-line.total {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
  }
  .cart-trial-callout {
    background: rgba(67, 217, 122, 0.06);
    border: 1px solid rgba(67, 217, 122, 0.25);
    border-radius: 10px;
    padding: 14px;
    margin: 18px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .cart-trial-callout svg { color: #43d97a; flex-shrink: 0; margin-top: 2px; }
  .cart-trial-callout .ct-text {
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.5;
  }
  .cart-trial-callout .ct-text strong { color: var(--white); }
  @media (max-width: 960px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .cart-item { grid-template-columns: 56px 1fr auto; padding: 16px 18px; }
    .cart-item-logo { width: 52px; height: 52px; font-size: 22px; }
    .cart-remove { grid-column: 3; grid-row: 1; }
    .cart-item-price { grid-column: 2; }
  }

  /* BOT DETAIL PAGE */
  .bd-back { padding-top: 32px; margin-bottom: 8px; }
  .bd-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 32px 0 80px;
  }
  .bd-main {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 40px;
  }
  .bd-header {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
  }
  .bd-logo {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.2) 0%, rgba(0, 87, 212, 0.1) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
  }
  .bd-logo img { width: 100%; height: 100%; object-fit: cover; }
  .bd-logo-fallback {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    color: var(--blue-bright);
  }
  .bd-cat {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--blue-bright);
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .bd-name {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 10px;
    letter-spacing: -0.015em;
    line-height: 1;
  }
  .bd-tagline {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.5;
  }
  .bd-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }
  .bd-section:last-child { border-bottom: none; }
  .bd-section h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 14px;
  }
  .bd-section p {
    color: var(--text-dim);
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
  }
  .bd-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }
  .bd-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
  }
  .bd-features li::before {
    display: none;
  }
  .bd-feat-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
  }
  .bd-callout {
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.08) 0%, rgba(0, 87, 212, 0.04) 100%);
    border: 1px solid rgba(47, 155, 255, 0.25);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 32px 0;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }
  .bd-callout-icon {
    width: 44px; height: 44px;
    background: rgba(47, 155, 255, 0.15);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--blue-bright);
  }
  .bd-callout h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 6px;
  }
  .bd-callout p {
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
  }
  .bd-config-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .bd-config-item {
    background: rgba(3, 6, 13, 0.6);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
  }
  .bd-config-item .bd-cf-name { color: var(--text); }
  .bd-config-item .bd-cf-type {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--blue-bright);
    padding: 2px 8px;
    background: rgba(47, 155, 255, 0.1);
    border-radius: 4px;
    letter-spacing: 0.08em;
  }

  /* Right column pricing card */
  .bd-side { position: sticky; top: 80px; align-self: flex-start; }
  .bd-price-card {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.7) 0%, rgba(6, 11, 24, 0.7) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    padding: 32px 28px;
    position: relative;
  }
  .bd-trial-banner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(67, 217, 122, 0.12);
    border: 1px solid rgba(67, 217, 122, 0.3);
    color: #43d97a;
    padding: 5px 11px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 22px;
  }
  .bd-price {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .bd-price .bd-per {
    font-size: 16px;
    color: var(--text-mute);
    font-weight: 400;
    margin-left: 4px;
  }
  .bd-price-sub {
    color: var(--text-dim);
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 24px;
  }
  .bd-price-feats {
    list-style: none;
    padding: 0 0 24px;
    margin: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
  }
  .bd-price-feats li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 13.5px;
    color: var(--text);
  }
  .bd-price-feats li svg { color: #43d97a; flex-shrink: 0; }
  .bd-fineprint {
    font-size: 11px;
    color: var(--text-mute);
    line-height: 1.5;
    margin-top: 14px;
    text-align: center;
  }
  @media (max-width: 960px) {
    .bd-grid { grid-template-columns: 1fr; }
    .bd-side { position: static; }
    .bd-main { padding: 28px; }
    .bd-name { font-size: 30px; }
    .bd-features { grid-template-columns: 1fr; }
    .bd-header { flex-direction: column; gap: 16px; }
  }

  /* RENT PAGE - filters */
  .page-hero {
    padding: 60px 0 50px;
  }
  .page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 18px;
  }
  .page-hero p {
    font-size: 17px;
    color: var(--text-dim);
    max-width: 620px;
  }
  .filters {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .filter-chip {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .filter-chip:hover { color: var(--white); border-color: var(--blue); }
  .filter-chip.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
  }

  /* Pricing tiers (rent page) */
  .tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
  }
  .tier {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    transition: all 0.3s ease;
  }
  .tier.featured {
    border-color: var(--blue);
    box-shadow: 0 20px 60px -20px rgba(47, 155, 255, 0.4);
    transform: scale(1.02);
  }
  .tier.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 6px 14px;
    border-radius: 100px;
  }
  .tier h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
  }
  .tier .tier-desc {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 24px;
  }
  .tier .tier-price {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
  }
  .tier .tier-price .currency {
    font-size: 22px;
    color: var(--blue-bright);
    vertical-align: top;
    margin-right: 4px;
  }
  .tier .tier-period {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    margin-bottom: 28px;
  }
  .tier ul {
    list-style: none;
    margin-bottom: 28px;
  }
  .tier ul li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .tier ul li:last-child { border-bottom: none; }
  .tier ul li::before {
    content: '';
    width: 16px; height: 16px;
    background: rgba(47, 155, 255, 0.15);
    border: 1px solid var(--blue);
    border-radius: 4px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346e0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
  }
  .tier .btn { width: 100%; justify-content: center; }

  /* CUSTOM PAGE */
  .custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
  }
  .custom-visual {
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.08) 0%, rgba(0, 87, 212, 0.02) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 32px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.85;
    position: sticky;
    top: 100px;
  }
  .code-line { display: block; }
  .code-comment { color: var(--text-mute); }
  .code-key { color: var(--blue-bright); }
  .code-str { color: #ffb86c; }
  .code-fn { color: var(--cyan); }
  .code-punct { color: var(--text-dim); }

  .custom-features {
    list-style: none;
  }
  .custom-features li {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    align-items: start;
  }
  .custom-features li:first-child { padding-top: 0; }
  .custom-features li:last-child { border-bottom: none; }
  .ci-icon {
    width: 48px; height: 48px;
    background: rgba(47, 155, 255, 0.1);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--blue-bright);
  }
  .custom-features h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
  }
  .custom-features p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
  }

  /* FAQ */
  .faq-list {
    max-width: 820px;
  }
  .faq-item {
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
    cursor: pointer;
  }
  .faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    color: var(--white);
    transition: color 0.2s ease;
  }
  .faq-item:hover .faq-q { color: var(--blue-bright); }
  .faq-toggle {
    width: 32px; height: 32px;
    background: rgba(47, 155, 255, 0.08);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--blue-bright);
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  .faq-item.open .faq-toggle { transform: rotate(45deg); }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
  }
  .faq-item.open .faq-a {
    max-height: 400px;
    padding-top: 16px;
  }

  /* TOS */
  .tos-content {
    max-width: 820px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.8;
  }
  .tos-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin: 40px 0 14px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .tos-content h3 .num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--blue-bright);
    background: rgba(47, 155, 255, 0.1);
    border: 1px solid var(--line-strong);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
  }
  .tos-content h3:first-child { margin-top: 0; }
  .tos-content p { margin-bottom: 14px; }
  .tos-content ul { margin: 10px 0 14px 24px; }
  .tos-content li { margin-bottom: 8px; }
  .tos-updated {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    padding: 14px 18px;
    background: rgba(10, 19, 38, 0.6);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 40px;
    display: inline-block;
  }

  /* CONTACT */
  .contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    margin-top: 40px;
  }
  .contact-form {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .form-group {
    margin-bottom: 16px;
  }
  .form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    background: rgba(3, 6, 13, 0.6);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 13px 16px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    transition: all 0.2s ease;
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.15);
  }
  .form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
  }

  .contact-info { padding: 0; }
  .contact-info h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
  }
  .contact-info p {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 36px;
    line-height: 1.7;
  }
  .contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(10, 19, 38, 0.5);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.2s ease;
  }
  .contact-channel:hover {
    border-color: var(--blue);
    transform: translateX(4px);
  }
  .channel-icon {
    width: 44px; height: 44px;
    background: rgba(47, 155, 255, 0.1);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--blue-bright);
    flex-shrink: 0;
  }
  .channel-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
  }
  .channel-value {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
  }

  /* CTA bottom section */
  .cta-band {
    margin: 100px 0 60px;
    padding: 60px;
    background:
      linear-gradient(135deg, rgba(47, 155, 255, 0.12) 0%, rgba(0, 87, 212, 0.04) 100%),
      var(--bg-1);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  .cta-band::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 120%; height: 200%;
    background: radial-gradient(ellipse, rgba(47, 155, 255, 0.18) 0%, transparent 40%);
    z-index: 0;
  }
  .cta-band > * { position: relative; z-index: 1; }
  .cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--white);
  }
  .cta-band p {
    color: var(--text-dim);
    font-size: 17px;
    margin-bottom: 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Footer */
  footer {
    border-top: 1px solid var(--line);
    padding: 50px 0 30px;
    position: relative;
    z-index: 1;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  .footer-col h5 {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 18px;
  }
  .footer-col p {
    color: var(--text-dim);
    font-size: 14px;
    margin: 14px 0;
    max-width: 320px;
  }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    cursor: pointer;
  }
  .footer-col ul li a:hover { color: var(--blue-bright); }
  .footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    flex-wrap: wrap;
    gap: 16px;
  }

  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
  .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
  .reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
  .reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
  .reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
  .reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }
  .reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.55s; }

  /* ===== Auth / Login Gate ===== */
  .login-gate {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.6) 0%, rgba(6, 11, 24, 0.6) 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 60px 48px;
    text-align: center;
    max-width: 540px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
  }
  .login-gate::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  }
  .login-gate-icon {
    width: 72px; height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--white);
    box-shadow: var(--glow);
  }
  .login-gate h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
  }
  .login-gate p {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 32px;
    line-height: 1.65;
  }
  .btn-discord {
    background: #5865F2;
    color: var(--white);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    font-family: var(--font-body);
  }
  .btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
  }
  .demo-link {
    display: block;
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    text-decoration: none;
    letter-spacing: 0.1em;
    cursor: pointer;
  }
  .demo-link:hover { color: var(--blue-bright); }

  .user-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    background: rgba(10, 19, 38, 0.6);
    border: 1px solid var(--line);
    border-radius: 100px;
    margin-bottom: 32px;
  }
  .user-pill img,
  .user-pill .avatar-fallback {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
    font-size: 13px;
    overflow: hidden;
  }
  .user-pill .avatar-fallback img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  .dw-avatar img { border-radius: 50%; }
  .user-pill .uname {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--white);
    font-size: 14px;
  }
  .user-pill .uid {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    margin-left: 4px;
  }
  .user-pill .logout-btn {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text-dim);
    padding: 4px 12px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 10px;
    cursor: pointer;
    letter-spacing: 0.08em;
    margin-left: 8px;
    transition: all 0.2s ease;
  }
  .user-pill .logout-btn:hover {
    border-color: #ff5a5a;
    color: #ff5a5a;
  }

  /* ===== Custom Build Form ===== */
  .form-stepper {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border: 1px solid var(--line);
    background: rgba(10, 19, 38, 0.4);
    border-radius: 12px;
    overflow: hidden;
  }
  .form-step-marker {
    flex: 1;
    padding: 16px 20px;
    text-align: left;
    border-right: 1px solid var(--line);
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .form-step-marker:hover { background: rgba(47, 155, 255, 0.04); }
  .form-step-marker:last-child { border-right: none; }
  .form-step-marker .num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
  }
  .form-step-marker .name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
  }
  .form-step-marker.done .num { color: var(--green); }
  .form-step-marker.done .name { color: var(--text); }
  .form-step-marker.active .num { color: var(--blue-bright); }
  .form-step-marker.active .name { color: var(--white); }
  .form-step-marker.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 2px;
    background: var(--blue);
  }

  .build-form {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 24px;
  }
  .build-step { display: none; }
  .build-step.active { display: block; animation: fadeStep 0.25s ease; }
  @keyframes fadeStep {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .build-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .build-nav .nav-progress {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.1em;
  }
  .build-form h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
  }
  .build-form .form-sub {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 28px;
  }

  /* Delivery step (source code + hosting) */
  .delivery-card {
    background: rgba(3, 6, 13, 0.5);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 16px;
    align-items: flex-start;
  }
  .delivery-card:hover { border-color: var(--blue); }
  .delivery-card.selected {
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.1);
  }
  .delivery-check {
    width: 22px; height: 22px;
    border: 2px solid var(--line-strong);
    border-radius: 6px;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
    margin-top: 1px;
  }
  .delivery-check svg { opacity: 0; transition: opacity 0.2s; }
  .delivery-card.selected .delivery-check {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
  }
  .delivery-card.selected .delivery-check svg { opacity: 1; }
  .delivery-info .delivery-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
  }
  .delivery-info .delivery-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
  }
  .delivery-price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--blue-bright);
    font-size: 17px;
    text-align: right;
    white-space: nowrap;
  }
  .delivery-price .dp-per {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    font-weight: 400;
    margin-top: 1px;
    letter-spacing: 0.06em;
  }
  .hosting-months {
    background: rgba(47, 155, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 20px;
    margin: 4px 0 14px;
  }
  .hosting-months label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13.5px;
    color: var(--text);
  }
  .hosting-months label .hm-value {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    font-size: 18px;
  }
  .hosting-months label .hm-value .hm-fee {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 12px;
    color: var(--blue-bright);
    margin-left: 6px;
  }
  .hosting-months input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--line);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
  }
  .hosting-months input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px; height: 18px;
    background: var(--blue);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(47, 155, 255, 0.2);
  }
  .hosting-months input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px;
    background: var(--blue);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 0 4px rgba(47, 155, 255, 0.2);
  }
  .hosting-months .hm-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    letter-spacing: 0.06em;
  }

  .size-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }
  .size-card {
    background: rgba(3, 6, 13, 0.5);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 18px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
  }
  .size-card:hover {
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.05);
  }
  .size-card.selected {
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.15);
  }
  .size-card .size-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
  }
  .size-card .size-range {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
  }
  .size-card .size-mult {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--blue-bright);
  }

  .addon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(3, 6, 13, 0.5);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .addon-item:hover { border-color: var(--blue); }
  .addon-item.selected {
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.08);
  }
  .addon-check {
    width: 18px; height: 18px;
    background: rgba(3, 6, 13, 0.8);
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .addon-item.selected .addon-check {
    background: var(--blue);
    border-color: var(--blue);
  }
  .addon-check svg { opacity: 0; transition: opacity 0.2s ease; }
  .addon-item.selected .addon-check svg { opacity: 1; }
  .addon-info {
    flex: 1;
    margin: 0 14px;
  }
  .addon-info .addon-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2px;
  }
  .addon-info .addon-desc {
    font-size: 11.5px;
    color: var(--text-mute);
    line-height: 1.45;
  }
  .addon-price {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--blue-bright);
    font-weight: 500;
    flex-shrink: 0;
  }

  /* Order summary sidebar */
  .build-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
  }
  .summary-card {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.7) 0%, rgba(6, 11, 24, 0.7) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 28px;
    position: sticky;
    top: 100px;
  }
  .summary-card h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
  }
  .summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  .summary-line:last-of-type { border-bottom: none; }
  .summary-line .sl-label { color: var(--text-dim); }
  .summary-line .sl-value {
    font-family: var(--font-mono);
    color: var(--white);
    font-weight: 500;
  }
  .summary-line.subtle .sl-label { color: var(--text-mute); font-size: 12px; }
  .summary-line.subtle .sl-value { color: var(--text-dim); }
  .summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 18px;
    margin-top: 12px;
    border-top: 1px solid var(--line-strong);
  }
  .summary-total .label {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--white);
  }
  .summary-total .value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
  }
  .summary-total .value .currency {
    color: var(--blue-bright);
    font-size: 16px;
    vertical-align: top;
  }
  .summary-note {
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(47, 155, 255, 0.07);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    font-size: 11.5px;
    color: var(--text-dim);
    line-height: 1.5;
  }
  .how-row {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
  }
  .how-row:last-of-type { border-bottom: none; }
  .how-num {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: var(--white);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
  }
  .how-text {
    color: var(--text);
    font-size: 13px;
    line-height: 1.55;
  }
  .summary-card .btn { width: 100%; justify-content: center; margin-top: 18px; }

  .submit-success {
    background: linear-gradient(135deg, rgba(67, 217, 122, 0.1) 0%, rgba(47, 155, 255, 0.05) 100%);
    border: 1px solid rgba(67, 217, 122, 0.3);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
  }
  .submit-success-icon {
    width: 72px; height: 72px;
    margin: 0 auto 20px;
    background: rgba(67, 217, 122, 0.15);
    border: 1px solid #43d97a;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #43d97a;
  }
  .submit-success h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
  }
  .submit-success p {
    color: var(--text-dim);
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto 24px;
  }
  .ticket-id {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--blue-bright);
    background: rgba(47, 155, 255, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    display: inline-block;
    letter-spacing: 0.1em;
  }

  /* ===== Dashboard ===== */

  /* Welcome hero (top of overview tab) */
  .dash-welcome {
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.12) 0%, rgba(14, 27, 54, 0.5) 60%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
  }
  .dash-welcome::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(47, 155, 255, 0.18) 0%, transparent 60%);
    pointer-events: none;
  }
  .dash-welcome-left {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
    min-width: 0;
  }
  .dw-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(47, 155, 255, 0.35);
    overflow: hidden;
  }
  .dw-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .dw-info { min-width: 0; }
  .dw-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue-bright);
    letter-spacing: 0.14em;
    font-weight: 600;
    margin-bottom: 4px;
  }
  .dw-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .dw-sub {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
  }
  .dash-welcome-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
  }

  /* New stat cards (icon on left, value on right) */
  .dash-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 32px;
  }
  .dash-stat-v2 {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.2s ease, transform 0.2s ease;
  }
  .dash-stat-v2:hover {
    border-color: rgba(120, 180, 255, 0.25);
    transform: translateY(-2px);
  }
  .dsv-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .dsv-icon-blue   { background: rgba(47, 155, 255, 0.12); color: var(--blue-bright); border: 1px solid rgba(47, 155, 255, 0.3); }
  .dsv-icon-green  { background: rgba(67, 217, 122, 0.12); color: #6ce99a; border: 1px solid rgba(67, 217, 122, 0.3); }
  .dsv-icon-purple { background: rgba(176, 130, 255, 0.12); color: #c9a9ff; border: 1px solid rgba(176, 130, 255, 0.3); }
  .dsv-body { min-width: 0; flex: 1; }
  .dsv-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .dsv-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
  }
  .dsv-suffix {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 400;
    margin-left: 4px;
  }

  /* Legacy stat cards (kept for backwards compat) */
  .dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
  }
  .dash-stat {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
  }
  .dash-stat .label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
  }
  .dash-stat .value {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
  }
  .dash-stat .value .small {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 400;
  }

  .dash-section {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.4) 0%, rgba(10, 19, 38, 0.3) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 24px 26px;
    margin-bottom: 22px;
  }
  .dash-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  .dash-section-head h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
  }
  .dash-section-head .count {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.1em;
  }

  .dash-bot-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .dash-bot {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
    align-items: center;
    padding: 16px 22px;
    background: rgba(10, 19, 38, 0.5);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: all 0.2s ease;
  }
  .dash-bot:hover {
    border-color: var(--line-strong);
    transform: translateX(4px);
  }
  .dash-bot-avatar {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
    font-size: 16px;
    position: relative;
  }
  .dash-bot-avatar::after {
    content: '';
    position: absolute;
    width: 10px; height: 10px;
    background: #43d97a;
    border: 2px solid var(--bg-1);
    border-radius: 50%;
    bottom: -1px; right: -1px;
  }
  .dash-bot-avatar.offline::after { background: var(--text-mute); }
  .dash-bot-info .name {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2px;
  }
  .dash-bot-info .meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
  }
  .dash-bot-price {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--blue-bright);
  }
  .dash-bot-action {
    background: rgba(47, 155, 255, 0.1);
    color: var(--blue-bright);
    border: 1px solid var(--line-strong);
    padding: 7px 14px;
    border-radius: 7px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .dash-bot-action:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
  }

  .ticket-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
    align-items: center;
    padding: 14px 22px;
    background: rgba(10, 19, 38, 0.5);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .ticket-row:hover { border-color: var(--blue); }
  .ticket-id-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--blue-bright);
    background: rgba(47, 155, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
  }
  .ticket-title {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--white);
    font-size: 14px;
  }
  .ticket-date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
  }
  .ticket-status {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .ticket-status.open {
    background: rgba(67, 217, 122, 0.12);
    color: #43d97a;
    border: 1px solid rgba(67, 217, 122, 0.3);
  }
  .ticket-status.quoted {
    background: rgba(47, 155, 255, 0.12);
    color: var(--blue-bright);
    border: 1px solid rgba(47, 155, 255, 0.3);
  }
  .ticket-status.paid {
    background: rgba(170, 130, 255, 0.12);
    color: #c9a0ff;
    border: 1px solid rgba(170, 130, 255, 0.3);
  }
  .ticket-status.closed {
    background: rgba(140, 160, 180, 0.08);
    color: var(--text-mute);
    border: 1px solid var(--line);
  }

  .empty-state {
    padding: 36px;
    text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    color: var(--text-mute);
    font-size: 13px;
    font-family: var(--font-mono);
  }

  /* ===== Checkout ===== */
  .checkout-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 0 80px;
  }
  .checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-top: 40px;
  }
  .checkout-main {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px;
  }
  .checkout-main h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
  }
  .pay-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }
  .pay-method {
    background: rgba(3, 6, 13, 0.6);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .pay-method:hover { border-color: var(--blue); }
  .pay-method.selected {
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.15);
  }
  .pay-method-icon {
    width: 44px; height: 44px;
    background: rgba(47, 155, 255, 0.1);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--blue-bright);
  }
  .pay-method-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
  }
  .pay-method-desc {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.4;
  }
  .pay-sub-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    background: rgba(3, 6, 13, 0.5);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 20px;
  }
  .pay-sub-options .sub-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    letter-spacing: 0.1em;
    width: 100%;
    margin-bottom: 4px;
  }
  .crypto-chip {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .crypto-chip:hover { color: var(--white); border-color: var(--blue); }
  .crypto-chip.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
  }

  .checkout-summary {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.7) 0%, rgba(6, 11, 24, 0.7) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 28px;
    height: fit-content;
  }
  .checkout-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
  }
  .checkout-line:last-of-type { border-bottom: none; }
  .checkout-line .cl-label { color: var(--text-dim); }
  .checkout-line .cl-value {
    font-family: var(--font-mono);
    color: var(--white);
  }
  .checkout-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line-strong);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .checkout-total .label {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--white);
  }
  .checkout-total .value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
  }
  .checkout-total .value .currency {
    color: var(--blue-bright);
    font-size: 18px;
  }

  /* Coupon */
  .coupon-row {
    margin-top: 8px;
    margin-bottom: 22px;
  }
  .coupon-row label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
  }
  .coupon-input-wrap {
    display: flex;
    gap: 8px;
  }
  .coupon-input-wrap input {
    flex: 1;
    background: rgba(3, 6, 13, 0.6);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 11px 14px;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .coupon-input-wrap input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.15);
  }
  .coupon-input-wrap button {
    background: rgba(47, 155, 255, 0.1);
    color: var(--blue-bright);
    border: 1px solid var(--line-strong);
    padding: 11px 20px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .coupon-input-wrap button:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
  }
  .coupon-status {
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .coupon-applied {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 14px;
    background: rgba(67, 217, 122, 0.1);
    border: 1px solid rgba(67, 217, 122, 0.3);
    border-radius: 100px;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .coupon-applied .remove-coupon {
    width: 22px; height: 22px;
    background: rgba(67, 217, 122, 0.15);
    border: none;
    border-radius: 50%;
    color: var(--green);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
  }
  .coupon-applied .remove-coupon:hover {
    background: var(--green);
    color: var(--bg-0);
  }
  .coupon-error {
    color: var(--red);
    padding: 4px 0;
  }
  .checkout-line.discount .cl-label { color: var(--green); }
  .checkout-line.discount .cl-value { color: var(--green); }

  /* ===== Inline dashboard config view ===== */
  .cfg-view-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .cfg-view-title { flex: 1; min-width: 200px; }
  .cfg-view-title h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
  }
  .cfg-view-title p {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
  }
  .back-pill {
    background: rgba(120, 180, 255, 0.06);
    border: 1px solid var(--line);
    color: var(--text-dim);
    padding: 8px 14px 8px 10px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
    flex-shrink: 0;
  }
  .back-pill:hover { color: var(--white); border-color: var(--blue); background: rgba(47, 155, 255, 0.08); }

  /* Expand/collapse button in the config head */
  .cfg-expand-btn {
    background: rgba(120, 180, 255, 0.06);
    border: 1px solid var(--line);
    color: var(--text-dim);
    width: 36px; height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    flex-shrink: 0;
  }
  .cfg-expand-btn:hover { color: var(--white); border-color: var(--blue); background: rgba(47, 155, 255, 0.1); }
  .cfg-expand-btn .cfg-icon-collapse { display: none; }
  body.cfg-fullscreen .cfg-expand-btn .cfg-icon-expand   { display: none; }
  body.cfg-fullscreen .cfg-expand-btn .cfg-icon-collapse { display: inline-block; }

  /* Fullscreen mode: take over the whole page. CSS does all the work via the
     body class - the markup never moves. */
  body.cfg-fullscreen { overflow: hidden; }
  body.cfg-fullscreen #dash-config-view {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: linear-gradient(180deg, #050a18 0%, #03060d 100%);
    overflow-y: auto;
    padding: 32px 40px;
    display: block !important;
  }
  body.cfg-fullscreen #dash-config-view .dash-section {
    max-width: 1280px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(10, 19, 38, 0.4) 100%);
  }
  @media (max-width: 768px) {
    body.cfg-fullscreen #dash-config-view { padding: 20px 16px; }
  }

  .save-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-mute);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .save-status.saving { color: var(--blue-bright); background: rgba(47, 155, 255, 0.1); border-color: rgba(47, 155, 255, 0.3); }
  .save-status.saved  { color: #43d97a; background: rgba(67, 217, 122, 0.08); border-color: rgba(67, 217, 122, 0.3); }
  .save-status.error  { color: #ff5a5a; background: rgba(255, 90, 90, 0.1); border-color: rgba(255, 90, 90, 0.3); }
  .save-status .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .save-status.saving .dot { animation: status-pulse 1.2s ease infinite; }
  @keyframes status-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

  .seat-warn-banner {
    background: rgba(255, 154, 60, 0.1);
    border: 1px solid rgba(255, 154, 60, 0.3);
    color: var(--text);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.5;
  }

  /* === Active-guild banners + per-row toggles === */
  .active-banner {
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.55;
  }
  .active-banner-warn {
    background: rgba(255, 154, 60, 0.08);
    border: 1px solid rgba(255, 154, 60, 0.3);
  }
  .active-banner-info {
    background: rgba(47, 155, 255, 0.06);
    border: 1px solid rgba(47, 155, 255, 0.25);
  }
  .active-pill {
    display: inline-block;
    background: rgba(67, 217, 122, 0.15);
    border: 1px solid rgba(67, 217, 122, 0.4);
    color: var(--green);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 2px 7px;
    border-radius: 100px;
    margin-left: 6px;
    vertical-align: middle;
  }
  .active-toggle {
    background: rgba(120, 180, 255, 0.06);
    border: 1px solid var(--line-strong);
    color: var(--text-dim);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .active-toggle:hover:not(:disabled) {
    color: var(--white);
    border-color: var(--blue);
  }
  .active-toggle.on {
    background: rgba(67, 217, 122, 0.12);
    border-color: rgba(67, 217, 122, 0.45);
    color: var(--green);
  }
  .active-toggle.on:hover:not(:disabled) {
    background: rgba(67, 217, 122, 0.2);
  }
  .active-toggle:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .guild-tile.is-active {
    border-color: rgba(67, 217, 122, 0.4);
  }
  .guild-tile.is-active.selected {
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.1);
  }
  .cf-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--text-mute);
    margin-top: 4px;
    text-transform: none;
    letter-spacing: 0;
  }

  /* ===== Toast notifications (top-of-screen banners) ===== */
  .toast-wrap {
    position: fixed;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: 90vw;
  }
  .toast {
    pointer-events: auto;
    padding: 11px 18px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-12px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .toast.show { transform: translateY(0); opacity: 1; }
  .toast-error {
    background: rgba(255, 90, 90, 0.18);
    border: 1px solid rgba(255, 90, 90, 0.5);
    color: #ff5a5a;
  }
  .toast-success {
    background: rgba(67, 217, 122, 0.16);
    border: 1px solid rgba(67, 217, 122, 0.45);
    color: #43d97a;
  }
  .toast-info {
    background: rgba(47, 155, 255, 0.15);
    border: 1px solid rgba(47, 155, 255, 0.45);
    color: var(--blue-bright);
  }
  .btn-danger {
    background: linear-gradient(135deg, #ff5a5a 0%, #c93939 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 90, 90, 0.3);
  }
  .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 90, 90, 0.5);
  }

  /* ===== Modal system (used by setup wizard + config) ===== */
  .modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(3, 6, 13, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
  }
  .modal-bg.open { display: flex; }
  .modal-box {
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    max-width: 680px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
  }
  .modal-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  }
  .modal-head {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
  }
  .modal-head h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
  }
  .modal-head p {
    color: var(--text-dim);
    font-size: 13.5px;
    margin: 0;
  }
  .modal-close {
    width: 36px; height: 36px;
    background: rgba(120, 180, 255, 0.06);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--text-dim);
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .modal-close svg { pointer-events: none; }
  .modal-close:hover {
    background: rgba(255, 90, 90, 0.1);
    color: #ff5a5a;
    border-color: rgba(255, 90, 90, 0.3);
  }
  .modal-body { padding: 28px 32px; }
  .modal-foot {
    padding: 20px 32px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
  }

  /* Setup wizard step indicator */
  .wizard-steps {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    background: rgba(10, 19, 38, 0.5);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }
  .wizard-step {
    flex: 1;
    min-width: 0;
    padding: 14px 10px;
    border-right: 1px solid var(--line);
    position: relative;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    text-align: center;
  }
  .wizard-step:last-child { border-right: none; }
  .wizard-step.active,
  .wizard-step.done { opacity: 1; }
  .wizard-step .step-n {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    letter-spacing: 0.12em;
    margin-bottom: 4px;
  }
  .wizard-step.active .step-n,
  .wizard-step.done .step-n { color: var(--blue-bright); }
  .wizard-step .step-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wizard-step.active .step-label { color: var(--white); }
  .wizard-step.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 2px;
    background: var(--blue);
  }
  .wizard-step.done .step-label { color: var(--green); }
  .wizard-step.done::before {
    content: '✓';
    position: absolute;
    top: 10px; right: 8px;
    color: var(--green);
    font-size: 11px;
  }

  /* === Step content === */
  .wiz-icon-big {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.15) 0%, rgba(47, 155, 255, 0.04) 100%);
    border: 1px solid rgba(47, 155, 255, 0.3);
    color: var(--blue-bright);
    display: grid;
    place-items: center;
  }
  .wiz-h {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 14px;
  }
  .wiz-p {
    color: var(--text-dim);
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 14px;
  }
  .wiz-hint {
    color: var(--text-mute);
    font-size: 12.5px;
    line-height: 1.55;
    margin-top: 14px;
    text-align: center;
    font-style: italic;
  }
  .wiz-callout {
    background: rgba(47, 155, 255, 0.06);
    border: 1px solid rgba(47, 155, 255, 0.25);
    border-radius: 10px;
    padding: 14px 18px;
    margin: 14px 0;
    text-align: center;
  }
  .wiz-big-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: var(--white);
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin: 8px auto;
    box-shadow: 0 6px 18px rgba(47, 155, 255, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .wiz-big-link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(47, 155, 255, 0.4); }
  .wizard-pane { text-align: left; }
  .wizard-pane > .wiz-icon-big + .wiz-h { margin-bottom: 18px; }
  /* center the link inside its paragraph */
  .wizard-pane a.wiz-big-link { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }

  /* Wizard step content */
  .wizard-pane { display: none; }
  .wizard-pane.active { display: block; }
  .wizard-pane ol {
    list-style: none;
    counter-reset: stepc;
  }
  .wizard-pane ol li {
    counter-increment: stepc;
    padding: 14px 0 14px 48px;
    position: relative;
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.6;
    border-bottom: 1px solid var(--line);
  }
  .wizard-pane ol li:last-child { border-bottom: none; }
  .wizard-pane ol li::before {
    content: counter(stepc);
    position: absolute;
    left: 0; top: 14px;
    width: 30px; height: 30px;
    background: rgba(47, 155, 255, 0.08);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--blue-bright);
    font-size: 12px;
  }
  .wizard-pane ol li a {
    color: var(--blue-bright);
    text-decoration: none;
    border-bottom: 1px dotted var(--blue);
  }
  .wizard-pane ol li code {
    font-family: var(--font-mono);
    font-size: 12px;
    background: rgba(47, 155, 255, 0.08);
    border: 1px solid var(--line-strong);
    color: var(--blue-bright);
    padding: 1px 6px;
    border-radius: 4px;
  }

  .security-warn {
    background: rgba(255, 90, 90, 0.06);
    border: 1px solid rgba(255, 90, 90, 0.3);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .security-warn .icon {
    color: #ff5a5a;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .security-warn .text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text);
  }
  .security-warn .text strong { color: #ff5a5a; }

  .field-row { margin-bottom: 16px; }
  .field-row label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
  }
  .field-row input,
  .field-row select,
  .field-row textarea {
    width: 100%;
    background: rgba(3, 6, 13, 0.6);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
  }
  .field-row input.mono,
  .field-row textarea.mono { font-family: var(--font-mono); font-size: 13px; }
  .field-row input:focus,
  .field-row select:focus,
  .field-row textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.15);
  }
  .field-help {
    font-size: 12px;
    color: var(--text-mute);
    margin-top: 6px;
    line-height: 1.5;
  }

  /* Bot card states in dashboard */
  .bot-card-dash {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.55) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    transition: all 0.2s ease;
  }
  .bot-card-dash:hover {
    border-color: rgba(120, 180, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }
  .bot-card-dash.action-needed {
    border-color: rgba(255, 154, 60, 0.3);
    background: linear-gradient(180deg, rgba(255, 154, 60, 0.05) 0%, rgba(6, 11, 24, 0.5) 100%);
  }
  .bot-card-dash .bot-card-avatar {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
    font-size: 19px;
    flex-shrink: 0;
    position: relative;
  }
  .bot-card-dash .bot-card-info { min-width: 0; }
  .bot-card-dash .bot-card-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 4px;
  }
  .bot-card-dash .bot-card-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.04em;
  }
  .bot-card-dash .state-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-right: 10px;
  }
  .state-badge.pending {
    background: rgba(255, 154, 60, 0.1);
    color: var(--orange, #ff9a3c);
    border: 1px solid rgba(255, 154, 60, 0.3);
  }
  .state-badge.installing {
    background: rgba(47, 155, 255, 0.1);
    color: var(--blue-bright);
    border: 1px solid rgba(47, 155, 255, 0.3);
  }
  .state-badge.running {
    background: rgba(67, 217, 122, 0.1);
    color: #43d97a;
    border: 1px solid rgba(67, 217, 122, 0.3);
  }
  .state-badge.error {
    background: rgba(255, 90, 90, 0.1);
    color: #ff5a5a;
    border: 1px solid rgba(255, 90, 90, 0.3);
  }
  .state-badge.stopped {
    background: rgba(255, 154, 60, 0.1);
    color: #ff9a3c;
    border: 1px solid rgba(255, 154, 60, 0.3);
  }
  .bot-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
  }

  /* Guild config */
  .guild-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
  }
  .guild-tile {
    background: rgba(3, 6, 13, 0.6);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .guild-tile:hover { border-color: var(--blue); }
  .guild-tile.selected {
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.12);
  }
  .guild-tile.over-seat {
    border-color: rgba(255, 154, 60, 0.5);
    background: rgba(255, 154, 60, 0.05);
  }
  .guild-tile.over-seat .gicon { background: linear-gradient(135deg, #ff9a3c 0%, #c9700d 100%); }
  .guild-tile .gicon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
  }
  .guild-tile .gname {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--white);
    font-size: 13px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .guild-tile .gmeta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
  }

  .config-section {
    background: rgba(10, 19, 38, 0.4);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
  }
  .config-section h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
  }

  /* ===== Categorized config cards ===== */
  .cfg-cats {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .cfg-cat {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.55) 0%, rgba(10, 19, 38, 0.45) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.18s ease;
  }
  .cfg-cat:hover { border-color: rgba(120, 180, 255, 0.25); }
  .cfg-cat-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--white);
    text-align: left;
    font-family: var(--font-body);
    transition: background 0.15s ease;
  }
  .cfg-cat-head:hover { background: rgba(120, 180, 255, 0.05); }
  .cfg-cat-icon {
    font-size: 22px;
    width: 38px; height: 38px;
    background: rgba(47, 155, 255, 0.1);
    border: 1px solid rgba(47, 155, 255, 0.25);
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .cfg-cat-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    flex: 1;
  }
  .cfg-cat-count {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.06em;
    margin-right: 8px;
  }
  .cfg-cat-chevron {
    color: var(--text-mute);
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }
  .cfg-cat.collapsed .cfg-cat-chevron { transform: rotate(-90deg); }
  .cfg-cat-body {
    padding: 0 20px 16px;
    border-top: 1px solid var(--line);
    max-height: 4000px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.2s ease, padding 0.25s ease;
  }
  .cfg-cat.collapsed .cfg-cat-body {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
  }

  /* ===== Multi-select (role/channel arrays) ===== */
  .cf-multi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
    margin-top: 4px;
  }
  .cf-multi-empty {
    color: var(--text-mute);
    font-size: 13px;
    padding: 10px 12px;
    background: rgba(120, 180, 255, 0.04);
    border: 1px dashed var(--line);
    border-radius: 8px;
  }
  .cf-multi-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(3, 6, 13, 0.6);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13px;
    color: var(--text-dim);
    user-select: none;
  }
  .cf-multi-item:hover {
    border-color: var(--blue);
    color: var(--white);
  }
  .cf-multi-item.on {
    background: rgba(47, 155, 255, 0.1);
    border-color: var(--blue);
    color: var(--white);
  }
  .cf-multi-item input[type="checkbox"] {
    width: 14px; height: 14px;
    accent-color: var(--blue);
    margin: 0;
    flex-shrink: 0;
  }
  .cf-multi-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--role-color, #8ea0c2);
    flex-shrink: 0;
  }

  /* ===== Multi-select dropdown (roles / channels / commands) ===== */
  .cf-dd {
    position: relative;
    width: 100%;
    max-width: 360px;
  }
  .cf-dd-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    background: rgba(3, 6, 13, 0.6);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.15s ease;
  }
  .cf-dd-toggle:hover { border-color: var(--blue); }
  .cf-dd.open .cf-dd-toggle { border-color: var(--blue); }
  .cf-dd.open .cf-dd-toggle svg { transform: rotate(180deg); }
  .cf-dd-toggle svg { transition: transform 0.18s ease; flex-shrink: 0; opacity: 0.7; }
  .cf-dd-count { color: var(--text); }
  .cf-dd-panel {
    display: none;
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0; right: 0;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
    background: #0a1326;
    border: 1px solid var(--blue);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
  .cf-dd.open .cf-dd-panel { display: block; }
  .cf-dd-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dim);
    user-select: none;
    transition: background 0.12s ease, color 0.12s ease;
  }
  .cf-dd-item:hover { background: rgba(47, 155, 255, 0.08); color: var(--white); }
  .cf-dd-item.on { color: var(--white); }
  .cf-dd-item input[type="checkbox"] {
    width: 15px; height: 15px;
    accent-color: var(--blue);
    margin: 0; flex-shrink: 0;
  }
  .cf-dd-item .cf-multi-dot { width: 10px; height: 10px; }

  .config-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(26, 37, 69, 0.5);
  }
  .config-row:last-child { border-bottom: none; }
  .config-row.stacked {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .config-row label {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .config-row .cf-desc {
    font-size: 11.5px;
    color: var(--text-mute);
    font-weight: 400;
    line-height: 1.4;
  }
  .config-row select,
  .config-row input[type="text"],
  .config-row input[type="number"] {
    background: rgba(3, 6, 13, 0.7);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 9px 12px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    width: 100%;
    transition: border-color 0.15s ease;
  }
  .config-row select:focus,
  .config-row input:focus {
    outline: none;
    border-color: var(--blue);
  }
  .toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .toggle-row:last-child { border-bottom: none; }
  .toggle-row .t-info { flex: 1; }
  .toggle-row .t-label {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2px;
  }
  .toggle-row .t-desc {
    font-size: 12px;
    color: var(--text-mute);
  }
  .switch {
    width: 40px; height: 22px;
    background: rgba(120, 180, 255, 0.1);
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  .switch::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    background: var(--text-dim);
    border-radius: 50%;
    top: 2px; left: 2px;
    transition: all 0.2s ease;
  }
  .switch.on { background: var(--blue); border-color: var(--blue); }
  .switch.on::after { left: 20px; background: var(--white); }

  /* ===== Impersonation banner ===== */
  .imp-banner {
    position: sticky;
    top: 0;
    z-index: 99;
    background: linear-gradient(90deg, rgba(255, 90, 90, 0.95) 0%, rgba(255, 60, 60, 0.95) 100%);
    color: var(--white);
    padding: 10px 20px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(255, 90, 90, 0.3);
  }
  .imp-banner.active { display: flex; }
  .imp-banner .badge {
    background: rgba(0, 0, 0, 0.25);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .imp-banner .stop {
    background: var(--white);
    color: #ff3c3c;
    border: none;
    padding: 5px 14px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .imp-banner .stop:hover { background: rgba(255, 255, 255, 0.85); }
  body.impersonating nav.topbar { top: 38px; }
  @media (max-width: 600px) {
    .imp-banner { font-size: 10px; padding: 8px 12px; flex-wrap: wrap; }
    .imp-banner .badge { font-size: 9px; }
    body.impersonating nav.topbar { top: auto; }
  }

  /* ===== Dashboard sub-tabs ===== */
  .dash-subnav {
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
    padding: 6px;
    background: rgba(10, 19, 38, 0.6);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ===== Dashboard left-sidebar layout ===== */
  .dash-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: flex-start;
  }
  .dash-sidebar {
    position: sticky;
    top: 92px;
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.65) 0%, rgba(10, 19, 38, 0.55) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  }
  .dash-sidebar button {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-dim);
    padding: 11px 14px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
  }
  .dash-sidebar button:hover {
    color: var(--white);
    background: rgba(120, 180, 255, 0.06);
    border-color: rgba(120, 180, 255, 0.15);
  }
  .dash-sidebar button.active {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(47, 155, 255, 0.35);
    border-color: rgba(47, 155, 255, 0.5);
  }
  .dash-sidebar button .badge-count {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.18);
    padding: 2px 8px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
  }
  .dash-sidebar button:not(.active) .badge-count {
    background: rgba(120, 180, 255, 0.12);
    color: var(--text-dim);
  }

  .dash-content-wrap { min-width: 0; }

  @media (max-width: 900px) {
    .dash-layout { grid-template-columns: 1fr; gap: 16px; }
    .dash-sidebar {
      position: static;
      flex-direction: row;
      overflow-x: auto;
      padding: 6px;
      gap: 4px;
      -webkit-overflow-scrolling: touch;
    }
    .dash-sidebar button { flex-shrink: 0; width: auto; }
  }

  .dash-subnav button {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 10px 18px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .dash-subnav button:hover { color: var(--white); }
  .dash-subnav button.active {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(47, 155, 255, 0.3);
  }
  .dash-subnav button .badge-count {
    background: rgba(255, 255, 255, 0.18);
    padding: 2px 8px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
  }
  .dash-subnav button:not(.active) .badge-count {
    background: rgba(120, 180, 255, 0.12);
    color: var(--text-dim);
  }

  .dash-tab { display: none; animation: fadeInPage 0.3s ease; }
  .dash-tab.active { display: block; }

  /* Hero action card (featured action on Overview) */
  .hero-action-card {
    background:
      linear-gradient(135deg, rgba(255, 154, 60, 0.1) 0%, rgba(47, 155, 255, 0.05) 100%),
      var(--bg-1);
    border: 1px solid rgba(255, 154, 60, 0.3);
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  .hero-action-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(255, 154, 60, 0.15) 0%, transparent 60%);
    z-index: 0;
  }
  .hero-action-card > * { position: relative; z-index: 1; }
  .hero-action-icon {
    width: 56px; height: 56px;
    background: rgba(255, 154, 60, 0.15);
    border: 1px solid rgba(255, 154, 60, 0.3);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--orange, #ff9a3c);
    flex-shrink: 0;
  }
  .hero-action-card .ha-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--orange, #ff9a3c);
    letter-spacing: 0.15em;
    margin-bottom: 6px;
  }
  .hero-action-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
  }
  .hero-action-card p {
    color: var(--text-dim);
    font-size: 13.5px;
  }

  /* Activity feed */
  .activity-feed {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
  }
  .activity-item {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 14px;
    padding: 12px 16px;
    align-items: center;
    border-radius: 8px;
    transition: background 0.2s ease;
  }
  .activity-item:hover { background: rgba(47, 155, 255, 0.04); }
  .activity-icon {
    width: 32px; height: 32px;
    background: rgba(47, 155, 255, 0.08);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--blue-bright);
    flex-shrink: 0;
  }
  .activity-icon.success { background: rgba(67, 217, 122, 0.08); border-color: rgba(67, 217, 122, 0.3); color: #43d97a; }
  .activity-icon.warn { background: rgba(255, 154, 60, 0.08); border-color: rgba(255, 154, 60, 0.3); color: #ff9a3c; }
  .activity-icon.error { background: rgba(255, 90, 90, 0.08); border-color: rgba(255, 90, 90, 0.3); color: #ff5a5a; }
  .activity-text {
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.4;
  }
  .activity-text strong { color: var(--white); font-weight: 600; }
  .activity-time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.04em;
  }

  /* Quick actions grid */
  .quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
  }
  .quick-action {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    color: inherit;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .quick-action:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(47, 155, 255, 0.3);
  }
  .qa-icon {
    width: 40px; height: 40px;
    background: rgba(47, 155, 255, 0.1);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--blue-bright);
  }
  .qa-title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
    font-size: 15px;
  }
  .qa-desc {
    font-size: 12.5px;
    color: var(--text-dim);
    line-height: 1.45;
  }

  /* Billing */
  .billing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  .billing-card {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
  }
  .billing-card .bl-head {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .billing-card .bl-big {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
  }
  .billing-card .bl-sub {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 16px;
  }
  .invoice-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 12px 18px;
    background: rgba(10, 19, 38, 0.4);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 6px;
  }
  .invoice-id {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--blue-bright);
    background: rgba(47, 155, 255, 0.08);
    padding: 4px 10px;
    border-radius: 100px;
  }
  .invoice-desc {
    font-size: 13.5px;
    color: var(--white);
  }
  .invoice-desc .date {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    margin-top: 2px;
  }
  .invoice-amount {
    font-family: var(--font-mono);
    color: var(--white);
    font-weight: 500;
  }

  /* Mobile dashboard tweaks */
  @media (max-width: 960px) {
    nav.topbar { padding: 12px 20px; flex-wrap: wrap; gap: 10px; }
    .nav-tabs { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; }
    .nav-tabs button { padding: 7px 14px; font-size: 13px; white-space: nowrap; }
    .container { padding: 0 20px; }
    .live-stats { grid-template-columns: repeat(2, 1fr); }
    .stat { border-right: none; border-bottom: 1px solid var(--line); }
    .stat:nth-child(odd) { border-right: 1px solid var(--line); }
    .features, .bots-grid, .tiers { grid-template-columns: 1fr; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .process::before { display: none; }
    .custom-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .custom-visual { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-band { padding: 40px 24px; }
    .section { padding: 60px 0; }
    .build-layout { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .size-options { grid-template-columns: repeat(2, 1fr); }
    .addon-grid { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .pay-methods { grid-template-columns: 1fr; }
    .dash-bot { grid-template-columns: auto 1fr; gap: 12px; }
    .dash-bot-price, .dash-bot-action { grid-column: 2; }
    .ticket-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .login-gate { padding: 40px 24px; }
    .form-stepper { display: none; }
    .bot-card-dash { grid-template-columns: auto 1fr; }
    .bot-card-actions { grid-column: 1 / -1; justify-content: flex-end; margin-top: 8px; }
    .config-row { grid-template-columns: 1fr; gap: 6px; }
    .config-row label { font-size: 12px; color: var(--text-dim); }
    .wizard-step .step-label { font-size: 12px; }
    .wizard-step .step-n { font-size: 9px; }
    .modal-head { padding: 22px 22px 16px; }
    .modal-body { padding: 22px; }
    .modal-foot { padding: 16px 22px; flex-direction: column-reverse; }
    .modal-foot .btn { width: 100%; justify-content: center; }
    .wizard-pane ol li { padding: 14px 0 14px 44px; font-size: 13.5px; }
    .hero-action-card { grid-template-columns: 1fr; text-align: left; }
    .quick-actions { grid-template-columns: 1fr; }
    .billing-grid { grid-template-columns: 1fr; }
    .invoice-row { grid-template-columns: auto 1fr; gap: 8px 12px; }
    .invoice-row .invoice-amount, .invoice-row button { grid-column: 2; }
  }
  @media (max-width: 600px) {
    nav.topbar { padding: 12px 16px; }
    nav.topbar.scrolled { padding: 10px 16px; }
    .logo { font-size: 18px; }
    .logo-mark { width: 30px; height: 30px; }
    .nav-cta .btn { padding: 9px 14px; font-size: 13px; }
    .container { padding: 0 16px; }
    .hero { padding: 50px 0 70px; }
    .hero h1 { font-size: 42px; }
    .live-stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 18px; }
    .stat-value { font-size: 26px; }
    .features, .bots-grid { gap: 16px; }
    .feature-card, .bot-body { padding: 22px; }
    .page-hero h1 { font-size: 36px; }
    .build-form { padding: 24px 22px; }
    .build-form h3 { font-size: 18px; }
    .filters { gap: 6px; }
    .filter-chip { padding: 6px 12px; font-size: 12px; }
    .tier { padding: 28px 22px; }
    .tier .tier-price { font-size: 38px; }
    .contact-form { padding: 26px 22px; }
    .checkout-main { padding: 22px; }
    .checkout-summary { padding: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .wizard-steps { display: none; }
    .guild-selector { grid-template-columns: 1fr; }
    .toggle-row { gap: 14px; }
  }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: var(--bg-0); }
  ::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--blue-deep); }

  /* Selection */
  ::selection { background: var(--blue); color: var(--white); }

  /* Subscription duration tiles (Rent page) */
  .sub-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
  }
  .sub-tile {
    background: linear-gradient(180deg, rgba(14, 27, 54, 0.5) 0%, rgba(6, 11, 24, 0.5) 100%);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px 14px 22px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .sub-tile:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -16px rgba(47, 155, 255, 0.45);
  }
  .sub-tile.featured {
    border-color: var(--blue);
    background: linear-gradient(180deg, rgba(47, 155, 255, 0.14) 0%, rgba(6, 11, 24, 0.6) 100%);
    box-shadow: 0 10px 32px -12px rgba(47, 155, 255, 0.4);
  }
  .sub-tile.lifetime {
    border-color: rgba(170, 130, 255, 0.4);
    background:
      linear-gradient(180deg, rgba(170, 130, 255, 0.1) 0%, rgba(6, 11, 24, 0.6) 100%);
  }
  .sub-tile.lifetime:hover { border-color: #c9a0ff; box-shadow: 0 16px 36px -16px rgba(170, 130, 255, 0.5); }
  .sub-tile .featured-tag {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 4px 11px;
    border-radius: 100px;
  }
  .sub-tile .sub-len {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
  }
  .sub-tile .sub-len .u {
    font-size: 16px;
    color: var(--text-dim);
    font-weight: 400;
    margin-left: 2px;
  }
  .sub-tile .sub-len-life {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: #c9a0ff;
    line-height: 1;
    margin-bottom: 4px;
  }
  .sub-tile .sub-disc {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue-bright);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 8px 0 6px;
  }
  .sub-tile .sub-disc-life {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #c9a0ff;
    letter-spacing: 0.18em;
    margin: 8px 0 6px;
  }
  .sub-tile .sub-eg {
    font-size: 12px;
    color: var(--text-mute);
    font-family: var(--font-mono);
  }
  @media (max-width: 960px) {
    .sub-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 600px) {
    .sub-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sub-tile .sub-len { font-size: 36px; }
  }

  /* Subscription picker modal (when clicking Rent now on a bot) */
  .sub-picker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 16px 0 20px;
  }
  .sub-pick {
    background: rgba(3, 6, 13, 0.6);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .sub-pick:hover { border-color: var(--blue); background: rgba(47, 155, 255, 0.05); }
  .sub-pick.selected {
    border-color: var(--blue);
    background: rgba(47, 155, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.15);
  }
  .sub-pick .sp-len {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
    font-size: 15px;
  }
  .sub-pick .sp-discount {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue-bright);
    margin-top: 2px;
    letter-spacing: 0.08em;
  }
  .sub-pick .sp-price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    font-size: 18px;
    text-align: right;
  }
  .sub-pick .sp-price .sp-per {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-mute);
    font-weight: 400;
    display: block;
    margin-top: 1px;
  }

  /* Tutorial typography (setup wizard step 1) */
  .tutorial {
    background: rgba(10, 19, 38, 0.4);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }
  .tutorial-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 22px 26px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .tutorial-step:last-child { border-bottom: none; }
  .tutorial-step-num {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.18) 0%, rgba(0, 87, 212, 0.08) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--blue-bright);
    font-size: 16px;
    flex-shrink: 0;
  }
  .tutorial-step h5 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: -0.005em;
  }
  .tutorial-step p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
  }
  .tutorial-step p a {
    color: var(--blue-bright);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(47, 155, 255, 0.4);
    transition: border-color 0.2s ease;
  }
  .tutorial-step p a:hover { border-bottom-color: var(--blue-bright); }
  .tutorial-step p .kbd {
    display: inline-block;
    padding: 1px 7px;
    background: rgba(47, 155, 255, 0.1);
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--blue-bright);
    margin: 0 1px;
    line-height: 1.5;
  }
  .tutorial-step p .hl {
    color: var(--white);
    font-weight: 500;
  }

  /* Invite-bot step (setup wizard step 3) */
  .invite-pane {
    text-align: center;
    padding: 8px 0;
  }
  .invite-pane .iv-icon {
    width: 72px; height: 72px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--white);
    box-shadow: 0 10px 32px rgba(47, 155, 255, 0.4);
  }
  .invite-pane h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
  }
  .invite-pane > p {
    color: var(--text-dim);
    font-size: 14px;
    max-width: 480px;
    margin: 0 auto 24px;
    line-height: 1.55;
  }
  .invite-url-box {
    display: flex;
    gap: 8px;
    background: rgba(3, 6, 13, 0.7);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 10px 10px 10px 16px;
    margin-bottom: 14px;
    align-items: center;
  }
  .invite-url-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--blue-bright);
    font-family: var(--font-mono);
    font-size: 12px;
    outline: none;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .invite-url-box .iv-copy {
    background: rgba(47, 155, 255, 0.1);
    border: 1px solid var(--line-strong);
    color: var(--blue-bright);
    padding: 7px 14px;
    border-radius: 7px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  .invite-url-box .iv-copy:hover { background: var(--blue); color: var(--white); }
  .invite-url-box .iv-copy.copied { background: rgba(67, 217, 122, 0.15); color: #43d97a; border-color: rgba(67, 217, 122, 0.4); }
  .invite-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    color: var(--white);
    padding: 13px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    margin: 4px 0 18px;
  }
  .invite-action:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(88, 101, 242, 0.4); }
  .invite-checks {
    background: rgba(67, 217, 122, 0.05);
    border: 1px solid rgba(67, 217, 122, 0.2);
    border-radius: 10px;
    padding: 16px 18px;
    text-align: left;
    margin-bottom: 16px;
  }
  .invite-checks .ck {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text);
  }
  .invite-checks .ck svg { color: #43d97a; flex-shrink: 0; margin-top: 2px; }
  .invite-confirm {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: rgba(255, 154, 60, 0.06);
    border: 1px solid rgba(255, 154, 60, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .invite-confirm:hover { border-color: rgba(255, 154, 60, 0.5); }
  .invite-confirm input { width: 16px; height: 16px; accent-color: #ff9a3c; cursor: pointer; }
  .invite-confirm label {
    font-size: 13.5px;
    color: var(--text);
    cursor: pointer;
    flex: 1;
  }

  /* ===== Mobile polish (consolidated) ===== */
  @media (max-width: 768px) {
    /* Nav: tighter spacing, smaller logo, hide non-essential items */
    nav { padding: 12px 14px; gap: 8px; }
    .nav-logo { font-size: 18px; }
    .nav-logo-mark { width: 26px; height: 26px; }
    .nav-tabs { gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; flex: 1; scrollbar-width: none; }
    .nav-tabs::-webkit-scrollbar { display: none; }
    .nav-tabs button { padding: 8px 10px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
    .nav-cta { gap: 6px; }
    .nav-cta .btn { padding: 8px 12px; font-size: 12px; }
    .nav-account-pill { padding: 3px 8px 3px 3px; }
    .nav-account-avatar { width: 24px; height: 24px; font-size: 11px; }

    /* Hero */
    .hero { padding: 80px 16px 60px; }
    .hero h1 { font-size: 32px; line-height: 1.1; }
    .hero p { font-size: 14px; }
    .hero-stats { gap: 16px; flex-wrap: wrap; }
    .hero-stat-num { font-size: 24px; }

    /* Grids: single column */
    .rent-grid, .home-featured-grid, .billing-grid, .ds-stats, .pricing-grid, .addon-grid,
    .form-grid, .size-grid, .delivery-options, .dash-stats-row { grid-template-columns: 1fr !important; }

    /* Welcome hero on mobile */
    .dash-welcome { padding: 20px; }
    .dash-welcome-left { gap: 14px; }
    .dw-avatar { width: 52px; height: 52px; font-size: 18px; }
    .dw-name { font-size: 20px; }
    .dash-welcome-actions { width: 100%; }
    .dash-welcome-actions .btn { flex: 1; justify-content: center; }

    /* Section padding */
    section, .page, .checkout-page { padding: 40px 16px; }
    h2, .section-title { font-size: 22px; }

    /* Bot cards */
    .bot-card { padding: 16px; }
    .bot-card-head { gap: 10px; }
    .bot-card-name { font-size: 17px; }

    /* Dashboard */
    .dash-nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
    .dash-nav button { white-space: nowrap; flex-shrink: 0; }
    .ds-stat-card { padding: 14px; }
    .ds-stat-num { font-size: 22px; }
    .config-grid { grid-template-columns: 1fr; }
    .bot-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .bot-row .bot-row-actions { width: 100%; justify-content: stretch; }
    .bot-row .bot-row-actions .btn { flex: 1; }

    /* Modal */
    .modal { width: 96vw; max-width: 96vw; max-height: 92vh; }
    .modal-head { padding: 16px 18px; flex-wrap: wrap; }
    .modal-head h3 { font-size: 18px; }
    .modal-body { padding: 18px; }
    .modal-foot { padding: 14px 18px; flex-direction: column-reverse; gap: 8px; }
    .modal-foot .btn { width: 100%; justify-content: center; }
    .modal-close { width: 32px; height: 32px; }

    /* Checkout */
    .checkout-grid { grid-template-columns: 1fr !important; gap: 16px; }
    .payment-method-card { padding: 14px; }

    /* Cart */
    .cart-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .cart-row .cart-actions { width: 100%; justify-content: space-between; }

    /* Forms */
    input, select, textarea { font-size: 16px !important; }  /* prevents iOS zoom on focus */
    .form-group input, .form-group textarea, .form-group select { padding: 12px 14px; }

    /* Toast */
    .toast-wrap { top: 64px; max-width: 94vw; }
    .toast { font-size: 11px; padding: 9px 14px; white-space: normal; }

    /* Account menu */
    .nav-account-menu { right: 0; min-width: 160px; }
  }

  @media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .nav-cta .btn-primary { padding: 7px 10px; font-size: 11px; }
    .billing-card, .ds-stat-card { padding: 12px; }
  }
  /* ============================================================
     POLISH LAYER - glossy modern overrides applied on top of the
     base styles above. Drops the terminal "// label" vibe in favor
     of cleaner typography, adds depth via gradients + tinted shadows,
     and unifies border-radius across the site. Last block wins.
     ============================================================ */
  :root {
    /* Secondary accent for two-tone gradients (violet pairs nicely with the existing blue) */
    --violet: #8b5cf6;
    --violet-deep: #6d28d9;
    --pink: #ec4899;
    /* Tinted shadows give cards a "lifted glass" feel instead of flat black */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.4), 0 1px 2px rgba(47, 155, 255, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.45), 0 2px 6px rgba(47, 155, 255, 0.06);
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.55), 0 4px 12px rgba(47, 155, 255, 0.08);
    --shadow-blue: 0 12px 36px rgba(47, 155, 255, 0.25), 0 2px 8px rgba(47, 155, 255, 0.12);
    /* Subtle gradients used as backgrounds on surfaces - never flat */
    --surface-1: linear-gradient(180deg, rgba(14, 27, 54, 0.55) 0%, rgba(10, 19, 38, 0.55) 100%);
    --surface-2: linear-gradient(180deg, rgba(20, 34, 64, 0.65) 0%, rgba(12, 22, 44, 0.65) 100%);
    /* Glassmorphism layer */
    --glass: rgba(14, 27, 54, 0.5);
    --glass-strong: rgba(20, 34, 64, 0.7);
    /* Refined radius scale */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 18px;
    --r-xl: 24px;
  }

  /* ---------- Background: aurora glow ----------
     Subtle moving gradients behind everything, gives the whole page a sense
     of depth without being distracting. */
  body::before {
    content: '';
    position: fixed;
    inset: -20%;
    z-index: -1;
    background:
      radial-gradient(ellipse 60% 40% at 15% 0%, rgba(47, 155, 255, 0.18) 0%, transparent 60%),
      radial-gradient(ellipse 50% 50% at 85% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 50% 100%, rgba(91, 181, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: aurora 22s ease-in-out infinite alternate;
  }
  @keyframes aurora {
    0%   { transform: translate(0, 0) rotate(0deg); opacity: 0.95; }
    50%  { transform: translate(-2%, 1%) rotate(2deg); opacity: 1; }
    100% { transform: translate(2%, -1%) rotate(-1deg); opacity: 0.9; }
  }

  /* ---------- Topbar: glass-morph + tighter spacing ---------- */
  nav.topbar {
    background: linear-gradient(180deg, rgba(3, 6, 13, 0.85) 0%, rgba(3, 6, 13, 0.65) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(120, 180, 255, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  nav.topbar.scrolled {
    background: linear-gradient(180deg, rgba(3, 6, 13, 0.96) 0%, rgba(3, 6, 13, 0.88) 100%);
  }

  /* Nav tabs: glassier pill */
  .nav-tabs {
    background: linear-gradient(180deg, rgba(20, 34, 64, 0.5) 0%, rgba(10, 19, 38, 0.5) 100%);
    border: 1px solid rgba(120, 180, 255, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .nav-tabs button {
    transition: color 0.18s ease, background 0.18s ease, transform 0.15s ease;
  }
  .nav-tabs button.active {
    background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(47, 155, 255, 0.4), 0 0 0 1px rgba(120, 180, 255, 0.2) inset;
  }

  /* ---------- Buttons: depth + glow ---------- */
  .btn {
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    border-radius: var(--r-sm);
    letter-spacing: 0.01em;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--violet-deep) 100%);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.15) inset,
      0 -1px 0 rgba(0, 0, 0, 0.2) inset,
      var(--shadow-blue);
    border: 1px solid rgba(120, 180, 255, 0.3);
  }
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.2) inset,
      0 -1px 0 rgba(0, 0, 0, 0.2) inset,
      0 18px 40px rgba(47, 155, 255, 0.35),
      0 4px 12px rgba(139, 92, 246, 0.2);
  }
  .btn-primary:active { transform: translateY(0); }
  .btn-ghost {
    background: linear-gradient(180deg, rgba(120, 180, 255, 0.05) 0%, rgba(120, 180, 255, 0.02) 100%);
    border: 1px solid rgba(120, 180, 255, 0.15);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  }
  .btn-ghost:hover {
    background: linear-gradient(180deg, rgba(120, 180, 255, 0.12) 0%, rgba(120, 180, 255, 0.05) 100%);
    border-color: rgba(120, 180, 255, 0.3);
    transform: translateY(-1px);
  }

  /* ---------- Cards / sections: lifted glass ---------- */
  .bot-card,
  .rent-card,
  .home-featured-card,
  .pricing-card,
  .billing-card,
  .config-section,
  .dash-section,
  .ds-stat-card,
  .build-form,
  .checkout-card,
  .modal,
  .cart-summary,
  .cart-item-card {
    background: var(--surface-1);
    border: 1px solid rgba(120, 180, 255, 0.1);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .bot-card:hover,
  .rent-card:hover,
  .home-featured-card:hover {
    border-color: rgba(120, 180, 255, 0.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }

  /* ---------- Inputs / selects: smoother focus ---------- */
  input[type="text"],
  input[type="number"],
  input[type="password"],
  input[type="email"],
  select,
  textarea {
    background: linear-gradient(180deg, rgba(3, 6, 13, 0.7) 0%, rgba(3, 6, 13, 0.5) 100%);
    border: 1px solid rgba(120, 180, 255, 0.15);
    border-radius: var(--r-sm);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  input[type="text"]:focus,
  input[type="number"]:focus,
  input[type="password"]:focus,
  input[type="email"]:focus,
  select:focus,
  textarea:focus {
    border-color: var(--blue);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.03) inset,
      0 0 0 4px rgba(47, 155, 255, 0.12),
      0 4px 12px rgba(47, 155, 255, 0.1);
    outline: none;
  }

  /* ---------- Modal: bigger radius, more depth ---------- */
  .modal {
    border-radius: var(--r-xl);
    box-shadow:
      0 32px 64px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(120, 180, 255, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.05) inset;
  }
  .modal-bg {
    background: rgba(3, 6, 13, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* ---------- Drop the dated "// LABEL" pattern ----------
     We can't easily strip the "//" prefix from existing HTML, but we can
     restyle the labels so they read as elegant subtle uppercase tags
     instead of terminal output. The "//" still appears but in a soft tone. */
  h4 {
    letter-spacing: 0.04em;
  }

  /* ---------- Hero: bigger gradient text ---------- */
  .hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, #c7d8f0 50%, #5cb6ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ---------- Bot cards in catalog ---------- */
  .bot-card-logo, .rent-card-logo, .home-featured-card .logo {
    box-shadow: 0 8px 24px rgba(47, 155, 255, 0.25);
  }

  /* ---------- Toast notifications: refined ---------- */
  .toast {
    border-radius: var(--r-md);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }

  /* ---------- State pills ---------- */
  .state-badge,
  .stat-pill,
  .duration-opt,
  .seat-stepper {
    border-radius: 100px;
  }
  .seat-stepper { border-radius: 10px; }

  /* Duration selector active state: gradient + glow */
  .duration-opt.active {
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.18) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-color: var(--blue);
    box-shadow:
      0 0 0 1px var(--blue) inset,
      0 8px 24px rgba(47, 155, 255, 0.2),
      0 1px 0 rgba(255, 255, 255, 0.06) inset;
  }

  /* ---------- Dashboard sidebar: glass pane ---------- */
  .dash-sidebar {
    background: var(--surface-2);
    border: 1px solid rgba(120, 180, 255, 0.12);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .dash-sidebar button.active {
    background: linear-gradient(135deg, var(--blue) 0%, var(--violet-deep) 100%);
    box-shadow: 0 4px 14px rgba(47, 155, 255, 0.3), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  }

  /* ---------- Account dropdown: glassier ---------- */
  .nav-account-pill {
    background: linear-gradient(180deg, rgba(20, 34, 64, 0.6) 0%, rgba(10, 19, 38, 0.6) 100%);
    border: 1px solid rgba(120, 180, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  }
  .nav-account-avatar {
    box-shadow: 0 0 0 2px rgba(47, 155, 255, 0.25), 0 4px 12px rgba(47, 155, 255, 0.3);
  }
  .nav-account-menu {
    background: linear-gradient(180deg, rgba(20, 34, 64, 0.92) 0%, rgba(10, 19, 38, 0.96) 100%);
    border-radius: var(--r-md);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(120, 180, 255, 0.1);
  }

  /* ---------- Hero stat numbers: gradient ---------- */
  .hero-stat-num,
  .ds-stat-num {
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--violet) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ---------- Wizard step progress refinements ---------- */
  .wizard-steps {
    border-radius: var(--r-md);
    background: linear-gradient(180deg, rgba(20, 34, 64, 0.4) 0%, rgba(10, 19, 38, 0.4) 100%);
    border: 1px solid rgba(120, 180, 255, 0.08);
    box-shadow: var(--shadow-sm);
  }
  .wizard-step.active {
    background: linear-gradient(180deg, rgba(47, 155, 255, 0.06) 0%, transparent 100%);
  }

  /* ---------- Wizard step icon: refined gradient ring ---------- */
  .wiz-icon-big {
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.18) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(120, 180, 255, 0.3);
    box-shadow:
      0 0 0 6px rgba(47, 155, 255, 0.04),
      0 8px 24px rgba(47, 155, 255, 0.15),
      0 1px 0 rgba(255, 255, 255, 0.06) inset;
  }

  /* ---------- Save-status pill: subtle gloss ---------- */
  .save-status {
    border-radius: 100px;
    backdrop-filter: blur(8px);
  }
  .save-status.saved  { box-shadow: 0 0 0 1px rgba(67, 217, 122, 0.3) inset, 0 4px 12px rgba(67, 217, 122, 0.15); }
  .save-status.saving { box-shadow: 0 0 0 1px rgba(47, 155, 255, 0.3) inset, 0 4px 12px rgba(47, 155, 255, 0.15); }
  .save-status.error  { box-shadow: 0 0 0 1px rgba(255, 90, 90, 0.3) inset, 0 4px 12px rgba(255, 90, 90, 0.15); }

  /* ---------- Form stepper markers: rounded + active glow ---------- */
  .form-step-marker {
    border-radius: var(--r-md);
    transition: all 0.2s ease;
  }
  .form-step-marker.active {
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    box-shadow: 0 4px 14px rgba(47, 155, 255, 0.15);
    border-color: var(--blue);
  }

  /* ---------- Logos: smoother glow ---------- */
  .logo-mark {
    filter: drop-shadow(0 0 16px rgba(47, 155, 255, 0.5)) drop-shadow(0 0 6px rgba(139, 92, 246, 0.3));
  }

  /* ---------- Smooth scroll for tab switches ---------- */
  html { scroll-behavior: smooth; }

  /* ---------- Configure / Set Up buttons in dashboard ---------- */
  .btn-rent {
    background: linear-gradient(135deg, var(--blue) 0%, var(--violet-deep) 100%);
    border: 1px solid rgba(120, 180, 255, 0.3);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 4px 12px rgba(47, 155, 255, 0.25);
    border-radius: var(--r-sm);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
  }
  .btn-rent:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 12px 28px rgba(47, 155, 255, 0.35);
  }

  /* ---------- Cart items: lifted on hover ---------- */
  .cart-item-card { transition: all 0.2s ease; }
  .cart-item-card:hover {
    border-color: rgba(120, 180, 255, 0.25);
    box-shadow: var(--shadow-lg);
  }

  /* ---------- Selection highlights ---------- */
  ::selection { background: rgba(47, 155, 255, 0.4); color: var(--white); }

  /* ---------- Scrollbar styling ---------- */
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: rgba(3, 6, 13, 0.4); }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(47, 155, 255, 0.3) 0%, rgba(139, 92, 246, 0.25) 100%);
    border-radius: 100px;
    border: 2px solid rgba(3, 6, 13, 0.5);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(47, 155, 255, 0.5) 0%, rgba(139, 92, 246, 0.4) 100%);
  }

  /* ---------- Reduced motion ---------- */
  @media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  }

  /* ===== Purchase-a-bot module picker ===== */
  .build-wrap { display: flex; flex-direction: column; max-height: 80vh; }
  .build-head { padding: 4px 4px 16px; }
  .build-head h2 { font-size: 22px; margin-bottom: 4px; }
  .build-head p { color: var(--text-mute); font-size: 13.5px; }
  .build-list { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 2px; }
  .build-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    border: 1px solid var(--line); border-radius: 12px; background: rgba(6, 11, 24, 0.5);
    cursor: pointer; transition: border-color .15s, background .15s; user-select: none;
  }
  .build-item:hover { border-color: var(--blue); }
  .build-item.on { border-color: var(--blue); background: rgba(47, 155, 255, 0.08); }
  .build-item.base { opacity: 0.85; cursor: default; }
  .bi-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; background: rgba(47,155,255,0.12); flex-shrink: 0; }
  .bi-meta { flex: 1; min-width: 0; }
  .bi-name { font-weight: 700; font-size: 14px; }
  .bi-tag { font-size: 12px; color: var(--text-mute); }
  .bi-price { font-size: 13px; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
  .bi-check { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: #fff; font-size: 13px; flex-shrink: 0; }
  .build-item.on .bi-check { background: var(--blue); border-color: var(--blue); }
  .build-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px 4px; margin-top: 12px; border-top: 1px solid var(--line); }
  .build-total { font-size: 24px; font-weight: 800; }
  .build-total span { font-size: 13px; color: var(--text-mute); font-weight: 500; }

  /* ===== Build a Bot — full page ===== */
  .build-page { max-width: 820px; margin: 0 auto; }
  .build-page .build-list { display: flex; flex-direction: column; gap: 10px; }
  .build-bar {
    position: sticky; bottom: 18px; margin-top: 22px; display: flex; align-items: center;
    justify-content: space-between; gap: 18px; padding: 16px 22px; border-radius: 16px;
    background: rgba(10, 16, 30, 0.92); backdrop-filter: blur(14px);
    border: 1px solid var(--line); box-shadow: 0 20px 50px -16px rgba(0,0,0,0.7);
  }
  .build-bar .build-total { font-family: var(--font-display); font-size: 30px; font-weight: 800; }
  .build-bar .build-total span { font-size: 14px; color: var(--text-mute); font-weight: 500; }
  .build-alt {
    max-width: 820px; margin: 26px auto 0; display: flex; align-items: center; justify-content: center;
    gap: 14px; flex-wrap: wrap; padding: 18px; border: 1px dashed var(--line-2); border-radius: 14px;
    color: var(--text-dim); font-size: 14px;
  }
  @media (max-width: 560px) { .build-bar { flex-direction: column; align-items: stretch; text-align: center; } }

  /* home "two ways in" choice cards */
  .build-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .choice-card {
    background: var(--panel, rgba(12,18,34,0.6)); border: 1px solid var(--line); border-radius: 18px;
    padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: border-color .16s, transform .16s;
  }
  .choice-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
  .choice-card .choice-num { font-family: var(--font-mono); font-size: 13px; color: var(--blue-bright, #5b9dff); letter-spacing: .1em; }
  .choice-card h4 { font-size: 19px; font-weight: 700; }
  .choice-card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; flex: 1; }
  .choice-card .btn { align-self: flex-start; margin-top: 6px; }
  @media (max-width: 640px) { .build-choices { grid-template-columns: 1fr; } }

  /* ===== Build checkout (promo + payment method) ===== */
  .co-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; max-width: 980px; margin: 0 auto; align-items: start; }
  .co-back { background: none; border: 0; color: var(--text-dim); font: inherit; font-size: 13px; cursor: pointer; padding: 0; margin-bottom: 14px; }
  .co-back:hover { color: var(--white); }
  .co-h { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); margin: 22px 0 10px; }
  .co-h:first-of-type { margin-top: 0; }
  .co-items { display: flex; flex-direction: column; gap: 8px; }
  .co-item { display: flex; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; font-size: 14px; }
  .co-coupon { display: flex; gap: 8px; }
  .co-coupon input { flex: 1; background: rgba(3,6,13,.6); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; color: var(--white); font: inherit; }
  .co-coupon-msg { font-size: 12.5px; margin-top: 8px; color: var(--text-mute); }
  .co-coupon-msg.ok { color: #34d399; }
  .co-coupon-msg.err { color: #f87171; }
  .co-x { background: none; border: 0; color: inherit; cursor: pointer; margin-left: 6px; }
  .co-methods { display: flex; flex-direction: column; gap: 10px; }
  .pay-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; background: rgba(6,11,24,.5); border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; cursor: pointer; color: var(--white); font: inherit; transition: border-color .15s, background .15s; }
  .pay-opt:hover { border-color: var(--line-2); }
  .pay-opt.selected { border-color: var(--blue); background: rgba(47,155,255,.08); }
  .pay-opt-t { font-weight: 700; font-size: 15px; }
  .pay-opt-s { font-size: 12.5px; color: var(--text-mute); }
  .co-side { position: sticky; top: 100px; }
  .co-sum { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: rgba(10,16,30,.6); }
  .co-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-dim); margin-bottom: 10px; }
  .co-total-row { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; color: var(--white); font-weight: 700; font-size: 17px; }
  .co-total-row small { color: var(--text-mute); font-weight: 500; font-size: 13px; }
  .co-note { font-size: 11.5px; color: var(--text-mute); margin-top: 12px; line-height: 1.5; }
  @media (max-width: 760px) { .co-grid { grid-template-columns: 1fr; } .co-side { position: static; } }

  /* checkout subscription plans */
  .co-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .plan-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: rgba(6,11,24,.5); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; color: var(--white); font: inherit; transition: border-color .15s, background .15s; }
  .plan-opt:hover { border-color: var(--line-2); }
  .plan-opt.selected { border-color: var(--blue); background: rgba(47,155,255,.08); }
  .plan-t { font-weight: 700; font-size: 14px; }
  .plan-s { font-size: 11.5px; color: var(--text-mute); }