@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* --- Core Theme: Midnight & Electric Blue --- */
  --core-bg: #020617; /* Deepest Navy/Black */
  --core-bg-alt: #0f172a; /* Slate 900 for section contrast */

  /* Gradient Sets */
  --grad-main: linear-gradient(135deg, #1e293b 0%, #020617 100%);
  --grad-accent: linear-gradient(
    90deg,
    #3b82f6 0%,
    #2dd4bf 100%
  ); /* Blue to Cyan */
  --grad-surface: linear-gradient(
    180deg,
    rgba(30, 41, 59, 0.5) 0%,
    rgba(15, 23, 42, 0.5) 100%
  );

  /* Primary Brand Colors */
  --core-primary: #3b82f6; /* Electric Blue */
  --core-primary-hover: #60a5fa;
  --core-primary-light: rgba(59, 130, 246, 0.1);

  /* Typography */
  --core-text: #f1f5f9; /* Near white for body */
  --core-text-muted: #94a3b8; /* Cool gray for descriptions */
  --core-secondary: #ffffff; /* Pure white for headers */

  /* Borders & Glass Effects */
  --core-border: rgba(255, 255, 255, 0.08);
  --core-border-glow: rgba(59, 130, 246, 0.3);
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-blur: blur(12px);

  /* Shadows (Neon & Depth) */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.2);

  /* --- Bento Grid (Translucent Glass Style) --- */
  --bento-bg: var(--glass-bg);
  --bento-text: var(--core-secondary);
  --bento-text-muted: var(--core-text-muted);
  --bento-radius: 24px;
  --bento-border: var(--core-border);
  --bento-shadow-hover: 0 0 30px rgba(59, 130, 246, 0.15);

  /* --- Feature Cards (Dark with Subtle Accents) --- */
  --feat-bg: #1e293b;
  --feat-radius: 16px;

  /* Feature specific glow-borders */
  --feat-glow-1: #3b82f6; /* Blue */
  --feat-glow-2: #8b5cf6; /* Violet */
  --feat-glow-3: #10b981; /* Emerald */
  --feat-glow-4: #f43f5e; /* Rose */

  --transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background-color: var(--core-bg);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  background: var(--core-bg);
  /* A subtle mesh gradient background for that "Premium AI" look */
  background-image:
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(29, 78, 216, 0.1) 0px, transparent 50%);
  color: var(--core-text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* Links & Interactive Elements */
a {
  color: var(--core-primary);
  text-decoration: none;
  transition: var(--transition-standard);
  font-weight: 500;
}

a:hover {
  color: var(--core-primary-hover);
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

/* Scrollbar Styling for Dark Mode */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--core-bg);
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 10px;
  border: 2px solid var(--core-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--core-primary);
}

/* Breadscrumb */
/* --- Page Header Modern Overhaul --- */
.uui-page-header {
  position: relative;
  padding: 120px 20px; /* Generous vertical spacing */
  text-align: center;
  overflow: hidden;
  background: var(--grad-main);
  border-bottom: 1px solid var(--core-border);
}

/* Centered Layout Container */
.uui-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Background Glow Pattern */
.uui-header-pattern {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Centered Breadcrumb Pill */
.uui-breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--core-border);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.uui-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.uui-breadcrumb-link {
  color: var(--core-text-muted);
  display: flex;
  align-items: center;
}

.uui-breadcrumb-link:hover {
  color: var(--core-primary);
}

.uui-breadcrumb-current {
  color: var(--core-primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.uui-breadcrumb-separator {
  color: var(--core-text-muted);
  display: flex;
  opacity: 0.5;
}

.uui-icon,
.uui-icon-sm {
  width: 16px;
  height: 16px;
}

/* Typography with Gradient Text */
.uui-display-md {
  font-size: 3rem;
  font-weight: 700;
  color: var(--core-secondary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  display: inline-flex;
}

.uui-text-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block; /* Moves to new line or keep inline for punchiness */
}

.uui-text-lg {
  font-size: 1.125rem;
  color: var(--core-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =========================================
   Main Header
========================================= */
/* --- Top Bar: Desktop Only --- */
.uui-topbar {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 36px;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--core-text-muted);
}

@media (max-width: 991px) {
  .uui-topbar {
    display: none;
  } /* Hide on mobile as requested */
}

.uui-topbar-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
}

.uui-topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Main Header Structure --- */
/* --- High-End Liquid Header --- */
.uui-site-header {
  position: fixed;
  top: 15px; /* Floats away from the top */
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1400px;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.7); /* Deep slate translucent */
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll state - header gets tighter/darker when moving */
.uui-site-header.is-scrolled {
  top: 0;
  width: 100%;
  border-radius: 0;
  background: rgba(2, 6, 23, 0.95);
}

.uui-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Brand Area */
.uui-brand-box {
  flex: 0 0 auto;
}

.uui-logo-img {
  height: 50px;
  transition: opacity 0.3s ease;
}

/* Navigation - Centered & Clean */
.uui-nav-main {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.uui-nav-link {
  color: #94a3b8; /* Muted slate */
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.uui-nav-link:hover,
.uui-nav-link.active {
  color: #3b82f6; /* Electric Blue */
}

/* Subtle dot indicator for active/hover */
.uui-nav-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 4px;
  background: #3b82f6;
  border-radius: 10px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.uui-nav-link:hover::after {
  width: 4px;
}

/* Actions Area */
.uui-action-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.uui-btn-icon {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.uui-btn-icon:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-2px);
}

/* The Cart High-Light */
.uui-cart-pill {
  background: linear-gradient(135deg, #3b82f6, #2dd4bf);
  color: white !important;
  text-decoration: none;
  padding: 0 1rem;
  width: auto !important;
  min-width: 64px;
  font-weight: 800;
}

.uui-cart-count {
  margin-left: 8px;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.uui-menu-trigger {
  display: none;
}

@media (max-width: 1024px) {
  .uui-nav-main {
    display: none;
  }
  .uui-menu-trigger {
    display: flex;
  }
  .uui-site-header {
    top: 10px;
    width: 92%;
  }
}

/* --- Cinematic Mobile Drawer --- */
.uui-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}

.uui-mobile-drawer.is-active {
  visibility: visible;
  pointer-events: all;
}

/* Blurred Glass Background Overlay */
.uui-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.4);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.uui-mobile-drawer.is-active .uui-drawer-overlay {
  opacity: 1;
}

/* The Actual Menu Panel */
.uui-drawer-panel {
  position: absolute;
  top: 0;
  right: -100%; /* Hidden off-screen to the right */
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: #020617; /* Solid midnight */
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.uui-mobile-drawer.is-active .uui-drawer-panel {
  right: 0;
}

/* Header inside the drawer */
.uui-drawer-header {
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.uui-drawer-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.uui-drawer-close:hover {
  background: rgba(244, 63, 94, 0.2); /* Soft red hover */
  border-color: #f43f5e;
  color: #f43f5e;
}

/* Mobile Navigation Links */
.uui-drawer-body {
  padding: 2rem 1.5rem;
  flex: 1;
  overflow-y: auto;
}

.uui-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.uui-drawer-link {
  font-size: 1.5rem; /* Big, bold typography */
  font-weight: 700;
  color: #f1f5f9;
  padding: 1rem 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.uui-drawer-link:hover {
  color: #3b82f6; /* Electric Blue */
  padding-left: 10px; /* Slight indent animation on hover */
}

/* Small chevron arrow for links */
.uui-drawer-link svg {
  opacity: 0.3;
  transition: opacity 0.2s ease;
}

.uui-drawer-link:hover svg {
  opacity: 1;
}

.uui-drawer-footer {
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.uui-drawer-footer-text {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
}

/* =========================================
   Hero Section Base
========================================= */
/* =========================================
   NEXT-GEN HERO: DARK & BLUE MIX
   ========================================= */

.nxt-hero-wrapper {
  position: relative;
  background-color: #020617; /* Deepest black/blue */
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px 0;
}

/* Background Ambient Glows */
.nxt-ambient-sphere {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.15) 0%,
    transparent 60%
  );
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.nxt-ambient-sphere-alt {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.08) 0%,
    transparent 60%
  );
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

/* Layout Grid */
.nxt-hero-grid {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left: Typography & Actions */
.nxt-text-matrix {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nxt-launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 58, 138, 0.3); /* Dark blue glass */
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 6px 16px;
  border-radius: 100px;
  color: #60a5fa; /* Light blue text */
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.nxt-badge-dot {
  width: 6px;
  height: 6px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
}

.nxt-headline-core {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #f8fafc;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.02em;
}

.nxt-text-glow {
  display: block;
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(37, 99, 235, 0.3);
}

.nxt-sub-copy {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #94a3b8; /* Slate gray */
  max-width: 90%;
  margin: 0 0 3rem 0;
}

/* Buttons completely renamed and redesigned */
.nxt-action-cluster {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nxt-btn-pulse {
  position: relative;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #3b82f6;
  box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.nxt-btn-pulse::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.nxt-btn-pulse:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -5px rgba(37, 99, 235, 0.7);
}

.nxt-btn-pulse:hover::before {
  left: 100%;
}

.nxt-btn-ghost {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.3s ease;
}

.nxt-btn-ghost:hover {
  background: rgba(30, 58, 138, 0.4);
  border-color: rgba(59, 130, 246, 0.5);
  color: #ffffff;
}

/* Right: Visual Hologram Stage */
.nxt-visual-nexus {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nxt-hologram-stage {
  position: relative;
  width: 100%;
  max-width: 550px;
  padding: 2rem;
}

.nxt-product-render {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.8));
  animation: nxtLevitate 6s ease-in-out infinite;
}

/* Floor shadow that shrinks and grows with the levitation */
.nxt-stage-shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 20px;
  background: radial-gradient(
    ellipse at center,
    rgba(37, 99, 235, 0.4) 0%,
    transparent 70%
  );
  animation: nxtShadowPulse 6s ease-in-out infinite;
}

/* Keyframes */
@keyframes nxtLevitate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
}

@keyframes nxtShadowPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-50%) scale(0.8);
    opacity: 0.3;
  }
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .nxt-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .nxt-text-matrix {
    align-items: center;
  }
  .nxt-sub-copy {
    max-width: 100%;
  }
  .nxt-action-cluster {
    justify-content: center;
  }
  .nxt-visual-nexus {
    order: -1; /* Puts the image above the text on mobile */
  }
}

/* =========================================
   Category Section Specific Variables
========================================= */
/* =========================================
   NEXT-GEN CATEGORY MATRIX (DARK/BLUE MIX)
   ========================================= */

.ngx-category-realm {
  background-color: #020617; /* Deep midnight base */
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Background Cyber-Grid Pattern */
.ngx-realm-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

.ngx-realm-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 5;
}

/* Header Section */
.ngx-realm-header {
  text-align: center;
  margin-bottom: 4rem;
}

.ngx-cyber-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2dd4bf; /* Cyan */
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.ngx-realm-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
}

