/* ============================================================================
 * OMNI-STUDIO AI V2.0 — APPLE / LINEAR / RAYCAST CYBER-GLASS DESIGN SYSTEM
 * Interactive 60fps Particle Canvas, 3D Spotlight Bento Cards, Neon Aurora Glow
 * ============================================================================ */

:root {
  --bg-deep: #05070e;
  --bg-panel: rgba(13, 19, 36, 0.78);
  --bg-card: rgba(20, 29, 49, 0.62);
  --bg-input: rgba(10, 15, 29, 0.92);
  --border-subtle: rgba(148, 163, 184, 0.15);
  --border-glow: rgba(99, 102, 241, 0.65);
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --indigo: #6366f1;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --amber: #f59e0b;
  --danger: #f43f5e;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-glow: 0 16px 40px -10px rgba(99, 102, 241, 0.42);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.22), transparent 36%),
    radial-gradient(circle at 85% 12%, rgba(6, 182, 212, 0.18), transparent 38%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.12), transparent 42%);
  color: var(--text-main);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 60fps Interactive Constellation Canvas Background */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.omni-navbar,
.main-container,
.omni-footer {
  position: relative;
  z-index: 2;
}

/* ============================================================================
 * TOP GLASS NAVIGATION BAR
 * ============================================================================ */
.omni-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: rgba(5, 7, 14, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 12px 24px;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-orb {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.55);
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-version-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.25));
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.4);
  margin-left: 6px;
}

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

/* ============================================================================
 * BUTTONS & BADGES
 * ============================================================================ */
button,
.btn-primary-glow,
.btn-secondary,
.btn-ghost-sm {
  font-family: inherit;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-glow {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 8px 25px -4px rgba(6, 182, 212, 0.45);
}

.btn-primary-glow:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 32px -4px rgba(6, 182, 212, 0.65);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.78);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(51, 65, 85, 0.92);
  transform: translateY(-1px);
}

.btn-traffic-glow {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.btn-traffic-glow:hover {
  background: rgba(16, 185, 129, 0.28);
  color: #ffffff;
}

.btn-ghost-sm {
  background: rgba(99, 102, 241, 0.14);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.btn-ghost-sm:hover {
  background: rgba(99, 102, 241, 0.28);
  color: #ffffff;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 12px;
}

.w-full {
  width: 100%;
}

.pro-unlocked-pill {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.5) !important;
}

/* ============================================================================
 * CINEMATIC HERO & 1-CLICK MAGICAL DEMO BAR
 * ============================================================================ */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 26px 20px 80px;
}

.hero-header {
  text-align: center;
  max-width: 980px;
  margin: 6px auto 24px;
}

.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #67e8f9;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(27px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #ffffff 15%, #a5b4fc 55%, #22d3ee 85%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 15.5px;
  max-width: 780px;
  margin: 0 auto 20px;
}

/* 1-Click Magical Experience Bar */
.hero-magic-bar {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.magic-bar-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #fde047;
  margin-right: 4px;
}

.hero-magic-btn {
  background: rgba(30, 41, 59, 0.85);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
}

.hero-magic-btn:hover,
.hero-magic-btn.active-magic {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.45), rgba(6, 182, 212, 0.45));
  color: #ffffff;
  border-color: #22d3ee;
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.4);
  transform: translateY(-1px);
}

/* Search & Category Tabs */
.search-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1020px;
  margin: 0 auto 26px;
}

.search-box-wrap {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border-radius: 14px;
  background: rgba(13, 19, 36, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 14.5px;
  outline: none;
  transition: all 0.2s;
}

.search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-tab-btn {
  background: rgba(20, 29, 49, 0.72);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 9px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
}

.cat-tab-btn.active,
.cat-tab-btn:hover {
  background: linear-gradient(135deg, #4f46e5, #0891b2);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

/* ============================================================================
 * ACTIVE INTERACTIVE WORKSPACE STAGE
 * ============================================================================ */
.workspace-stage {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 36px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.workspace-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.workspace-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.workspace-big-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(6, 182, 212, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(6, 182, 212, 0.25);
}

.workspace-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
}

.workspace-title-group h2 {
  font-size: 22px;
  font-weight: 800;
}

.workspace-title-group p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Tool inner grids & inputs */
.tool-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 960px) {
  .tool-grid-2 {
    grid-template-columns: 1fr;
  }
}

.tool-panel {
  background: rgba(10, 15, 29, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
}

.tool-panel h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #f1f5f9;
}

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

.panel-header-row h4 {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 640px) {
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}

.omni-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
}

.omni-input:focus {
  border-color: var(--cyan);
}

.code-textarea {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
}

.omni-color-input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-input);
  cursor: pointer;
  padding: 3px;
}

