:root,
[data-theme="dark"] {
  /* Core Surfaces: Deep Graphite & Obsidian (Night Mode) */
  --bg-canvas: #07080b;
  --bg-elevated: #0d0f15;
  --bg-surface: rgba(22, 26, 36, 0.58);
  --bg-surface-hover: rgba(30, 36, 48, 0.72);
  --bg-glass: rgba(16, 19, 27, 0.65);
  --bg-glass-strong: rgba(13, 15, 22, 0.88);
  --bg-header: rgba(8, 9, 13, 0.68);
  --bg-header-scrolled: rgba(8, 9, 13, 0.84);
  --bg-footer: #050608;
  --bg-input: rgba(8, 9, 13, 0.68);
  --bg-modal: rgba(16, 19, 27, 0.94);

  /* Specular Borders & Hairlines */
  --border-subtle: rgba(255, 255, 255, 0.075);
  --border-default: rgba(255, 255, 255, 0.13);
  --border-highlight: rgba(255, 255, 255, 0.25);
  --border-ice: rgba(125, 211, 252, 0.36);

  /* Typography: Silver, Cool Grey & Muted Slate */
  --text-primary: #f4f6fa;
  --text-secondary: #98a2b3;
  --text-muted: #667085;
  --text-silver: #d6dde8;

  /* Restrained Ice-Blue & Status Accents */
  --ice: #7dd3fc;
  --ice-strong: #38bdf8;
  --ice-soft: rgba(125, 211, 252, 0.11);
  --ice-glow: rgba(56, 189, 248, 0.16);
  --status-green: #6ee7b7;
  --status-green-bg: rgba(52, 211, 153, 0.12);
  --status-green-border: rgba(52, 211, 153, 0.3);

  /* Component Specific Tokens */
  --grid-line: rgba(255, 255, 255, 0.025);
  --stage-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.02) 100%);
  --viewport-bg:
    radial-gradient(circle at 50% 35%, rgba(125, 211, 252, 0.1) 0%, transparent 65%),
    linear-gradient(180deg, rgba(13, 16, 23, 0.85) 0%, rgba(8, 9, 12, 0.94) 100%);
  --phone-shell: linear-gradient(145deg, #323846 0%, #141720 100%);
  --phone-screen-bg: #0b0d12;
  --caption-tag-bg: rgba(12, 15, 22, 0.78);
  --diagram-bg: rgba(8, 10, 15, 0.65);
  --diagram-node-bg: rgba(255, 255, 255, 0.05);
  --diagram-node-border: rgba(255, 255, 255, 0.14);

  /* Shadows & Depth */
  --shadow-glass:
    0 1px 0 0 rgba(255, 255, 255, 0.14) inset,
    0 24px 54px rgba(0, 0, 0, 0.55);
  --shadow-card:
    0 1px 0 0 rgba(255, 255, 255, 0.1) inset,
    0 14px 34px rgba(0, 0, 0, 0.4);
  --shadow-device: 0 28px 64px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.15);

  /* Layout & Geometry */
  --container: 1240px;
  --header-height: 70px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

/* ==========================================================================
   Apple macOS / VisionOS Translucent Frosted Acrylic Daylight Mode
   ========================================================================== */
