/* JCube Tech AI — dark, modern, blue accent */

:root {
  --blue: #2aa9e0;
  --blue-deep: #0f6fa8;
  --blue-bright: #5ad1ff;
  --blue-glow: rgba(42, 169, 224, 0.35);
  --black: #060708;
  --steel: #0e1117;
  --steel-2: #151a21;
  --steel-3: #1c222b;
  --ink: #f5f7fa;
  --text: #c5c8cd;
  --muted: #868c96;
  --line: #232932;
  --line-soft: #1a1f27;
  --bg: #060708;
  --bg-soft: #0e1117;
  --radius: 4px;
  --radius-lg: 10px;
  --max: 1180px;
  --space: clamp(1rem, 2vw, 1.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Exo 2', 'Inter', sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }

a {
  color: var(--blue-bright);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--blue); }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 7, 8, 0.86);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--space);
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--blue);
  transition: width 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--line);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 42px;
}
.lang-toggle:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
@media (max-width: 768px) {
  .lang-toggle { font-size: 0.72rem; padding: 0.35rem 0.55rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--steel);
    border-bottom: 2px solid var(--blue);
    padding: 0.5rem 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.95rem var(--space);
    border-bottom: 1px solid var(--line);
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(42, 169, 224, 0.16) 0%, transparent 55%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
.hero-glow.one {
  width: 28rem;
  height: 28rem;
  top: -8rem;
  right: -6rem;
  background: radial-gradient(circle, rgba(42, 169, 224, 0.45), transparent 70%);
  opacity: 0.85;
  animation: heroDrift1 15s ease-in-out infinite alternate;
}
.hero-glow.two {
  width: 22rem;
  height: 22rem;
  bottom: -7rem;
  left: 8%;
  background: radial-gradient(circle, rgba(90, 209, 255, 0.32), transparent 70%);
  opacity: 0.7;
  animation: heroDrift2 19s ease-in-out infinite alternate;
}
@keyframes heroDrift1 {
  0% { transform: translate(-2%, -1%) scale(1); opacity: 0.7; }
  100% { transform: translate(3%, 2%) scale(1.08); opacity: 0.9; }
}
@keyframes heroDrift2 {
  0% { transform: translate(2%, 1%) scale(0.96); opacity: 0.55; }
  100% { transform: translate(-3%, -2%) scale(1.1); opacity: 0.75; }
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--blue-bright); }
.hero .lead {
  font-size: 1.125rem;
  color: var(--text);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-lead .hero-grid {
  grid-template-columns: 1fr 1.05fr;
  align-items: start;
}
@media (max-width: 960px) { .hero-lead .hero-grid { grid-template-columns: 1fr; } }

.lead-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.5rem;
}
.lead-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
  font-size: 0.95rem;
}
.lead-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--blue);
  transform: rotate(45deg);
}

.lead-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.92rem;
  color: var(--text);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.lead-contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}
.lead-contact a {
  color: #fff;
  font-weight: 600;
}
.lead-contact a:hover { color: var(--blue-bright); }
.lead-contact .sep { color: var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 6px 24px -8px var(--blue-glow);
}
.btn-primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
  box-shadow: 0 8px 28px -6px var(--blue-glow);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.btn-dark {
  background: var(--steel-3);
  color: #fff;
  border-color: var(--line);
}
.btn-dark:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ===== Sections ===== */
section { padding: clamp(3rem, 6vw, 5rem) 0; }
section.alt { background: var(--steel); }

.section-head {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 0.85rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ===== Trust strip ===== */
.trust {
  background: var(--black);
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-row .item {
  position: relative;
  padding: 0 1rem;
}
.trust-row .item + .item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: var(--line);
}
.trust-row .item strong {
  display: block;
  color: var(--blue-bright);
  font-family: 'Exo 2', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.trust-row .item span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}
@media (max-width: 640px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .trust-row .item:nth-child(3)::before { display: none; }
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }

@media (min-width: 881px) {
  .cards-5 {
    grid-template-columns: repeat(6, 1fr);
  }
  .cards-5 .card { grid-column: span 2; }
  .cards-5 .card:nth-child(4) { grid-column: 2 / span 2; }
  .cards-5 .card:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 880px) and (min-width: 600px) {
  .cards-5 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  position: relative;
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.2s ease;
}
.card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.5);
}
.card:hover::before { transform: scaleY(1); }
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.05);
}
.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.card-body p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.card-link {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
}
.card-link::after {
  content: ' →';
  transition: margin-left 0.15s ease;
}
.card-link:hover::after { margin-left: 4px; }