.ngx-title-glow {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ngx-realm-desc {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* The Asymmetric Matrix Grid */
.ngx-matrix-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/* Grid Layout Assignments */
.ngx-cell-primary {
  grid-column: span 7;
}
.ngx-cell-secondary {
  grid-column: span 5;
}
.ngx-cell-tertiary {
  grid-column: span 5;
}
.ngx-cell-quaternary {
  grid-column: span 7;
}

/* The Cell (Card) Design */
.ngx-grid-cell {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  group: hover;
}

.ngx-grid-cell:hover {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.3);
  transform: translateY(-5px);
}

/* Cell Visuals (Images & Gradients) */
.ngx-cell-visual {
  position: absolute;
  top: 0;
  right: -5%;
  width: 65%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform 0.5s ease;
}

.ngx-grid-cell:hover .ngx-cell-visual {
  transform: scale(1.05) translateX(-10px);
}

.ngx-cell-visual img {
  max-width: 100%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
}

.ngx-cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0f172a 40%, transparent 100%);
  z-index: 2;
}

/* Cell Text Content */
.ngx-cell-content {
  position: relative;
  z-index: 3;
  width: 60%;
}

.ngx-icon-glass {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 138, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 1.5rem;
}

.ngx-cell-title {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
}

.ngx-cell-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.ngx-cell-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.ngx-grid-cell:hover .ngx-cell-action {
  opacity: 1;
  gap: 12px;
}

/* Bottom Global Action */
.ngx-realm-footer {
  text-align: center;
}

.ngx-btn-catalog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ngx-btn-catalog:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #3b82f6;
  color: #38bdf8;
}

