:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f5fa;
  --surface-hover: #e8f0fe;
  --text: #101a2c;
  --muted: #64748b;
  --line: #dfe6ef;
  --primary: #1677ff;
  --primary-hover: #0e62d8;
  --primary-2: #5aa1ff;
  --primary-subtle: rgba(22, 119, 255, 0.08);
  --navy: #071426;
  --shadow: 0 18px 55px rgba(19, 44, 80, 0.08);
  --shadow-lg: 0 24px 65px rgba(19, 44, 80, 0.12);
  --radius: 16px;
  --max: 1200px;
}

[data-theme="dark"] {
  --bg: #06111f;
  --surface: #0b192a;
  --surface-2: #102236;
  --surface-hover: #152b45;
  --text: #f1f6ff;
  --muted: #9baec5;
  --line: #20354b;
  --primary: #2e91ff;
  --primary-hover: #52a5ff;
  --primary-2: #65b0ff;
  --primary-subtle: rgba(46, 145, 255, 0.12);
  --navy: #020913;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  font-size: 15px;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  overflow-x: hidden;
  width: 100%;
}

/* ==================== Navigation Bar ==================== */
.navbar {
  height: 76px;
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .navbar {
  background: rgba(6, 17, 31, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 19px;
  color: var(--text);
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover img {
  transform: scale(1.1) rotate(-3deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

.nav-links .founder-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
}

.nav-links .founder-nav-link:hover {
  background: var(--primary);
  color: #ffffff;
}

@media (min-width: 769px) {
  .nav-links .founder-nav-link {
    display: none;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.icon-button:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 10px;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(22, 119, 255, 0.24);
}

.button-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.32);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.button-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button-ghost {
  background: color-mix(in srgb, var(--primary) 6%, transparent);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
}

.button-ghost:hover {
  background: var(--primary);
  color: #ffffff;
}

.button-light {
  background: #ffffff;
  color: #071426;
  font-weight: 800;
}

.button-light:hover {
  background: #f1f5fa;
}

.button-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.menu-toggle {
  display: none;
}

/* ==================== Sections Base ==================== */
.section {
  max-width: var(--max);
  margin: auto;
  padding: 95px 24px;
}

.section-tight {
  padding-top: 60px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 8px 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-heading p {
  color: var(--muted);
  max-width: 580px;
  margin: 0;
  font-size: 16px;
}

.eyebrow, .section-kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--primary-subtle);
  padding: 7px 14px;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 20%, transparent);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 30%, transparent); }
  70% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--primary) 0%, transparent); }
  100% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 0%, transparent); }
}

.text-link {
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.text-link:hover {
  gap: 10px;
}

/* ==================== Hero Section ==================== */
.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding-top: 60px;
  position: relative;
}

.hero-copy h1 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
  line-height: 1.08;
  font-size: clamp(40px, 5.2vw, 68px);
  margin: 20px 0;
}

.hero-copy h1 span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy > p {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.65;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12.5px;
}

.platform-icons {
  display: flex;
  gap: 8px;
}

.platform-icons span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 13px;
}

/* ==================== Hero Visuals & Mockups ==================== */
.hero-visual {
  height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
}

.glow-one {
  width: 320px;
  height: 320px;
  right: 8%;
  top: 10%;
  background: var(--primary);
}

.glow-two {
  width: 220px;
  height: 220px;
  left: 5%;
  bottom: 10%;
  background: #8e63ff;
}

.device {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.laptop {
  width: min(510px, 94%);
  height: 320px;
  border-radius: 16px;
  padding: 10px;
  right: 0;
  top: 60px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.3s ease;
}

.laptop:hover {
  transform: perspective(1000px) rotateY(-1deg) rotateX(0deg);
}

.device-top {
  height: 18px;
  display: flex;
  gap: 6px;
  padding-left: 6px;
  align-items: center;
}

.device-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.app-window {
  height: 272px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  overflow: hidden;
  background: var(--surface);
}

.mini-sidebar {
  width: 52px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 16px;
  border-right: 1px solid var(--line);
}

.mini-sidebar span {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--line);
}