.omni-range {
  width: 100%;
  accent-color: var(--cyan);
}

/* Bio Font / Nickname Pills Grid */
.nick-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 175px;
  overflow-y: auto;
}

@media (max-width: 640px) {
  .nick-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nick-pill-btn {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #e2e8f0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nick-pill-btn:hover {
  border-color: #22d3ee;
  background: rgba(6, 182, 212, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.action-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.text-emerald {
  color: var(--emerald);
}

.text-danger {
  color: var(--danger);
}

.text-muted {
  color: var(--text-muted);
}

.score-pill {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

.mini-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  margin: 2px;
}

.stats-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-mini-card {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  border-radius: 10px;
}

.stat-mini-card span {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

.stat-mini-card strong {
  font-size: 15px;
}

.omni-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 16px 0;
}

.vram-highlight-card {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.18), rgba(6, 182, 212, 0.14));
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 12px;
  padding: 14px;
  margin-top: 8px;
}

.vram-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vram-big-num {
  font-size: 24px;
  font-weight: 800;
  color: #38bdf8;
}

.vram-gpu-rec {
  background: rgba(15, 23, 42, 0.75);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  font-size: 12.5px;
}

.table-responsive {
  overflow-x: auto;
}

.omni-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.omni-table th,
.omni-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.omni-table th {
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(15, 23, 42, 0.6);
}

/* RAG Chunks & Cliche Highlighter */
.rag-chunks-box {
  max-height: 230px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rag-chunk-item {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  border-left: 4px solid var(--indigo);
  background: rgba(30, 41, 59, 0.68);
}

.chunk-c2 { border-left-color: var(--cyan); }
.chunk-c3 { border-left-color: var(--emerald); }
.chunk-c4 { border-left-color: var(--amber); }

.rag-chunk-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cliche-highlight-view {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 12px;
  font-size: 13.5px;
  line-height: 1.65;
  max-height: 180px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.ai-cliche-mark {
  background: rgba(244, 63, 94, 0.28);
  color: #fda4af;
  padding: 1px 5px;
  border-radius: 4px;
  border-bottom: 2px dashed var(--danger);
}

.rx-mark {
  background: rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
  padding: 1px 4px;
  border-radius: 4px;
}

.canvas-preview-wrap {
  background: rgba(5, 8, 16, 0.82);
  border: 1px dashed rgba(99, 102, 241, 0.4);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dropzone-card {
  border: 2px dashed rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.06);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.dropzone-card:hover,
.dropzone-card.drag-active {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
}

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

.compressed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 330px;
  overflow-y: auto;
}

.compressed-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 10px;
  border-radius: 10px;
}

.compressed-thumb {
  width: 58px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}

.compressed-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.swatch-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 6px;
  text-align: center;
  cursor: pointer;
  font-size: 11px;
}

.swatch-color {
  height: 34px;
  border-radius: 5px;
  margin-bottom: 5px;
}

.invoice-paper-preview {
  background: #ffffff;
  color: #0f172a;
  border-radius: 10px;
  padding: 20px;
  font-size: 13px;
}

.inv-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #4f46e5;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.inv-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.inv-table th,
.inv-table td {
  border: 1px solid #cbd5e1;
  padding: 6px 8px;
  font-size: 12px;
}

.inv-table th {
  background: #f1f5f9;
}

.inv-totals {
  text-align: right;
  line-height: 1.7;
}

.inv-grand {
  font-size: 15px;
  color: #4f46e5;
}

.inv-footer {
  margin-top: 12px;
  padding: 8px;
  background: #f8fafc;
  border-left: 3px solid #4f46e5;
  font-size: 12px;
}

.preset-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-btn {
  background: rgba(30, 41, 59, 0.9);
  color: #cbd5e1;
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

.chip-btn:hover {
  border-color: var(--cyan);
  color: #ffffff;
  background: rgba(6, 182, 212, 0.2);
}

.pomo-clock-display {
  font-size: 58px;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  color: #38bdf8;
  margin: 12px 0;
}

/* ============================================================================
 * CONTEXTUAL AFFILIATE PARTNER CARDS
 * ============================================================================ */
.contextual-affiliate-wrap {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.partner-slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #67e8f9;
  margin-bottom: 10px;
}

.partner-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.partner-banner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s;
}

.partner-banner-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.partner-tag-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 4px;
}

.partner-banner-card h4 {
  font-size: 14.5px;
  margin-bottom: 3px;
}

.partner-banner-card p {
  font-size: 12px;
  color: var(--text-muted);
}