/* Responsive Logic */
@media (max-width: 1024px) {
  .ngx-cell-primary,
  .ngx-cell-secondary,
  .ngx-cell-tertiary,
  .ngx-cell-quaternary {
    grid-column: span 6; /* 2x2 grid on tablets */
  }
  .ngx-cell-overlay {
    background: linear-gradient(180deg, transparent 0%, #0f172a 60%);
  }
  .ngx-cell-visual {
    top: -10%;
    right: 0;
    width: 100%;
    height: 60%;
  }
  .ngx-cell-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ngx-cell-primary,
  .ngx-cell-secondary,
  .ngx-cell-tertiary,
  .ngx-cell-quaternary {
    grid-column: span 12; /* Stacked on mobile */
  }
}

/* =========================================
   NEXT-GEN STORE CATALOG (CYBER-MIDNIGHT)
   ========================================= */

.cyb-catalog-nexus {
  background-color: #020617;
  padding: 100px 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cyb-core-bound {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* --- Control Deck (Header & Filters) --- */
.cyb-control-deck {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.cyb-heading-cluster {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cyb-micro-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8; /* Bright Sky Blue */
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cyb-macro-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
  line-height: 1.1;
}

.cyb-neon-text {
  background: linear-gradient(90deg, #60a5fa, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* High-Tech Filter Tabs */
.cyb-filter-array {
  display: flex;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cyb-tab-trigger {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cyb-tab-trigger:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
}

.cyb-tab-trigger.is-active {
  background: #1e293b;
  color: #38bdf8;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* --- The Product Grid --- */
.cyb-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* --- Individual Product Node --- */
.cyb-product-node {
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.cyb-product-node::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  transition: box-shadow 0.4s ease;
  pointer-events: none;
}

.cyb-product-node:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.4);
  background: #131c31;
}

.cyb-product-node:hover::after {
  box-shadow: 0 0 30px 0 rgba(56, 189, 248, 0.15);
}

/* Media / Image Area */
.cyb-node-visual {
  position: relative;
  padding: 2rem;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
}

.cyb-asset-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  mix-blend-mode: darken;
}

.cyb-product-node:hover .cyb-asset-img {
  transform: scale(1.08) rotate(-2deg);
}

/* Floating Badges */
.cyb-status-dock {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.cyb-alert-tag {
  background: rgba(225, 29, 72, 0.15);
  color: #fb7185;
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cyb-rating-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

/* Data / Info Area */
.cyb-node-data {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cyb-meta-category {
  color: #94a3b8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cyb-hardware-name {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}

.cyb-node-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cyb-credit-val {
  color: #38bdf8;
  font-size: 1.25rem;
  font-weight: 800;
}

.cyb-interact-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cyb-product-node:hover .cyb-interact-btn {
  background: #2563eb;
  color: #fff;
  border-color: #3b82f6;
  transform: rotate(-45deg); /* Cool tech arrow effect */
}

/* Responsive */
@media (max-width: 768px) {
  .cyb-control-deck {
    flex-direction: column;
    align-items: flex-start;
  }
  .cyb-filter-array {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* =========================================
   NEXT-GEN ABOUT US (CYBER-MIDNIGHT)
   ========================================= */

.crx-about-realm {
  background-color: #020617; /* Deep Midnight */
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ambient Blue Glow */
.crx-glow-orb {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.crx-about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* --- Left Side: Story Node --- */
.crx-story-node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.crx-origin-tag {
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.crx-origin-tag::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

.crx-story-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
}

.crx-neon-highlight {
  background: linear-gradient(135deg, #2dd4bf, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.crx-story-text {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  max-width: 95%;
}

.crx-discover-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  padding: 1rem 2rem;
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.crx-discover-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  transform: translateX(5px);
}

/* --- Right Side: Metrics Grid --- */
.crx-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Push the second column down slightly for a staggered "tech" look */
.crx-metrics-grid .crx-metric-card:nth-child(2n) {
  transform: translateY(2rem);
}

.crx-metric-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.crx-metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.crx-metric-card:hover {
  background: rgba(30, 58, 138, 0.2);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-5px) !important; /* Overrides the stagger on hover */
}

.crx-metric-card:hover::before {
  opacity: 1;
}

.crx-metric-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1e293b;
  -webkit-text-stroke: 1px rgba(56, 189, 248, 0.5); /* Cyber outline text */
  margin-bottom: 1rem;
  font-family: monospace;
}

.crx-metric-card:hover .crx-metric-num {
  color: #38bdf8;
  -webkit-text-stroke: 0;
}

.crx-metric-title {
  color: #f1f5f9;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.crx-metric-desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .crx-about-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .crx-metrics-grid .crx-metric-card:nth-child(2n) {
    transform: translateY(0); /* Remove stagger on mobile */
  }
}

@media (max-width: 600px) {
  .crx-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Value Proposition Specific Variables
========================================= */
/* =========================================
   NEXT-GEN WHY CHOOSE US (CYBER-MIDNIGHT)
   ========================================= */

.wcu-sector-base {
  background-color: #020617;
  padding: 120px 0;
  position: relative;
  z-index: 10;
}

/* Subtle circuit-line background effect */
.wcu-bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(37, 99, 235, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
  z-index: -1;
}

.wcu-container-limit {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Header Area */
.wcu-header-array {
  text-align: center;
  margin-bottom: 5rem;
}

.wcu-sys-label {
  display: inline-block;
  color: #2dd4bf; /* Cyan */
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  background: rgba(45, 212, 191, 0.1);
  border-radius: 100px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  margin-bottom: 1.5rem;
}

.wcu-prime-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
}

.wcu-gradient-text {
  background: linear-gradient(135deg, #f8fafc 20%, #3b82f6 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wcu-sub-lead {
  color: #94a3b8;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* The Advantage Pillars (Grid) */
.wcu-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.wcu-data-pillar {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 3rem 2rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}

/* The Neon Power-Line at the top of each card */
.wcu-data-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #2dd4bf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: 2;
}

/* Glass gradient underlay that appears on hover */
.wcu-data-pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.wcu-data-pillar:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
}

.wcu-data-pillar:hover::before {
  transform: scaleX(1); /* Line powers up */
}

.wcu-data-pillar:hover::after {
  opacity: 1; /* Glass gradient illuminates */
}

/* Pillar Content */
.wcu-icon-rig {
  width: 64px;
  height: 64px;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.1);
}

.wcu-data-pillar:hover .wcu-icon-rig {
  background: #2563eb;
  color: #fff;
  border-color: #60a5fa;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
}

.wcu-pillar-title {
  color: #f1f5f9;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.wcu-pillar-desc {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .wcu-pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wcu-pillar-grid {
    grid-template-columns: 1fr;
  }
  .wcu-prime-title {
    font-size: 2.2rem;
  }
}

/* =========================================
   Pro Capabilities Variables (Dark Theme)
========================================= */
.pro-capabilities-sec {
  --pro-bg: #020617; /* Deep Slate 950 */
  --pro-surface: #0f172a; /* Slate 900 */
  --pro-border: #1e293b; /* Slate 800 */

  --pro-text-bright: #f8fafc;
  --pro-text-muted: #94a3b8;
  --pro-accent: #38bdf8; /* Vibrant Sky Blue */

  position: relative;
  background-color: var(--pro-bg);
  padding: 8rem 0;
  font-family: "Inter", sans-serif;
  overflow: hidden;
  color: var(--pro-text-bright);
}

/* Ambient Background Glow */
.pro-ambient-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.08) 0%,
    rgba(2, 6, 23, 0) 70%
  );
  pointer-events: none;
  z-index: 0;
}

.pro-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================
   Centered Header
========================================= */
.pro-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.pro-label-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 999px;
  color: var(--pro-accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.pro-headline {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
}

.pro-highlight {
  background: linear-gradient(to right, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pro-subheadline {
  font-size: 1.125rem;
  color: var(--pro-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   4-Column Minimal Grid
========================================= */
.pro-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.pro-metric-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.pro-metric-item:hover {
  transform: translateY(-5px);
}

/* Glowing Icon Rings */
.pro-icon-ring {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--pro-surface);
  border: 1px solid var(--pro-border);
}

.pro-icon-ring svg {
  width: 22px;
  height: 22px;
}

.ring-blue {
  color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}
.ring-pink {
  color: #f472b6;
  box-shadow: 0 0 20px rgba(244, 114, 182, 0.15);
}
.ring-green {
  color: #34d399;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.15);
}
.ring-orange {
  color: #fb923c;
  box-shadow: 0 0 20px rgba(251, 146, 60, 0.15);
}

.pro-metric-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: var(--pro-text-bright);
}

.pro-metric-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--pro-text-muted);
  margin: 0;
}

/* =========================================
   Glassmorphic Trust Banner
========================================= */
.pro-trust-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--pro-border);
  border-radius: 100px;
  padding: 1.5rem 3rem;
}

.pro-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--pro-text-bright);
}

.pro-trust-item svg {
  width: 20px;
  height: 20px;
}

.pro-trust-divider {
  width: 1px;
  height: 24px;
  background-color: var(--pro-border);
}

/* =========================================
   Responsive Adjustments
========================================= */
@media (max-width: 1024px) {
  .pro-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .pro-trust-banner {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .pro-capabilities-sec {
    padding: 5rem 0;
  }
  .pro-headline {
    font-size: 2.25rem;
  }

  .pro-metrics-row {
    grid-template-columns: 1fr;
  }

  .pro-trust-banner {
    flex-direction: column;
    border-radius: 24px;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .pro-trust-divider {
    width: 100%;
    height: 1px;
  }
}

/* =========================================
   Smart Recall Section Variables
========================================= */
/* =========================================
   NEXT-GEN SMART RECALL (CYBER-MIDNIGHT)
   ========================================= */

.rcx-memory-sector {
  background: #020617;
  padding: 80px 0;
  position: relative;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.rcx-memory-sector::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.rcx-bound-box {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Header Area */
.rcx-header-module {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.rcx-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rcx-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Blinking dot for "Active Memory" */
.rcx-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #2dd4bf;
  border-radius: 50%;
  box-shadow: 0 0 10px #2dd4bf;
  animation: rcxPulse 2s infinite;
}

@keyframes rcxPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.rcx-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.rcx-neon-txt {
  color: #38bdf8;
}

.rcx-clear-btn {
  background: transparent;
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rcx-clear-btn:hover {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.05);
}

/* The Grid Track */
.rcx-data-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Individual Item Card */
.rcx-node-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rcx-node-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-5px);
  background: #131c31;
}

.rcx-node-visual {
  width: 100%;
  height: 180px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.rcx-node-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.4s ease;
  mix-blend-mode: darken;
}

.rcx-node-card:hover .rcx-node-img {
  transform: scale(1.1);
}

.rcx-node-rating {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(4px);
  color: #eab308;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rcx-node-rating svg {
  width: 12px;
  height: 12px;
  fill: #eab308;
}

.rcx-node-data {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rcx-item-name {
  color: #f1f5f9;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.rcx-node-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.rcx-price-tag {
  color: #38bdf8;
  font-weight: 800;
  font-size: 1.1rem;
}

.rcx-action-txt {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.rcx-node-card:hover .rcx-action-txt {
  color: #fff;
}

/* =========================================
   Base Footer Variables (Obsidian Dark)
========================================= */
/* =========================================
   NEXT-GEN FOOTER (CYBER-MIDNIGHT)
   ========================================= */

.nxt-ftr-wrapper {
  background-color: #020617; /* Deep Midnight */
  position: relative;
  overflow: hidden;
  font-family: inherit;
  color: #94a3b8;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
}

/* Background Ambient Glow */
.nxt-ftr-wrapper::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(37, 99, 235, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
}

.nxt-ftr-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2.5rem 2rem 2.5rem;
  position: relative;
  z-index: 5;
}

/* --- Hologram CTA Panel --- */
.nxt-ftr-cta-module {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* The scanning laser effect inside the CTA */
.nxt-ftr-cta-module::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  opacity: 0.5;
}

.nxt-ftr-cta-text h2 {
  color: #f8fafc;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.nxt-ftr-cta-text p {
  color: #60a5fa; /* Soft Blue */
  font-size: 1.1rem;
  margin: 0;
}

.nxt-ftr-btn-prime {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #020617;
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.nxt-ftr-btn-prime:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
  color: #fff;
}

/* --- Main Grid Architecture --- */
.nxt-ftr-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* Brand & Terminal Panel */
.nxt-ftr-brand-node .nxt-ftr-logo {
  height: 80px;
  margin-bottom: 1.5rem;
  display: block;
}

.nxt-ftr-brand-desc {
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 90%;
}

/* Cyber Newsletter Form */
.nxt-ftr-terminal-form {
  position: relative;
  max-width: 400px;
}

.nxt-ftr-input-group {
  display: flex;
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.nxt-ftr-input-group:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.nxt-ftr-input {
  background: transparent;
  border: none;
  padding: 1rem;
  color: #fff;
  flex: 1;
  outline: none;
  font-size: 0.95rem;
}

.nxt-ftr-input::placeholder {
  color: #475569;
}

.nxt-ftr-submit {
  background: rgba(37, 99, 235, 0.2);
  color: #38bdf8;
  border: none;
  padding: 0 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 1px solid rgba(59, 130, 246, 0.3);
}

.nxt-ftr-submit:hover {
  background: #2563eb;
  color: #fff;
}

.nxt-ftr-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.75rem;
}

/* Navigation Matrices */
.nxt-ftr-nav-title {
  color: #f8fafc;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nxt-ftr-nav-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
}

.nxt-ftr-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.nxt-ftr-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.nxt-ftr-link::before {
  content: "›";
  color: #2563eb;
  font-weight: bold;
  margin-right: 8px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s ease;
}

.nxt-ftr-link:hover {
  color: #38bdf8;
  transform: translateX(5px);
}

.nxt-ftr-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* --- System Divider --- */
.nxt-ftr-laser-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.3),
    transparent
  );
  margin: 0 0 2rem 0;
}

/* --- Bottom Meta Layer --- */
.nxt-ftr-bottom-layer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.nxt-ftr-contact-nodes {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nxt-ftr-node-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  color: #e2e8f0;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nxt-ftr-node-pill:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: #3b82f6;
  color: #38bdf8;
}

.nxt-ftr-meta-sys {
  text-align: right;
}

.nxt-ftr-biz-id {
  display: block;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
}

.nxt-ftr-address {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.nxt-ftr-copyright {
  font-size: 0.75rem;
  color: #475569;
  font-family: monospace;
}

/* Responsive Logic */
@media (max-width: 1024px) {
  .nxt-ftr-cta-module {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem;
  }
  .nxt-ftr-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nxt-ftr-brand-node {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nxt-ftr-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .nxt-ftr-brand-node {
    grid-column: span 1;
  }
  .nxt-ftr-bottom-layer {
    flex-direction: column;
    align-items: flex-start;
  }
  .nxt-ftr-meta-sys {
    text-align: left;
  }
}

/* =====================================================
   CONTACT PAGE SECTION — VIBRANT BERRY UI
===================================================== */
/* --- Section Foundation --- */
.ui-contact-section {
  background-color: var(--core-bg);
  padding: 100px 24px;
}

/* --- The Split Card Layout --- */
.ui-contact-wrapper {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  background-color: var(--core-bg-alt);
}

/* --- Left Panel (Dark) --- */
.ui-contact-panel-dark {
  flex: 1;
  background-color: var(--core-secondary);
  color: #ffffff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
}

.ui-panel-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.ui-panel-desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 32px 0;
}

/* Checklist */
.ui-contact-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-contact-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: #cbd5e1;
}

.ui-contact-checklist svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ui-panel-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

/* Detail Grid */
.ui-contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: auto; /* Pushes to bottom */
}

.ui-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon svg {
  width: 20px;
  height: 20px;
}

.detail-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-text strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.detail-text span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
}

/* --- Right Panel (Light Form) --- */
.ui-contact-panel-light {
  flex: 1.2;
  background-color: var(--core-bg-alt);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ui-form-header {
  margin-bottom: 32px;
}

.ui-form-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 8px 0;
}

.ui-form-desc {
  font-size: 1rem;
  color: var(--core-text-muted);
  margin: 0;
}

/* Form Inputs */
.ui-contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ui-form-row {
  display: flex;
  gap: 24px;
}

.ui-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ui-input-group label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--core-secondary);
}

