/* Design tokens */
:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #161616;
  --border: rgba(255, 255, 255, 0.06);
  --accent-start: #6366f1;
  --accent-end: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  --success: #22c55e;
  --text-primary: #f8f8f8;
  --text-secondary: #a1a1aa;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --section-pad: 96px 24px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Utility: gradient text */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Utility: gradient button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent-gradient);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

/* Utility: ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 27px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.36); background: rgba(255,255,255,0.04); }

/* Utility: glass card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

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

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-ctas { display: flex; gap: 12px; align-items: center; }
.nav-ctas .btn-primary { background: linear-gradient(135deg, #3f7465, #52a384); }
.hero-ctas .btn-primary { background: linear-gradient(135deg, #3f7465, #52a384); }
.hero-ctas .btn-ghost { border-color: rgba(63,116,101,0.5); color: #52a384; }
.hero-ctas .btn-ghost:hover { border-color: #3f7465; background: rgba(63,116,101,0.08); }
.model-tab.active { background: linear-gradient(135deg, #3f7465, #52a384); }
.pricing-popular { background: linear-gradient(135deg, #3f7465, #52a384) !important; }
.region-tab.active { background: linear-gradient(135deg, #3f7465, #52a384); }
.gpu-table .btn-primary { background: linear-gradient(135deg, #3f7465, #52a384); }
.pricing-card .btn-primary { background: linear-gradient(135deg, #3f7465, #52a384); }
.cta-btns .btn-primary { background: linear-gradient(135deg, #3f7465, #52a384); }
.btn-sm { padding: 8px 18px !important; font-size: 13px !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 24px; font-size: 16px; }
  .nav-ctas { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,0.18) 0%, transparent 70%),
    radial-gradient(circle at 50% 50%, transparent 0%, var(--bg) 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
  background-size: cover, cover, 40px 40px;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { opacity: 0.8; }
  to   { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-badge {
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-secondary);
}
.stat-val {
  font-weight: 700;
  color: var(--text-primary);
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-lg { padding: 16px 36px !important; font-size: 16px !important; }

@media (max-width: 480px) {
  .hero-sub br { display: none; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* ── Trust Bar ── */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.marquee-wrapper {
  position: relative;
  overflow: hidden;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.marquee {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0.6;
}

/* ── Section header shared ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Capabilities ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card { display: flex; flex-direction: column; gap: 16px; }

.pillar-icon {
  font-size: 28px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px;
}
.pillar-card h3 { font-size: 20px; font-weight: 700; }
.pillar-card > p { font-size: 14px; color: var(--text-secondary); flex: 1; }

.pillar-bar-wrap { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.pillar-bar-label {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--text-secondary);
}
.pillar-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.pillar-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s ease;
}
.pillar-bar-fill.accent { background: var(--accent-gradient); }
.pillar-bar-fill.dim    { background: rgba(255,255,255,0.15); }

@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ── Code Section ── */
.code-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.code-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.code-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.code-text p { color: var(--text-secondary); font-size: 16px; margin-bottom: 24px; }
.code-benefits { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.code-benefits li { font-size: 14px; color: var(--text-secondary); }

.code-block {
  border-radius: 0 0 10px 10px;
  border-top: none;
  background: #0d0d0d;
  min-height: 200px;
  overflow: auto;
}
.code-block pre { margin: 0; }
.code-block code {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  color: #cdd6f4;
  white-space: pre;
  padding: 20px 24px;
}

@media (max-width: 768px) {
  .code-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Benchmark ── */
.bench-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.bench-row {
  display: grid;
  grid-template-columns: 180px 1fr 72px;
  align-items: center;
  gap: 20px;
}
.bench-name { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.bench-bar-wrap { flex: 1; }
.bench-bar {
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  width: var(--w);
  transition: width 1.2s ease;
}
.bench-bar .bench-fill { width: 100%; height: 100%; }
.bench-bar.dim .bench-fill  { background: rgba(255,255,255,0.2); }
.bench-bar.accent .bench-fill { background: var(--accent-gradient); }
.bench-ms { font-size: 14px; font-weight: 600; text-align: right; color: var(--text-secondary); }
.accent-ms { color: var(--text-primary); }

.bench-row--qora .bench-name { color: var(--text-primary); font-weight: 700; }
.qora-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(99,102,241,0.18);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #818cf8;
  margin-left: 8px;
  vertical-align: middle;
}

.bench-note { text-align: center; margin-top: 32px; font-size: 12px; color: var(--text-secondary); opacity: 0.6; }

@media (max-width: 480px) {
  .bench-row { grid-template-columns: 1fr 72px; }
  .bench-bar-wrap { display: none; }
}

/* ── Enterprise ── */
.enterprise { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ent-card { display: flex; flex-direction: column; gap: 12px; }
.ent-icon { font-size: 22px; }
.ent-card h4 { font-size: 16px; font-weight: 700; }
.ent-card p  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 768px) {
  .enterprise-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .enterprise-grid { grid-template-columns: 1fr; }
}

/* ── Testimonials ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card { display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.testi-card > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testi-name  { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.testi-role  { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

@media (max-width: 768px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ── CTA Section ── */
.cta-section {
  position: relative;
  text-align: center;
  padding: var(--section-pad);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(99,102,241,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-content h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.cta-content p  { font-size: 18px; color: var(--text-secondary); }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-tagline { font-size: 13px; color: var(--text-secondary); margin-top: 12px; max-width: 200px; line-height: 1.5; }
.footer-address { font-size: 12px; color: var(--text-secondary); margin-top: 16px; line-height: 1.7; opacity: 0.7; }
.footer-col h5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); margin-bottom: 16px; }
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a   { font-size: 14px; color: var(--text-secondary); transition: color 0.15s; }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner .footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 8px; }
}

/* ── Polish: body offset + scroll reveal ── */
body { padding-top: 64px; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mono numbers ── */
.mono-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ── SVG icon shared base ── */
.matrix-icon svg,
.agent-icon-wrap svg,
.gpu-feature-icon-wrap svg,
.deploy-icon-wrap svg,
.ent-icon-wrap svg {
  width: 100%;
  height: 100%;
}
.matrix-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.10);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 14px;
  padding: 12px;
  color: #818cf8;
  flex-shrink: 0;
}
.agent-icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.16);
  border-radius: 12px;
  padding: 10px;
  color: #818cf8;
  flex-shrink: 0;
}
.gpu-feature-icon-wrap {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.14);
  border-radius: 9px;
  padding: 8px;
  color: #818cf8;
  flex-shrink: 0;
  margin-top: 2px;
}
.deploy-icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.16);
  border-radius: 12px;
  padding: 10px;
  color: #818cf8;
  flex-shrink: 0;
}
.ent-icon-wrap {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.14);
  border-radius: 10px;
  padding: 9px;
  color: #818cf8;
  flex-shrink: 0;
}
/* remove old emoji icon styles */
.ent-icon { display: none; }
.agent-icon { display: none; }
.deploy-icon { display: none; }

