/* Cyber Wave Consulting: site styles (mobile first) */

:root {
  --ink-900: #120f26;
  --ink-800: #1c1838;
  --ink-700: #2b2552;
  --purple-600: #6358af;
  --purple-500: #7a6fd0;
  --purple-100: #eeecfa;
  --mist-50: #f7f7fb;
  --line: #e4e2ef;
  --text: #1f1d2e;
  --text-soft: #5b5872;
  --white: #fff;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 15, 38, 0.05), 0 10px 30px rgba(18, 15, 38, 0.07);
  --gutter: 20px;
  --max: 1160px;
  --measure: 700px;
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-600); text-underline-offset: 3px; }
a:hover { color: var(--ink-700); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink-800);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.3rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; color: var(--ink-800); }
ul { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin-bottom: 0.45em; }

:focus-visible { outline: 3px solid var(--purple-500); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font: 600 0.78rem/1 var(--font-head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--text-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  font: 600 0.95rem/1 var(--font-head);
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--purple-600); color: var(--white); }
.btn-primary:hover { background: var(--purple-500); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink-800); }
.btn-light:hover { background: var(--purple-100); color: var(--ink-800); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-outline { border-color: var(--line); color: var(--ink-800); background: var(--white); }
.btn-outline:hover { border-color: var(--purple-600); color: var(--purple-600); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-800); }
.brand img { width: 38px; height: 38px; }
.brand span { font: 600 1.02rem/1.1 var(--font-head); letter-spacing: -0.01em; }
.brand small { display: block; font: 500 0.68rem/1.3 var(--font-body); letter-spacing: 0.14em; color: var(--text-soft); text-transform: uppercase; }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: var(--ink-800); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle .icon-close { display: none; }
body.menu-open .menu-toggle .icon-open { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }

.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  overflow-y: auto;
  padding: 8px var(--gutter) 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
body.menu-open { overflow: hidden; }
body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; border-bottom: 1px solid var(--line); }
.nav a { display: flex; align-items: center; min-height: 56px; font: 500 1.1rem/1.3 var(--font-head); color: var(--ink-800); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--purple-600); }
.nav .nav-cta { border: 0; padding-top: 20px; }
.nav .nav-cta a { justify-content: center; min-height: 52px; border-radius: 999px; background: var(--purple-600); color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(18, 15, 38, 0.86) 0%, rgba(28, 24, 56, 0.78) 55%, rgba(43, 37, 82, 0.9) 100%),
    url("/assets/img/hero-1000.webp") center 60% / cover no-repeat,
    var(--ink-900);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(122, 111, 208, 0.35) 0%, rgba(122, 111, 208, 0) 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lede { color: rgba(255, 255, 255, 0.82); max-width: 38rem; margin-bottom: 28px; }
.hero .eyebrow { color: #b8b0f5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin: 20px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }

/* Page header (inner pages) */
.page-head {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(18, 15, 38, 0.9) 0%, rgba(28, 24, 56, 0.86) 100%),
    url("/assets/img/hero-1000.webp") center 60% / cover no-repeat,
    var(--ink-900);
  padding: 44px 0 52px;
}
.page-head h1 { color: var(--white); max-width: 20ch; }
.page-head .eyebrow { color: #b8b0f5; }
.page-head .lede { color: rgba(255, 255, 255, 0.8); max-width: 40rem; margin: 0; }
.page-head .price { display: inline-block; margin-top: 22px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); font: 600 0.92rem/1.2 var(--font-head); }

/* ---------- Sections ---------- */

.section { padding: 56px 0; }
.section-alt { background: var(--mist-50); }
.section-head { margin-bottom: 32px; }
.section-head p { color: var(--text-soft); margin: 0; }

.grid { display: grid; gap: 16px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--text-soft); font-size: 0.98rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-100);
  color: var(--purple-600);
  margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }

a.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
a.card:hover { border-color: #cdc8ea; box-shadow: var(--shadow); transform: translateY(-2px); }
a.card .more { margin-top: auto; padding-top: 12px; font: 600 0.95rem/1 var(--font-head); color: var(--purple-600); }
.service h3 { font-size: 1.4rem; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; margin: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--purple-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236358af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { position: relative; margin: 0; padding: 22px 22px 22px 70px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple-600);
  color: var(--white);
  font: 600 0.95rem/32px var(--font-head);
  text-align: center;
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; color: var(--text-soft); font-size: 0.98rem; }

/* Pricing / offering tiers */
.tier { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tier.featured { border: 2px solid var(--purple-600); box-shadow: var(--shadow); }
.tier .tag { align-self: flex-start; font: 600 0.72rem/1 var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-600); background: var(--purple-100); padding: 6px 10px; border-radius: 999px; margin-bottom: 14px; }
.tier h3 { font-size: 1.35rem; margin-bottom: 0.15em; }
.tier .hours { font: 600 1rem/1.4 var(--font-head); color: var(--purple-600); margin-bottom: 12px; }
.tier .summary { font-weight: 500; color: var(--ink-800); }
.tier p { color: var(--text-soft); font-size: 0.97rem; }
.tier h4 { font: 600 0.78rem/1 var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-800); margin: 8px 0 12px; }
.tier .checklist { font-size: 0.95rem; gap: 10px; margin-bottom: 18px; }
.tier .checklist li { padding-left: 32px; }
.tier .checklist li::before { width: 20px; height: 20px; background-size: 12px; }
.tier .best { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--text); }
.tier .saving { font-size: 0.92rem; color: var(--purple-600); font-weight: 600; }

