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

:root {
  /* BLACKDROP Obsidian System Tokens */
  --bg-dark: #070709;
  --bg-pitch: #000000;
  --bg-card: rgba(18, 18, 22, 0.75);
  --bg-card-hover: rgba(26, 26, 32, 0.85);
  
  --text: #ffffff;
  --text-2: rgba(244, 244, 245, 0.78);
  --text-3: rgba(161, 161, 170, 0.52);
  --text-dim: #52525b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-specular: rgba(255, 255, 255, 0.45);
  
  /* Brand Accents */
  --crimson: #ff2d55;
  --devil-red: #ff1744;
  --devil-glow: rgba(255, 23, 68, 0.25);
  --platinum: #f4f4f5;
  --silver: #a1a1aa;
  --green: #00e676;
  --green-glow: rgba(0, 230, 118, 0.25);
  --amber: #ffb703;
  
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Inter", "Prompt", "Noto Sans Thai", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

button { font: inherit; color: inherit; cursor: pointer; border: none; outline: none; background: none; }
input { font: inherit; color: inherit; outline: none; }
a { color: inherit; text-decoration: none; }

/* ── 1. Tech Grid & Ambient Atmosphere ── */
.ambient-scene {
  position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
}
.grid-mesh {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 15%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 15%, #000 35%, transparent 75%);
}
.aurora-blob {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.35;
  animation: drift 28s ease-in-out infinite alternate;
}
.a1 { width: 700px; height: 700px; left: -200px; top: -160px; background: radial-gradient(circle, #27272a 0%, transparent 70%); }
.a2 { width: 600px; height: 600px; right: -150px; top: 100px; background: radial-gradient(circle, #3f3f46 0%, transparent 70%); animation-duration: 34s; animation-delay: -10s; }
.a3 { width: 750px; height: 750px; left: 30%; top: 35%; background: radial-gradient(circle, rgba(255, 23, 68, 0.12) 0%, transparent 65%); animation-duration: 38s; }
.a4 { width: 550px; height: 550px; right: 20%; bottom: -200px; background: radial-gradient(circle, #1f1f23 0%, transparent 70%); animation-duration: 30s; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60px, 45px) scale(1.1); }
  100% { transform: translate(-45px, 80px) scale(0.95); }
}

/* ── 2. Hardware Specular Glass System ── */
.glass {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-subtle);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 45px rgba(0, 0, 0, 0.85);
  transition: all 0.28s var(--spring);
}
.glass:hover {
  border-color: var(--border-medium);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.95);
}
.glass-glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(80% 50% at 50% -10%, rgba(255, 255, 255, 0.08), transparent 60%);
}

/* ── 3. Page Shell & Sticky Navbar ── */
.app-container {
  position: relative; z-index: 1;
  max-width: 1260px; margin: 0 auto;
  padding: 0 24px 120px 24px;
}

.site-header {
  position: sticky; top: 18px; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 10px 18px 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(12, 12, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  margin-bottom: 50px;
}

.brand-wrapper {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: #000; padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%; object-fit: contain; border-radius: 9px;
}
.brand-text {
  display: flex; flex-direction: column;
}
.brand-title {
  font-size: 16px; font-weight: 900; letter-spacing: -0.03em; color: #fff;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.brand-ver {
  font-size: 10px; font-family: var(--mono); font-weight: 700;
  padding: 2px 7px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}
.brand-tagline {
  font-size: 10.5px; color: var(--text-3); font-weight: 500;
  white-space: nowrap;
}

.nav-menu {
  display: flex; align-items: center; gap: 3px;
  background: rgba(0, 0, 0, 0.55); padding: 4px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  white-space: nowrap !important;
}
.nav-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  color: var(--text-2); text-decoration: none; transition: all 0.2s var(--spring);
  white-space: nowrap !important;
  word-break: keep-all !important;
  line-height: 1.2;
  flex-shrink: 0;
}
.nav-link:hover {
  color: #fff; background: rgba(255, 255, 255, 0.08);
}
.nav-link.active {
  color: #fff; background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 10px rgba(0, 0, 0, 0.4);
}

.nav-cta-group {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-wallet-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--mono); font-size: 12.5px; font-weight: 800; color: #ffffff;
  transition: all 0.2s var(--spring); text-decoration: none;
}
.nav-wallet-pill:hover {
  background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
}
.nav-wallet-add {
  width: 17px; height: 17px; border-radius: 50%;
  background: #ffffff; color: #000000;
  display: grid; place-items: center; font-size: 11px; font-weight: 900;
}
.nav-user-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff; font-size: 12.5px; font-weight: 700; text-decoration: none;
  transition: all 0.2s;
}
.nav-user-pill:hover {
  background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28);
}
.nav-user-avatar {
  width: 22px; height: 22px; border-radius: 50%; background: #27272a;
  object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-pill-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; color: #ffffff;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.2s var(--spring);
}
.btn-pill-ghost:hover {
  background: rgba(255, 255, 255, 0.14); transform: translateY(-1px);
}
.btn-pill-solid {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; color: #000000;
  background: linear-gradient(135deg, #ffffff, #e4e4e7);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
  transition: all 0.2s var(--spring);
}
.btn-pill-solid:hover {
  transform: translateY(-2px); box-shadow: 0 6px 26px rgba(255, 255, 255, 0.45);
}

/* ── 4. Hero Section ── */
.hero-wrap {
  text-align: center; padding: 20px 0 70px 0;
}
.release-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 18px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 26px;
}
.badge-dot-stealth {
  width: 6px; height: 6px; border-radius: 50%; background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.hero-headline {
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.045em;
  margin-bottom: 24px;
}
.headline-white {
  color: #ffffff;
}
.headline-chrome {
  background: linear-gradient(180deg, #ffffff 40%, #a1a1aa 85%, #52525b 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--text-2); max-width: 840px; margin: 0 auto 38px auto;
  line-height: 1.6; font-weight: 400;
}
.hero-desc strong { color: #fff; font-weight: 700; }

.hero-actions-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-dl-hero {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  transition: all 0.22s var(--spring);
  text-decoration: none;
}
.btn-dl-hero.web {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.btn-dl-hero.web:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.btn-dl-hero.win {
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d8 100%);
  color: #000000; font-weight: 800;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}
.btn-dl-hero.win:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.45);
}
.btn-dl-hero.mac {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff; font-weight: 700;
}
.btn-dl-hero.mac:hover {
  background: rgba(255, 255, 255, 0.15); transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}
.btn-meta {
  display: flex; flex-direction: column; text-align: left; line-height: 1.25;
}
.meta-title { font-size: 14px; }
.meta-sub { font-size: 11px; opacity: 0.75; font-family: var(--mono); font-weight: 500; }

.quick-shell-snippet {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.65); border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono); font-size: 12px; color: var(--silver);
  cursor: pointer; transition: all 0.2s ease;
}
.quick-shell-snippet:hover {
  border-color: rgba(255, 255, 255, 0.3); color: #fff;
}
.snippet-prompt { color: #ffffff; font-weight: 800; }

/* ── 5. Bento Grid: Elite Architecture Highlights ── */
.bento-section {
  margin: 40px 0 90px 0;
}
.section-intro {
  text-align: center; margin-bottom: 40px;
}
.section-pill-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--silver);
  margin-bottom: 10px;
}
.section-headline {
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 900; letter-spacing: -0.03em; color: #fff;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.bento-card {
  padding: 30px; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

@media (max-width: 960px) {
  .bento-col-8, .bento-col-4, .bento-col-6 { grid-column: span 12; }
}

.bento-header { margin-bottom: 20px; }
.bento-icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid; place-items: center; margin-bottom: 16px; color: #fff;
}
.bento-title {
  font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin-bottom: 8px;
}
.bento-desc {
  font-size: 13.5px; color: var(--text-2); line-height: 1.6;
}