/* ===== Form ===== */
.form-wrap {
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 12px 36px -16px rgba(0,0,0,0.4);
}
.form-wrap--hero {
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(42, 169, 224, 0.15);
}
.form-head { margin-bottom: 1.25rem; }
.form-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  margin: 0.35rem 0 0;
}
.form-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  padding: 0.25rem 0.5rem;
  background: rgba(42, 169, 224, 0.12);
  border-radius: var(--radius);
}
.form-actions { margin-top: 1.25rem; }
.btn-block { width: 100%; padding: 1.05rem 1.5rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
input, textarea, select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
textarea { min-height: 140px; resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.85rem;
  text-align: center;
}
.form-status {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-status.success { display: block; background: rgba(46, 139, 79, 0.15); color: #6fd99a; border-left: 3px solid #2e8b4f; }
.form-status.error { display: block; background: rgba(155, 28, 28, 0.15); color: #ff9a9a; border-left: 3px solid var(--blue); }

/* ===== Two-column generic ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }

.media img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

/* ===== Process steps ===== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
@media (max-width: 880px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

.process .step {
  counter-increment: step;
  position: relative;
  padding: 1.5rem;
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--blue);
}
.process .step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-bright);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.process .step h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.process .step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ===== Capabilities (numbered, home) ===== */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: cap;
}
@media (max-width: 960px) { .capability-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .capability-grid { grid-template-columns: 1fr; } }
.capability-card {
  counter-increment: cap;
  position: relative;
  padding: 1.5rem;
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--blue);
}
.capability-card::before {
  content: counter(cap, decimal-leading-zero);
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-bright);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.capability-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.capability-card p { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.75rem; }
.capability-card .in-practice {
  font-size: 0.8rem;
  color: var(--blue-bright);
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
  margin: 0;
}
.capability-card .in-practice strong { color: var(--blue-bright); font-weight: 700; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.08em; display: block; margin-bottom: 0.25rem; }

/* ===== Capabilities list (bulleted) ===== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2rem;
  padding: 0;
  list-style: none;
  margin: 0;
}
@media (max-width: 640px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-grid li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.cap-grid li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--blue);
  transform: rotate(45deg);
}

/* ===== Contact blocks ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 3rem);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-block {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--steel-2);
}
.contact-block .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 0.4rem;
}
.contact-block .value { color: var(--ink); font-weight: 600; }
.contact-block a { color: var(--ink); }
.contact-block a:hover { color: var(--blue-bright); }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--black);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(42, 169, 224, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; }
.cta-banner p {
  color: var(--text);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--black);
  color: var(--muted);
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.site-footer h4 {
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--blue-bright); }
.site-footer .brand-name {
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}
.site-footer .tagline { color: var(--muted); max-width: 24rem; margin-top: 0.5rem; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ===== Selection ===== */
::selection { background: var(--blue); color: #fff; }

/* ===== AI sub-brand badge ===== */
.brand-ai {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-ai .ai-badge {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--blue);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  line-height: 1.4;
}

/* ===== Parent-company strip ===== */
.parent-strip {
  background: var(--steel-3);
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  padding: 0.55rem 0;
}
.parent-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  flex-wrap: wrap;
}
.parent-strip a { color: #fff; font-weight: 600; }
.parent-strip a:hover { color: var(--blue-bright); }

/* ===== Diagram cards (technical illustrations) ===== */
.diagram-card {
  background: var(--steel-2);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.diagram-card img, .diagram-card svg { width: 100%; height: 100%; }
.card img[src$=".jpg"], .card img[src$=".jpeg"] { background: var(--steel-2); }
.photo-credit {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.5rem 1.5rem 0;
  margin: 0;
}

/* ===== Spec table ===== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}
.spec-table tr:last-child td { border-bottom: none; }

/* ===== Product detail block ===== */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.product-block:last-child { border-bottom: none; }
@media (max-width: 880px) { .product-block { grid-template-columns: 1fr; } }
.product-block .diagram-card { border-radius: var(--radius-lg); overflow: hidden; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  background: var(--steel-2);
  border: 1px solid var(--line);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
}

/* ===== Live demo card (RFQ agent example) ===== */
.demo-card {
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.demo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(42, 169, 224, 0.12) 100%);
  pointer-events: none;
}
.demo-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.demo-head .live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-bright);
}
.demo-head .live-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(90, 209, 255, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(90, 209, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(90, 209, 255, 0); }
}

/* ===== Demo card play-out sequence ===== */
.demo-msg, .demo-reply, .demo-actions {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.demo-msg.show, .demo-reply.show, .demo-actions.show {
  opacity: 1;
  transform: none;
}

/* ===== Scroll-reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .demo-msg, .demo-reply, .demo-actions { opacity: 1; transform: none; transition: none; }
  .demo-head .live-dot::before { animation: none; box-shadow: 0 0 0 3px rgba(90, 209, 255, 0.25); }
  .demo-cursor { animation: none; }
  .hero-glow { animation: none; }
}
.demo-msg, .demo-reply {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}
.demo-msg {
  background: var(--steel-3);
  color: var(--text);
  border-left: 3px solid var(--line);
}
.demo-msg .who {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.demo-reply {
  background: rgba(42, 169, 224, 0.12);
  color: #eef6fb;
  border-left: 3px solid var(--blue);
}
.demo-reply .who {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  margin-bottom: 0.35rem;
}
.demo-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  vertical-align: -0.15em;
  background: var(--blue-bright);
  margin-left: 1px;
  animation: cursorBlink 1s steps(2) infinite;
}
@keyframes cursorBlink { 50% { opacity: 0; } }
.demo-timer {
  font-family: 'Inter', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.demo-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.demo-actions button {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: default;
}
.demo-actions button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ===== Pricing ===== */
.currency-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 2.5rem;
  flex-wrap: wrap;
}
.currency-toggle .label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
.currency-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.currency-btn {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.45rem 1rem;
  background: var(--steel-2);
  color: var(--muted);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.currency-btn + .currency-btn { border-left: 1px solid var(--line); }
.currency-btn.active { background: var(--blue); color: #fff; }
.currency-btn:hover:not(.active) { color: var(--ink); }
.currency-rate {
  font-size: 0.78rem;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 28rem; margin: 0 auto; } }
.pricing-card {
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 20px 50px -20px var(--blue-glow);
  transform: translateY(-6px);
}
.pricing-badge {
  position: absolute;
  top: -0.8rem;
  left: 2rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius);
}
.pricing-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.5rem;
}
.pricing-tagline { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.25rem; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}
.price-amount {
  font-family: 'Exo 2', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.price-period { color: var(--muted); font-size: 0.9rem; }
.price-build { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
  display: grid;
  gap: 0.65rem;
}
.plan-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  color: var(--text);
}
.plan-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-bright);
  font-weight: 700;
}
.pricing-note {
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 2rem;
}
.pricing-note strong { color: var(--ink); }

