/* =====================================================================
   NATIV-E EXECUTIVE STEALTH & CYBER MESH DESIGN SYSTEM
   Overhauls Flame template into bespoke Obsidian Carbon & Velvet Crimson
   with Metallic Platinum Gold / Silver luxury accents.
   ===================================================================== */

:root {
  /* Core Accent Palette: Velvet Crimson & Metallic Platinum Gold */
  --accent: #9b111e;
  --accent-hover: #b81424;
  --accent-hot: #c9182b;
  --accent-dim: #6b0c15;
  --accent-glow: rgba(155, 17, 30, 0.45);
  --accent-soft: rgba(155, 17, 30, 0.14);
  --accent-ring: rgba(212, 175, 55, 0.35);
  --orange-red: #7a0b17; /* Replaced fiery flame orange with deep royal burgundy */
  
  /* Luxury Gold Highlights */
  --gold-primary: #d4af37;
  --gold-hover: #e5c07b;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --gold-soft: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-gradient: linear-gradient(135deg, #aa7c11 0%, #d4af37 40%, #f7e7b4 70%, #c59b27 100%);
  --crimson-gradient: linear-gradient(135deg, #700914 0%, #9b111e 50%, #ba1627 100%);
  
  /* Text */
  --text-on-accent: #ffffff;
  --text: #f3f4f6;
  --text-muted: #9496a1;
  --text-dim: #71737e;

  /* Stealth Obsidian Surfaces */
  --bg: #07080a;
  --bg-elevated: #0c0e12;
  --surface: rgba(16, 18, 24, 0.72);
  --surface-solid: #111319;
  --surface-panel: #0a0b0f;
  --surface-raised: #141720;
  --surface-ink: #07080a;
  --surface-ink-soft: #0c0e12;

  /* Borders & Shadows */
  --border: rgba(255, 255, 255, 0.08);
  --border-solid: #1e222d;
  --border-strong: rgba(212, 175, 55, 0.22);
  --glass-stroke: rgba(255, 255, 255, 0.11);
  --glass-stroke-gold: rgba(212, 175, 55, 0.25);
  
  --shadow-header: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 32px rgba(155, 17, 30, 0.15);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-accent: 0 8px 28px rgba(155, 17, 30, 0.42), 0 2px 10px rgba(0, 0, 0, 0.5);
  --shadow-accent-hover: 0 12px 36px rgba(186, 22, 39, 0.55), 0 0 20px rgba(212, 175, 55, 0.35);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.35), 0 2px 10px rgba(0, 0, 0, 0.4);

  --glass-panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(155, 17, 30, 0.05) 45%, rgba(7, 8, 10, 0.45) 100%);
}

/* =====================================================================
   BODY BACKGROUND: Cyber Grid & Ambient Velvet Mesh
   ===================================================================== */
body {
  background-color: var(--bg) !important;
  background-image: 
    radial-gradient(ellipse 110% 70% at 50% -25%, rgba(155, 17, 30, 0.24), transparent 60%),
    radial-gradient(circle 800px at 85% 20%, rgba(212, 175, 55, 0.05), transparent 50%),
    linear-gradient(rgba(212, 175, 55, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 40%, #050608 100%) !important;
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px, 100% 100% !important;
  color: var(--text) !important;
}

/* Canvas Override for Cyber Constellation Mesh */
#nativeCyberCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.ember-canvas {
  opacity: 0.15 !important;
  filter: hue-rotate(330deg) saturate(0.6) brightness(0.7) !important;
}

/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
.header-inner--pill {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 48%, rgba(212, 175, 55, 0.03)), rgba(11, 13, 18, 0.82) !important;
  border: 1px solid rgba(212, 175, 55, 0.18) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(155, 17, 30, 0.12) !important;
}

.brand-name {
  background: linear-gradient(90deg, #ffffff 0%, #e2e8f0 55%, #d4af37 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  letter-spacing: -0.01em !important;
}

.nav-desktop a {
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}

.nav-desktop a:hover,
.nav-desktop a.is-active,
.nav-desktop a[aria-current="page"] {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.45) !important;
}

.lang-switch {
  border-color: rgba(212, 175, 55, 0.2) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.lang-switch__btn.is-active {
  background: rgba(155, 17, 30, 0.35) !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35) !important;
}

/* =====================================================================
   HERO SECTION: Sleek Cyber Spotlight & Executive Typography
   ===================================================================== */
.hero-spotlight {
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(155, 17, 30, 0.32) 0%, rgba(212, 175, 55, 0.07) 40%, transparent 72%) !important;
  filter: blur(4px) !important;
}

.hero-brand__logo {
  filter: drop-shadow(0 0 28px rgba(155, 17, 30, 0.6)) drop-shadow(0 0 8px rgba(212, 175, 55, 0.4)) drop-shadow(0 14px 36px rgba(0, 0, 0, 0.7)) !important;
}

.text-accent {
  color: #d4af37 !important;
}

.text-glow {
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.45), 0 0 48px rgba(155, 17, 30, 0.35) !important;
}

