/* ==========================================================================
   T2M Store — Editorial Digital Storefront Design System
   Typography: Bricolage Grotesque (Display) + Be Vietnam Pro (Body) + JetBrains Mono
   ========================================================================== */

:root {
  --font-display: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  --font-sans: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Light Mode — Warm Alabaster Editorial Palette */
  --bg: #f6f7fb;
  --bg-elevated: #ffffff;
  --bg-subtle: #eef1f7;
  --bg-glass: rgba(255, 255, 255, 0.78);

  --ink: #0c101b;
  --ink-secondary: #434d63;
  --ink-muted: #6c7791;

  --border: rgba(12, 16, 27, 0.085);
  --border-strong: rgba(12, 16, 27, 0.16);

  --accent: #2554f5;
  --accent-hover: #1b44d6;
  --accent-soft: rgba(37, 84, 245, 0.09);

  --telegram: #1b96d8;
  --telegram-hover: #137fbb;
  --telegram-soft: rgba(27, 150, 216, 0.12);

  --emerald: #059669;
  --emerald-soft: rgba(5, 150, 105, 0.12);

  --gold: #d97706;
  --gold-soft: rgba(217, 119, 6, 0.12);

  --shadow-xs: 0 1px 2px rgba(12, 16, 27, 0.04);
  --shadow-sm: 0 4px 14px -2px rgba(12, 16, 27, 0.06), 0 1px 3px rgba(12, 16, 27, 0.04);
  --shadow-md: 0 14px 36px -8px rgba(12, 16, 27, 0.09), 0 4px 12px -4px rgba(12, 16, 27, 0.05);
  --shadow-lg: 0 28px 64px -16px rgba(12, 16, 27, 0.18), 0 8px 20px -6px rgba(12, 16, 27, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #080b12;
  --bg-elevated: #101521;
  --bg-subtle: #161d2e;
  --bg-glass: rgba(12, 16, 27, 0.78);

  --ink: #f3f6fc;
  --ink-secondary: #adb8d0;
  --ink-muted: #7c8aa6;

  --border: rgba(226, 234, 255, 0.09);
  --border-strong: rgba(226, 234, 255, 0.18);

  --accent: #5280ff;
  --accent-hover: #6d95ff;
  --accent-soft: rgba(82, 128, 255, 0.16);

  --telegram: #28a8ea;
  --telegram-hover: #42b7f2;
  --telegram-soft: rgba(40, 168, 234, 0.16);

  --emerald: #34d399;
  --emerald-soft: rgba(52, 211, 153, 0.14);

  --gold: #fbbf24;
  --gold-soft: rgba(251, 191, 36, 0.14);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 6px 18px -2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 42px -10px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 32px 72px -14px rgba(0, 0, 0, 0.72);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color 0.28s var(--ease-out), color 0.28s var(--ease-out);
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1220px, calc(100% - 36px));
  margin-inline: auto;
}

/* Ambient Backdrop */
.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.55;
}

.ambient-orb-1 {
  width: 600px;
  height: 600px;
  top: -220px;
  left: -120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22), rgba(139, 92, 246, 0.08) 55%, transparent 72%);
}

.ambient-orb-2 {
  width: 560px;
  height: 560px;
  top: 40px;
  right: -180px;
  background: radial-gradient(circle, rgba(27, 150, 216, 0.18), rgba(16, 185, 129, 0.08) 55%, transparent 72%);
}

[data-theme="dark"] .ambient-orb-1 {
  background: radial-gradient(circle, rgba(66, 114, 255, 0.22), rgba(124, 58, 237, 0.1) 55%, transparent 72%);
}

[data-theme="dark"] .ambient-orb-2 {
  background: radial-gradient(circle, rgba(34, 158, 217, 0.18), rgba(16, 185, 129, 0.09) 55%, transparent 72%);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 65%);
  opacity: 0.45;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #ffffff;
  box-shadow: 0 6px 16px -4px rgba(37, 84, 245, 0.45);
}

.brand-text strong {
  font-weight: 800;
}