.ui-input-group input,
.ui-input-group textarea {
  width: 100%;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--core-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ui-input-group textarea {
  min-height: 140px;
  resize: vertical;
}

.ui-input-group input:focus,
.ui-input-group textarea:focus {
  outline: none;
  border-color: var(--core-primary);
  box-shadow: 0 0 0 3px var(--core-primary-light);
}

.ui-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--core-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
  margin-top: 8px;
}

.ui-btn-submit:hover {
  background-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* --- Success State --- */
.ui-success-state {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-success-icon {
  width: 64px;
  height: 64px;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ui-success-icon svg {
  width: 32px;
  height: 32px;
}

.ui-success-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 16px 0;
}

.ui-success-desc {
  font-size: 1rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 400px;
}

.ui-btn-outline-dark {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--core-secondary);
  color: var(--core-secondary);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ui-btn-outline-dark:hover {
  background-color: var(--core-secondary);
  color: #ffffff;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-contact-wrapper {
    flex-direction: column;
  }

  .ui-contact-panel-dark,
  .ui-contact-panel-light {
    padding: 40px 24px;
  }
}

@media (max-width: 640px) {
  .ui-form-row {
    flex-direction: column;
    gap: 24px;
  }

  .ui-contact-details-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =====================================================
   FAQ PAGE SECTION — VIBRANT BERRY UI
===================================================== */
/* --- Section Foundation --- */
.ui-faq-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
}

.ui-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* --- Header --- */
.ui-faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--core-text-muted);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.ui-pill-badge svg {
  color: var(--core-primary);
}

.ui-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--core-secondary);
  line-height: 1.1;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.ui-text-accent {
  color: var(--core-primary);
}

.ui-section-desc {
  font-size: 1.125rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Grid Layout --- */
.ui-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.ui-faq-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- FAQ Card --- */
.ui-faq-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ui-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.ui-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-header-icon svg {
  width: 24px;
  height: 24px;
}

/* Tints */
.tint-indigo {
  background: #e0e7ff;
  color: #4f46e5;
}
.tint-green {
  background: #dcfce7;
  color: #16a34a;
}
.tint-pink {
  background: #fce7f3;
  color: #db2777;
}
.tint-orange {
  background: #ffedd5;
  color: #ea580c;
}

.ui-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0;
}

/* --- Accordion Items --- */
.ui-faq-item {
  border-bottom: 1px solid var(--core-border);
}

.ui-faq-item:last-child {
  border-bottom: none;
}

.ui-faq-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--core-secondary);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}

.ui-faq-btn:hover {
  color: var(--core-primary);
}

.ui-chevron {
  width: 20px;
  height: 20px;
  color: var(--core-text-muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 16px;
}

/* Modern CSS Grid Animation for Height */
.ui-faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ui-faq-inner {
  overflow: hidden;
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  padding-right: 24px;
}

/* Active State Styles */
.ui-faq-item.is-active .ui-faq-btn {
  color: var(--core-primary);
}

.ui-faq-item.is-active .ui-chevron {
  transform: rotate(180deg);
  color: var(--core-primary);
}

.ui-faq-item.is-active .ui-faq-content {
  grid-template-rows: 1fr;
}

.ui-faq-item.is-active .ui-faq-inner {
  padding-bottom: 20px; /* Space added only when open */
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-faq-grid {
    grid-template-columns: 1fr; /* Stack columns on tablet/mobile */
  }
}

@media (max-width: 640px) {
  .ui-faq-card {
    padding: 24px;
  }
}

/* =====================================================
   AUTH HERO — SERENE EARTH
===================================================== */

.auth-x-hero {
  background: var(--bg); /* Warm off-white */
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border); /* Clean, natural boundary */
  position: relative;
}

/* Removed the data grid overlay completely */
.auth-x-hero::before {
  display: none;
}

.auth-x-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0 20px; /* Safety padding for mobile */
}

/* EYEBROW - Editorial Subtitle */

.auth-x-eyebrow {
  font-family: var(--font-body); /* Removed monospace */
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent); /* Soft terracotta */
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  /* Removed neon text-shadow */
}

/* Removed terminal brackets */
.auth-x-eyebrow::before,
.auth-x-eyebrow::after {
  display: none;
}

/* LEFT CONTENT */

.auth-x-hero-left h1 {
  font-family: var(--font-heading); /* Elegant serif */
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
  /* Removed aggressive uppercase and heavy text-shadows */
}

.auth-x-hero-left h1 span {
  color: var(--primary-dark); /* Deep sage green */
  font-style: italic; /* Added editorial flair */
  /* Removed neon highlight and shadow */
}

.auth-x-hero-left p {
  max-width: 520px;
  font-size: 17px; /* Slightly larger for readability */
  line-height: 1.8;
  color: var(--text-muted);
  border-left: 2px solid var(--primary); /* Sage accent line */
  padding-left: 20px;
}

/* RIGHT PANEL — SOFT INFO CONTEXT */

.auth-x-hero-panel {
  background: transparent;
  border-left: 1px solid var(--border); /* Clean, solid line instead of dashed */
  padding-left: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.auth-x-panel-item {
  background: var(--surface); /* Solid white panel */
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); /* Soft rounded corners */
  padding: 24px 30px; /* More breathing room */
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02); /* Very soft shadow */
}

/* Removed hover laser line */
.auth-x-panel-item::before {
  display: none;
}

.auth-x-panel-item:hover {
  border-color: var(--primary); /* Sage green hover border */
  transform: translateY(-4px); /* Gentle lift */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.auth-x-panel-item strong {
  display: block;
  font-family: var(--font-body); /* Removed monospace/heavy heading */
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--text);
}

.auth-x-panel-item span {
  font-family: var(--font-body); /* Removed monospace */
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .auth-x-hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .auth-x-hero-panel {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 40px;
  }
}

/* =====================================================
   AUTH / LOGIN SECTION — VIBRANT BERRY UI
===================================================== */

/* =========================================
   NEXT-GEN AUTH TERMINAL (CYBER-MIDNIGHT)
   ========================================= */

.ath-portal-realm {
  background-color: #020617; /* Deep Midnight */
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Background Cyber-Grid & Ambient Orb */
.ath-portal-realm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.ath-ambient-glow {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.15) 0%,
    transparent 60%
  );
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.ath-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 5;
  width: 100%;
}

/* The Split Layout */
.ath-split-core {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* --- Left Side: System Info --- */
.ath-info-node {
  display: flex;
  flex-direction: column;
}

.ath-sys-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 212, 191, 0.1);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  align-self: flex-start;
}