.hero-title {
  letter-spacing: -0.035em !important;
}

.pill {
  background: rgba(18, 21, 28, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #c9ccd6 !important;
}

.pill-dot {
  background: #d4af37 !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8), 0 0 18px rgba(155, 17, 30, 0.6) !important;
}

.pill--accent-soft {
  background: rgba(155, 17, 30, 0.18) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
  color: #f0f0f5 !important;
}

/* =====================================================================
   BUTTONS: Velvet Crimson & Gold Executive Accents
   ===================================================================== */
.btn-primary {
  background: linear-gradient(135deg, #700914 0%, #9b111e 45%, #ba1627 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  box-shadow: 0 8px 24px rgba(112, 9, 20, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover:not(:disabled)::after {
  left: 150%;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #820b17 0%, #b01423 45%, #cf1b2e 100%) !important;
  border-color: rgba(212, 175, 55, 0.65) !important;
  box-shadow: 0 12px 34px rgba(155, 17, 30, 0.6), 0 0 18px rgba(212, 175, 55, 0.4) !important;
  transform: translateY(-2px) !important;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #d1d5db !important;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(212, 175, 55, 0.35) !important;
  color: #ffffff !important;
}

/* =====================================================================
   STATS STRIP
   ===================================================================== */
.stats-strip {
  border-block: 1px solid rgba(212, 175, 55, 0.15) !important;
  background: linear-gradient(90deg, transparent, rgba(155, 17, 30, 0.05) 20%, rgba(212, 175, 55, 0.04) 50%, rgba(155, 17, 30, 0.05) 80%, transparent) !important;
}

.stat-value {
  color: #d4af37 !important;
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.35) !important;
}

.stat:hover .stat-value {
  color: #f7e7b4 !important;
  text-shadow: 0 0 22px rgba(212, 175, 55, 0.65), 0 0 35px rgba(155, 17, 30, 0.4) !important;
}

/* =====================================================================
   CARDS & SHOWCASE
   ===================================================================== */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 36%, rgba(212, 175, 55, 0.02)), rgba(13, 15, 21, 0.78) !important;
  border: 1px solid rgba(212, 175, 55, 0.16) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55), 0 0 24px rgba(155, 17, 30, 0.08) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
}

.showcase {
  background: radial-gradient(ellipse 90% 70% at 50% 40%, rgba(155, 17, 30, 0.1) 0%, transparent 60%), radial-gradient(ellipse 80% 50% at 70% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 50%) !important;
}

.showcase-trust {
  background: rgba(14, 16, 22, 0.85) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.showcase-trust:before {
  background: linear-gradient(180deg, #d4af37 0%, #9b111e 100%) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.6), 2px 0 20px rgba(155, 17, 30, 0.5) !important;
}

.catalog-kicker {
  color: #d4af37 !important;
}

.catalog-kicker:before {
  background: #d4af37 !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6) !important;
}

.catalog-filter.is-active {
  background: linear-gradient(135deg, #700914 0%, #9b111e 60%, #ba1627 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(155, 17, 30, 0.4) !important;
}

.catalog-card {
  background: radial-gradient(ellipse 80% 60% at 80% 20%, rgba(155, 17, 30, 0.16), transparent 55%), linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)), #0d0f15 !important;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

.catalog-card:hover {
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 35px rgba(155, 17, 30, 0.28), 0 0 15px rgba(212, 175, 55, 0.2) !important;
}

.catalog-card__count {
  background: linear-gradient(135deg, #d4af37 0%, #9b111e 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

.catalog-card__badge {
  background: rgba(155, 17, 30, 0.3) !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
  color: #f7e7b4 !important;
}

.catalog-card__cta {
  color: #d4af37 !important;
}

/* =====================================================================
   PRICING & POPULAR RIBBON: Distinct Executive Tier
   ===================================================================== */
.section-kicker {
  color: #d4af37 !important;
}

.pricing-stat {
  border: 1px solid rgba(212, 175, 55, 0.16) !important;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(15, 17, 24, 0.7) 45%, rgba(9, 11, 16, 0.9)), rgba(11, 13, 18, 0.8) !important;
}

.pricing-stat-value {
  color: #d4af37 !important;
}

.pricing-stat-corner {
  border-color: rgba(212, 175, 55, 0.4) !important;
}

.pricing-stat-corner--tl {
  box-shadow: -1px -1px 12px rgba(212, 175, 55, 0.3) !important;
}

.pricing-stat-corner--br {
  box-shadow: 1px 1px 12px rgba(155, 17, 30, 0.3) !important;
}

.price-card {
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015) 36%, rgba(212, 175, 55, 0.02)), rgba(13, 15, 21, 0.82) !important;
}

.price-card:hover {
  border-color: rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(155, 17, 30, 0.22) !important;
}

.price-icon {
  background: rgba(155, 17, 30, 0.2) !important;
  border-color: rgba(212, 175, 55, 0.25) !important;
  color: #d4af37 !important;
}

.price-tag__currency {
  color: #d4af37 !important;
}

/* THE FAMOUS POPULAR RIBBON OVERHAUL */
.popular-ribbon {
  background: linear-gradient(90deg, #aa7c11 0%, #d4af37 32%, #f7e7b4 50%, #d4af37 68%, #aa7c11 100%) !important;
  color: #07080a !important;
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.45), 0 0 12px rgba(155, 17, 30, 0.3) !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
}

.popular-ribbon__dot {
  background: #07080a !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7) !important;
}

.price-card--popular {
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 45px rgba(155, 17, 30, 0.25) !important;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, transparent 40%), linear-gradient(165deg, rgba(155, 17, 30, 0.12) 0%, rgba(13, 15, 22, 0.88) 55%) !important;
}