.brand-text span {
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-subtle);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--ink-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.icon-btn:hover {
  color: var(--ink);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

[data-theme="light"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

.cart-trigger {
  height: 38px;
  padding: 0 12px 0 13px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-trigger:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

.cart-badge {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
  transition: transform 0.25s var(--ease-out);
}

.cart-badge.bump {
  transform: scale(1.25);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
  border-radius: 11px;
}

.btn-lg {
  height: 48px;
  padding: 0 22px;
  font-size: 14.5px;
  border-radius: 13px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg-elevated);
  box-shadow: 0 10px 24px -10px rgba(12, 16, 27, 0.45);
}

[data-theme="dark"] .btn-primary {
  background: #ffffff;
  color: #090d16;
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 14px 28px -10px rgba(12, 16, 27, 0.52);
}

.btn-telegram {
  background: linear-gradient(135deg, #24a4e8, #1284c7);
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgba(27, 150, 216, 0.6);
}

.btn-telegram:hover {
  background: linear-gradient(135deg, #2cb0f4, #148ed6);
  transform: translateY(-1.5px);
  box-shadow: 0 14px 28px -8px rgba(27, 150, 216, 0.65);
}

.btn-surface {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-surface:hover {
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  background: var(--bg-subtle);
  color: var(--ink);
}

.btn-link {
  background: none;
  border: none;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--telegram);
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.18s ease;
}

.btn-link:hover {
  background: var(--telegram-soft);
}

.tg-icon-color {
  color: var(--telegram);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 58px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 42px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 22px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  animation: pulseDot 2.2s infinite;
}

@keyframes pulseDot {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.06);
  }
}

.status-pill code {
  font-weight: 600;
  color: var(--telegram);
}

.status-sep {
  color: var(--ink-muted);
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.text-gradient {
  background: linear-gradient(125deg, #2554f5 0%, #0ea5e9 52%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="dark"] .text-gradient {
  background: linear-gradient(125deg, #749bff 0%, #38bdf8 52%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-underline {
  position: relative;
  display: inline-block;
}

.hero-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  border-radius: 6px;
  background: var(--accent-soft);
  z-index: -1;
}

.hero-subtitle {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-secondary);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.metric-item {
  position: relative;
}

.metric-item + .metric-item {
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.metric-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2px;
}

.metric-item span {
  display: block;
  font-size: 12.8px;
  line-height: 1.45;
  color: var(--ink-muted);
}

/* Hero Right: Live Quick Price Board */
.hero-board {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #2554f5, #1b96d8, #10b981);
}

.board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.board-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.board-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.board-tag {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-soft);
}

.quick-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.2s ease, transform 0.2s var(--ease-out), background-color 0.2s ease;
}

.quick-row:hover {
  border-color: rgba(27, 150, 216, 0.45);
  background: var(--bg-elevated);
  transform: translateX(3px);
}

.quick-row-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.quick-meta {
  min-width: 0;
}

.quick-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-sub {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
}

.quick-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.quick-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.quick-price.is-quote {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.quick-arrow {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--telegram-soft);
  color: var(--telegram);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.quick-row:hover .quick-arrow {
  background: var(--telegram);
  color: #fff;
}

.board-footer {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.board-footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mono-pill {
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--telegram-soft);
  color: var(--telegram);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
}

/* ==========================================================================
   Catalog Toolbar (Filters & Search)
   ========================================================================== */
.catalog-controls-section {
  padding: 16px 0 8px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px;
  border-radius: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.filter-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tab {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.filter-tab:hover {
  color: var(--ink);
  background: var(--bg-subtle);
}

.filter-tab.active {
  background: var(--ink);
  color: var(--bg-elevated);
}

[data-theme="dark"] .filter-tab.active {
  background: #ffffff;
  color: #0a0d16;
}

.tab-count {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(127, 127, 127, 0.16);
}

.filter-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .filter-tab.active .tab-count {
  background: rgba(10, 13, 22, 0.14);
}

.search-box {
  position: relative;
  flex: 1 1 260px;
  max-width: 360px;
}

.search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 38px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.search-box input:focus {
  border-color: var(--accent);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.catalog-section {
  padding: 46px 0 16px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 26px;
}

.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.section-desc {
  margin: 0;
  max-width: 600px;
  font-size: 15px;
  color: var(--ink-secondary);
}

.guarantee-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  box-shadow: var(--shadow-xs);
}

.guarantee-chip svg {
  color: var(--emerald);
}

/* ==========================================================================
   AI & Premium Subscription Cards (Symmetrical 2x2 Grid for 4 Cards)
   ========================================================================== */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.product-card.featured {
  border-color: rgba(37, 84, 245, 0.34);
  box-shadow: 0 16px 38px -12px rgba(37, 84, 245, 0.16), var(--shadow-sm);
}

/* Bespoke Visual Header Artwork */
.card-visual {
  position: relative;
  height: 178px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
}

.visual-google {
  background:
    radial-gradient(circle at 82% 24%, rgba(56, 189, 248, 0.35), transparent 52%),
    radial-gradient(circle at 16% 85%, rgba(99, 102, 241, 0.34), transparent 54%),
    linear-gradient(135deg, #0d1633 0%, #162552 55%, #123663 100%);
  color: #ffffff;
}

.visual-locket {
  background:
    radial-gradient(circle at 82% 22%, rgba(251, 191, 36, 0.42), transparent 52%),
    radial-gradient(circle at 18% 85%, rgba(245, 158, 11, 0.26), transparent 52%),
    linear-gradient(135deg, #1d150a 0%, #34230c 55%, #4a310b 100%);
  color: #ffffff;
}

.visual-muse {
  background:
    radial-gradient(circle at 80% 24%, rgba(45, 212, 191, 0.36), transparent 50%),
    radial-gradient(circle at 18% 82%, rgba(16, 185, 129, 0.28), transparent 55%),
    linear-gradient(135deg, #081c1a 0%, #0d322e 55%, #0f423d 100%);
  color: #ffffff;
}

.visual-antigravity {
  background:
    radial-gradient(circle at 82% 20%, rgba(167, 139, 250, 0.42), transparent 52%),
    radial-gradient(circle at 18% 84%, rgba(56, 189, 248, 0.34), transparent 54%),
    linear-gradient(135deg, #0f0c24 0%, #1d1647 52%, #132c57 100%);
  color: #ffffff;
}

.price-now.is-quote-lg {
  font-size: 24px;
  color: var(--accent);
}

.card-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
}

.visual-badge-hot {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.92), rgba(245, 158, 11, 0.92));
  border-color: transparent;
  color: #1c1305;
}

.visual-pill-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
}

.card-visual-center {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.emblem-orb {
  width: 56px;
  height: 56px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 26px -6px rgba(0, 0, 0, 0.36);
}

.visual-caption {
  text-align: right;
}

.visual-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.visual-caption span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.visual-pattern {
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.visual-pattern::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

/* Card Body */
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.card-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.card-summary {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.price-now {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink);
}

.price-unit {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.price-old {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.feature-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.8px;
  color: var(--ink-secondary);
  line-height: 1.48;
}

.feature-check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--emerald-soft);
  color: var(--emerald);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.card-actions-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ==========================================================================
   Combo Banner
   ========================================================================== */
.combo-section {
  padding: 20px 0 8px;
}

.combo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 30px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 20%, rgba(27, 150, 216, 0.22), transparent 45%),
    linear-gradient(135deg, #0e1424 0%, #15213e 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.combo-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.combo-copy h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.combo-copy p {
  margin: 0;
  max-width: 580px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
}

.combo-action {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.combo-price {
  text-align: right;
}

.combo-price-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.combo-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.combo-price-sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #7dd3fc;
}

/* ==========================================================================
   Tool Automation Showcase Cards (2-Column Flagship Layout)
   ========================================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

/* Tool Preview Stage */
.tool-stage {
  position: relative;
  background: #0b101d;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border);
}

.window-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.window-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.window-title img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.stage-viewport {
  position: relative;
  aspect-ratio: 16 / 9.5;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: #0f1628;
}

.stage-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s var(--ease-out);
}

.tool-card:hover .stage-viewport img {
  transform: scale(1.025);
}

.stage-thumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.stage-thumb-btn {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.74);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.stage-thumb-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.stage-thumb-btn.active {
  background: #2563eb;
  border-color: #3b82f6;
  color: #ffffff;
}

/* Interactive Mini-App Preview for VGG One Pro Manager */
.vgg-mock {
  height: 100%;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #e6edf9;
  font-size: 12px;
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.2), transparent 50%),
    linear-gradient(160deg, #0d1323 0%, #090e1a 100%);
}

.vgg-mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vgg-stats {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.vgg-stat-chip {
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #cbd5e1;
}

.vgg-stat-chip strong {
  color: #34d399;
}

.vgg-scan-btn {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.vgg-scan-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

.vgg-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.vgg-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.vgg-row.scanning {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(56, 189, 248, 0.12);
}

.vgg-profile {
  min-width: 0;
}

.vgg-profile strong {
  display: block;
  font-size: 11.5px;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vgg-profile span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #94a3b8;
}

.vgg-plan-pill {
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.vgg-plan-pro {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.vgg-plan-ultra {
  background: rgba(168, 85, 247, 0.22);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.38);
}

.vgg-plan-free {
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
}

.vgg-quota {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
}

.vgg-quota b {
  display: block;
  color: #34d399;
}

/* Tool Card Content */
.tool-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tool-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.tool-code-tag {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tool-price-pill {
  padding: 7px 12px;
  border-radius: 11px;
  background: var(--telegram-soft);
  color: var(--telegram);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}

.tech-chip {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-secondary);
}

.tool-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-actions .btn-telegram {
  flex: 1 1 200px;
}

/* ==========================================================================
   Empty Search State
   ========================================================================== */
.empty-state {
  padding: 36px 0;
}

.empty-card {
  text-align: center;
  padding: 42px 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
}

.empty-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
}

.empty-card p {
  margin: 0 0 18px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-section {
  padding: 64px 0 32px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.process-step {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.process-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.process-step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 48px 0 76px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.faq-intro .section-desc {
  margin-bottom: 22px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.faq-chevron {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--bg-subtle);
  position: relative;
  flex-shrink: 0;
}

.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink-secondary);
  transform: translate(-50%, -50%);
  transition: transform 0.24s var(--ease-out), opacity 0.24s ease;
}

.faq-chevron::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-chevron::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease-out);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 20px;
  font-size: 14.2px;
  color: var(--ink-secondary);
  transition: padding 0.28s var(--ease-out);
}

.faq-item.open .faq-answer p {
  padding: 0 20px 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand p {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
}

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

.footer-tg {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--telegram-soft);
  color: var(--telegram) !important;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
}

/* ==========================================================================
   Floating Telegram Button
   ========================================================================== */
.floating-tg {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  height: 50px;
  padding: 0 18px 0 15px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #24a4e8, #1284c7);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 14px 32px -6px rgba(18, 132, 199, 0.58);
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s ease;
}

.floating-tg:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -6px rgba(18, 132, 199, 0.68);
}

.floating-tg-pulse {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(36, 164, 232, 0.4);
  animation: floatPulse 2.8s infinite;
  pointer-events: none;
}

@keyframes floatPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.12, 1.24);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ==========================================================================
   Product Detail Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 11, 18, 0.62);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 840px);
  overflow-y: auto;
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s var(--ease-out);
}