[data-theme="light"] {
  --bg-canvas: #e9eef5;
  --bg-elevated: rgba(255, 255, 255, 0.62);
  --bg-surface: rgba(255, 255, 255, 0.54);
  --bg-surface-hover: rgba(255, 255, 255, 0.76);
  --bg-glass: rgba(255, 255, 255, 0.58);
  --bg-glass-strong: rgba(255, 255, 255, 0.82);
  --bg-header: rgba(242, 245, 250, 0.62);
  --bg-header-scrolled: rgba(248, 250, 253, 0.76);
  --bg-footer: rgba(228, 234, 244, 0.75);
  --bg-input: rgba(255, 255, 255, 0.72);
  --bg-modal: rgba(250, 252, 255, 0.88);

  /* Specular Refraction Hairlines (White Inner Rim + Subtle Slate Outer Ring) */
  --border-subtle: rgba(255, 255, 255, 0.65);
  --border-default: rgba(255, 255, 255, 0.88);
  --border-highlight: #ffffff;
  --border-ice: rgba(2, 132, 199, 0.35);

  /* High-Contrast Editorial Slate Typography */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-silver: #1e293b;

  /* Daylight Accents */
  --ice: #0284c7;
  --ice-strong: #0369a1;
  --ice-soft: rgba(2, 132, 199, 0.1);
  --ice-glow: rgba(56, 189, 248, 0.22);
  --status-green: #047857;
  --status-green-bg: rgba(16, 185, 129, 0.14);
  --status-green-border: rgba(5, 150, 105, 0.3);

  /* Daylight Frosted Acrylic Surfaces & Hardware Frames */
  --grid-line: rgba(15, 23, 42, 0.045);
  --stage-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.42) 100%);
  --viewport-bg:
    radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.16) 0%, transparent 65%),
    linear-gradient(180deg, rgba(226, 234, 245, 0.7) 0%, rgba(212, 223, 238, 0.82) 100%);
  --phone-shell: linear-gradient(145deg, #334155 0%, #0f172a 100%);
  --phone-screen-bg: #0f172a;
  --caption-tag-bg: rgba(255, 255, 255, 0.74);
  --diagram-bg: rgba(241, 245, 251, 0.68);
  --diagram-node-bg: rgba(255, 255, 255, 0.82);
  --diagram-node-border: rgba(15, 23, 42, 0.12);

  /* Apple Double-Rim Frosted Shadows */
  --shadow-glass:
    0 1.5px 0 0 rgba(255, 255, 255, 0.98) inset,
    0 -1px 0 0 rgba(15, 23, 42, 0.05) inset,
    0 0 0 1px rgba(15, 23, 42, 0.065),
    0 24px 52px -12px rgba(15, 23, 42, 0.11),
    0 6px 16px rgba(15, 23, 42, 0.04);
  --shadow-card:
    0 1px 0 0 rgba(255, 255, 255, 0.95) inset,
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 14px 34px -8px rgba(15, 23, 42, 0.08),
    0 4px 10px rgba(15, 23, 42, 0.03);
  --shadow-device: 0 24px 52px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Rich Multi-Layered Ambient Light Fields so Frosted Glass Always Has Depth to Blur */
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  background-image:
    radial-gradient(circle 680px at 15% 8%, rgba(56, 189, 248, 0.18), transparent 70%),
    radial-gradient(circle 620px at 85% 18%, rgba(99, 102, 241, 0.12), transparent 70%),
    radial-gradient(circle 750px at 50% 48%, rgba(14, 165, 233, 0.13), transparent 72%),
    radial-gradient(circle 640px at 20% 78%, rgba(16, 185, 129, 0.1), transparent 70%),
    radial-gradient(circle 700px at 82% 88%, rgba(56, 189, 248, 0.15), transparent 70%);
  background-attachment: fixed;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(circle 680px at 20% 6%, rgba(56, 189, 248, 0.11), transparent 70%),
    radial-gradient(circle 580px at 82% 20%, rgba(148, 163, 184, 0.06), transparent 68%),
    radial-gradient(circle 640px at 50% 55%, rgba(56, 189, 248, 0.06), transparent 72%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Subtle Architectural Grid Overlay */
.arch-grid-bg {
  position: relative;
}

.arch-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 35%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* Header & Apple Frosted Glass Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid var(--border-default);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset, 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: var(--bg-header-scrolled);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.22) 0%, rgba(125, 211, 252, 0.06) 100%);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

[data-theme="light"] .brand-mark {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  min-width: 0;
}

.brand-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  padding: 4px;
  border-radius: 999px;
}

.nav-link {
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.nav-link.active {
  color: var(--text-primary);
  background: rgba(125, 211, 252, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

[data-theme="light"] .nav-link.active {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), inset 0 1px 0 #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Icon-Only Day / Night Theme Switcher Pill (Apple Control Center Style) */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-btn:hover {
  color: var(--text-primary);
}

.theme-btn.active {
  background: var(--text-primary);
  color: var(--bg-canvas);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .theme-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.94rem;
}

.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #dfe5ef 100%);
  color: #08090c;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.12), inset 0 1px 0 #ffffff;
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .btn-primary:hover {
  background: #0f172a;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.24);
}

.btn-glass {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-default);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-card);
}