.ath-headline {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
}

.ath-text-glow {
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ath-lead-desc {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 3rem 0;
  max-width: 90%;
}

/* Benefits Checklist */
.ath-perk-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ath-perk-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ath-perk-icon {
  width: 48px;
  height: 48px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.ath-perk-text strong {
  display: block;
  color: #e2e8f0;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.ath-perk-text span {
  display: block;
  color: #64748b;
  font-size: 0.9rem;
}

/* --- Right Side: The Glass Terminal (Form) --- */
.ath-terminal-glass {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  padding: 3rem;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

/* Top Neon Line on Terminal */
.ath-terminal-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #2dd4bf);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.ath-form-head {
  margin-bottom: 2.5rem;
}

.ath-form-head h3 {
  color: #f8fafc;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.ath-form-head p {
  color: #94a3b8;
  margin: 0;
  font-size: 0.95rem;
}

/* Inputs */
.ath-input-stack {
  margin-bottom: 1.5rem;
}

.ath-label {
  display: block;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ath-req-mark {
  color: #f43f5e;
}

.ath-input-field {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #f8fafc;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.ath-input-field::placeholder {
  color: #475569;
}

.ath-input-field:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
  background: #1e293b;
}

/* Buttons */
.ath-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #020617;
  padding: 1.2rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.ath-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
  color: #fff;
}

/* Divider & Secondary Actions */
.ath-line-break {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
  color: #64748b;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ath-line-break::before,
.ath-line-break::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ath-line-break::before {
  margin-right: 1rem;
}
.ath-line-break::after {
  margin-left: 1rem;
}

.ath-secondary-zone {
  text-align: center;
}

.ath-secondary-zone p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
}

.ath-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.ath-btn-outline:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: #3b82f6;
  color: #38bdf8;
}

/* Responsive */
@media (max-width: 1024px) {
  .ath-split-core {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .ath-info-node {
    text-align: center;
    align-items: center;
  }
  .ath-sys-badge {
    align-self: center;
  }
  .ath-perk-list {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .ath-terminal-glass {
    padding: 2rem;
  }
}

/* =========================================
   NEXT-GEN AUTH TERMINAL (CYBER-MIDNIGHT)
   ========================================= */

.ath-portal-realm {
  background-color: #020617;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Background Cyber-Grid & Ambient Orb */
.ath-portal-realm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.ath-ambient-glow {
  position: absolute;
  top: 50%;
  left: 10%; /* Shifted to the left for the register page to balance visual weight */
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.12) 0%,
    transparent 60%
  );
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.ath-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 5;
  width: 100%;
}

.ath-split-core {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Left Side: System Info */
.ath-info-node {
  display: flex;
  flex-direction: column;
}

.ath-sys-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 212, 191, 0.1);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  align-self: flex-start;
}

.ath-headline {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
}

.ath-text-glow {
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ath-lead-desc {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 3rem 0;
  max-width: 90%;
}

/* Benefits Checklist */
.ath-perk-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ath-perk-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ath-perk-icon {
  width: 48px;
  height: 48px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.ath-perk-text strong {
  display: block;
  color: #e2e8f0;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.ath-perk-text span {
  display: block;
  color: #64748b;
  font-size: 0.9rem;
}

/* Right Side: The Glass Terminal */
.ath-terminal-glass {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  padding: 3rem;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

.ath-terminal-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #2dd4bf);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.ath-form-head {
  margin-bottom: 2.5rem;
}
.ath-form-head h3 {
  color: #f8fafc;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}
.ath-form-head p {
  color: #94a3b8;
  margin: 0;
  font-size: 0.95rem;
}

/* Inputs */
.ath-input-stack {
  margin-bottom: 1.5rem;
}
.ath-label {
  display: block;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ath-req-mark {
  color: #f43f5e;
}

.ath-input-field {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #f8fafc;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.ath-input-field::placeholder {
  color: #475569;
}
.ath-input-field:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
  background: #1e293b;
}

/* Buttons */
.ath-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #020617;
  padding: 1.2rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.ath-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
  color: #fff;
}

/* Dividers & Secondary CTA */
.ath-line-break {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
  color: #64748b;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ath-line-break::before,
.ath-line-break::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ath-line-break::before {
  margin-right: 1rem;
}
.ath-line-break::after {
  margin-left: 1rem;
}

.ath-secondary-zone {
  text-align: center;
}
.ath-secondary-zone p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
}

.ath-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.ath-btn-outline:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: #3b82f6;
  color: #38bdf8;
}

/* Responsive */
@media (max-width: 1024px) {
  .ath-split-core {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .ath-info-node {
    text-align: center;
    align-items: center;
  }
  .ath-sys-badge {
    align-self: center;
  }
  .ath-perk-list {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .ath-terminal-glass {
    padding: 2rem;
  }
}

/* =====================================================
   USER DASHBOARD SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-dashboard-section {
  background-color: var(--core-bg);
  padding: 60px 24px 100px 24px;
  min-height: 70vh;
}

.ui-dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

/* --- Sidebar Layout --- */
.ui-dash-sidebar {
  position: sticky;
  top: 100px; /* Adjust based on your header height */
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* User Widget */
.ui-user-widget {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--core-border);
}

.ui-avatar-circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--core-primary),
    #db2777
  ); /* Sunset Gradient */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.ui-user-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ui-user-name {
  font-size: 1rem;
  color: var(--core-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-user-email {
  font-size: 0.8125rem;
  color: var(--core-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navigation */
.ui-dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ui-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--core-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.ui-nav-link svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.ui-nav-link:hover {
  background-color: var(--core-bg);
  color: var(--core-secondary);
}

.ui-nav-link:hover svg {
  opacity: 1;
}

.ui-nav-link.is-active {
  background-color: var(--core-primary-light);
  color: var(--core-primary);
}

.ui-nav-link.is-active svg {
  opacity: 1;
}

.ui-nav-divider {
  height: 1px;
  background-color: var(--core-border);
  margin: 12px 0;
}

.ui-nav-link.text-danger {
  color: #ef4444; /* Clean Red */
}

.ui-nav-link.text-danger:hover {
  background-color: #fef2f2;
  color: #dc2626;
}

/* --- Main Dashboard Area --- */
.ui-dash-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Header */
.ui-dash-header {
  display: flex;
  flex-direction: column;
}

.ui-dash-headline {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--core-secondary);
  line-height: 1.2;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.ui-text-accent {
  color: var(--core-primary);
}

.ui-dash-desc {
  font-size: 1.0625rem;
  color: var(--core-text-muted);
  max-width: 600px;
  margin: 0;
  line-height: 1.6;
}

/* Bento Grid */
.ui-dash-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.ui-bento-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.ui-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.ui-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-card-icon svg {
  width: 20px;
  height: 20px;
}

/* Tints from previous patterns */
.tint-blue {
  background: #e0f2fe;
  color: #0284c7;
}
.tint-orange {
  background: #ffedd5;
  color: #ea580c;
}
.tint-indigo {
  background: #e0e7ff;
  color: #4f46e5;
}
.tint-pink {
  background: #fce7f3;
  color: #db2777;
}

.ui-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--core-secondary);
  margin: 0;
}

/* Info List (Left Card) */
.ui-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--core-border);
}

.ui-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ui-info-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--core-text-muted);
}

.ui-info-val {
  font-size: 1rem;
  color: var(--core-secondary);
}

/* Action List (Right Card) */
.ui-action-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-action-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ui-action-item:hover {
  border-color: var(--core-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.ui-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-action-icon svg {
  width: 20px;
  height: 20px;
}

.ui-action-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.ui-action-text strong {
  font-size: 0.9375rem;
  color: var(--core-secondary);
}

.ui-action-text span {
  font-size: 0.8125rem;
  color: var(--core-text-muted);
}

.ui-action-arrow {
  color: var(--core-text-muted);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.ui-action-arrow svg {
  width: 18px;
  height: 18px;
}

.ui-action-item:hover .ui-action-arrow {
  color: var(--core-primary);
  transform: translateX(4px);
}

/* Notice Banner */
.ui-notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-left: 4px solid var(--core-primary);
  padding: 24px;
  border-radius: 12px;
}

.ui-notice-icon {
  color: var(--core-primary);
  margin-top: 2px;
}

.ui-notice-icon svg {
  width: 24px;
  height: 24px;
}

.ui-notice-content strong {
  display: block;
  font-size: 1rem;
  color: var(--core-secondary);
  margin-bottom: 6px;
}

.ui-notice-content p {
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-dashboard-layout {
    grid-template-columns: 1fr; /* Stack sidebar on top */
    gap: 32px;
  }

  .ui-dash-sidebar {
    position: relative;
    top: 0;
  }

  .ui-dash-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ui-nav-divider {
    display: none; /* Hide divider when wrapped */
  }
}

@media (max-width: 640px) {
  .ui-dash-bento {
    grid-template-columns: 1fr;
  }

  .ui-dash-headline {
    font-size: 1.75rem;
  }

  .ui-bento-card {
    padding: 24px;
  }
}

/* =====================================================
   ORDER TRACKING SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-track-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
  min-height: 70vh;
  display: flex;
  justify-content: center;
}

.ui-track-container {
  width: 100%;
  max-width: 640px; /* Centered, focused utility container */
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- Main Tracking Card --- */
.ui-track-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.ui-track-card:hover {
  box-shadow: var(--shadow-md);
}

.ui-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.ui-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-header-icon svg {
  width: 24px;
  height: 24px;
}

.tint-indigo {
  background: #e0e7ff;
  color: #4f46e5;
}

.ui-header-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0;
}

.ui-card-desc {
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- Form Layout --- */
.ui-track-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.ui-form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--core-secondary);
}