/* ===== Persona / quote cards ===== */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 960px) { .persona-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .persona-grid { grid-template-columns: 1fr; } }
.persona-card {
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.persona-card p {
  font-size: 0.92rem;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 0.85rem;
}
.persona-card .who {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.persona-card .role {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 0.15rem;
}

/* ===== FAQ accordion ===== */
.faq-list {
  max-width: 44rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.25rem 1.25rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.5rem 1.1rem 0;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue-bright);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--muted);
  font-size: 0.94rem;
  padding-bottom: 1.1rem;
  margin: 0;
}

/* ===== Animated process timeline (How It Works hero) ===== */
.timeline-diagram {
  max-width: 54rem;
  margin: 3rem auto 0;
  padding: 0 0.5rem;
}
.timeline-track {
  position: relative;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin: 0 7px;
  overflow: visible;
}
.timeline-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  animation: timelineFill 7s ease-in-out infinite;
}
@keyframes timelineFill {
  0% { transform: scaleX(0); opacity: 1; }
  55% { transform: scaleX(1); opacity: 1; }
  78% { transform: scaleX(1); opacity: 1; }
  88% { opacity: 0; }
  89%, 100% { transform: scaleX(0); opacity: 0; }
}
.timeline-dot {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--steel-3);
  border: 2px solid var(--line);
  transform: translate(-50%, -50%);
  animation: timelineNode 7s ease-in-out infinite;
}
.timeline-dot.d1 { animation-delay: 0s; }
.timeline-dot.d2 { animation-delay: 1.27s; }
.timeline-dot.d3 { animation-delay: 2.54s; }
.timeline-dot.d4 { animation-delay: 3.85s; }
@keyframes timelineNode {
  0%, 8% { background: var(--blue-bright); border-color: var(--blue-bright); box-shadow: 0 0 0 6px rgba(90, 209, 255, 0.22); }
  28% { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 0 rgba(90, 209, 255, 0); }
  85%, 100% { background: var(--steel-3); border-color: var(--line); box-shadow: 0 0 0 0 rgba(90, 209, 255, 0); }
}
.timeline-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 1.1rem;
}
.timeline-label { flex: 1; }
.timeline-label:first-child { text-align: left; }
.timeline-label:last-child { text-align: right; }
.timeline-label:not(:first-child):not(:last-child) { text-align: center; }
.timeline-label strong {
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.timeline-label span {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 640px) {
  .timeline-labels { flex-wrap: wrap; gap: 0.75rem 0; }
  .timeline-label { flex: 0 0 50%; text-align: center !important; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-fill { animation: none; transform: scaleX(1); }
  .timeline-dot { animation: none; background: var(--blue); border-color: var(--blue); }
}

/* ===== Workload grid ===== */
.workload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) { .workload-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .workload-grid { grid-template-columns: 1fr; } }
.workload-grid .item {
  padding: 1.5rem;
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.workload-grid .item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.workload-grid .item p { font-size: 0.9rem; color: var(--muted); margin: 0; }
