/* ==========================================================================
   iTADA TECHNOLOGIES - SMART INDUSTRIAL IOT & AI ECOSYSTEM
   Design System & Styling
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #080b11;
  --bg-card: rgba(16, 23, 38, 0.72);
  --bg-card-hover: rgba(23, 33, 54, 0.85);
  --bg-surface: #0f1624;
  --bg-surface-elevated: #162033;
  
  /* iTada Brand Accents */
  --itada-primary: #00f2fe;
  --itada-secondary: #00e676;
  --itada-accent: #38bdf8;
  --itada-glow: rgba(0, 242, 254, 0.4);
  --itada-gradient: linear-gradient(135deg, #00f2fe 0%, #0ea5e9 50%, #10b981 100%);
  --itada-coral-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  
  --cyan-neon: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.35);
  --emerald-neon: #00e676;
  --emerald-glow: rgba(0, 230, 118, 0.35);
  --violet-neon: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.35);
  
  /* Neutral & Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.45);
  --border-accent: rgba(0, 242, 254, 0.4);
  
  /* Glassmorphism */
  --glass-bg: rgba(15, 22, 36, 0.75);
  --glass-blur: blur(16px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 10%, rgba(14, 165, 233, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 85% 25%, rgba(0, 242, 254, 0.1) 0%, transparent 45%),
              radial-gradient(circle at 50% 70%, rgba(0, 230, 118, 0.08) 0%, transparent 50%),
              var(--bg-dark);
}

/* Background Animated Grid */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #a7f3d0 0%, #00e676 60%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-accent {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.4);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.2);
}

.badge-patent {
  background: rgba(0, 242, 254, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.2);
}

.badge-emerald {
  background: rgba(0, 230, 118, 0.12);
  color: #34d399;
  border: 1px solid rgba(0, 230, 118, 0.35);
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 10px #00e676;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px #00e676; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 11, 17, 0.85);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #00e676 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
  flex-shrink: 0;
}

.brand-title {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 40%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-neon);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #00e676 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(14, 165, 233, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(14, 165, 233, 0.7);
}

.btn-cyber {
  background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(14, 165, 233, 0.4);
}

.btn-cyber:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(14, 165, 233, 0.6);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-switch-btn:hover {
  color: #ffffff;
  border-color: var(--border-focus);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 16px;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}

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

.metric-num {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* Hero Media Card */
.hero-visual-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 25px 60px -15px rgba(0, 242, 254, 0.25),
              0 0 40px rgba(0, 0, 0, 0.8);
  background: #0d131f;
}

.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-img {
  transform: scale(1.02);
}

