/* Zytera — site styles */
:root {
  --ink: #0b1220;
  --ink-2: #1f2a3d;
  --muted: #5b6678;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-dark: #0b1220;
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --accent-soft: #eaf0ff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 8px 24px rgba(11, 18, 32, .06);
  --max: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff;
  padding: 8px 14px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-2); font-size: .95rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { background: #1d4fd0; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  background: var(--accent); color: #fff; transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: #1d4fd0; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37, 99, 235, .28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef2fb; box-shadow: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(124, 58, 237, .12), transparent 60%),
    radial-gradient(800px 420px at 10% 0%, rgba(37, 99, 235, .12), transparent 60%),
    var(--bg);
  padding: 88px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .18), rgba(124, 58, 237, .08) 55%, transparent 70%);
}
.hero-visual img { position: relative; max-height: 520px; width: auto; filter: drop-shadow(0 24px 40px rgba(11, 18, 32, .2)); }

.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; padding: 18px 24px; }
.trust-inner span { font-size: .9rem; color: var(--muted); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.trust-inner svg { width: 18px; height: 18px; color: var(--accent); }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #e7ecf5; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-dark .section-head p { color: #a9b4c7; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; color: var(--accent);
  background: linear-gradient(135deg, var(--accent-soft), #f1eaff);
}
.icon svg { width: 24px; height: 24px; }

/* Use cases */
.usecase { padding: 0; overflow: hidden; }
.usecase img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }
.usecase .body { padding: 22px 24px 26px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--accent-2); background: #f1eaff; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

/* Certifications */
.cert-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; width: 220px; text-align: center; }
.cert img { height: 52px; width: auto; margin: 0 auto 14px; object-fit: contain; }
.cert strong { display: block; font-size: .95rem; }
.cert span { font-size: .85rem; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, #1d3fbf, #6a2bd6);
  color: #fff; border-radius: 22px; padding: 56px 40px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: #dbe3ff; max-width: 560px; margin: 0 auto 26px; }

/* Page header (inner pages) */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 20px 0 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span[aria-hidden] { margin: 0 8px; }

/* Product page */
.product-hero { padding: 56px 0 72px; background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product-stage {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; display: flex; align-items: center; justify-content: center; min-height: 460px;
}
.product-stage img { max-height: 420px; width: auto; transition: opacity .2s; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumb {
  width: 72px; height: 72px; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.product-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.badges { display: flex; gap: 16px; align-items: center; margin-top: 8px; }
.badges img { height: 64px; width: auto; }

.highlights { grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-size: 2rem; letter-spacing: -.03em; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Spec table */
.spec-wrap { max-width: 900px; margin: 0 auto; }
.spec-group { margin-bottom: 28px; }
.spec-group h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 32%; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); }
.spec-table td { color: var(--muted); }

/* Company */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.contact-card p { color: var(--ink-2); }
.contact-card .note { color: var(--muted); font-size: .88rem; margin-top: 10px; }

/* Footer */
.site-footer { background: var(--bg-dark); color: #a9b4c7; padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #1f2a3d; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #a9b4c7; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: .85rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notfound h1 { font-size: 4rem; margin-bottom: 8px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .product-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 48px; }
  .hero-visual img { max-height: 400px; }
  .grid-3, .grid-4, .highlights { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 2px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav .btn { margin: 8px 0 0; }
  .section { padding: 60px 0; }
  .grid-3, .grid-4, .highlights, .contact-grid { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .product-stage { min-height: 340px; padding: 20px; }
  .product-stage img { max-height: 300px; }
  .spec-table th { width: 38%; padding: 12px 14px; }
  .spec-table td { padding: 12px 14px; }
  .cta-band { padding: 40px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

.section-flush { padding-top: 0; }
.values { margin-top: 48px; }
.lead-center { margin: 0 auto 24px; }
.site-footer a.brand { display: flex; padding: 0; }
