:root {
  --blue: #5b7cfa;
  --blue-strong: #3451d1;
  --emerald: #22c7a9;
  --violet: #8b5cf6;
  --ink: #0b1020;
  --muted: #667085;
  --line: #d9e2f1;
  --soft: #f6f8fc;
  --white: #ffffff;
  --panel: #101827;
  --panel-soft: #172033;
  --glow-line: rgba(91, 124, 250, 0.34);
}

* { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 42%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

a:hover { color: var(--blue-strong); }

.container { max-width: 1160px; }

.site-nav {
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(217, 226, 241, 0.82);
  backdrop-filter: blur(22px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-mark {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark img {
  height: 36px;
  object-fit: contain;
  width: 132px;
}

.nav-link {
  color: #253047;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--blue-strong);
}

.culture-switcher {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  margin-left: 0.75rem;
}

.culture-switcher a {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.78rem;
  padding: 0.25rem 0.38rem;
}

.btn-primary-soft,
.btn-ghost {
  border-radius: 8px;
  min-height: 44px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn-primary-soft {
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  border: 1px solid rgba(91, 124, 250, 0.55);
  box-shadow: 0 14px 42px rgba(91, 124, 250, 0.28);
  color: var(--white);
}

.btn-primary-soft:hover {
  background: linear-gradient(135deg, var(--blue-strong), #6d28d9);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-section,
.page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #070b15 0%, #101827 46%, #11172a 100%);
  background-size: 48px 48px, 48px 48px, auto;
  color: #f8fbff;
  overflow: hidden;
  position: relative;
}

.hero-section {
  padding: 7rem 0 5rem;
}
.page-hero { padding: 5rem 0 3.5rem; }
.page-hero.compact { padding: 4rem 0 3rem; }

.hero-grid,
.split-layout,
.detail-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  color: #ffffff;
  max-width: 780px;
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
}

.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); }

.hero-copy p,
.page-hero p,
.section-heading p,
.split-layout p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-section .hero-copy p,
.page-hero p {
  color: #b8c3d8;
}

.hero-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.eyebrow,
.content-card > span {
  color: var(--emerald);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hero-section .btn-ghost,
.page-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.signal-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(30, 41, 59, 0.12);
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.signal-panel div {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
}

.signal-panel strong {
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.signal-panel span { color: var(--muted); }

.visual-panel {
  position: relative;
}

.visual-panel img {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  object-fit: cover;
  width: 100%;
}

.studio-console {
  isolation: isolate;
}

.studio-console::before {
  background:
    linear-gradient(90deg, rgba(91, 124, 250, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(34, 199, 169, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 8px;
  content: "";
  inset: -18px 18px 48px -18px;
  position: absolute;
  z-index: -1;
}

.console-card {
  background: rgba(7, 11, 21, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 8px;
  bottom: 1rem;
  box-shadow: 0 22px 70px rgba(7, 17, 31, 0.28);
  color: #dbe4f0;
  display: grid;
  gap: 0.55rem;
  left: 1rem;
  max-width: min(360px, calc(100% - 2rem));
  padding: 1rem;
  position: absolute;
}

.console-card span {
  color: var(--emerald);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.console-card strong {
  color: #ffffff;
  font-size: 1rem;
}

.console-card ul {
  color: #a6b3c5;
  display: grid;
  font-size: 0.88rem;
  gap: 0.25rem;
  margin: 0;
  padding-left: 1rem;
}

.product-hero,
.product-lab {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #070b15 0%, #121a2b 54%, #09111f 100%);
  background-size: 44px 44px, 44px 44px, auto;
  color: #dbe4f0;
}

.product-lab h2,
.product-lab h3,
.product-hero h1 {
  color: #f8fafc;
}

.product-lab p,
.product-hero p {
  color: #a6b3c5;
}

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card,
.product-orbit a {
  background: linear-gradient(180deg, rgba(23, 32, 51, 0.9), rgba(10, 15, 28, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  color: #e2e8f0;
  overflow: hidden;
  position: relative;
}

.product-card::before,
.product-orbit a::before {
  background: linear-gradient(90deg, transparent, rgba(91, 124, 250, 0.92), rgba(34, 199, 169, 0.7), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.product-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
}

.product-card span,
.product-orbit span {
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card a {
  color: #ffffff;
}

.product-orbit {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-orbit a {
  display: grid;
  min-height: 132px;
  padding: 1rem;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.product-orbit a:hover {
  background: linear-gradient(180deg, rgba(30, 42, 68, 0.96), rgba(10, 15, 28, 0.95));
  border-color: rgba(91, 124, 250, 0.52);
  color: #ffffff;
  transform: translateY(-3px);
}

.product-orbit strong {
  align-self: end;
  color: #ffffff;
  font-size: 1.35rem;
}

.section { padding: 4.5rem 0; }

.stats-band {
  padding: 1.5rem 0;
}

.capability-strip {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-strip article {
  align-items: flex-start;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #dbe7f7;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 0.85rem;
  min-height: 118px;
  padding: 1rem;
}

.capability-strip i {
  align-items: center;
  background: #eaf3ff;
  border: 1px solid #cfe1ff;
  border-radius: 8px;
  color: var(--blue);
  display: inline-flex;
  flex: 0 0 40px;
  font-size: 1.2rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.capability-strip strong {
  color: var(--ink);
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.capability-strip span {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 0.35rem;
}

.muted-section {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.experience-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #070b15;
  background-size: 42px 42px, 42px 42px, auto;
  color: #e2e8f0;
  overflow: hidden;
  position: relative;
}

.experience-section .container {
  position: relative;
}

.experience-section h2,
.experience-section h3 {
  color: #f8fafc;
}

.track-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.track-grid article {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(23, 32, 51, 0.92), rgba(10, 15, 28, 0.9));
  min-height: 260px;
  padding: 1.25rem;
}

.track-grid span {
  color: var(--emerald);
  font-weight: 800;
}

.track-grid p {
  color: #a6b3c5;
}

.section-heading { margin-bottom: 1.75rem; }

.section-heading h2,
.split-layout h2,
.article-body h2,
.contact-aside h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.card-grid,
.article-grid,
.case-grid,
.video-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.content-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  border: 1px solid rgba(217, 226, 241, 0.9);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.055);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.25rem;
  position: relative;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.content-card::before {
  background: linear-gradient(90deg, rgba(91, 124, 250, 0.75), rgba(34, 199, 169, 0.55), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.content-card:hover {
  border-color: rgba(91, 124, 250, 0.42);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}

.content-card h2,
.content-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.card-image {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(91, 124, 250, 0.08), rgba(34, 199, 169, 0.08)),
    #f7faff;
  border: 1px solid #e5edf8;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  padding: 1.15rem;
  width: 100%;
}

.faq-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  border: 1px solid rgba(217, 226, 241, 0.9);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.055);
  padding: 1.1rem 1.2rem;
}

.faq-item summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.faq-item p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.faq-support-panel {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, #070b15, #121a2b);
  background-size: 32px 32px, 32px 32px, auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.2);
  color: #dbe4f0;
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: 1.5rem;
  position: sticky;
  top: 96px;
}

.faq-support-panel h2 {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.faq-support-panel p {
  color: #b8c3d8;
}

.content-card p,
.content-card li,
.byline { color: var(--muted); }

.stack-list {
  display: grid;
  gap: 0.75rem;
}

.list-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
}

.list-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.metric-strip,
.metric-table {
  display: grid;
  gap: 0.75rem;
}

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

.metric-strip div,
.metric-table div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem;
}

.metric-strip b,
.metric-table b {
  color: var(--blue);
  display: block;
  font-size: 1.35rem;
}

.metric-table div {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 0.75rem;
}

.metric-table small,
.metric-strip small { color: var(--muted); }

.proof-label {
  color: var(--blue);
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.check-list,
.timeline-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.2rem;
}

.compact-list {
  color: var(--muted);
  font-size: 0.96rem;
  gap: 0.45rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud span,
.filter-row a {
  background: #eef6ff;
  border: 1px solid #cfe1ff;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
}

.narrow { max-width: 820px; }

.article-body {
  display: grid;
  gap: 1rem;
  font-size: 1.08rem;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
}

.video-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.video-frame.large { margin-bottom: 2rem; }

.lead-form,
.contact-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
}

.lead-form {
  display: grid;
  gap: 1rem;
}

.lead-form label {
  color: var(--ink);
  display: grid;
  font-weight: 800;
  gap: 0.4rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 0.7rem 0.8rem;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.btn:focus,
.nav-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2);
  outline: 2px solid transparent;
}

.site-footer {
  background: var(--ink);
  color: #dbe4f0;
  padding: 2rem 0;
}

.site-footer .container {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer p { margin: 0.25rem 0 0; }
.site-footer a { color: var(--white); }
.legal-links a,
.social-links a { font-size: 0.9rem; }

.social-links {
  flex-direction: row;
  flex-wrap: wrap;
}

.social-icon {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.floating-contact {
  bottom: 1rem;
  display: grid;
  gap: 0.5rem;
  position: fixed;
  right: 1rem;
  z-index: 30;
}

.floating-contact a {
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.2);
  font-size: 0.9rem;
  padding: 0.65rem 0.8rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-layout,
  .detail-grid,
  .contact-grid,
  .card-grid,
  .article-grid,
  .case-grid,
  .video-grid,
  .track-grid,
  .product-grid,
  .product-orbit,
  .capability-strip {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .page-hero {
    padding: 3.5rem 0 2.5rem;
  }

  .console-card {
    margin-top: 0.75rem;
    max-width: none;
    position: static;
  }

  .faq-support-panel {
    position: static;
  }

  .site-footer .container,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}