.ui-track-action-row {
  display: flex;
  gap: 16px;
}

/* Input Styles */
.ui-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.ui-input-icon {
  position: absolute;
  left: 16px;
  color: var(--core-text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.ui-input-icon svg {
  width: 18px;
  height: 18px;
}

.ui-input {
  width: 100%;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  padding: 14px 16px 14px 44px; /* Space for icon */
  font-family: inherit;
  font-size: 1rem;
  color: var(--core-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ui-input:focus {
  outline: none;
  border-color: var(--core-primary);
  box-shadow: 0 0 0 3px var(--core-primary-light);
}

.ui-input::placeholder {
  color: #94a3b8;
}

/* Button Styles */
.ui-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--core-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.ui-btn-primary:hover {
  background-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* --- Error Alert --- */
.ui-alert-error {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 24px;
  animation: slideDown 0.3s ease-out;
}

.ui-alert-icon {
  color: #ef4444;
  margin-top: 2px;
}

.ui-alert-icon svg {
  width: 24px;
  height: 24px;
}

.ui-alert-content strong {
  display: block;
  color: #991b1b;
  font-size: 1rem;
  margin-bottom: 4px;
}

.ui-alert-content p {
  margin: 0;
  color: #b91c1c;
  font-size: 0.9375rem;
}

/* --- Results Card --- */
.ui-result-card {
  padding: 32px;
  animation: slideUp 0.4s ease-out;
}

.ui-status-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid transparent;
}

/* Status: Processing (Orange/Yellow Tint) */
.status-processing {
  background-color: #fffbeb;
  border-color: #fde68a;
}
.status-processing .ui-status-icon-blob {
  background-color: #fef3c7;
  color: #d97706;
}

/* Status: Dispatched (Green/Teal Tint) */
.status-dispatched {
  background-color: #ecfdf5;
  border-color: #a7f3d0;
}
.status-dispatched .ui-status-icon-blob {
  background-color: #d1fae5;
  color: #059669;
}

.ui-status-icon-blob {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-status-icon-blob svg {
  width: 28px;
  height: 28px;
}

.ui-status-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ui-status-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--core-secondary);
}

.ui-status-desc {
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Summary Details */
.ui-track-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  padding: 24px;
  border-radius: 12px;
}

.ui-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ui-summary-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--core-text-muted);
}

.ui-summary-val {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--core-secondary);
}

/* --- Animations & Responsive --- */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .ui-track-card {
    padding: 24px;
  }

  .ui-track-action-row {
    flex-direction: column;
  }

  .ui-btn-primary {
    width: 100%;
    padding: 14px;
  }

  .ui-status-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }

  .ui-track-summary {
    grid-template-columns: 1fr; /* Stack summary on mobile */
  }
}

/* =====================================================
   RETURN ORDER SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-return-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
  min-height: 75vh;
  display: flex;
  justify-content: center;
}

.ui-return-container {
  width: 100%;
  max-width: 600px; /* Centered utility container */
}

/* --- Card Base --- */
.ui-return-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
  animation: fadeUp 0.4s ease-out forwards;
}

.ui-return-card:hover {
  box-shadow: var(--shadow-md);
}

/* --- Header Area --- */
.ui-card-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.ui-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ui-header-icon svg {
  width: 28px;
  height: 28px;
}
.tint-blue {
  background: #e0f2fe;
  color: #0284c7;
}

.ui-return-headline {
  font-size: 2rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 12px 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ui-text-accent {
  color: var(--core-primary);
}

.ui-return-desc {
  font-size: 1rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
}

/* --- Form Layout --- */
.ui-return-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ui-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-input-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--core-secondary);
}

.ui-required {
  color: #ef4444;
}
.ui-optional {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.8125rem;
}

/* Input Wrapper & Icons */
.ui-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.ui-input-icon {
  position: absolute;
  left: 16px;
  color: var(--core-text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.ui-input-icon svg {
  width: 18px;
  height: 18px;
}

/* Inputs, Textareas, and Selects */
.ui-input-wrapper input,
.ui-input-wrapper select,
.ui-input-group textarea {
  width: 100%;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--core-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* Specific padding for icon fields */
.ui-input-wrapper input,
.ui-input-wrapper select {
  padding: 14px 16px 14px 44px; /* Room for left icon */
}

.ui-input-group textarea {
  padding: 14px 16px;
  resize: vertical;
  min-height: 100px;
}

.ui-input-wrapper input:focus,
.ui-input-wrapper select:focus,
.ui-input-group textarea:focus {
  outline: none;
  border-color: var(--core-primary);
  box-shadow: 0 0 0 3px var(--core-primary-light);
}

.ui-input-wrapper input::placeholder,
.ui-input-group textarea::placeholder {
  color: #94a3b8;
}

/* Custom Select Styling */
.ui-custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.ui-select-arrow {
  position: absolute;
  right: 16px;
  color: var(--core-text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.ui-select-arrow svg {
  width: 16px;
  height: 16px;
}

/* --- Error Alert --- */
.ui-alert-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  padding: 16px;
  margin-top: 8px;
}

.ui-alert-icon {
  color: #ef4444;
  margin-top: 2px;
}

.ui-alert-icon svg {
  width: 20px;
  height: 20px;
}

.ui-alert-content strong {
  display: block;
  color: #991b1b;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.ui-alert-content p {
  margin: 0;
  color: #b91c1c;
  font-size: 0.875rem;
}

/* --- Policy Note --- */
.ui-policy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background-color: var(--core-bg);
  padding: 16px;
  border-radius: 8px;
  border: 1px dashed var(--core-border);
  margin-top: 8px;
}

.ui-policy-note svg {
  width: 16px;
  height: 16px;
  color: var(--core-text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.ui-policy-note span {
  font-size: 0.8125rem;
  color: var(--core-text-muted);
  line-height: 1.5;
}

/* --- Success State --- */
.ui-success-mode {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-success-icon-blob {
  width: 72px;
  height: 72px;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.1);
}

.ui-success-icon-blob svg {
  width: 32px;
  height: 32px;
}

.ui-text-success {
  color: #16a34a;
}

.ui-return-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  padding: 20px;
  border-radius: 12px;
  width: 100%;
  margin: 32px 0;
  box-sizing: border-box;
}

.ui-summary-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--core-text-muted);
}

.ui-summary-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--core-secondary);
}

/* --- Button --- */
.ui-btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--core-primary);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
  box-sizing: border-box;
}

.ui-btn-primary-lg:hover {
  background-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* --- Animations & Responsive --- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .ui-return-card {
    padding: 32px 24px;
  }
}

/* =====================================================
   CART PAGE SECTION — VIBRANT BERRY UI
===================================================== */

/* =========================================
   NEXT-GEN CART TERMINAL (CYBER-MIDNIGHT)
   ========================================= */

.neo-cart-realm {
  background-color: #020617;
  min-height: 70vh;
  padding: 80px 0 120px 0;
  position: relative;
}

/* Background Cyber-Grid */
.neo-cart-realm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

.neo-cart-bound {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 5;
}