.btn-glass:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-secondary);
  border-color: var(--border-default);
  box-shadow: var(--shadow-card);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: var(--border-highlight);
  background: var(--bg-surface-hover);
}

.menu-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid var(--border-default);
  padding: 16px 24px 24px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.mobile-menu-links a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.mobile-menu-links a.active,
.mobile-menu-links a:hover {
  color: var(--text-primary);
  background: var(--ice-soft);
}

/* Typography Helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ice-soft);
  border: 1px solid var(--border-ice);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 8px var(--ice);
  flex-shrink: 0;
}

.eyebrow.eyebrow-pill {
  padding: 6px 14px;
  gap: 10px;
  letter-spacing: 0.02em;
  text-transform: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.eyebrow-brand {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.78rem;
}

.eyebrow-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.24);
}

[data-theme="light"] .eyebrow-divider {
  background: rgba(15, 23, 42, 0.16);
}

.eyebrow-sub {
  color: var(--ice);
  font-weight: 600;
  font-size: 0.76rem;
}

.metallic-title {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 55%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .metallic-title {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 65%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 84px 0 76px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
}

.hero-title {
  font-size: clamp(1.85rem, 2.85vw, 2.72rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-title .hero-line {
  display: block;
  white-space: nowrap;
}

.hero-title .hero-line-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-title .hero-line-primary {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 70%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .hero-line-secondary {
  margin-top: 4px;
  color: #cbd5e1;
  font-weight: 650;
}

[data-theme="light"] .hero-title .hero-line-secondary {
  color: #334155;
}

.hero-title .hero-highlight {
  position: relative;
  display: inline-block;
  font-weight: 750;
  padding: 0 2px;
  background: linear-gradient(135deg, #38bdf8 0%, #7dd3fc 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-title .hero-highlight {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 48%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .hero-highlight::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 2px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0.65), rgba(96, 165, 250, 0.12));
  pointer-events: none;
}

[data-theme="light"] .hero-title .hero-highlight::after {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.12), rgba(2, 132, 199, 0.55), rgba(37, 99, 235, 0.12));
}

.hero-title .hero-quote {
  font-weight: 500;
  opacity: 0.82;
}

.hero-title .hero-period {
  color: var(--ice);
  -webkit-text-fill-color: var(--ice);
}

.hero-desc {
  font-size: 1.04rem;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 28px;
  max-width: 590px;
}

.hero-desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-inline-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 9px;
  margin: 0 2px;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ice);
  background: var(--ice-soft);
  border: 1px solid var(--border-ice);
  transition: all 0.2s ease;
  vertical-align: baseline;
}

.hero-inline-tag:hover {
  background: var(--bg-surface-hover);
  border-color: var(--ice);
  transform: translateY(-1px);
}

.hero-capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin-bottom: 36px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
}

.hero-cap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-silver);
  font-weight: 500;
}

.hero-cap-item span.code-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Hero Hardware Stage: Real Product Screens in Titanium Frames */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.stage-backdrop {
  position: absolute;
  inset: 12px 0;
  border-radius: var(--radius-xl);
  background: var(--stage-gradient);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  overflow: hidden;
}

.device-composition {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  padding: 24px 20px 64px;
  width: 100%;
}

.titanium-phone {
  width: 218px;
  border-radius: 30px;
  padding: 8px;
  background: var(--phone-shell);
  box-shadow: var(--shadow-device);
  position: relative;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.titanium-phone:hover {
  transform: translateY(-6px);
}

.titanium-phone.secondary {
  width: 196px;
  margin-bottom: 10px;
}

.titanium-screen {
  border-radius: 22px;
  overflow: hidden;
  background: var(--phone-screen-bg);
  aspect-ratio: 9 / 19.35;
  position: relative;
}

.titanium-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--phone-screen-bg);
}

.device-caption-tag {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--caption-tag-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.device-caption-tag .caption-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.device-caption-tag strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.device-caption-tag span {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--status-green-bg);
  border: 1px solid var(--status-green-border);
  color: var(--status-green);
  white-space: nowrap;
}

/* Section Layout */
.section {
  padding: 96px 0;
  position: relative;
}

.section-bordered {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.04) 0%, transparent 100%);
}

.section-header {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-header.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 640px;
}

