/* ==========================================================================
   AURTRIX AI-FIRST PLATFORM DESIGN SYSTEM (2026 EDITION)
   Palette: Primary Gold (#D4AF37), Secondary Silver/White (#F8FAFC), Dark (#0B0F17),
   Accent Cyber Blue (#00F0FF), Glassmorphism, Modern Micro-Animations
   ========================================================================== */

:root {
  /* Color Palette - Dark Mode (Default) */
  --bg-primary: #0B0F17;
  --bg-secondary: #121824;
  --bg-tertiary: #1A2233;
  --bg-card: rgba(18, 24, 36, 0.75);
  --bg-card-hover: rgba(26, 34, 51, 0.9);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  /* Brand Accent Colors */
  --gold-primary: #D4AF37;
  --gold-light: #FFD700;
  --gold-dark: #B8860B;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
  
  --cyan-primary: #00F0FF;
  --cyan-glow: rgba(0, 240, 255, 0.25);
  --cyan-gradient: linear-gradient(135deg, #00F0FF 0%, #3B82F6 100%);
  
  --border-color: rgba(212, 175, 55, 0.15);
  --border-color-hover: rgba(212, 175, 55, 0.4);
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
html.light {
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F1F5F9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(248, 250, 252, 0.95);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  --border-color: rgba(212, 175, 55, 0.25);
  --border-color-hover: rgba(212, 175, 55, 0.6);
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(212, 175, 55, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--tr-smooth), color var(--tr-smooth);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--tr-fast);
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Glow Orbs */
.glow-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}

.orb-1 {
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: var(--gold-primary);
}

.orb-2 {
  top: 40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--cyan-primary);
}

.orb-3 {
  bottom: 10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: var(--gold-dark);
}