.price-card--popular .price-icon {
  background: rgba(212, 175, 55, 0.2) !important;
  border-color: rgba(212, 175, 55, 0.45) !important;
  color: #f7e7b4 !important;
}

.price-card--popular:hover {
  border-color: rgba(212, 175, 55, 0.8) !important;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.5), 0 28px 72px rgba(0, 0, 0, 0.8), 0 0 55px rgba(212, 175, 55, 0.3) !important;
}

/* =====================================================================
   PAYMENTS & PILLS
   ===================================================================== */
.payment-pill {
  border: 1px solid rgba(212, 175, 55, 0.18) !important;
  background: rgba(16, 19, 26, 0.65) !important;
}

.payment-pill:hover {
  border-color: rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(155, 17, 30, 0.25) !important;
  color: #ffffff !important;
}

/* =====================================================================
   FAQ SECTION
   ===================================================================== */
.faq-item {
  background: rgba(14, 16, 23, 0.75) !important;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.35) !important;
  box-shadow: -3px 0 0 0 #d4af37, 0 14px 34px rgba(0, 0, 0, 0.4) !important;
}

.faq-item[open] > .faq-item__q:after {
  border-color: #d4af37 !important;
}

/* =====================================================================
   DASHBOARD / FLOW PAGES: Sleek Carbon Sidebar & Gold Indicators
   ===================================================================== */
.flow-page {
  background-color: var(--bg) !important;
}

.dash-shell {
  background: transparent !important;
}

.dash-sidebar-shadcn {
  background: rgba(10, 12, 16, 0.85) !important;
  border-right: 1px solid rgba(212, 175, 55, 0.18) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 4px 0 28px rgba(0, 0, 0, 0.5) !important;
}

.dash-sidebar-brand__name {
  background: linear-gradient(90deg, #ffffff 0%, #e2e8f0 50%, #d4af37 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

.dash-topbar {
  border-bottom: 1px solid rgba(212, 175, 55, 0.16) !important;
  background: rgba(11, 13, 18, 0.7) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.dash-topbar__icon {
  color: #d4af37 !important;
}

/* Dashboard Sidebar Active Item */
[data-sidebar="menu-button"][data-active="true"],
.dash-sidebar-shadcn [aria-selected="true"],
.dash-sidebar-shadcn .active {
  background: linear-gradient(90deg, rgba(155, 17, 30, 0.28) 0%, rgba(212, 175, 55, 0.12) 100%) !important;
  border-left: 3px solid #d4af37 !important;
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.35) !important;
}

/* Dashboard Cards and Tables */
.dash-shell .border-border,
.dash-shell .border-border\/60,
.dash-shell .border-border\/40 {
  border-color: rgba(212, 175, 55, 0.16) !important;
}

.dash-shell .bg-card,
.dash-shell .bg-card\/60 {
  background-color: rgba(13, 15, 21, 0.75) !important;
  backdrop-filter: blur(16px) !important;
}

.dash-shell .bg-primary {
  background: linear-gradient(135deg, #700914 0%, #9b111e 50%, #ba1627 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(155, 17, 30, 0.4) !important;
}

.dash-shell .text-primary {
  color: #d4af37 !important;
}

.dash-shell .bg-primary\/10 {
  background-color: rgba(155, 17, 30, 0.2) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
  color: #f7e7b4 !important;
}

/* Form Inputs */
.auth-input,
.dash-shell input[type="text"],
.dash-shell input[type="password"],
.dash-shell select,
.dash-shell textarea {
  background: rgba(10, 12, 16, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  transition: all 0.25s ease !important;
}

.auth-input:focus,
.dash-shell input[type="text"]:focus,
.dash-shell input[type="password"]:focus,
.dash-shell select:focus,
.dash-shell textarea:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25), 0 0 16px rgba(155, 17, 30, 0.2) !important;
  outline: none !important;
}

/* Checkout Radio and Checkboxes */
.native-control--radio,
.product-plan.is-selected .product-plan__radio {
  border-color: #d4af37 !important;
  box-shadow: inset 0 0 0 3px #d4af37 !important;
}

.product-plan.is-selected {
  border-color: rgba(212, 175, 55, 0.5) !important;
  background: rgba(155, 17, 30, 0.12) !important;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2) inset !important;
}

/* Footer Partnership */
.footer-partnership {
  opacity: 0.9;
}

.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.14) !important;
  background: rgba(5, 6, 8, 0.85) !important;
}