.modal-backdrop.open .modal-sheet {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-content {
  padding: 26px 28px 28px;
}

.modal-header-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.modal-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.modal-subtitle {
  margin: 0 0 20px;
  color: var(--ink-secondary);
  font-size: 14.8px;
}

.modal-gallery {
  margin-bottom: 20px;
}

.modal-gallery-main {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b101d;
  aspect-ratio: 16 / 9;
}

.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.modal-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.modal-spec-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.modal-spec-box span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-bottom: 3px;
}

.modal-spec-box strong {
  font-size: 14px;
  color: var(--ink);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.modal-actions .btn-telegram {
  flex: 1 1 240px;
}

/* ==========================================================================
   Slide-Over Cart Drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(8, 11, 18, 0.56);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  width: min(440px, 100%);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
}

.drawer-backdrop.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.drawer-header h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.drawer-header p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  margin: auto 0;
  text-align: center;
  padding: 36px 12px;
  color: var(--ink-muted);
}

.cart-empty strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 6px;
}

.cart-item {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-info {
  min-width: 0;
}

.cart-item-info strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 2px;
}

.cart-item-info span {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.qty-val {
  min-width: 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.drawer-footer {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.cart-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cart-summary-row span {
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.cart-summary-row strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.cart-quote-note {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-secondary-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(440px, calc(100% - 32px));
}

.toast {
  pointer-events: auto;
  padding: 13px 16px;
  border-radius: 14px;
  background: #0e1422;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  animation: toastIn 0.28s var(--ease-out);
}

[data-theme="dark"] .toast {
  background: #1b2438;
}

.toast-btn {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .combo-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .combo-action {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .combo-price {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .process-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 26px);
  }

  .navbar-inner {
    height: 64px;
  }

  .cart-trigger-label,
  .nav-tg-btn {
    display: none;
  }

  .hero {
    padding: 34px 0 24px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .metric-item + .metric-item {
    padding-left: 0;
    padding-top: 12px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .ai-grid {
    grid-template-columns: 1fr;
  }

  .hero-board {
    padding: 18px;
  }

  .combo-card {
    padding: 22px 20px;
  }

  .modal-content {
    padding: 20px 18px 22px;
  }

  .modal-specs-grid {
    grid-template-columns: 1fr;
  }

  .floating-tg {
    right: 14px;
    bottom: 14px;
    height: 46px;
    padding: 0 15px 0 13px;
  }
}