/* Text Gradients */
.text-gradient-gold {
  background: linear-gradient(135deg, #FFD700, #B8860B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00F0FF, #00AEEF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold { color: var(--gold-primary); }
.text-cyan { color: var(--cyan-primary); }
.text-green { color: #10B981; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--tr-smooth);
  border: 1px solid transparent;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-xs {
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0B0F17;
  border: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--gold-glow);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-glass {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1fr solid var(--border-color);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-link {
  background: none;
  border: none;
  color: var(--gold-primary);
  padding: 0;
  font-weight: 600;
  cursor: pointer;
}

.btn-link:hover {
  color: var(--gold-light);
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, rgba(0, 240, 255, 0.15) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 0.85rem;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-new {
  background: var(--gold-primary);
  color: #0B0F17;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.7rem;
}

.announcement-link {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--tr-smooth);
}

html.light .site-header {
  background: rgba(248, 250, 252, 0.85);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.brand-logo-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease;
}


.brand-logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.brand-logo-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.brand-logo-img:hover {
    transform: scale(1.08);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.nav-highlight {
  color: var(--gold-primary) !important;
  font-weight: 700;
}

/* Dropdown Menu */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--tr-fast);
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-menu a:hover {
  background: var(--bg-tertiary);
  color: var(--gold-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.light-icon { display: none; }
html.light .dark-icon { display: none; }
html.light .light-icon { display: inline-block; }

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-nav-drawer {
  display: none;
}

/* Sections General */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* SECTION 1: HERO */
.hero-section {
  position: relative;
  padding: 80px 0 120px 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.trust-metrics {
  display: flex;
  align-items: center;
  gap: 28px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* Holographic Card Visual */
.holographic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color-hover);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: transform var(--tr-smooth);
}

.holographic-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
}

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

.holo-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
}

.holo-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.holo-controls {
  display: flex;
  gap: 6px;
}

.control-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.control-dot.red { background: #FF5F56; }
.control-dot.yellow { background: #FFBD2E; }
.control-dot.green { background: #27C93F; }

.hud-stream-box {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 160px;
}

.stream-line .code-tag {
  color: var(--gold-primary);
  font-weight: 700;
}

.stream-line.highlight {
  color: var(--cyan-primary);
}

.holo-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.holo-chip {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip-val {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.chip-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.holo-trigger-btn {
  width: 100%;
  padding: 12px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  border-radius: 10px;
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.holo-trigger-btn:hover {
  background: var(--gold-primary);
  color: #0B0F17;
}

/* TECH TICKER SECTION */
.tech-ticker-section {
  padding: 30px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.ticker-heading {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.tech-marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.tech-marquee-content {
  display: inline-flex;
  gap: 16px;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================
   PRODUCTS DROPDOWN
========================== */

.nav-dropdown{
    position:relative;
    display:flex;
    align-items:center;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:200px;
    background:#0f172a;
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    padding:10px 0;
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:.25s ease;
    z-index:1000;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.nav-dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 18px;
    color:#fff;
    text-decoration:none;
    transition:.25s;
}

.dropdown-item:hover{
    background:rgba(212,175,55,.12);
    color:#D4AF37;
}

.demo-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.demo-tabs {
  display: flex;
  gap: 12px;
}

.demo-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-tab.active {
  background: var(--bg-tertiary);
  color: var(--gold-primary);
}

.demo-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-view-content {
  display: none;
}
.demo-view-content.active {
  display: block;
}

/* Workflow Canvas */
.workflow-canvas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.workflow-step-node {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.workflow-step-node:hover, .workflow-step-node.node-active {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px var(--gold-glow);
}

.node-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.bg-gold-subtle { background: rgba(212, 175, 55, 0.15); }
.bg-cyan-subtle { background: rgba(0, 240, 255, 0.15); }

.node-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.node-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.workflow-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.workflow-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-tertiary);
  padding: 16px 24px;
  border-radius: 12px;
}

.control-status {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Analytics Grid */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px 0;
}

.analytics-stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-trend {
  font-size: 0.8rem;
  font-weight: 600;
}
.stat-trend.positive { color: #10B981; }

/* SECTION 3: AI AGENTS SIMULATOR */
.agent-simulator-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--glass-shadow);
}

.agent-selector-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;

}

.sidebar-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 8px;
}

.agent-select-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all var(--tr-fast);
}

.agent-select-btn:hover, .agent-select-btn.active {
  border-color: var(--gold-primary);
  background: var(--bg-tertiary);
}

.agent-icon {
  font-size: 1.3rem;
  width: 32px;
  text-align: center;
}

.agent-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.agent-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.agent-chat-window {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 520px;
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0B0F17;
  font-size: 1.1rem;
}

.chat-agent-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.chat-agent-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-dot.green { background: #10B981; }

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.system-msg {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  align-self: center;
  max-width: 90%;
  font-size: 0.85rem;
  display: flex;
  gap: 10px;
}

.user-msg {
  background: var(--gold-primary);
  color: #0B0F17;
  align-self: flex-end;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.agent-msg {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.agent-msg .tool-call-trace {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-primary);
  margin-bottom: 8px;
}

.quick-prompts {
  padding: 10px 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.prompt-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
}

.prompt-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.chat-input-form {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
}

.chat-input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.chat-input:focus {
  outline: none;
  border-color: var(--gold-primary);
}

/* SECTION 4: SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: all var(--tr-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 15px 35px var(--gold-glow);
}

.service-card.highlight-border {
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold-gradient);
  color: #0B0F17;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 10px;
}

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.icon-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
}

.icon-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-primary);
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.card-tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* SECTION 5: INDUSTRY VERTICALS */
.industry-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ind-tab {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ind-tab:hover, .ind-tab.active {
  background: var(--gold-gradient);
  color: #0B0F17;
  border-color: transparent;
  box-shadow: 0 8px 20px var(--gold-glow);
}

.industry-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color-hover);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

.ind-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ind-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.ind-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.ind-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.ind-architecture-preview {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.arch-header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

/* SECTION 6: CALCULATOR */
.calculator-section {
  background: var(--bg-secondary);
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color-hover);
  border-radius: 24px;
  padding: 40px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.calc-slider-group {
  margin-bottom: 28px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.slider-value-badge {
  color: var(--gold-primary);
  font-weight: 700;
}

input[type=range] {
  width: 100%;
  accent-color: var(--gold-primary);
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 6px;
  cursor: pointer;
}

.calc-result-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.calc-result-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}
.calc-result-item:last-child {
  border: none;
  padding-bottom: 0;
}

.res-label {
  font-size: 0.85rem;
  color: var(--text-muted);

}

.res-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
}

/* SECTION 7: CASE STUDIES */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-card.highlight-case {
  border-color: var(--gold-primary);
}

.case-category {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.case-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.case-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.case-metrics-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.metric-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: 10px;
  flex: 1;
}

.m-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
}

.m-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.case-quote {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-left: 2px solid var(--gold-primary);
  padding-left: 12px;
}

/* SECTION 8: TECH STACK */
.tech-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tech-category-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.cat-header {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-body {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* SECTION 9: RESEARCH LAB */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.paper-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cyan-primary);
  margin-bottom: 12px;
}

.paper-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.paper-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.paper-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.paper-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* SECTION 10: FAQ & SEARCH */
.faq-search-wrapper {
  max-width: 600px;
  margin: 0 auto 36px auto;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.faq-search-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 14px 20px 14px 48px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--gold-primary);
}

/* CTA BANNER */
.cta-banner-section {
  padding: 80px 0;
}

.cta-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(18, 24, 36, 0.9) 100%);
  border: 1px solid var(--gold-primary);
  border-radius: 28px;
  padding: 60px 40px;
  box-shadow: 0 20px 60px var(--gold-glow);
}

.cta-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.cta-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.cta-desc {
  max-width: 600px;
  margin: 0 auto 36px auto;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FOOTER */
.site-footer {
  background: #070A0F;
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 20px 0;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.a {
  width: 36px;
  height: 36px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

a:hover {
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.15);
}

.footer-links-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-col a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-legal {
  display: flex;
  gap: 12px;
}

/* MODAL BACKDROP */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-smooth);
}

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

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-hover);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-header {
  margin-bottom: 24px;
}

.modal-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.option-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chip-option {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.form-input, .form-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.form-step-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-step-success.active {
  display: block;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.booking-summary-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
  text-align: left;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* RESPONSIVE DESIGN BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-grid, .ind-detail-grid, .calc-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-actions .btn {
    display: none;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .mobile-nav-drawer.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    padding: 30px;
    z-index: 99;
  }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: 700;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .services-grid, .case-grid, .tech-matrix-grid, .research-grid, .analytics-grid {
    grid-template-columns: 1fr;
  }
  .agent-simulator-container {
    grid-template-columns: 1fr;
  }
  .workflow-canvas {
    flex-direction: column;
  }
  .workflow-arrow {
    transform: rotate(90deg);
  }
}