/* Bento Card 1: 3D Box Product Showcase Split */
.box-preview-split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center;
}
@media (max-width: 800px) {
  .box-preview-split { grid-template-columns: 1fr; }
}
.box-art-frame {
  position: relative; border-radius: var(--radius);
  overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #000000;
}
.box-art-frame img {
  width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 1 / 1;
  transition: transform 0.4s var(--spring);
}
.box-art-frame:hover img {
  transform: scale(1.03);
}

/* Feature tags inside cards */
.tag-pills-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px;
}
.feature-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-2);
}

/* ── 6. Interactive Desktop IDE Workspace ── */
.workspace-wrapper {
  margin: 50px 0 90px 0;
}
.app-window-chrome {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.95), 0 0 60px rgba(255, 255, 255, 0.04);
}
.window-titlebar {
  height: 48px; background: #0c0c10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.traffic-lights { display: flex; gap: 8px; }
.traffic-light {
  width: 12px; height: 12px; border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.traffic-light.c { background: #ff5f57; }
.traffic-light.m { background: #febc2e; }
.traffic-light.x { background: #28c840; }

.window-tabs {
  display: flex; align-items: center; gap: 6px;
}
.window-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
}
.window-actions {
  display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px;
}
.status-indicator-green {
  color: #00ff88; display: flex; align-items: center; gap: 6px; font-weight: 600;
}

/* ── 6. Comparison Matrix & Code Arsenal (Replaces old clunky split window) ── */
.comparison-wrap {
  margin: 50px 0 80px 0;
}
.comparison-table-card {
  overflow-x: auto; padding: 0; border-radius: var(--radius-xl);
}
.compare-table {
  width: 100%; border-collapse: collapse; text-align: left;
}
.compare-table th {
  padding: 18px 24px; font-size: 13px; font-weight: 800; letter-spacing: -0.01em;
  background: rgba(12, 12, 16, 0.95); border-bottom: 1px solid var(--border-subtle);
  color: var(--text-2);
}
.compare-table th.highlight-col {
  color: #ffffff; background: rgba(255, 255, 255, 0.06);
  border-left: 1px solid var(--border-medium); border-right: 1px solid var(--border-medium);
}
.compare-table td {
  padding: 18px 24px; font-size: 13.5px; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-2); vertical-align: middle;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.highlight-col {
  color: #ffffff; font-weight: 700; background: rgba(255, 255, 255, 0.03);
  border-left: 1px solid var(--border-subtle); border-right: 1px solid var(--border-subtle);
}
.compare-feature-title {
  font-weight: 700; color: #fff; font-size: 14px;
}
.compare-feature-sub {
  font-size: 11.5px; color: var(--text-3); margin-top: 2px;
}
.corp-badge-cross {
  color: #ef4444; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
}
.blackgpt-badge-check {
  color: #ffffff; font-weight: 800; display: inline-flex; align-items: center; gap: 6px;
}

/* ── Price & Value Benchmark Deck (Replaces old editor frame) ── */
.price-benchmark-deck {
  margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) {
  .price-benchmark-deck { grid-template-columns: 1fr; }
}
.benchmark-card {
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: rgba(14, 14, 18, 0.7); border: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.25s var(--spring);
}
.benchmark-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
}
.benchmark-card.featured-choice {
  background: linear-gradient(150deg, rgba(28, 28, 36, 0.95) 0%, rgba(12, 12, 16, 0.98) 50%, rgba(18, 18, 24, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
}

.benchmark-title {
  font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -0.02em;
}
.benchmark-price-box {
  margin: 14px 0 18px 0; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.benchmark-price {
  font-size: 32px; font-weight: 900; font-family: var(--mono); color: #fff;
}
.benchmark-period {
  font-size: 12px; color: var(--text-3); font-weight: 500;
}
.benchmark-items {
  list-style: none; display: flex; flex-direction: column; gap: 9.5px; font-size: 12.5px;
}
.benchmark-item {
  display: flex; align-items: flex-start; gap: 9px; line-height: 1.45;
}
.benchmark-item strong {
  font-weight: 700;
}
.benchmark-item.neg {
  color: #a1a1aa;
}
.benchmark-item.neg strong {
  color: #f4f4f5;
}
.benchmark-item.neg .ico {
  color: #ef4444; flex-shrink: 0; margin-top: 3px; display: inline-flex;
}
.benchmark-item.pos {
  color: #d4d4d8;
}
.benchmark-item.pos strong {
  color: #ffffff;
}
.benchmark-item.pos .ico {
  color: #ffffff; flex-shrink: 0; margin-top: 3px; display: inline-flex;
}
.benchmark-savings-pill {
  margin-top: 22px; padding: 12px 14px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: #ffffff; text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ── 6.5 Quick Start Guide ── */
.guide-section-wrap {
  margin: 85px 0 60px 0;
}
.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.guide-step-card {
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.step-badge-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.step-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.step-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}
.step-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
}

/* ── 7. Pricing Cards & Switcher ── */
.pricing-section-wrap {
  margin: 90px 0;
  text-align: center;
}
.pricing-switcher-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 38px 0;
}
.pricing-edition-switcher {
  display: inline-flex;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  gap: 6px;
}
.edition-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
  transition: all 0.22s var(--spring);
  cursor: pointer;
}
.edition-switch-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.edition-switch-btn.active {
  color: #000000;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.35);
}
.switcher-tag-free {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.edition-switch-btn.active .switcher-tag-free {
  background: rgba(0, 0, 0, 0.15);
  color: #000;
}
.switcher-tag-pro {
  font-size: 10px;
  font-weight: 800;
  font-family: var(--mono);
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.edition-switch-btn.active .switcher-tag-pro {
  background: rgba(0, 0, 0, 0.15);
  color: #000;
}
.pricing-panel {
  display: none;
}
.pricing-panel.active {
  display: block;
  animation: fadeInPricing 0.25s ease-out;
}
@keyframes fadeInPricing {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1140px;
  margin: 0 auto;
  text-align: left;
}
.pricing-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}
.tier-card {
  padding: 36px 30px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.tier-card.primary-tier {
  background: linear-gradient(150deg, rgba(32, 32, 40, 0.95) 0%, rgba(14, 14, 18, 0.98) 50%, rgba(20, 20, 26, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 255, 255, 0.06);
}
.tier-pill-label {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 800;
  background: rgba(255, 255, 255, 0.12); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 18px; width: fit-content;
}
.tier-name { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.tier-summary { font-size: 13.5px; color: var(--text-2); margin-bottom: 24px; line-height: 1.5; }

.tier-price-row {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 26px;
}
.currency-sym { font-size: 22px; font-weight: 700; color: #ffffff; }
.price-figure { font-size: 48px; font-weight: 900; font-family: var(--mono); color: #ffffff; }
.billing-cycle { font-size: 13.5px; color: var(--text-3); font-weight: 500; }

.checklist-features {
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; list-style: none;
}
.checklist-item {
  display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--text-2);
}
.check-badge {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid; place-items: center; flex-shrink: 0;
}

.btn-purchase-action {
  width: 100%; padding: 14px; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 14px; text-align: center;
  transition: all 0.2s var(--spring);
}
.btn-purchase-action.solid-white {
  background: linear-gradient(135deg, #ffffff, #e4e4e7); color: #000000;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.25);
}
.btn-purchase-action.solid-white:hover {
  transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255, 255, 255, 0.45);
}
.btn-purchase-action.ghost-outline {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-purchase-action.ghost-outline:hover {
  background: rgba(255, 255, 255, 0.16); transform: translateY(-2px);
}

/* ── 8. Frequently Asked Questions (FAQ) ── */
.faq-wrap-section {
  margin: 90px 0 50px 0;
}
.faq-container {
  max-width: 860px;
  margin: 30px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-card {
  border-radius: var(--radius);
  background: rgba(14, 14, 18, 0.7);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all 0.25s var(--spring);
}
.faq-card:hover {
  border-color: var(--border-medium);
  background: rgba(18, 18, 24, 0.85);
}
.faq-card[open] {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(16, 16, 22, 0.95);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  list-style: none;
  transition: color 0.2s;
  gap: 16px;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.faq-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-3);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.faq-card[open] .faq-num {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--spring), background 0.2s, border-color 0.2s;
  color: #ffffff;
}
.faq-card[open] .faq-icon {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}
.faq-content {
  padding: 0 24px 22px 24px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}
.faq-content strong {
  color: #ffffff;
  font-weight: 700;
}
.faq-content code {
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* ── 9. Checkout Modal & PromptPay Simulation ── */
.checkout-modal-backdrop {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(18px);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.checkout-modal-backdrop.open { opacity: 1; pointer-events: auto; }
.checkout-modal-dialog {
  width: 100%; max-width: 480px; padding: 34px; position: relative;
  transform: translateY(20px) scale(0.96); transition: transform 0.25s var(--spring);
}
.checkout-modal-backdrop.open .checkout-modal-dialog { transform: translateY(0) scale(1); }

.modal-dismiss-btn {
  position: absolute; right: 20px; top: 20px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; color: var(--text-2);
}
/* ── Wallet Checkout Modal Styles ── */
.wallet-checkout-box {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-2);
}
.wallet-row.total {
  font-weight: 700;
  color: #ffffff;
}
.wallet-row .w-val.mono {
  font-family: var(--mono);
  font-weight: 700;
  color: #ffffff;
}
.wallet-row .w-val.neg {
  color: #ef4444;
}
.wallet-row .w-val.highlight {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}
.wallet-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2px 0;
}
.wallet-alert-insufficient {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 12px;
  margin-top: 14px;
}

.key-delivery-banner {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px; border-radius: 12px; text-align: center; margin-top: 18px;
  display: none; animation: fadeIn 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.key-delivery-banner.active { display: block; }
.key-display-code {
  font-family: var(--mono); font-size: 18px; font-weight: 800; color: #ffffff;
  letter-spacing: 0.06em; margin: 12px 0;
  padding: 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-copy-action {
  padding: 8px 18px; border-radius: 6px; font-size: 12px; font-weight: 700;
  background: #ffffff; color: #000000; display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s var(--spring);
}
.btn-copy-action:hover {
  transform: translateY(-1px); box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
}

/* ── 10. Footer ── */
.site-footer {
  text-align: center; padding: 50px 0 20px 0; color: var(--text-3); font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 60px;
}

/* Mobile Bottom Dock (Hidden on Desktop) */
.mobile-bottom-dock {
  display: none;
}

/* ══════════════════════════════════════════════════════════════
   11. ULTRA-FLUID MOBILE & TABLET RESPONSIVE SYSTEM
   ══════════════════════════════════════════════════════════════ */

/* Laptop & Medium Screen Breakpoints (961px - 1260px) */
@media (max-width: 1260px) {
  .brand-tagline {
    display: none !important;
  }
  .site-header {
    padding: 8px 14px 8px 16px;
    gap: 10px;
  }
  .nav-link {
    padding: 5px 11px !important;
    font-size: 12.5px !important;
  }
  .nav-menu {
    gap: 2px !important;
  }
}

@media (max-width: 1140px) {
  .nav-link {
    padding: 5px 8px !important;
    font-size: 12px !important;
  }
  .nav-wallet-pill, .nav-user-pill {
    padding: 5px 9px !important;
    font-size: 12px !important;
  }
  .nav-admin-pill {
    padding: 5px 8px !important;
    font-size: 11px !important;
  }
  .nav-cta-group {
    gap: 6px !important;
  }
}

/* Tablet & Mobile Breakpoint (<= 960px) */
@media (max-width: 960px) {
  body:not(.chat-body) {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .app-container {
    padding-bottom: 24px !important;
  }
  .mobile-bottom-dock {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(8, 8, 12, 0.94);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.85);
    padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px)) 8px;
    justify-content: space-around;
    align-items: center;
  }
  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 6px;
    color: var(--text-3);
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.1s ease, color 0.15s ease, opacity 0.1s ease;
    min-width: 52px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
  }
  .dock-item:active {
    transform: scale(0.92);
    opacity: 0.72;
  }
  .dock-item:hover, .dock-item.active {
    color: #ffffff;
  }
  .dock-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
  }
  .dock-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  /* Guide grid mobile stack */
  .guide-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .guide-step-card {
    padding: 22px 18px !important;
  }

  /* Pricing grids mobile stack */
  .pricing-grid-3, .pricing-grid-2 {
    grid-template-columns: 1fr !important;
    max-width: 520px !important;
    gap: 18px !important;
  }
  .pricing-edition-switcher {
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    justify-content: center;
  }
  .edition-switch-btn {
    padding: 8px 10px;
    font-size: 11.5px;
    flex: 1;
    justify-content: center;
  }

  .nav-menu {
    display: none !important;
  }
  .site-header {
    padding: 8px 14px;
    top: 10px;
    margin-bottom: 30px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 1 !important;
  }
  .box-preview-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .price-benchmark-deck {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Mobile Breakpoint (<= 640px) */
@media (max-width: 640px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  .app-container {
    padding: 0 12px calc(85px + env(safe-area-inset-bottom, 0px)) 12px !important;
    overflow-x: hidden;
  }

  /* Header Compact Mode */
  .site-header {
    padding: 8px 12px;
    top: 8px;
    margin-bottom: 24px;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .brand-wrapper {
    gap: 8px !important;
  }
  .brand-tagline, .brand-ver {
    display: none !important;
  }
  .brand-title {
    font-size: 13.5px !important;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .nav-cta-group {
    gap: 6px !important;
  }
  .nav-wallet-pill {
    padding: 5px 8px;
    font-size: 11px;
    gap: 5px;
  }
  .nav-wallet-add {
    width: 14px;
    height: 14px;
    font-size: 9.5px;
  }
  .nav-admin-pill {
    padding: 6px 8px !important;
    border-radius: 10px !important;
  }
  .nav-admin-pill span {
    display: none !important;
  }
  .nav-user-pill {
    padding: 4px !important;
    border-radius: 50% !important;
  }
  .nav-user-pill span {
    display: none !important;
  }
  .nav-user-avatar {
    width: 20px;
    height: 20px;
  }

  /* Bottom Dock Full Touch Optimization */
  .mobile-bottom-dock {
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px)) 4px !important;
    left: 0 !important;
    right: 0 !important;
  }
  .dock-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 4px 2px !important;
  }
  .dock-label {
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  /* Hero Section */
  .hero-wrap {
    padding: 14px 0 32px 0;
  }
  .release-badge {
    font-size: 10px;
    padding: 5px 12px;
    gap: 6px;
    max-width: 100%;
    margin-bottom: 18px;
    line-height: 1.3;
  }
  .hero-headline {
    font-size: clamp(26px, 7.8vw, 44px) !important;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    line-height: 1.18;
  }
  .hero-desc {
    font-size: 13.5px !important;
    line-height: 1.6;
    padding: 0 4px;
    margin-bottom: 24px;
  }

  /* Full-width Stacked Download Buttons */
  .hero-actions-bar {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    margin-bottom: 22px;
  }
  .btn-dl-hero {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
  }

  .quick-shell-snippet {
    max-width: 100% !important;
    font-size: 10.5px !important;
    padding: 8px 12px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
  }

  /* Bento Cards */
  .bento-card {
    padding: 20px 16px !important;
    border-radius: var(--radius) !important;
  }
  .bento-title {
    font-size: 17px !important;
  }
  .bento-desc {
    font-size: 13px !important;
  }

  /* Code Showcase Window */
  .code-editor-frame {
    border-radius: var(--radius) !important;
  }
  .window-actions {
    display: none !important;
  }
  .editor-tab-bar {
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    gap: 6px !important;
    padding: 6px !important;
  }
  .editor-tab {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
    flex-shrink: 0;
  }
  .code-display pre code {
    font-size: 11px !important;
    padding: 12px 10px !important;
  }

  /* Comparison Matrix Table with Smooth Touch Scroll */
  .comparison-wrap {
    margin: 36px 0 50px 0 !important;
  }
  .comparison-table-card {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: var(--radius) !important;
    margin: 0 -2px !important;
    box-shadow: inset -10px 0 20px rgba(0, 0, 0, 0.6);
  }
  .compare-table {
    min-width: 580px !important;
  }
  .compare-table th, .compare-table td {
    padding: 12px 14px !important;
    font-size: 12.5px !important;
  }
  .compare-feature-title {
    font-size: 13px !important;
  }
  .compare-feature-sub {
    font-size: 11px !important;
  }

  /* Benchmark Deck Cards */
  .benchmark-card {
    padding: 22px 16px !important;
  }
  .benchmark-title {
    font-size: 16px !important;
  }
  .benchmark-price {
    font-size: 26px !important;
  }
  .benchmark-items {
    font-size: 12px !important;
    gap: 8px !important;
  }
  .benchmark-savings-pill {
    font-size: 11px !important;
    padding: 10px 12px !important;
  }

  /* Pricing Cards */
  .pricing-section-wrap {
    margin: 50px 0 !important;
  }
  .tier-card {
    padding: 24px 18px !important;
    border-radius: var(--radius) !important;
  }
  .tier-name {
    font-size: 19px !important;
  }
  .price-figure {
    font-size: 34px !important;
  }
  .btn-purchase-action {
    padding: 13px 20px !important;
    font-size: 13px !important;
  }

  /* Checkout Modal */
  .checkout-modal-backdrop {
    padding: 10px;
    align-items: center;
  }
  .checkout-modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 22px 16px !important;
    max-height: 90vh;
    overflow-y: auto;
  }
  .wallet-checkout-box {
    padding: 14px 12px !important;
    gap: 10px !important;
  }
  .wallet-row {
    font-size: 12px !important;
  }
  .wallet-row .w-val.highlight {
    font-size: 14px !important;
  }
  .key-display-code {
    font-size: 14px !important;
    word-break: break-all;
    padding: 8px !important;
  }
}

/* Extra Small Screens (<= 380px) */
@media (max-width: 380px) {
  .nav-user-pill span {
    display: none !important;
  }
  .nav-wallet-pill {
    padding: 4px 7px !important;
    font-size: 11px !important;
  }
  .hero-headline {
    font-size: 24px !important;
  }
}

/* ── 12. Inner Application Pages (Topup, Profile, History, Auth) ── */
.inner-page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 0 60px 0;
}
.inner-page-wide {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0 60px 0;
}
.page-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.page-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.page-subtitle {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 4px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 8px;
}
.breadcrumbs a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: #fff;
}

/* Glass Card Box */
.glass-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(28px);
  margin-bottom: 20px;
}
.glass-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}
.glass-box-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Method Switcher Tabs */
.method-tabs-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}
.method-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--spring);
}
.method-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.method-tab-btn.active {
  color: #000;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
}

/* Form Controls */
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 8px;
}
.form-input-obsidian {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-medium);
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.form-input-obsidian:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}
.form-input-obsidian::placeholder {
  color: var(--text-dim);
}

