@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   Design System & Custom Properties
   ========================================================================== */
:root {
  --font-display: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-body: 'Inter', 'Noto Sans JP', sans-serif;

  /* Colors */
  --bg-darker: #030712;
  --bg-dark: #090d16;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(31, 41, 55, 0.8);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.15);
  --border-glow-active: rgba(99, 102, 241, 0.4);

  --text-main: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --grad-cyan-blue: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --grad-glow: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(99,102,241,0) 70%);
  
  --accent-color: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Layout & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 50px -12px rgba(99, 102, 241, 0.35);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-darker);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Background Glowing Orbs */
.glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.03) 50%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
}

.orb-1 { top: -100px; right: -100px; }
.orb-2 { top: 800px; left: -200px; background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, rgba(59, 130, 246, 0.02) 60%, rgba(0,0,0,0) 80%); }
.orb-3 { bottom: 1200px; right: -150px; }
.orb-4 { bottom: 300px; left: -100px; background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, rgba(99, 102, 241, 0.01) 50%, rgba(0,0,0,0) 70%); }

/* Grid Pattern Background */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  z-index: -2;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.2) 100%);
}

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

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #9ca3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  line-height: 1.625;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
}

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

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 2rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.875rem 2rem;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  color: white;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

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

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-icon {
  margin-left: 0.5rem;
  transition: var(--transition-smooth);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  margin-bottom: 5px;
  transition: var(--transition-smooth);
}

.mobile-nav-toggle span:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 10rem 2rem 5rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: pulse 3s infinite;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin-right: 0.5rem;
  box-shadow: 0 0 10px var(--accent-color);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.25rem;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 5rem;
}

/* Hero UI Mockup Showcase */
.showcase-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-glow);
  padding: 0.5rem;
  backdrop-filter: blur(10px);
  position: relative;
}

.showcase-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.2), transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* Chrome Window Mock */
.window-chrome {
  background: #0f172a;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.window-header {
  height: 48px;
  background: #090d16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  position: relative;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-tabs {
  margin-left: 2rem;
  display: flex;
  gap: 0.5rem;
  height: 100%;
  align-items: flex-end;
}

.window-tab {
  padding: 0.65rem 1.25rem;
  background: transparent;
  color: var(--text-secondary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.window-tab.active {
  background: #111827;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: none;
}

.window-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

.window-address-bar {
  flex-grow: 1;
  max-width: 450px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.02);
  gap: 0.5rem;
}

.address-lock {
  color: var(--accent-green);
}

.window-content {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0b0f19;
}

.screenshot-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.screenshot-slide.active {
  opacity: 1;
  z-index: 2;
}

.screenshot-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.section {
  padding: 8rem 2rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 5rem auto;
}

.section-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-subtitle {
  margin-top: 1rem;
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.15);
  background: var(--bg-card-hover);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  border-color: transparent;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Architecture & Nodes Visual
   ========================================================================== */
.architecture-box {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  margin-top: 4rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr 100px 1.2fr;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 900px) {
  .arch-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .arch-arrow-container {
    transform: rotate(90deg);
    margin: 1rem 0;
  }
}

.arch-node {
  background: rgba(3, 7, 18, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.arch-node.active-slot {
  border-color: var(--accent-color);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.15);
}

.arch-node-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .arch-node-title {
    justify-content: center;
  }
}

.arch-badge {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
}

.arch-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.arch-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.arch-item-bullet {
  color: var(--accent-color);
  margin-top: 2px;
}

/* Blue/Green Slots sub-diagram */
.bg-slots {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slot-box {
  flex: 1;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color);
  text-align: center;
}

.slot-box.active {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.4);
  border-style: solid;
}

.slot-box h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.slot-box.active h4 {
  color: #a5b4fc;
}

.slot-box p {
  font-size: 0.75rem;
}

/* Connection line */
.arch-arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.arch-arrow {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent-color), var(--accent-cyan));
  position: relative;
}

.arch-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent-cyan);
  border-right: 2px solid var(--accent-cyan);
  transform: rotate(45deg);
}

.arch-arrow-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Remote edge node list in diagram */
.edge-nodes-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edge-node-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.edge-node-info h4 {
  font-size: 0.95rem;
  color: white;
}

.edge-node-info p {
  font-size: 0.8rem;
}

.agent-badge {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #67e8f9;
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  font-weight: 600;
}

/* ==========================================================================
   Developer Experience / Code Section
   ========================================================================== */
.dx-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

@media (max-width: 950px) {
  .dx-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.dx-content {
  text-align: left;
}

.dx-features {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dx-feature-item {
  display: flex;
  gap: 1rem;
}

.dx-feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.dx-feature-text h4 {
  font-size: 1.05rem;
  color: white;
  margin-bottom: 0.25rem;
}

.dx-feature-text p {
  font-size: 0.9rem;
}

/* Code block terminal representation */
.terminal-block {
  background: #05070f;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.terminal-header {
  background: #090d16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.terminal-tab-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.terminal-tab-btn.active {
  color: var(--accent-cyan);
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
  overflow-x: auto;
}

.terminal-tab-content {
  display: none;
}

.terminal-tab-content.active {
  display: block;
}

.code-line {
  display: block;
  margin-bottom: 0.5rem;
  white-space: pre;
}

.code-comment { color: var(--text-muted); }
.code-command { color: #f43f5e; }
.code-flag { color: #f59e0b; }
.code-string { color: #10b981; }
.code-keyword { color: #6366f1; }
.code-output { color: #67e8f9; }

/* ==========================================================================
   Interactive Quick Demo Section
   ========================================================================== */
.demo-interactive {
  background: radial-gradient(circle at top, rgba(99, 102, 241, 0.05), transparent 60%);
}

.interactive-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.interactive-title {
  text-align: center;
  margin-bottom: 2rem;
}

.interactive-demo-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.demo-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.demo-btn.active {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
  color: white;
}

.demo-console-screen {
  background: #05070f;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  font-family: monospace;
  font-size: 0.85rem;
  color: #cbd5e1;
  min-height: 250px;
}

/* Custom interactive UI simulator styling */
.simulator-site-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.simulator-site-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.sim-site-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sim-badge-ok {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.sim-domain-name {
  font-weight: 600;
  font-family: var(--font-body);
}

.sim-control-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sim-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.sim-toggle-btn.active {
  background: var(--accent-color);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.sim-detail-box {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
  background: #030712;
  border-top: 1px solid var(--border-color);
  padding: 5rem 2rem 3rem 2rem;
  position: relative;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.footer-brand h3 {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

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

.footer-link-item a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-link-item a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 4rem auto 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(0.98); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (max-width: 768px) {
  .header {
    padding: 1rem;
  }
  .header.scrolled {
    padding: 0.75rem 1rem;
  }
  .nav-menu {
    display: none; /* In reality we'd implement a JS drawer if needed, keeping it simple */
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero {
    padding-top: 8rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .interactive-card {
    padding: 1.5rem;
  }
}