.partner-cta-btn {
  white-space: nowrap;
  background: rgba(6, 182, 212, 0.18);
  color: #67e8f9;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================================
 * 3D SPOTLIGHT BENTO TOOLS GRID
 * ============================================================================ */
.section-heading-block {
  margin: 36px 0 18px;
}

.section-heading-block h2 {
  font-size: 24px;
  font-weight: 800;
}

.section-heading-block p {
  color: var(--text-muted);
  font-size: 14px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
  gap: 18px;
}

.tool-card,
.store-product-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Mouse-Tracking Radial Spotlight Overlay */
.tool-card::before,
.store-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(6, 182, 212, 0.16),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.tool-card:hover::before,
.store-product-card:hover::before {
  opacity: 1;
}

.tool-card:hover,
.tool-card.active-tool-card {
  border-color: #22d3ee;
  background: rgba(30, 41, 59, 0.88);
  transform: translateY(-4px);
  box-shadow: 0 16px 38px -10px rgba(6, 182, 212, 0.35);
}

.popular-glow-card {
  border-color: rgba(99, 102, 241, 0.38);
}

.tool-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tool-icon-box {
  font-size: 26px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-badge-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.tool-card-title {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 6px;
}

.tool-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.launch-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #38bdf8;
}

/* ============================================================================
 * DIGITAL PRODUCTS STOREFRONT
 * ============================================================================ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(305px, 1fr));
  gap: 20px;
}

.featured-product-card {
  border: 2px solid var(--indigo);
  background: linear-gradient(160deg, rgba(30, 27, 75, 0.78), rgba(15, 23, 42, 0.94));
  box-shadow: var(--shadow-glow);
}

.store-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.store-badge-pill {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}

.store-price-box del {
  font-size: 12px;
  color: var(--text-muted);
  margin-right: 6px;
}

.store-price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--emerald);
}

.price-usd-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.store-prod-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.store-prod-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.store-feature-list {
  list-style: none;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

.store-feature-list li {
  margin-bottom: 6px;
}

.store-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-sub-actions {
  display: flex;
  gap: 8px;
}

.store-sub-actions > * {
  flex: 1;
  justify-content: center;
}

/* ============================================================================
 * PRO BONUS VAULT SECTION
 * ============================================================================ */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
}

.vault-card {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
}

.vault-card-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vault-status-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--emerald);
}

.vault-prompt-pre {
  background: rgba(8, 11, 20, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #cbd5e1;
  white-space: pre-wrap;
  margin: 10px 0;
}

/* ============================================================================
 * MODALS
 * ============================================================================ */
.omni-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.omni-modal.open {
  display: flex;
}

.omni-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.84);
  backdrop-filter: blur(10px);
}

.omni-modal-content {
  position: relative;
  z-index: 2;
  background: #0d1426;
  border: 1.5px solid var(--border-glow);
  border-radius: 18px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
}

.checkout-modal-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 20px;
  align-items: center;
}

@media (max-width: 680px) {
  .checkout-modal-grid {
    grid-template-columns: 1fr;
  }
}

.transfer-details-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  font-size: 13.5px;
  line-height: 1.85;
}

.memo-highlight {
  background: rgba(245, 158, 11, 0.2);
  color: #fde047;
  padding: 2px 7px;
  border-radius: 5px;
}

.key-status-msg {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
}

/* Toast */
.omni-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  background: linear-gradient(135deg, #4f46e5, #059669);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13.5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.omni-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.omni-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}


/* ============================================================================
 * 6-ROLE AUTONOMOUS AI COMPANY COMMAND CENTER (AGENT TEAM OS)
 * ============================================================================ */
.agent-6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 1024px) {
  .agent-6-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .agent-6-grid {
    grid-template-columns: 1fr;
  }
}

.agent-role-card {
  background: rgba(11, 17, 32, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-top: 3px solid var(--role-color, #38bdf8);
  border-radius: 14px;
  padding: 15px;
  transition: all 0.25s ease;
}

.agent-role-card:hover,
.agent-role-card.agent-active-pulse {
  border-color: var(--role-color, #38bdf8);
  box-shadow: 0 10px 28px -8px rgba(6, 182, 212, 0.32);
  transform: translateY(-2px);
}

.agent-role-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.agent-role-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-role-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-role-title-wrap strong {
  display: block;
  font-size: 13.5px;
  color: #f8fafc;
}

.agent-role-title-wrap small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.agent-step-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  white-space: nowrap;
}

.agent-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}

.agent-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.35s ease;
}

.agent-role-body {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.55;
  white-space: pre-wrap;
}