.mini-sidebar .active {
  background: var(--primary);
}

.mini-content {
  padding: 22px 24px;
  flex: 1;
}

.window-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.window-header-row small {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-live-chip .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
}

.mini-content h3 {
  font-size: 21px;
  margin: 4px 0;
  letter-spacing: -0.03em;
}

.mini-content p {
  color: var(--muted);
  font-size: 11.5px;
  margin: 0 0 16px;
}

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

.mini-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  gap: 9px;
}

.mini-card b {
  display: block;
  font-size: 11px;
}

.mini-card small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}

.phone {
  width: 130px;
  height: 250px;
  border-radius: 24px;
  padding: 8px;
  left: 8%;
  bottom: 45px;
  transform: rotate(-6deg);
  z-index: 3;
}

.phone-speaker {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  margin: 3px auto 9px;
}

.phone-screen {
  border: 1px solid var(--line);
  height: 216px;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--surface);
}

.phone-screen small {
  font-size: 8px;
  color: var(--muted);
}

.phone-screen strong {
  font-size: 12px;
}

.phone-card {
  padding: 8px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.phone-stat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
}

.floating-card {
  position: absolute;
  right: -2%;
  bottom: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 4;
}

.floating-card strong {
  display: block;
  font-size: 12px;
}

.floating-card small {
  display: block;
  font-size: 9.5px;
  color: var(--muted);
}