/* ── Hero terminal line ── */
.hero-terminal {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.term-ps { color: #818cf8; }
.term-sep { color: rgba(255,255,255,0.2); padding: 0 4px; }
.term-cmd { color: #86efac; }
.term-cursor {
  color: #86efac;
  animation: blink 1s step-end infinite;
  margin-left: 1px;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ── Chip SVG ── */
.chip-svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
}

/* ── Tech section grid background ── */
.tech-advantages { position: relative; overflow: hidden; }
.tech-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── Terminal chrome on code block ── */
.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 10px 16px;
}
.term-dots { display: flex; gap: 6px; align-items: center; }
.term-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.term-dot--red    { background: #ff5f57; }
.term-dot--yellow { background: #febc2e; }
.term-dot--green  { background: #28c840; }
.term-filename {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.6;
  flex: 1;
  text-align: center;
}
/* move code-tabs inside terminal chrome */
.terminal-chrome .term-tabs { display: flex; gap: 4px; margin-left: auto; }

/* override previous .code-tabs standalone styles when inside terminal */
.terminal-chrome .code-tab {
  padding: 5px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.terminal-chrome .code-tab:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.1); }
.terminal-chrome .code-tab.active {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.3);
  color: #a5b4fc;
}

/* code block now connects to chrome */
.code-block-wrap .code-block {
  border-radius: 0 0 10px 10px;
  border-top: none;
  background: #0d0d0d;
}

/* syntax highlight colours */
.sh-kw   { color: #c792ea; }  /* keyword: from, import, const */
.sh-fn   { color: #82aaff; }  /* function name */
.sh-str  { color: #c3e88d; }  /* string */
.sh-cmt  { color: #546e7a; font-style: italic; }
.sh-var  { color: #f8f8f8; }
.sh-num  { color: #f78c6c; }
.sh-key  { color: #89ddff; }  /* object key */
.sh-url  { color: #c3e88d; text-decoration: underline; text-decoration-color: rgba(195,232,141,0.3); }

/* ── code-benefits with inline SVG check ── */
.code-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.code-benefits li svg { color: var(--success); flex-shrink: 0; }

/* ── pricing features with inline SVG check ── */
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li svg { color: var(--success); flex-shrink: 0; }

/* ── Hero product chips ── */
.hero-products {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.product-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.product-chip:hover {
  border-color: rgba(99,102,241,0.5);
  color: var(--text-primary);
  background: rgba(99,102,241,0.18);
}
.chip-icon { font-size: 16px; }

/* ── Section label ── */
.section-label {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #818cf8;
  margin-bottom: 16px;
}

/* ── Product Matrix ── */
.product-matrix { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.matrix-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.matrix-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-2px);
}
.matrix-card--featured {
  border-color: rgba(99,102,241,0.3);
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.06) 100%);
}
/* .gradient-icon replaced by .matrix-icon with inline SVG */
.matrix-card h3 { font-size: 20px; font-weight: 700; }
.matrix-card > p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; flex: 1; }
.matrix-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.matrix-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.matrix-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-size: 12px;
}
.matrix-cta {
  font-size: 14px;
  font-weight: 600;
  color: #818cf8;
  transition: color 0.15s;
  margin-top: auto;
}
.matrix-cta:hover { color: #a5b4fc; }

@media (max-width: 768px) {
  .matrix-grid { grid-template-columns: 1fr; }
}

/* ── Technology Advantages ── */
.tech-advantages { padding: var(--section-pad); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s;
}
.metric-card:hover { border-color: rgba(99,102,241,0.3); }
.metric-number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.metric-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.metric-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tech-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tech-detail-card { display: flex; flex-direction: column; gap: 16px; }
.tech-detail-card h4 { font-size: 18px; font-weight: 700; }
.tech-detail-card > p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #a5b4fc;
  font-family: var(--font-mono);
}

@media (max-width: 1024px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-details { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
}

/* ── Model Service ── */
.model-service { padding: var(--section-pad); }

.model-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.model-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}
.model-tab {
  padding: 8px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.model-tab:hover { color: var(--text-primary); }
.model-tab.active {
  background: var(--accent-gradient);
  color: #fff;
}

.model-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.model-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.model-table thead th {
  padding: 12px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.model-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.model-table tbody tr:last-child { border-bottom: none; }
.model-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.model-table tbody td {
  padding: 14px 20px;
  color: var(--text-secondary);
}
.model-table tbody td:first-child { color: var(--text-primary); font-weight: 500; }
.model-table .model-price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
}
.model-table .model-ctx {
  font-family: var(--font-mono);
  font-size: 12px;
}
.model-table .model-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #a5b4fc;
}
.model-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}
.model-note a { color: #818cf8; }
.model-note a:hover { color: #a5b4fc; }

/* ── Agent Cloud ── */
.agent-cloud { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.agent-card { display: flex; flex-direction: column; gap: 12px; transition: border-color 0.2s, transform 0.2s; }
.agent-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-2px); }
.agent-icon { font-size: 24px; }
.agent-card h4 { font-size: 16px; font-weight: 700; }
.agent-card p  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 768px) {
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .agent-grid { grid-template-columns: 1fr; }
}

/* ── GPU Cloud ── */
.gpu-cloud { padding: var(--section-pad); }

.region-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.region-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}
.region-tab {
  padding: 8px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.region-tab:hover { color: var(--text-primary); }
.region-tab.active {
  background: var(--accent-gradient);
  color: #fff;
}

.gpu-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}
.gpu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.gpu-table thead th {
  padding: 12px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.gpu-table thead th:last-child { width: 100px; }
.gpu-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.gpu-table tbody tr:last-child { border-bottom: none; }
.gpu-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.gpu-table tbody td { padding: 16px 20px; color: var(--text-secondary); }
.gpu-name { font-weight: 600; color: var(--text-primary); font-family: var(--font-mono); font-size: 14px; }
.gpu-row--featured { background: rgba(99,102,241,0.05); }
.gpu-row--featured:hover { background: rgba(99,102,241,0.08) !important; }
.new-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.price-cell {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.price-spot { color: var(--success); }
.per { font-size: 12px; font-weight: 400; color: var(--text-secondary); }
.contact-sales { font-size: 13px; color: var(--text-secondary); font-style: italic; }
.btn-xs { padding: 6px 14px !important; font-size: 12px !important; }

.gpu-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gpu-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.gpu-feature-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.gpu-feature strong { display: block; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.gpu-feature span { font-size: 12px; color: var(--text-secondary); }

@media (max-width: 1024px) {
  .gpu-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gpu-features { grid-template-columns: 1fr; }
  .region-tabs { flex-direction: column; }
}

/* ── Pricing ── */
.pricing-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.pricing-card--featured {
  border-color: rgba(99,102,241,0.4);
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.06) 100%);
}
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 14px;
  background: var(--accent-gradient);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pricing-tier { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); }
.pricing-price {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-period { font-size: 16px; font-weight: 400; color: var(--text-secondary); }
.pricing-desc { font-size: 14px; color: var(--text-secondary); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
}
.btn-full { width: 100%; justify-content: center; }
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-secondary);
}
.pricing-note a { color: #818cf8; }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ── Private Deployment ── */
.private-deploy { padding: var(--section-pad); }

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.deploy-card { display: flex; flex-direction: column; gap: 12px; transition: border-color 0.2s, transform 0.2s; }
.deploy-card:hover { border-color: rgba(99,102,241,0.3); transform: translateY(-2px); }
.deploy-icon { font-size: 24px; }
.deploy-card h4 { font-size: 16px; font-weight: 700; }
.deploy-card p  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.deploy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}
.deploy-stat { display: flex; flex-direction: column; gap: 6px; }
.deploy-stat-num { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.deploy-stat-label { font-size: 13px; color: var(--text-secondary); }

@media (max-width: 1024px) {
  .deploy-grid { grid-template-columns: repeat(2, 1fr); }
  .deploy-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .deploy-grid { grid-template-columns: 1fr; }
  .deploy-stats { grid-template-columns: repeat(2, 1fr); }
  .deploy-stat-num { font-size: 28px; }
}