.hero-overlay-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(8, 11, 17, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-overlay-stats {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(13, 19, 31, 0.9);
  backdrop-filter: blur(16px);
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-stream-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #00e676;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto 3.5rem;
  padding: 0 1rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-neon);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-subtitle-accent {
  color: var(--itada-accent);
}

.section-title {
  font-size: clamp(1.8rem, 2.3vw, 2.25rem);
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (min-width: 900px) {
  .section-title-nowrap {
    white-space: nowrap;
  }
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

/* ==========================================================================
   PROBLEM VS SOLUTION GRID
   ========================================================================== */
.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comp-col-bad {
  border-top: 3px solid #ef4444;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, rgba(16, 23, 38, 0.6) 100%);
}

.comp-col-good {
  border-top: 3px solid #10b981;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 23, 38, 0.7) 100%);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.12);
}

.comp-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comp-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.comp-icon-bad {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.comp-icon-good {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comp-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.comp-bullet {
  margin-top: 0.2rem;
  font-size: 1rem;
}

.comp-item-text strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.comp-item-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   PATENT & INTELLECTUAL PROPERTY SHOWCASE
   ========================================================================== */
.patent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.patent-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.patent-card:hover {
  border-color: var(--cyan-neon);
  box-shadow: 0 15px 35px -10px rgba(0, 242, 254, 0.25);
}

.patent-badge-top {
  align-self: flex-start;
  margin-bottom: 1rem;
}

.patent-thumb-container {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #05080f;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.patent-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-normal);
}

.patent-card:hover .patent-thumb {
  transform: scale(1.05);
}

.patent-zoom-icon {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: #ffffff;
  font-size: 1.5rem;
}

.patent-card:hover .patent-zoom-icon {
  opacity: 1;
}

.patent-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.patent-meta {
  font-size: 0.8rem;
  color: var(--cyan-neon);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
}

.patent-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: auto;
}

/* Patent Deep Dive Banner */
.patent-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.patent-banner-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.patent-banner-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   AI & IOT ARCHITECTURE
   ========================================================================== */
.ai-arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-pill-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-pill {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.feature-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateX(6px);
}

.feature-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-pill-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.feature-pill-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Dashboard Mockup Display */
.ai-mockup-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 242, 254, 0.3);
}

.ai-mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   INTERACTIVE LIVE SIMULATION SANDBOX
   ========================================================================== */
.sandbox-section {
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
}

.sandbox-container {
  background: #0b101c;
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9),
              0 0 50px rgba(0, 242, 254, 0.15);
}

.sandbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sandbox-title-grp {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.line-selector-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.line-tab {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.line-tab.active {
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan-neon);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.sandbox-actions {
  display: flex;
  gap: 0.75rem;
}

/* Live Telemetry KPI Bar */
.sim-kpi-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.sim-kpi-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.sim-kpi-val {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.sim-kpi-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Production Line Visualizer (6 Stations) */
.stations-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.station-node {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.4s ease;
}

.station-node.status-optimal {
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.15);
}

.station-node.status-bottleneck {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.35);
  animation: shake 0.6s infinite alternate;
}

@keyframes shake {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.station-num {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.station-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.station-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  margin-bottom: 0.4rem;
  min-height: 2.4rem;
}

.station-worker {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.station-stat-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.5rem;
}

.station-status-pill {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.pill-optimal {
  background: #00e676;
  color: #052e16;
}

.pill-bottleneck {
  background: #ef4444;
  color: #ffffff;
}

/* AI Copilot Advisory Box */
.ai-sim-copilot {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--border-focus);
  border-radius: 18px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: center;
}

.ai-sim-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.ai-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--itada-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  font-size: 1rem;
  box-shadow: 0 0 16px var(--itada-glow);
}

.ai-sim-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.ai-sim-text {
  font-size: 0.925rem;
  color: #e2e8f0;
  line-height: 1.6;
}

.ai-sim-btn-area {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

/* Live AI Prompt Interactive Console */
.sim-console-box {
  background: #080c14;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem;
}

.sim-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.quick-prompt-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-prompt-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.4);
  color: #ffffff;
}

.sim-input-row {
  display: flex;
  gap: 0.75rem;
}

.sim-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-main);
}

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

.sim-console-output {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #cbd5e1;
  min-height: 70px;
  max-height: 180px;
  overflow-y: auto;
  line-height: 1.5;
}

/* ==========================================================================
   ROI & FINANCIAL CALCULATOR
   ========================================================================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.calc-val-badge {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan-neon);
}

.calc-slider {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan-neon);
  box-shadow: 0 0 12px var(--cyan-neon);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results-card {
  background: linear-gradient(135deg, rgba(16, 23, 38, 0.95) 0%, rgba(13, 19, 31, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 20px 50px -10px rgba(0, 242, 254, 0.2);
}

.calc-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.calc-kpi-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem;
}

.calc-kpi-num {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.calc-kpi-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

/* ==========================================================================
   DEPLOYMENTS & CASE STUDIES
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.case-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  border: var(--glass-border);
  display: flex;
  flex-direction: column;
}

.case-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.case-card:hover .case-img {
  transform: scale(1.04);
}

.case-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(8, 11, 17, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.case-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.case-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.case-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin-top: auto;
}

.case-stat-item {
  text-align: center;
}

.case-stat-num {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--emerald-neon);
}

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

/* ==========================================================================
   PITCH DECK & STRATEGIC PROPOSAL CONTAINER
   ========================================================================== */
.pitch-deck-container {
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 70px -15px rgba(0, 242, 254, 0.2);
}

.deck-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.deck-tab-btn {
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.deck-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.deck-tab-btn.active {
  background: var(--itada-gradient);
  color: #0b111e;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--itada-glow);
}

.deck-slide-content {
  min-height: 320px;
}

.deck-slide-pane {
  display: none;
  animation: fadeIn 0.35s ease;
}

.deck-slide-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.deck-grid-2col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.deck-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.deck-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.deck-check-icon {
  color: #00e676;
  font-weight: bold;
  font-size: 1.1rem;
}

.deck-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.5rem;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: #0d131f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
  padding: 2.25rem;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-img-full {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  margin: 1.5rem 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #05080e;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .comp-grid, .ai-arch-grid, .calc-grid, .deck-grid-2col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .patent-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stations-flow {
    grid-template-columns: repeat(3, 1fr);
  }
  .sim-kpi-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .ai-sim-copilot {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .patent-grid, .cases-grid {
    grid-template-columns: 1fr;
  }
  .stations-flow {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