/* Interactive Flagship Product Stage */
.product-stage-stack {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.flagship-stage {
  border-radius: var(--radius-xl);
  background: var(--stage-gradient);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.flagship-content {
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.flagship-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.flagship-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
  border: 1px solid var(--border-default);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.flagship-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.tag-chip {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-silver);
}

.tag-chip.ice {
  background: var(--ice-soft);
  border-color: var(--border-ice);
  color: var(--ice);
}

.flagship-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.flagship-tagline {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.flagship-summary {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Interactive Screen Switcher Buttons */
.screen-switcher-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.screen-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.screen-tab {
  text-align: left;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.2s ease;
}

.screen-tab:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-highlight);
}

.screen-tab.active {
  background: var(--ice-soft);
  border-color: var(--border-ice);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.screen-tab strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.screen-tab span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.screen-tab.active span {
  color: var(--text-secondary);
}

.flagship-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Right Visual Viewport of Flagship Stage */
.flagship-viewport {
  background: var(--viewport-bg);
  border-left: 1px solid var(--border-subtle);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 18px;
}

.viewport-phone-frame {
  width: 246px;
  border-radius: 32px;
  padding: 9px;
  background: var(--phone-shell);
  box-shadow: var(--shadow-device);
  position: relative;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.viewport-phone-frame:hover {
  transform: translateY(-4px);
}

.viewport-phone-screen {
  border-radius: 24px;
  overflow: hidden;
  background: var(--phone-screen-bg);
  aspect-ratio: 9 / 19.35;
}

.viewport-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.2s ease;
}

.viewport-qr-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.viewport-qr-bar img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #ffffff;
  padding: 3px;
  object-fit: contain;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.viewport-qr-bar .qr-meta {
  font-size: 0.78rem;
  line-height: 1.4;
}

.viewport-qr-bar .qr-meta strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
}

.viewport-qr-bar .qr-meta span {
  color: var(--text-secondary);
}

/* 3-Column Games & Apps Showcase */
.showcase-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.glass-product-card {
  border-radius: var(--radius-lg);
  background: var(--stage-gradient);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  background: var(--bg-surface-hover);
}

.card-phone-stage {
  background: var(--viewport-bg);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}

.card-phone-frame {
  width: 192px;
  border-radius: 26px;
  padding: 7px;
  background: var(--phone-shell);
  box-shadow: var(--shadow-device);
  cursor: zoom-in;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card-phone-frame:hover {
  transform: scale(1.03);
}

.card-phone-screen {
  border-radius: 20px;
  overflow: hidden;
  background: var(--phone-screen-bg);
  aspect-ratio: 9 / 19.35;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.2s ease;
}

.card-screen-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.card-screen-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 500;
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
}

.card-screen-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.card-screen-pill.active {
  background: var(--ice-soft);
  border-color: var(--border-ice);
  color: var(--ice);
  font-weight: 600;
}

.card-zoom-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.card-zoom-hint:hover {
  color: var(--ice);
}

.card-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 12px 0 8px;
  letter-spacing: -0.01em;
}

.card-body p {
  font-size: 0.89rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 18px;
}

.card-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.card-preview-btn {
  width: 100%;
  justify-content: center;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.spec-pill {
  font-size: 0.74rem;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  padding: 3px 9px;
  border-radius: 6px;
}

/* ==========================================================================
   Core Services Bento Grid + Embedded Visual Architecture & Product Previews
   ========================================================================== */
.bento-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  border-radius: var(--radius-lg);
  background: var(--stage-gradient);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-glass);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.bento-card:hover {
  border-color: var(--border-ice);
  background: var(--bg-surface-hover);
  transform: translateY(-4px);
}

.bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bento-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ice);
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--ice-soft);
  border: 1px solid var(--border-ice);
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice);
}

.bento-card h3 {
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Embedded Visual Architecture & Product Strip inside Bento / Solution Cards */
.visual-arch-box {
  border-radius: var(--radius-md);
  background: var(--diagram-bg);
  border: 1px solid var(--diagram-node-border);
  padding: 16px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.visual-arch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--diagram-node-border);
}