/* Preset Chips */
.preset-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
@media (min-width: 640px) {
  .preset-chips-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.preset-chip-btn {
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--spring);
  text-align: center;
}
.preset-chip-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.preset-chip-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn-obsidian-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffffff, #e4e4e7);
  color: #000000;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
  transition: all 0.22s var(--spring);
  text-decoration: none;
}
.btn-obsidian-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4);
}
.btn-obsidian-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-obsidian-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-obsidian-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-obsidian-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
}

/* QR Pad */
.qr-card-pad {
  background: #ffffff;
  padding: 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Slip Upload Zone */
.slip-upload-zone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.3);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.slip-upload-zone:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

/* Profile Key Stats */
.stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.stat-num-mono {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 2px 0;
}
.stat-label-muted {
  font-size: 11.5px;
  color: var(--text-3);
  font-weight: 500;
}

/* Quick Nav Cards */
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) {
  .quick-nav-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.quick-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.22s var(--spring);
}
.quick-nav-card:hover {
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.quick-nav-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #ffffff;
}
.quick-nav-title {
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

/* Modern Obsidian Table */
.table-wrap-obsidian {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}
.table-obsidian {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.table-obsidian th {
  padding: 14px 18px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-3);
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border-subtle);
}
.table-obsidian td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.table-obsidian tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.badge-status.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.badge-status.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-status.rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Global Utilities */
.hidden {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   HIGH-PERFORMANCE ZERO-LATENCY PAGE SYSTEM (OBSIDIAN LIQUID GLASS)
   ══════════════════════════════════════════════════════════════════ */

/* Universal Clean Page Fade In Animation (Silky, Smooth & Instant - 0 Freeze) */
@keyframes bdPageEnter {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.page-body,
.app-container,
.inner-page-wide,
.auth-box,
.ai-workspace-wrap {
  animation: bdPageEnter 0.16s cubic-bezier(0.16, 1, 0.3, 1) both;
}