.floating-card .ext-arrow {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.annotation {
  position: absolute;
  color: var(--primary);
  font-size: 11px;
  line-height: 1.35;
}

.annotation-top {
  right: 15px;
  top: 10px;
  transform: rotate(-3deg);
}

/* ==================== Solutions Cards ==================== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.solution-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
}

.solution-icon, .product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
}

.solution-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.solution-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Curated Icon Palettes */
.blue { background: #e9f3ff; color: #1677ff; }
.green { background: #e8fbf1; color: #10b981; }
.purple { background: #f1eaff; color: #8b5cf6; }
.orange { background: #fff4e5; color: #f59e0b; }
.teal { background: #e3f8f7; color: #06b6d4; }
.pink { background: #ffe9ef; color: #ec4899; }

[data-theme="dark"] .blue { background: rgba(22, 119, 255, 0.15); color: #60a5fa; }
[data-theme="dark"] .green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
[data-theme="dark"] .purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
[data-theme="dark"] .orange { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
[data-theme="dark"] .teal { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
[data-theme="dark"] .pink { background: rgba(236, 72, 153, 0.15); color: #f472b6; }

/* Product Filter Bar */
.product-filter-bar {
  display: flex;
  gap: 8px;
  margin: 20px 0 28px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.product-filter-bar::-webkit-scrollbar {
  display: none;
}
.product-filter-btn {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.product-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.product-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.25);
}
.product-filter-count {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.07);
}
.product-filter-btn.active .product-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
[data-theme="dark"] .product-filter-count {
  background: rgba(255, 255, 255, 0.12);
}
.status-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

.product-show-more-wrap {
  display: none;
  justify-content: center;
  margin-top: 24px;
}
.product-show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}
.product-show-more-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* ==================== Products Catalog ==================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.product-card-top .product-icon {
  margin-bottom: 0;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  line-height: 1.3;
}

.badge-deployed {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-production {
  background: rgba(22, 119, 255, 0.1);
  color: #1677ff;
  border: 1px solid rgba(22, 119, 255, 0.25);
}

[data-theme="dark"] .badge-production {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}

.product-card h3 {
  font-size: 20px;
  margin: 0 0 4px;
  letter-spacing: -0.03em;
}

.product-tagline {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
}

.product-description {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.product-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.product-tech-chips span {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
}

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

.product-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

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

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  transition: all 0.2s ease;
}

.product-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==================== Metrics ==================== */
.metrics {
  width: 100%;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px max(24px, calc((100% - var(--max)) / 2));
  gap: 24px;
}

.metric {
  text-align: center;
}

.metric strong {
  display: block;
  font: 800 36px "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.metric span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}

/* ==================== About Section & Founder Spotlight ==================== */
.about-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.about-copy h2 {
  font-size: 40px;
  margin: 10px 0 16px;
}

.about-copy > p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
}

.founder-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.founder-badge-row {
  margin-bottom: 8px;
}

.lead-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.founder-card h4 {
  font-size: 20px;
  margin: 4px 0 8px;
  font-family: "Space Grotesk", sans-serif;
}

.founder-bio {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}

.founder-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  transition: all 0.2s ease;
}

.icon-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.about-visual {
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: center;
}

.office-card {
  width: 82%;
  min-height: 290px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.office-screen {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.studio-values {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.studio-values div {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-values div i {
  color: var(--primary);
}

.about-visual blockquote {
  position: absolute;
  right: 0;
  bottom: -15px;
  width: 55%;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  border-radius: 14px;
  font: 600 14px "Space Grotesk", sans-serif;
  margin: 0;
  line-height: 1.5;
}

.about-visual cite {
  display: block;
  color: var(--primary);
  font: 700 11px "DM Sans", sans-serif;
  margin-top: 10px;
}

/* ==================== Project Showcase & Orbit ==================== */
.project-showcase {
  min-height: 400px;
  border-radius: 28px;
  background: linear-gradient(135deg, #071426, #0c2743);
  color: #ffffff;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 70px rgba(7, 20, 38, 0.28);
}

.project-main h3 {
  font-size: clamp(32px, 3.8vw, 44px);
  max-width: 600px;
  margin: 14px 0;
  letter-spacing: -0.04em;
}

.project-showcase p {
  color: #a9bdd4;
  max-width: 490px;
  font-size: 15px;
  line-height: 1.65;
}

.tag {
  font-size: 11px;
  color: #66b0ff;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.project-lines {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.project-lines span {
  font-size: 12px;
  padding: 7px 14px;
  border: 1px solid #29435e;
  border-radius: 999px;
  color: #bdd0e5;
  background: rgba(13, 35, 59, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-orbit {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.orbit-ring {
  width: 250px;
  height: 250px;
  border: 1px dashed #29435e;
  border-radius: 50%;
  animation: rotateOrbit 30s linear infinite;
}

@keyframes rotateOrbit {
  100% { transform: rotate(360deg); }
}

.orbit-core {
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1677ff, #5aa1ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(22, 119, 255, 0.4);
}

.orbit-dot {
  position: absolute;
  padding: 6px 12px;
  border: 1px solid #29435e;
  background: #0d233b;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.d1 { top: 20px; right: 40px; }
.d2 { bottom: 25px; right: 25px; }
.d3 { left: 15px; bottom: 80px; }
.d4 { left: 40px; top: 30px; }

/* ==================== Insights Grid ==================== */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.insight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
}

.insight-cat {
  font-size: 11px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.insight-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.insight-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
  flex: 1;
}

.insight-card a {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease;
}

.insight-card a:hover {
  gap: 8px;
}

/* ==================== CTA Section ==================== */
.cta {
  max-width: var(--max);
  margin-bottom: 100px;
  background: #081728;
  color: #ffffff;
  border-radius: 28px;
  text-align: center;
  padding: 85px 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid #1a2f47;
}

.cta h2 {
  font-size: clamp(34px, 4vw, 50px);
  margin: 12px auto 16px;
  position: relative;
  letter-spacing: -0.04em;
}

.cta p {
  color: #aabdd2;
  max-width: 580px;
  margin: 0 auto 34px;
  font-size: 16px;
  line-height: 1.65;
  position: relative;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  position: relative;
  flex-wrap: wrap;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: #147bff;
  filter: blur(120px);
  opacity: 0.2;
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* ==================== Footer ==================== */
.footer {
  max-width: var(--max);
  margin: auto;
  padding: 0 24px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
  margin: 14px 0 10px;
}

.founder-footer-link {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.founder-footer-link a {
  color: var(--primary);
  font-weight: 700;
}

.footer h4 {
  font-size: 13px;
  font-family: "Space Grotesk", sans-serif;
  margin: 4px 0 16px;
  letter-spacing: 0.02em;
}

.footer > div:not(.footer-brand):not(.footer-bottom) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer a {
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s ease;
}

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

.footer span {
  font-size: 13px;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 9px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  transition: all 0.2s ease;
}

.socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-button {
  margin-top: 10px !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 12.5px !important;
  font-weight: 700;
  width: max-content;
  transition: transform 0.2s ease;
}

.footer-button:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12.5px;
}

/* ==================== Scroll Reveal ==================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ==================== Responsive Queries ==================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }
  .hero-visual {
    height: 420px;
  }
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .project-showcase {
    grid-template-columns: 1fr;
  }
  .project-orbit {
    display: none;
  }
  .footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  html, body, .site-shell {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .navbar {
    height: 64px;
    padding: 0 16px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.2s ease;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 6px;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 14px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links a:hover {
    background: var(--surface-2);
  }

  .nav-actions .button {
    display: none;
  }

  .section {
    padding: 50px 16px;
  }

  .section-heading {
    display: block;
    margin-bottom: 20px;
  }

  .section-heading .text-link {
    margin-top: 10px;
    display: inline-flex;
  }

  .hero {
    padding-top: 30px;
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.03em;
  }

  .hero-copy p {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-visual {
    height: 310px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .laptop {
    width: 100%;
    max-width: 100%;
    height: 220px;
    top: 15px;
    left: 0;
  }

  .app-window {
    height: 185px;
  }

  .mini-sidebar {
    width: 36px;
    gap: 10px;
  }

  .mini-content {
    padding: 12px;
  }

  .mini-content h3 {
    font-size: 15px;
  }

  .mini-grid div {
    padding: 5px 7px;
  }

  .phone {
    width: 82px;
    height: 165px;
    left: 2%;
    bottom: 15px;
  }

  .phone-screen {
    height: 145px;
    padding: 6px;
  }

  .floating-card {
    right: 0;
    bottom: 15px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .annotation {
    display: none;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Products Grid & Mobile Collapse */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .product-card.mobile-hidden {
    display: none !important;
  }

  .product-show-more-wrap {
    display: flex;
  }

  /* Metrics */
  .metrics {
    grid-template-columns: 1fr 1fr;
    padding: 24px 16px;
    gap: 12px;
  }

  .metric {
    padding: 10px;
    text-align: center;
  }

  .metric strong {
    font-size: 26px;
  }

  .metric span {
    font-size: 12px;
    line-height: 1.35;
  }

  /* About Studio & Leadership */
  .about-section {
    padding: 50px 16px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .about-copy h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .about-copy p {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .founder-card {
    padding: 20px 16px;
    border-radius: 16px;
    margin-top: 18px;
  }

  .founder-card h4 {
    font-size: 17px;
  }

  .founder-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .founder-links .button {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 9px 14px;
    font-size: 12.5px;
    box-sizing: border-box;
    text-align: center;
  }

  .about-visual {
    min-height: auto !important;
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    margin-top: 8px;
  }

  .office-card {
    width: 100% !important;
    min-height: auto !important;
    padding: 20px 18px !important;
    box-sizing: border-box !important;
  }

  .about-visual blockquote {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px 18px !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
    border-radius: 14px !important;
  }

  /* Project Showcase */
  .project-section {
    padding: 10px 16px 50px !important;
  }

  .project-showcase {
    padding: 30px 18px !important;
    border-radius: 20px !important;
    min-height: auto !important;
  }

  .project-main h3 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin: 10px 0 !important;
  }

  .project-showcase p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .project-lines {
    gap: 8px !important;
    margin-top: 18px !important;
  }

  .project-lines span {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }

  /* Insights */
  .insight-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .insight-card {
    padding: 20px 18px !important;
    border-radius: 16px !important;
  }

  .insight-card h3 {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin: 10px 0 8px !important;
  }

  /* CTA */
  .cta {
    margin: 0 12px 50px !important;
    padding: 40px 18px !important;
    border-radius: 20px !important;
  }

  .cta h2 {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }

  .cta p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .cta-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .cta-actions .button {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* Footer */
  .footer {
    padding: 44px 16px 24px !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 440px) {
  .hero-copy h1 {
    font-size: 29px;
    letter-spacing: -0.03em;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 18px 10px;
  }

  .metric strong {
    font-size: 22px;
  }

  .metric span {
    font-size: 11px;
  }

  .product-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .product-actions .product-link,
  .product-actions .product-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ==================== Company Product Case Study Page ==================== */
.product-page-main {
  padding-top: 10px;
}
.product-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.back-link:hover {
  transform: translateX(-3px);
}
.product-top-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-platform-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.product-headline-wrap h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: -0.04em;
  margin: 12px 0 10px;
  line-height: 1.15;
}
.product-hero-tagline {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
}
.product-hero-summary {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 840px;
  margin-bottom: 24px;
}
.product-cta-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* Specs Grid */
.specs-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.spec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.spec-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.spec-card small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 2px;
}
.spec-card strong {
  font-size: 13.5px;
  color: var(--text);
}

/* Solution Matrix */
.section-bordered {
  border-top: 1px solid var(--line);
}
.solution-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.matrix-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.problem-card {
  border-left: 4px solid #ef4444;
}
.solution-card-accent {
  border-left: 4px solid #10b981;
}
.matrix-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.matrix-icon {
  font-size: 18px;
}
.matrix-icon.error { color: #ef4444; }
.matrix-icon.success { color: #10b981; }
.matrix-card h3 {
  font-size: 17px;
  margin: 0;
}
.matrix-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* Highlight Callout */
.highlight-callout {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 14px;
}
.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.highlight-callout small {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--primary);
}
.highlight-callout p {
  font-size: 14.5px;
  color: var(--text);
  margin: 4px 0 0;
  line-height: 1.6;
}

/* Core Capabilities Grid */
.product-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.capability-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.capability-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}
.capability-icon {
  font-size: 26px;
  display: inline-block;
  margin-bottom: 12px;
}
.capability-card h4 {
  font-size: 16px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.capability-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Tech Stack Pills Grid */
.tech-stack-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.tech-spec-pill {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tech-icon {
  color: var(--primary);
  font-size: 16px;
}
.tech-spec-pill b {
  display: block;
  font-size: 13.5px;
}
.tech-spec-pill small {
  font-size: 11px;
  color: var(--muted);
}

/* Architecture Breakdown Box */
.architecture-summary-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  margin-top: 14px;
}
.architecture-summary-box h3 {
  font-size: 18px;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.architecture-summary-box p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.arch-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.arch-points-list li {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.arch-points-list li i {
  color: var(--primary);
  margin-top: 4px;
  font-size: 12px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .specs-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-matrix-grid {
    grid-template-columns: 1fr;
  }
  .product-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-stack-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .specs-card-grid {
    grid-template-columns: 1fr;
  }
  .product-capabilities-grid {
    grid-template-columns: 1fr;
  }
  .tech-stack-pills-grid {
    grid-template-columns: 1fr;
  }
  .product-cta-bar {
    flex-direction: column;
    width: 100%;
  }
  .product-cta-bar .button {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}