.arch-flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.arch-node {
  flex: 1;
  background: var(--diagram-node-bg);
  border: 1px solid var(--diagram-node-border);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.arch-node strong {
  display: block;
  font-size: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.arch-node span {
  display: block;
  font-size: 0.66rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.arch-arrow {
  color: var(--ice);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Mini Product Thumbnail Strip inside Service/Solution Cards */
.card-mini-screens {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--diagram-node-border);
}

.mini-screen-thumb {
  width: 44px;
  height: 82px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: #0f172a;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.mini-screen-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mini-screen-meta {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.mini-screen-meta strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
}

.bento-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.bento-specs li {
  font-size: 0.82rem;
  color: var(--text-silver);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-specs li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ice);
  flex-shrink: 0;
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ice);
}

/* ==========================================================================
   Technical Architecture & Solutions Cards + Full SVG Architecture Blueprints
   ========================================================================== */
.arch-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.arch-panel {
  border-radius: var(--radius-lg);
  background: var(--stage-gradient);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-default);
  padding: 28px;
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.arch-panel:hover {
  transform: translateY(-4px);
  border-color: var(--border-ice);
  background: var(--bg-surface-hover);
}

.arch-panel-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ice);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.arch-panel h3 {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.arch-panel p {
  font-size: 0.89rem;
  color: var(--text-secondary);
  line-height: 1.66;
  margin-bottom: 18px;
}

.arch-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.arch-list li {
  font-size: 0.83rem;
  color: var(--text-silver);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.arch-list li span {
  color: var(--ice);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  font-weight: 600;
}

/* Full-Width System Architecture Blueprint Board */
.blueprint-board {
  border-radius: var(--radius-xl);
  background: var(--stage-gradient);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-glass);
  padding: 36px;
  margin-bottom: 40px;
}

.blueprint-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.blueprint-layer {
  background: var(--diagram-bg);
  border: 1px solid var(--diagram-node-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.blueprint-layer-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ice);
  margin-bottom: 6px;
  display: block;
}

.blueprint-layer h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.blueprint-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blueprint-chip {
  background: var(--diagram-node-bg);
  border: 1px solid var(--diagram-node-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-silver);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blueprint-chip small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* Delivery Process Timeline */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.process-grid.process-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-node {
  border-radius: var(--radius-md);
  background: var(--stage-gradient);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.process-node:hover {
  border-color: var(--border-ice);
  background: var(--bg-surface-hover);
  transform: translateY(-3px);
}

.node-step {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ice);
  margin-bottom: 12px;
  display: inline-block;
}

.process-node h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.process-node p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* Company & Contact Split Workspace */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.principle-item {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--stage-gradient);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.principle-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-ice);
}

.principle-item h4 {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.principle-item p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Product Wall inside About Section */
.about-visual-wall {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--stage-gradient);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
}

.about-wall-screens {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.about-wall-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: #0f172a;
  aspect-ratio: 9 / 19.3;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.about-wall-item:hover {
  transform: translateY(-4px);
}

.about-wall-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Contact Panel */
.contact-workspace {
  border-radius: var(--radius-xl);
  background: var(--stage-gradient);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-sidebar {
  padding: 44px;
  background: rgba(125, 211, 252, 0.03);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-sidebar h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.contact-sidebar > div > p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.channel-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.channel-value {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
}

.channel-value:hover {
  color: var(--ice);
}

.contact-main {
  padding: 44px;
}

.contact-main h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-main > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-silver);
}

.form-control {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--diagram-node-border);
  background: var(--bg-input);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  outline: none;
  border-color: var(--ice);
  box-shadow: 0 0 0 3px var(--ice-soft);
}

.form-status {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ice);
  display: none;
}

.form-status.visible {
  display: block;
}

/* Secondary Page Header */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 960px;
  line-height: 1.78;
  text-wrap: pretty;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-default);
  background: var(--bg-footer);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 64px 0 36px;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-desc {
  margin-top: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: var(--text-muted);
}

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

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

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

.footer-legal a:hover {
  color: var(--text-primary);
}

