/* ============ AxiomID — brand styles ============ */
:root {
  --blue: #29A9E8;
  --blue-dark: #1489C6;
  --blue-2: #5FBBEB;
  --blue-3: #93CEF1;
  --blue-4: #B9E0F5;
  --ink: #16181C;
  --ink-soft: #4A5361;
  --bg: #FFFFFF;
  --bg-alt: #F4F9FD;
  --card: #FFFFFF;
  --line: #E3EBF2;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(22, 66, 96, 0.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

img, svg { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

.accent { color: var(--blue); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(41, 169, 232, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(41, 169, 232, 0.45); }
.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: var(--bg);
}
.btn-ghost:hover { border-color: var(--blue-2); color: var(--blue-dark); }

/* ============ Navigation ============ */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark { width: 40px; height: 40px; }
.brand-name {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-id { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav-links a:not(.btn):hover { color: var(--blue-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============ Hero ============ */
.hero { padding: 90px 0 70px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.lede {
  margin: 22px 0 30px;
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 54ch;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points {
  margin-top: 34px;
  list-style: none;
  display: grid;
  gap: 10px;
}
.hero-points li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 4px solid var(--blue-3);
}

.hero-visual svg { width: 100%; height: auto; }
.hero-badge text {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  fill: var(--ink);
}
.hero-badge rect { filter: drop-shadow(0 4px 10px rgba(22, 66, 96, 0.10)); }
.ring { transform-origin: 230px 230px; }
.ring-1 { animation: pulse 5s ease-in-out infinite; }
.ring-2 { animation: pulse 5s ease-in-out 0.4s infinite; }
.ring-3 { animation: pulse 5s ease-in-out 0.8s infinite; }
.ring-4 { animation: pulse 5s ease-in-out 1.2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.hero-badge { animation: floaty 6s ease-in-out infinite; }
.b2 { animation-delay: 1.5s; }
.b3 { animation-delay: 3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============ Sections ============ */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-sub { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }

/* ============ Capability cards ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--blue-2); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: linear-gradient(135deg, #E7F5FD, #D2ECFA);
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card p { color: var(--ink-soft); margin: 10px 0 16px; font-size: 0.97rem; }
.card ul { list-style: none; display: grid; gap: 8px; }
.card ul li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  font-weight: 500;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3.5px solid var(--blue);
}

/* ============ Why grid ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
}
.why-item h3 { margin: 10px 0 8px; }
.why-item p { color: var(--ink-soft); font-size: 0.94rem; }

/* ============ Steps ============ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step { position: relative; padding-top: 34px; }
.step-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 5px solid var(--blue);
  background: var(--bg);
}
.step::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 26px;
  right: -20px;
  height: 2px;
  background: var(--line);
}
.step:last-child::before { display: none; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.94rem; }

/* ============ Standards strip ============ */
.standards {
  padding: 56px 0;
  background: linear-gradient(135deg, #0F86C4, var(--blue));
  color: #fff;
}
.standards-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 22px;
}
.standards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}
.standards-row span {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}

/* ============ Contact ============ */
.contact { background: var(--bg-alt); }
.contact-inner {
  text-align: center;
  max-width: 680px;
}
.contact-mark { width: 64px; height: 64px; margin: 0 auto 26px; }
.contact-cta { justify-content: center; margin-top: 30px; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .brand-mark { width: 30px; height: 30px; }
.footer .brand-name { font-size: 1.1rem; }
.footer-tag { color: var(--ink-soft); font-size: 0.9rem; flex: 1; }
.footer-copy { color: var(--ink-soft); font-size: 0.85rem; }

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::before { display: none; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 10px 0; width: 100%; }
  .nav-links .btn { margin-top: 8px; }
}

@media (max-width: 640px) {
  .why-grid, .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .hero { padding: 60px 0 40px; }
  .section { padding: 64px 0; }
}