/* --- EMPTY STATE --- */
.neo-empty-terminal {
  text-align: center;
  padding: 6rem 2rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px dashed rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  max-width: 700px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.neo-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem auto;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

.neo-empty-title {
  color: #f8fafc;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
}

.neo-text-glow {
  background: linear-gradient(90deg, #60a5fa, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.neo-empty-desc {
  color: #94a3b8;
  font-size: 1.1rem;
  margin: 0 auto 2.5rem auto;
  max-width: 500px;
}

.neo-btn-primary {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #020617;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.neo-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
  color: #fff;
}

/* --- ACTIVE CART LAYOUT --- */
.neo-cart-split {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.neo-cart-header {
  color: #f1f5f9;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 2rem 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.neo-cart-header::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

/* Cart Items List */
.neo-cart-matrix {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Individual Node (Row) */
.neo-cart-node {
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 2rem;
  align-items: center;
  transition: all 0.3s ease;
}

.neo-cart-node:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: #131c31;
}

.neo-node-visual {
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle at center,
    rgba(30, 58, 138, 0.4) 0%,
    transparent 70%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.neo-node-visual img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

.neo-node-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.neo-node-title {
  color: #f1f5f9;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.neo-node-unit {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Qty Form Controls */
.neo-qty-form {
  margin: 0;
}
.neo-qty-cluster {
  display: flex;
  align-items: center;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.neo-qty-input {
  background: transparent;
  border: none;
  color: #38bdf8;
  font-weight: 700;
  text-align: center;
  width: 50px;
  padding: 0.5rem;
  outline: none;
  -moz-appearance: textfield;
}
.neo-qty-input::-webkit-outer-spin-button,
.neo-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.neo-btn-update {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: none;
  border-left: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0 0.75rem;
  height: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.neo-btn-update:hover {
  background: #2563eb;
  color: #fff;
}

/* Totals & Remove */
.neo-node-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.neo-node-total {
  color: #2dd4bf;
  font-size: 1.25rem;
  font-weight: 800;
}

.neo-btn-remove {
  background: transparent;
  color: #64748b;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.neo-btn-remove:hover {
  color: #f43f5e;
}

/* --- SIDEBAR SUMMARY --- */
.neo-cart-panel {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  position: sticky;
  top: 100px; /* Accounts for header height */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.neo-panel-title {
  color: #f1f5f9;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.neo-panel-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.neo-row-val.is-calc {
  font-size: 0.8rem;
  font-style: italic;
}

.neo-panel-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.3),
    transparent
  );
  margin: 1.5rem 0;
}

.neo-panel-row.is-total {
  color: #f8fafc;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.neo-total-highlight {
  color: #38bdf8;
}

.neo-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .neo-cart-split {
    grid-template-columns: 1fr;
  }
  .neo-cart-panel {
    position: static;
  }
}

@media (max-width: 600px) {
  .neo-cart-node {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem;
  }
  .neo-node-visual {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 80px;
    height: 80px;
  }
  .neo-node-info {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  .neo-node-qty {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  .neo-node-actions {
    grid-column: 1 / 3;
    grid-row: 3 / 3;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* =====================================================
   CHECKOUT PAGE SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-checkout-section {
  background-color: var(--core-bg);
  padding: 60px 24px 120px 24px;
}

/* --- Error Alert --- */
.ui-alert-error {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 auto 32px auto;
  max-width: 1280px;
}

.ui-alert-icon {
  color: #ef4444;
  margin-top: 2px;
}

.ui-alert-icon svg {
  width: 24px;
  height: 24px;
}

.ui-alert-content strong {
  display: block;
  color: #991b1b;
  font-size: 1rem;
  margin-bottom: 4px;
}

.ui-alert-content p {
  margin: 0;
  color: #b91c1c;
  font-size: 0.9375rem;
}

/* --- Layout --- */
.ui-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

/* --- Left Column: Forms --- */
.ui-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ui-checkout-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ui-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--core-border);
}

.ui-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-header-icon svg {
  width: 20px;
  height: 20px;
}

/* Tints matching previous sections */
.tint-blue {
  background: #e0f2fe;
  color: #0284c7;
}
.tint-pink {
  background: #fce7f3;
  color: #db2777;
}

.ui-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--core-secondary);
  margin: 0;
}

/* Form Inputs */
.ui-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ui-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-input-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--core-secondary);
}

.ui-required {
  color: #ef4444;
}

.ui-input-group input,
.ui-input-group textarea {
  width: 100%;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--core-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ui-input-group textarea {
  resize: vertical;
}

.ui-input-group input:focus,
.ui-input-group textarea:focus {
  outline: none;
  border-color: var(--core-primary);
  box-shadow: 0 0 0 3px var(--core-primary-light);
}

/* --- Payment Method Cards --- */
.ui-payment-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-payment-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: var(--core-bg);
  border: 2px solid var(--core-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ui-payment-card:hover {
  border-color: #cbd5e1;
}

.ui-payment-card.is-active {
  border-color: var(--core-primary);
  background-color: var(--core-primary-light);
}

.ui-pay-icon {
  width: 48px;
  height: 48px;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--core-secondary);
  transition: all 0.2s;
}

.ui-payment-card.is-active .ui-pay-icon {
  background-color: #ffffff;
  color: var(--core-primary);
  border-color: var(--core-primary);
}

.ui-pay-icon svg {
  width: 24px;
  height: 24px;
}

.ui-pay-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ui-pay-details strong {
  font-size: 1rem;
  color: var(--core-secondary);
  margin-bottom: 2px;
}

.ui-pay-details span {
  font-size: 0.875rem;
  color: var(--core-text-muted);
}

.ui-pay-check {
  color: var(--core-primary);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
}

.ui-pay-check svg {
  width: 24px;
  height: 24px;
}

.ui-payment-card.is-active .ui-pay-check {
  opacity: 1;
  transform: scale(1);
}

/* --- Right Column: Sticky Summary --- */
.ui-checkout-sidebar {
  position: sticky;
  top: 100px;
}

.ui-summary-box {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ui-summary-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 24px 0;
}

.ui-summary-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--core-border);
}

.ui-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ui-item-context {
  display: flex;
  flex-direction: column;
}

.ui-item-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--core-secondary);
}

.ui-item-qty {
  font-size: 0.8125rem;
  color: var(--core-text-muted);
}

.ui-item-price {
  font-size: 0.9375rem;
  color: var(--core-secondary);
}

.ui-summary-calc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ui-calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: var(--core-text-muted);
}

.ui-text-success {
  color: #10b981;
  font-weight: 600;
}

.ui-calc-divider {
  height: 1px;
  background-color: var(--core-border);
  margin: 8px 0;
}

.ui-calc-row.is-total {
  font-size: 1.25rem;
  color: var(--core-secondary);
  font-weight: 700;
  align-items: center;
}

.ui-total-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--core-primary);
}

/* Shared Button Logic applied to form button */
.ui-btn-primary-lg {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-bottom: 16px;
}

.ui-summary-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #10b981;
}

.ui-summary-trust svg {
  width: 14px;
  height: 14px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-checkout-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ui-checkout-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .ui-form-grid {
    grid-template-columns: 1fr;
  }

  .ui-checkout-card {
    padding: 24px;
  }
}

/* =====================================================
   ORDER SUCCESS SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-success-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
}

/* --- Header --- */
.ui-success-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 0.6s ease-out forwards;
}

.ui-success-icon-blob {
  width: 88px;
  height: 88px;
  background-color: #dcfce7;
  color: #16a34a; /* Vibrant Green */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 0 12px rgba(22, 163, 74, 0.1); /* Subtle glowing ring */
}

.ui-success-icon-blob svg {
  width: 40px;
  height: 40px;
}

.ui-success-headline {
  font-size: 3rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 16px 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ui-text-accent {
  color: var(--core-primary);
}

.ui-success-desc {
  font-size: 1.125rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0;
}

.ui-order-number {
  color: var(--core-secondary);
  font-weight: 800;
  background-color: var(--core-bg-alt);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--core-border);
}

/* --- Layout --- */
.ui-success-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* --- Left Column: Main Cards --- */
.ui-success-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ui-success-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ui-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.ui-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-header-icon svg {
  width: 22px;
  height: 22px;
}

/* Tints */
.tint-indigo {
  background: #e0e7ff;
  color: #4f46e5;
}
.tint-pink {
  background: #fce7f3;
  color: #db2777;
}
.tint-blue {
  background: #e0f2fe;
  color: #0284c7;
}
.tint-orange {
  background: #ffedd5;
  color: #ea580c;
}

.ui-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--core-secondary);
  margin: 0;
}

/* Payment Status Block */
.ui-payment-status {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.ui-status-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-status-icon svg {
  width: 20px;
  height: 20px;
}

.ui-status-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--core-text-muted);
  margin: 0;
}

.ui-status-text strong {
  color: var(--core-secondary);
}

/* Stats Bento Grid */
.ui-stats-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ui-stat-box {
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  padding: 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ui-stat-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--core-text-muted);
}

.ui-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--core-secondary);
}

.text-success {
  color: #16a34a;
}

/* Next Steps List */
.ui-next-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-next-steps-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 10px;
}

.ui-next-steps-list li svg {
  width: 24px;
  height: 24px;
  color: var(--core-primary);
  flex-shrink: 0;
}

.ui-next-steps-list li span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--core-secondary);
}

/* Actions */
.ui-success-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.ui-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--core-primary);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.ui-btn-primary:hover {
  background-color: #ea580c;
  transform: translateY(-2px);
}

.ui-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--core-secondary);
  border: 2px solid var(--core-border);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ui-btn-outline:hover {
  border-color: var(--core-secondary);
  background-color: var(--core-secondary);
  color: #ffffff;
}

/* --- Right Column: Sidebar --- */
.ui-success-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Timeline */
.ui-timeline-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 8px;
}

/* The vertical connecting line */
.ui-timeline-rail::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 23px; /* Centers under the 30px circles */
  width: 2px;
  background-color: var(--core-border);
  z-index: 0;
}