/* Modals (QR Code & High-Res Screenshot Lightbox) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-card {
  background: var(--bg-modal);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  max-width: 380px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-device);
}

.modal-card.lightbox-card {
  max-width: 840px;
  padding: 28px;
  text-align: left;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
}

.lightbox-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--viewport-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-subtle);
}

.lightbox-phone {
  width: 236px;
  border-radius: 30px;
  padding: 8px;
  background: var(--phone-shell);
  box-shadow: var(--shadow-device);
}

.lightbox-screen {
  border-radius: 22px;
  overflow: hidden;
  background: var(--phone-screen-bg);
  aspect-ratio: 9 / 19.35;
}

.lightbox-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.lightbox-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 8px 0 10px;
}

.lightbox-info p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.lightbox-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.modal-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

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

.modal-qr-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: #ffffff;
  padding: 10px;
  object-fit: contain;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

/* Responsive Breakpoints */
.hero-layout > *,
.flagship-stage > *,
.bento-services > *,
.showcase-grid-3 > *,
.arch-columns > *,
.blueprint-layers > *,
.process-grid > *,
.company-grid > *,
.contact-workspace > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1080px) {
  .hero-layout,
  .flagship-stage,
  .company-grid,
  .contact-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .flagship-viewport {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

  .contact-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .showcase-grid-3,
  .arch-columns,
  .blueprint-layers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .process-grid.process-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }

  .header-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .nav-links,
  .header-actions .btn,
  .header-actions .btn-outline,
  .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .hero-layout {
    gap: 32px;
  }

  .eyebrow {
    max-width: 100%;
    flex-wrap: wrap;
    font-size: 0.7rem;
    padding: 5px 11px;
    margin-bottom: 16px;
  }

  .eyebrow.eyebrow-pill {
    gap: 7px;
    padding: 5px 12px;
  }

  .eyebrow-brand {
    font-size: 0.74rem;
  }

  .eyebrow-sub {
    font-size: 0.72rem;
  }

  .hero-title {
    font-size: clamp(1.36rem, 5.7vw, 1.72rem);
    line-height: 1.34;
    margin-bottom: 18px;
  }

  .hero-title .hero-line {
    white-space: normal;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 22px;
  }

  .hero-inline-tag {
    font-size: 0.86rem;
    padding: 1px 7px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 11px 12px;
    font-size: 0.88rem;
  }

  .hero-stage {
    min-height: auto;
    width: 100%;
  }

  .device-composition {
    gap: 10px;
    padding: 20px 12px 84px;
  }

  .titanium-phone {
    width: 46%;
    max-width: 156px;
    border-radius: 22px;
    padding: 6px;
  }

  .titanium-phone.secondary {
    width: 42%;
    max-width: 142px;
    border-radius: 20px;
    padding: 6px;
    margin-bottom: 6px;
  }

  .titanium-screen {
    border-radius: 16px;
  }

  .device-caption-tag {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .device-caption-tag strong {
    font-size: 0.78rem;
  }

  .device-caption-tag span {
    font-size: 0.7rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 1.48rem;
  }

  .page-hero {
    padding: 44px 0 36px;
  }

  .page-hero h1 {
    font-size: 1.56rem;
  }

  .page-hero p {
    font-size: 0.94rem;
  }

  .hero-capabilities,
  .bento-services,
  .bento-specs,
  .showcase-grid-3,
  .arch-columns,
  .blueprint-layers,
  .process-grid,
  .process-grid.process-grid-4,
  .principle-list,
  .screen-tabs,
  .form-grid,
  .footer-grid,
  .modal-card.lightbox-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .arch-flow-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .arch-arrow {
    display: none;
  }

  .visual-arch-header {
    flex-wrap: wrap;
    gap: 4px;
  }

  .tag-chip {
    white-space: normal;
    line-height: 1.4;
  }

  .about-wall-screens {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flagship-content,
  .bento-card,
  .arch-panel,
  .contact-sidebar,
  .contact-main,
  .blueprint-board {
    padding: 20px 16px;
  }

  .flagship-viewport {
    padding: 24px 16px;
  }

  .viewport-phone-frame {
    width: 68%;
    max-width: 210px;
  }

  .flagship-actions {
    width: 100%;
  }

  .flagship-actions .btn {
    flex: 1;
    font-size: 0.84rem;
    padding: 10px 12px;
  }

  .modal-card.lightbox-card {
    max-height: 88vh;
    overflow-y: auto;
    padding: 20px 16px;
    gap: 16px;
  }

  .lightbox-phone {
    width: 168px;
  }
}
