/* ===== Wunder8i — Corporate Professional ===== */
:root {
  --navy-900: #0b1220;
  --navy-800: #0f172a;
  --navy-700: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white: #ffffff;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light: #60a5fa;
  --ring: rgba(37, 99, 235, 0.18);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.28);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', var(--font-sans);

  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===== Typography ===== */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; color: var(--navy-900); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-lead { color: var(--slate-500); font-size: 1.06rem; max-width: 56ch; margin-top: 12px; }
.prose { color: var(--slate-600); margin-top: 16px; font-size: 1.04rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .wa { color: #25D366; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px var(--ring); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(37,99,235,0.45); }

.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--slate-200); }
.btn-ghost:hover { border-color: var(--slate-400); background: var(--slate-50); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--slate-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--navy-900); }
.brand-accent { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; font-size: 0.95rem; color: var(--slate-600); transition: color .15s ease; }
.nav a:hover { color: var(--navy-900); }
.nav a.btn-primary { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 9vw, 110px); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 75% -10%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(700px 500px at 5% 10%, rgba(30, 58, 138, 0.08), transparent 55%),
    linear-gradient(180deg, var(--slate-50), var(--white));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--slate-200) 1px, transparent 1px), linear-gradient(90deg, var(--slate-200) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(700px 400px at 70% 0%, #000, transparent 75%);
  mask-image: radial-gradient(700px 400px at 70% 0%, #000, transparent 75%);
  opacity: 0.5;
}
.hero-inner { max-width: 780px; }
.hero h1 { margin-bottom: 22px; }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--slate-600); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats { display: flex; align-items: center; gap: 28px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats > div:not(.divider) { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); }
.hero-stats span { font-size: 0.85rem; color: var(--slate-500); }
.hero-stats .divider { width: 1px; height: 36px; background: var(--slate-200); }

/* ===== Sections ===== */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-alt { background: var(--slate-50); border-block: 1px solid var(--slate-100); }
.section-head { max-width: 640px; margin-bottom: 56px; }

/* ===== Grids ===== */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ===== Service cards ===== */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #fff;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate-500); font-size: 0.96rem; }

/* ===== Product cards ===== */
.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.product-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.product-icon svg { width: 26px; height: 26px; }
.product-icon.health { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.product-icon.ledger { background: linear-gradient(135deg, #6366f1, #1e3a8a); }
.product-icon.claw { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.product-icon.hermes { background: linear-gradient(135deg, #8b5cf6, #2563eb); }
.badge-live { color: #047857; background: rgba(16, 185, 129, 0.12); }

/* ===== Benefits strip ===== */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; }
.benefits .b-ic {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  color: var(--accent-dark); background: rgba(37, 99, 235, 0.10); border: 1px solid rgba(37, 99, 235, 0.14);
}
.benefits .b-ic svg { width: 20px; height: 20px; }
.benefits strong { display: block; color: var(--navy-900); font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 3px; }
.benefits span { color: var(--slate-500); font-size: 0.9rem; line-height: 1.5; }
.product-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.product-card p { color: var(--slate-500); }
.badge {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent-dark); background: rgba(37, 99, 235, 0.10);
  padding: 6px 12px; border-radius: 999px;
}

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.value-list { list-style: none; display: grid; gap: 18px; padding: 28px; background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: var(--radius); }
.value-list li { display: flex; gap: 14px; align-items: flex-start; }
.value-list .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(37, 99, 235, 0.12); color: var(--accent-dark); font-weight: 800; font-size: 0.85rem;
}
.value-list div { color: var(--slate-600); font-size: 0.98rem; }
.value-list strong { color: var(--navy-900); }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding: clamp(64px, 9vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 80% 120%, rgba(37, 99, 235, 0.35), transparent 60%);
}
.cta-inner { position: relative; text-align: center; max-width: 620px; margin-inline: auto; }
.cta h2 { color: #fff; }
.cta p { color: var(--slate-400); margin-top: 14px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.eyebrow-light { color: var(--accent-light); }

.contact-details {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 40px;
}
.contact-details li { display: flex; align-items: center; gap: 10px; color: var(--slate-400); font-size: 0.95rem; max-width: 100%; }
.contact-details li:last-child { max-width: 38ch; text-align: left; }
.contact-details a { color: #e2e8f0; transition: color .15s; }
.contact-details a:hover { color: #fff; }
.contact-ic {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; color: var(--accent-light);
  background: rgba(96, 165, 250, 0.12); border: 1px solid rgba(96, 165, 250, 0.18);
}
.contact-ic svg { width: 17px; height: 17px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-900); color: var(--slate-400); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 10px; font-size: 0.92rem; max-width: 34ch; }
.footer-contact { list-style: none; margin-top: 20px; display: grid; gap: 12px; max-width: 38ch; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; color: var(--slate-400); font-size: 0.9rem; line-height: 1.5; }
.footer-contact svg { width: 16px; height: 16px; flex: none; color: var(--accent-light); margin-top: 2px; }
.footer-contact a { color: var(--slate-400); transition: color .15s; }
.footer-contact a:hover { color: #fff; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: var(--slate-400); font-size: 0.95rem; transition: color .15s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 24px; font-size: 0.85rem; }

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; padding: 16px 24px 24px; border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-md);
  }
  .nav.open a { padding: 12px 0; }
  .nav.open a.btn-primary { justify-content: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .hero-stats .divider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