.ui-timeline-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.ui-step-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
  background-color: var(--core-bg);
  border: 2px solid var(--core-border);
  color: var(--core-text-muted);
  transition: all 0.3s ease;
}

.ui-step-indicator svg {
  width: 16px;
  height: 16px;
}

.ui-step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.ui-step-content strong {
  font-size: 1rem;
  color: var(--core-secondary);
}

.ui-step-content span {
  font-size: 0.875rem;
  color: var(--core-text-muted);
}

/* Active State for Timeline */
.ui-timeline-step.is-active .ui-step-indicator {
  background-color: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

/* Help Snippet */
.ui-help-snippet {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--core-bg-alt);
  border: 1px dashed var(--core-border);
  padding: 24px;
  border-radius: 12px;
}

.ui-help-icon {
  width: 40px;
  height: 40px;
  background-color: var(--core-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--core-primary);
  flex-shrink: 0;
}

.ui-help-icon svg {
  width: 20px;
  height: 20px;
}

.ui-help-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ui-help-content strong {
  font-size: 1rem;
  color: var(--core-secondary);
}

.ui-help-content p {
  font-size: 0.875rem;
  color: var(--core-text-muted);
  margin: 0 0 8px 0;
}

.ui-help-content a,
.ui-help-content span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--core-primary);
  text-decoration: none;
}

/* Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-success-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ui-stats-bento {
    grid-template-columns: 1fr;
  }

  .ui-success-actions {
    flex-direction: column;
  }

  .ui-btn-primary,
  .ui-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* Policy Pages */
.policy-page {
  padding: 50px;
}

/* =====================================================
   SHOP PAGE — SERENE EARTH
===================================================== */

/* --- Section Foundation --- */
.ui-browser-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
  min-height: 60vh;
}

/* --- Elegant Empty State --- */
.ui-empty-state {
  max-width: 540px;
  margin: 60px auto;
  text-align: center;
  padding: 64px 40px;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 0.4s ease-out forwards;
}

.ui-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ui-empty-icon.tint-indigo {
  background-color: #e0e7ff;
  color: #4f46e5;
}

.ui-empty-icon svg {
  width: 36px;
  height: 36px;
}

.ui-empty-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.ui-text-accent {
  color: var(--core-primary);
}

.ui-empty-desc {
  font-size: 1.0625rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0 0 32px 0;
}

/* Shared large primary button */
.ui-btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--core-primary);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.ui-btn-primary-lg:hover {
  background-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* --- Product Grid Layout --- */
.ui-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

/* --- Semantic Item Card --- */
.ui-item-card {
  display: flex;
  flex-direction: column;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.ui-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--core-text-muted);
}

/* Visual Top Half */
.ui-item-visual {
  position: relative;
  height: 240px;
  background-color: #f8fafc; /* Crisp, light grey to pop the product */
  border-bottom: 1px solid var(--core-border);
  overflow: hidden;
}

.ui-visual-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  box-sizing: border-box;
}

.ui-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: darken; /* Seamless white-background removal */
  transition: transform 0.4s ease;
}

.ui-item-card:hover .ui-item-img {
  transform: scale(1.06);
}

/* Badges Overlay */
.ui-badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ui-badge-success {
  background-color: #dcfce7;
  color: #16a34a;
  border: 1px solid #86efac;
}

.ui-badge-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

/* Details Middle Half */
.ui-item-details {
  padding: 24px 24px 16px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ui-item-title-link {
  text-decoration: none;
  margin-bottom: 8px;
}

.ui-item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--core-secondary);
  margin: 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.ui-item-title-link:hover .ui-item-title {
  color: var(--core-primary);
}

.ui-item-desc {
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex: 1; /* Pushes price to bottom if descriptions vary in length */
  /* Truncate visually to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ui-item-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--core-secondary);
}

/* Action Footer */
.ui-item-footer {
  padding: 0 24px 24px 24px;
}

.ui-add-form {
  margin: 0;
}

.ui-btn-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: var(--core-bg);
  border: 2px solid var(--core-primary);
  color: var(--core-primary);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ui-btn-add:hover {
  background-color: var(--core-primary);
  color: #ffffff;
}

.ui-btn-disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: #f1f5f9;
  border: 2px solid #e2e8f0;
  color: #94a3b8;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: not-allowed;
}

/* --- Animations & Responsive --- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .ui-empty-state {
    padding: 40px 24px;
  }

  .ui-product-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
  }

  .ui-item-visual {
    height: 280px; /* Slightly taller on mobile for better view */
  }
}

/* =====================================================
   SINGLE PRODUCT PAGE — SHARP & ARCHITECTURAL UI
===================================================== */
/* =========================================
   NEXT-GEN SINGLE PRODUCT (CYBER-MIDNIGHT)
   ========================================= */

.sgl-product-realm {
  background-color: #020617;
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

/* Background Cyber-Grid */
.sgl-product-realm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.sgl-core-bound {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 5;
}

/* --- TOP MODULE: Hero Split --- */
.sgl-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
  align-items: center;
}

/* Left: Visual Hologram Stage */
.sgl-visual-stage {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 30px;
  box-shadow: inset 0 0 100px rgba(37, 99, 235, 0.05);
}

.sgl-stage-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.2) 0%,
    transparent 60%
  );
  animation: sglPulse 4s ease-in-out infinite;
}

@keyframes sglPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }
}

.sgl-product-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
  animation: sglLevitate 6s ease-in-out infinite;
}

@keyframes sglLevitate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Right: Data Console */
.sgl-data-console {
  display: flex;
  flex-direction: column;
}

.sgl-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  font-family: monospace;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.sgl-brand-tag {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.sgl-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.sgl-rating-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: fit-content;
}

.sgl-stars {
  display: flex;
  color: #eab308;
}
.sgl-stars svg {
  width: 16px;
  height: 16px;
  fill: #eab308;
}
.sgl-rating-score {
  color: #f1f5f9;
  font-weight: 700;
}
.sgl-rating-text {
  color: #64748b;
  font-size: 0.85rem;
}

.sgl-price-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sgl-price-large {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(90deg, #60a5fa, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.sgl-tax-note {
  color: #475569;
  font-size: 0.85rem;
}

.sgl-desc {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 2.5rem 0;
}

/* Actions Matrix */
.sgl-action-matrix {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.sgl-btn-prime {
  flex: 1;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #020617;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.2rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sgl-btn-prime:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
  color: #fff;
}

.sgl-btn-ghost {
  flex: 1;
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sgl-btn-ghost:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: #3b82f6;
  color: #38bdf8;
}

.sgl-btn-disabled {
  flex: 1;
  background: rgba(225, 29, 72, 0.1);
  color: #f43f5e;
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 1.2rem;
  border-radius: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: not-allowed;
}

/* Trust Signals */
.sgl-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 12px;
}

.sgl-trust-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

.sgl-trust-node svg {
  width: 24px;
  height: 24px;
}
.tint-cyan {
  color: #2dd4bf;
}
.tint-blue {
  color: #60a5fa;
}
.tint-purple {
  color: #c084fc;
}

/* --- BOTTOM MODULE: Data Tabs --- */
.sgl-tabs-module {
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.sgl-tab-radio {
  display: none;
}

.sgl-tab-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.sgl-tab-label {
  padding: 0.75rem 1.5rem;
  color: #64748b;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sgl-tab-label:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

/* Tab Logic */
#sgl_tab_1:checked ~ .sgl-tab-nav [for="sgl_tab_1"],
#sgl_tab_2:checked ~ .sgl-tab-nav [for="sgl_tab_2"],
#sgl_tab_3:checked ~ .sgl-tab-nav [for="sgl_tab_3"],
#sgl_tab_4:checked ~ .sgl-tab-nav [for="sgl_tab_4"] {
  background: rgba(37, 99, 235, 0.2);
  color: #38bdf8;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.sgl-panel {
  display: none;
  animation: sglFadeIn 0.4s ease;
}

#sgl_tab_1:checked ~ .sgl-panel-1,
#sgl_tab_2:checked ~ .sgl-panel-2,
#sgl_tab_3:checked ~ .sgl-panel-3,
#sgl_tab_4:checked ~ .sgl-panel-4 {
  display: block;
}

@keyframes sglFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Panel Content Formatting */
.sgl-panel-title {
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 1.5rem 0;
}

.sgl-panel-text {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.sgl-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.sgl-bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
}

.sgl-bullet-list svg {
  color: #38bdf8;
  width: 18px;
  height: 18px;
}

/* Specs Grid */
.sgl-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.sgl-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.sgl-spec-key {
  color: #64748b;
  font-family: monospace;
  text-transform: uppercase;
}
.sgl-spec-val {
  color: #f8fafc;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .sgl-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sgl-visual-stage {
    height: 400px;
  }
  .sgl-action-matrix {
    flex-direction: column;
  }
}

.text-black {
  color: black !important;
}