.callout { border-left: 4px solid var(--purple-600); background: var(--mist-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 20px 22px; }
.callout p:last-child { margin: 0; }

.quote-block { font: 500 clamp(1.25rem, 1rem + 1vw, 1.7rem)/1.4 var(--font-head); color: var(--ink-800); letter-spacing: -0.01em; }

/* About */
.profile { display: grid; gap: 28px; align-items: start; }
.portrait { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--white); box-shadow: var(--shadow); }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose .checklist { margin: 1em 0 1.4em; }
.disclaimer { font-size: 0.85rem; color: var(--text-soft); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 32px; }

/* Contact */
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.3rem; margin-bottom: 0.2em; }
.contact-card .who { color: var(--text-soft); margin-bottom: 20px; }
.contact-card .actions { display: grid; gap: 10px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { margin: 0; display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { flex: none; width: 20px; height: 20px; color: var(--purple-600); margin-top: 4px; }

/* Call to action band */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--ink-700) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 24px;
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255, 255, 255, 0.85); }
.cta .actions { margin-top: 6px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink-900); color: rgba(255, 255, 255, 0.72); padding: 52px 0 28px; font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand .brand small { color: rgba(255, 255, 255, 0.6); }
.site-footer h2 { font: 600 0.78rem/1 var(--font-head); color: var(--white); letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 9px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.82rem; display: grid; gap: 6px; }

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile { grid-template-columns: 160px 1fr; }
}

@media (min-width: 1024px) {
  :root { --gutter: 40px; --header-h: 76px; }
  .section { padding: 88px 0; }
  .hero { padding: 112px 0 120px; background-image: linear-gradient(180deg, rgba(18, 15, 38, 0.86) 0%, rgba(28, 24, 56, 0.78) 55%, rgba(43, 37, 82, 0.9) 100%), url("/assets/img/hero.webp"); }
  .page-head { padding: 72px 0 80px; background-image: linear-gradient(180deg, rgba(18, 15, 38, 0.9) 0%, rgba(28, 24, 56, 0.86) 100%), url("/assets/img/hero.webp"); }
  .grid { gap: 20px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .steps.row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer-base { grid-template-columns: 1fr auto; }
  .cta { padding: 52px; display: grid; grid-template-columns: 1.5fr auto; align-items: center; gap: 40px; }

  .menu-toggle { display: none; }
  .nav { position: static; opacity: 1; visibility: visible; transform: none; background: none; overflow: visible; padding: 0; }
  .nav ul { display: flex; align-items: center; gap: 4px; }
  .nav li { border: 0; }
  .nav a { min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 0.93rem; }
  .nav a:hover { background: var(--mist-50); }
  .nav a[aria-current="page"] { background: var(--purple-100); color: var(--purple-600); }
  .nav .nav-cta { padding: 0 0 0 10px; }
  .nav .nav-cta a { min-height: 42px; padding: 0 18px; }
  .nav .nav-cta a:hover { background: var(--purple-500); color: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* At a glance summary */
.glance-section { padding-bottom: 0; }
.glance { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--mist-50); }
.glance h2 { font-size: 1.3rem; margin-bottom: 0.4em; }
.glance > p { color: var(--text-soft); }
.glance dl { margin: 0; display: grid; gap: 14px; }
.glance dt { font: 600 0.95rem/1.3 var(--font-head); color: var(--ink-800); }
.glance dd { margin: 2px 0 0; color: var(--text-soft); font-size: 0.97rem; }
@media (min-width: 1024px) { .glance { padding: 32px; } .glance dl { grid-template-columns: 1fr 1fr; gap: 20px 40px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  font: 600 1.02rem/1.4 var(--font-head);
  color: var(--ink-800);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--font-body); color: var(--purple-600); transition: transform 0.15s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 18px; color: var(--text-soft); }
.faq-a p { margin: 0; }
