/* ==========================================================================
   Muhammad Hassan — Digital Marketing Specialist
   assets/css/style.css
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Typography · 5 Buttons
             6 Header · 7 Hero · 8 Cards & modules · 9 Process · 10 Portfolio
             11 FAQ · 12 Forms · 13 Footer · 14 Floating UI · 15 Motion
             16 Utilities · 17 Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand palette */
  --ink:          #0B1020;
  --ink-2:        #101733;
  --ink-3:        #18203E;
  --paper:        #FFFFFF;
  --mist:         #F3F5FB;
  --violet:       #7C5CFF;
  --violet-soft:  #A78BFA;
  --violet-deep:  #4B2ED8;
  --cyan:         #3FE0D0;

  /* Contextual (swapped by .band--light / .band--mist) */
  --text:         #EBEEF9;
  --text-muted:   #A2ABCB;
  --heading:      #FFFFFF;
  --surface:      rgba(255, 255, 255, 0.045);
  --surface-2:    rgba(255, 255, 255, 0.02);
  --line:         rgba(255, 255, 255, 0.11);
  --line-strong:  rgba(255, 255, 255, 0.22);
  --card-shadow:  none;

  /* Type */
  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Rhythm */
  --wrap:         1180px;
  --gutter:       clamp(18px, 4vw, 40px);
  --section-y:    clamp(64px, 8vw, 118px);
  --radius:       18px;
  --radius-sm:    12px;
  --radius-lg:    26px;

  /* Motion */
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --fast:         160ms;
  --slow:         420ms;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a {
  color: var(--violet-soft);
  text-decoration: none;
  transition: color var(--fast) var(--ease);
}
a:hover { color: var(--cyan); }

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

::selection { background: var(--violet); color: #fff; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 999;
  background: var(--violet);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top var(--fast) var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }

.band--light {
  --text: #2C3552;
  --text-muted: #5A6484;
  --heading: #0B1020;
  --surface: #FFFFFF;
  --surface-2: #F7F9FE;
  --line: rgba(11, 16, 32, 0.10);
  --line-strong: rgba(11, 16, 32, 0.20);
  --card-shadow: 0 1px 2px rgba(16, 24, 48, 0.05), 0 18px 40px -28px rgba(16, 24, 48, 0.45);
  background: var(--paper);
  color: var(--text);
}
.band--mist { background: var(--mist); }
.band--mist.band--light { --surface: #FFFFFF; }

/* Text links only — buttons and whole-card links keep their own colours */
.band--light a:not(.btn):not(.card) { color: var(--violet-deep); }
.band--light a:not(.btn):not(.card):hover { color: var(--violet); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

/* 4. TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5.4vw, 3.75rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.16rem, 1.7vw, 1.4rem); line-height: 1.28; }
h4 { font-size: 1.02rem; line-height: 1.35; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  color: var(--text-muted);
  line-height: 1.68;
  max-width: 62ch;
}
.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }

/* Eyebrow + the signature "signal bar" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin: 0 0 18px;
}
.band--light .eyebrow { color: var(--violet-deep); }

.signal {
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
  height: 13px;
}
.signal i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  animation: signal-pulse 2.6s var(--ease) infinite;
}
.signal i:nth-child(1) { height: 5px;  animation-delay: 0s; }
.signal i:nth-child(2) { height: 9px;  animation-delay: 0.18s; }
.signal i:nth-child(3) { height: 13px; animation-delay: 0.36s; }

@keyframes signal-pulse {
  0%, 100% { transform: scaleY(0.62); opacity: 0.65; }
  45%      { transform: scaleY(1);    opacity: 1; }
}

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 54px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* Bulleted content lists */
.ticks { display: grid; gap: 14px; margin: 0 0 4px; }
.ticks.grid { gap: 24px 36px; }
.ticks li {
  position: relative;
  padding-left: 34px;
  color: var(--text-muted);
}
.ticks li strong { color: var(--heading); font-weight: 650; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.52em + 6px);
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.dashes { display: grid; gap: 12px; }
.dashes li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
}
.dashes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

/* Editable-placeholder marker */
.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  padding: 5px 12px;
}

/* 5. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
              background-color var(--fast) var(--ease), border-color var(--fast) var(--ease),
              color var(--fast) var(--ease);
}
.btn svg { flex: none; }

.btn--primary {
  background: linear-gradient(120deg, var(--violet-deep), var(--violet) 55%, #9E7BFF);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(124, 92, 255, 0.95);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(124, 92, 255, 1);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--heading);
}
.btn--ghost:hover {
  color: var(--heading);
  border-color: var(--violet);
  background: rgba(124, 92, 255, 0.10);
  transform: translateY(-2px);
}

.btn--wa {
  background: #1FAF54;
  color: #fff;
  box-shadow: 0 12px 26px -16px rgba(31, 175, 84, 0.9);
}
.btn--wa:hover { background: #189347; color: #fff; transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 0.9rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.btn-row--center { justify-content: center; }

/* Inline text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.arrow-link svg { transition: transform var(--fast) var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* 6. HEADER ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 16, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header.is-stuck { box-shadow: 0 14px 34px -26px rgba(0, 0, 0, 0.95); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.logo:hover { color: #fff; }
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--violet-deep), var(--violet) 60%, var(--cyan));
  font-size: 0.82rem;
  letter-spacing: 0;
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(124, 92, 255, 0.9);
}
.logo-text span { color: var(--violet-soft); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: #C7CEE6;
  font-size: 0.95rem;
  font-weight: 550;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.header-cta { display: inline-flex; }
/* The CTA inside the nav list is for the mobile drawer only */
.nav > .btn { display: none; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: background var(--fast) var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform var(--slow) var(--ease), top var(--fast) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* 7. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 118px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 40% 30% -20%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 92, 255, 0.30), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 20% -25% -40% 45%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(63, 224, 208, 0.15), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--violet-soft), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-media { position: relative; }
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.16), rgba(11, 16, 32, 0.5) 55%);
  padding: 22px;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 34px 100%;
  mask-image: radial-gradient(75% 75% at 50% 45%, #000, transparent);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 45%, #000, transparent);
  pointer-events: none;
}
.hero-visual svg { position: relative; }

.profile-card {
  position: absolute;
  left: -14px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: rgba(16, 23, 51, 0.94);
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 50px -26px rgba(0, 0, 0, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.profile-card img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}
.profile-card .name {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.2;
}
.profile-card .role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* Page hero for inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 5vw, 74px) clamp(40px, 5vw, 66px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -60% 25% 40% -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 92, 255, 0.26), transparent 70%);
  pointer-events: none;
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero .lead { margin-top: 16px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: 0.45; }
.breadcrumb [aria-current="page"] { color: var(--violet-soft); }

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust > div {
  background: var(--ink);
  padding: 26px 24px;
}
.band--light .trust > div { background: var(--surface); }
.trust h3 { font-size: 1.02rem; margin-bottom: 6px; }
.trust p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }
.trust .idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  display: block;
  margin-bottom: 12px;
}

/* 8. CARDS & MODULES ------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--card-shadow);
  transition: transform var(--slow) var(--ease), border-color var(--slow) var(--ease),
              box-shadow var(--slow) var(--ease);
  height: 100%;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.97rem; }

a.card { display: block; color: inherit; }
a.card:hover { color: inherit; }

.card--link:hover,
a.card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 26px 50px -30px rgba(124, 92, 255, 0.9);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(124, 92, 255, 0.28), rgba(63, 224, 208, 0.16));
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: var(--violet-soft);
}
.band--light .card-icon { color: var(--violet-deep); }
.card-icon svg { width: 22px; height: 22px; }

.card-foot {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--violet-soft);
}
.band--light .card-foot { color: var(--violet-deep); }
a.card:hover .card-foot svg { transform: translateX(4px); }
.card-foot svg { transition: transform var(--fast) var(--ease); }

/* Quote / testimonial */
.quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}
.quote blockquote {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.62;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--violet);
  opacity: 0.55;
}
.quote-by {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.quote-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--violet-deep), var(--violet));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  flex: none;
}
.quote-by .name { font-weight: 700; color: var(--heading); font-size: 0.95rem; line-height: 1.25; }
.quote-by .meta { font-size: 0.83rem; color: var(--text-muted); }

/* Highlight / callout panel */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--card-shadow);
}
.panel--accent {
  background: linear-gradient(150deg, rgba(124, 92, 255, 0.16), rgba(63, 224, 208, 0.07));
  border-color: rgba(124, 92, 255, 0.4);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stat {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.stat .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.03em;
}
.stat .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-muted);
}

/* Prose blocks for legal / long-form pages */
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { margin: 0 0 1.2em; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
}

/* Final CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 92, 255, 0.42);
  background:
    radial-gradient(80% 130% at 12% 0%, rgba(124, 92, 255, 0.34), transparent 62%),
    radial-gradient(70% 130% at 92% 100%, rgba(63, 224, 208, 0.20), transparent 60%),
    var(--ink-2);
  padding: clamp(32px, 5vw, 62px);
  text-align: center;
  color: #EBEEF9;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { margin-inline: auto; color: #BFC7E4; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.34); }

/* 9. PROCESS TRACK (signature module) -------------------------------------- */
.track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  position: relative;
}
.track::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 21px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet-deep), var(--violet) 40%, var(--cyan));
  opacity: 0.5;
}
.step { position: relative; padding-top: 0; }
.step .node {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(140deg, var(--violet-deep), var(--violet));
  border: 3px solid var(--ink);
  margin-bottom: 18px;
  box-shadow: 0 10px 24px -12px rgba(124, 92, 255, 0.95);
}
.band--light .step .node { border-color: var(--paper); }
.band--mist .step .node { border-color: var(--mist); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* 10. PORTFOLIO ------------------------------------------------------------ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.filter-btn {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}
.filter-btn:hover { color: var(--heading); border-color: var(--line-strong); }
.filter-btn[aria-pressed="true"] {
  background: linear-gradient(120deg, var(--violet-deep), var(--violet));
  border-color: transparent;
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.work {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}
a.work:hover .work-thumb img { transform: scale(1.045); }
.work-cat {
  position: absolute;
  left: 14px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.78);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.work-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.work-body p { font-size: 0.94rem; color: var(--text-muted); }
.work[hidden] { display: none; }

.filter-empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  color: var(--text-muted);
}

/* Case study layout */
.cs-hero-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-2);
}
.cs-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 26px;
}
.cs-meta > div { background: var(--surface); padding: 20px 22px; }
.band--light .cs-meta > div { background: var(--paper); }
.cs-meta dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.cs-meta dd { margin: 0; font-weight: 650; color: var(--heading); font-size: 0.98rem; }

/* 11. FAQ ------------------------------------------------------------------ */
.faq { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--fast) var(--ease);
}
.faq-item.is-open { border-color: rgba(124, 92, 255, 0.5); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 22px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.01rem;
  color: var(--heading);
  min-height: 56px;
}
.faq-q .chev {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--violet-soft);
  transition: transform var(--slow) var(--ease), background var(--fast) var(--ease);
}
.band--light .faq-q .chev { color: var(--violet-deep); }
.faq-item.is-open .faq-q .chev {
  transform: rotate(180deg);
  background: rgba(124, 92, 255, 0.16);
}
.faq-a { display: none; padding: 0 22px 22px; color: var(--text-muted); }
.faq-item.is-open .faq-a { display: block; animation: fade-up 300ms var(--ease); }

/* 12. FORMS ---------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--heading);
  letter-spacing: -0.005em;
}
.field .req { color: var(--violet-soft); }
.band--light .field .req { color: var(--violet-deep); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  min-height: 50px;
  color: var(--text);
  font-size: 0.98rem;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
              background var(--fast) var(--ease);
}
.band--light .field input,
.band--light .field select,
.band--light .field textarea { background: var(--paper); }
.field textarea { min-height: 138px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5l6-6' fill='none' stroke='%23A78BFA' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.20);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #FF6B81; box-shadow: 0 0 0 4px rgba(255, 107, 129, 0.15); }

.error-msg {
  display: none;
  color: #FF8DA0;
  font-size: 0.84rem;
  font-weight: 600;
}
.band--light .error-msg { color: #D6224A; }
.field.has-error .error-msg { display: block; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin-top: 2px;
  flex: none;
  accent-color: var(--violet);
  cursor: pointer;
}
.consent label { font-weight: 500; font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; }

.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: 1px solid rgba(63, 224, 208, 0.42);
  background: rgba(63, 224, 208, 0.10);
  color: var(--heading);
  font-size: 0.95rem;
}
.form-status.is-visible { display: block; animation: fade-up 320ms var(--ease); }
.form-status p { margin-bottom: 10px; }
.form-status .status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: block; animation: spin 800ms linear infinite; }
.btn.is-loading .btn-label { opacity: 0.85; }

@keyframes spin { to { transform: rotate(360deg); } }

/* 13. FOOTER --------------------------------------------------------------- */
.site-footer {
  background: #080C18;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: clamp(46px, 5vw, 72px) 26px;
  color: #A2ABCB;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 4vw, 52px);
}
.site-footer h3 {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 500;
}
.site-footer .footer-links { display: grid; gap: 11px; }
.site-footer .footer-links a { color: #A2ABCB; font-size: 0.94rem; }
.site-footer .footer-links a:hover { color: var(--cyan); }
.footer-about p { font-size: 0.95rem; max-width: 42ch; }
.footer-about .logo { margin-bottom: 16px; }

.social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.03);
  color: #C7CEE6;
  transition: all var(--fast) var(--ease);
}
.social a:hover {
  color: #fff;
  border-color: var(--violet);
  background: rgba(124, 92, 255, 0.18);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.87rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: #A2ABCB; }
.footer-bottom a:hover { color: var(--cyan); }

/* 14. FLOATING UI ---------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 16px 34px -14px rgba(37, 211, 102, 0.85);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #0B1020;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 9px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.wa-float:hover::after,
.wa-float:focus-visible::after { opacity: 1; transform: translateY(-50%) translateX(0); }

.to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 79;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(16, 23, 51, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease), visibility var(--slow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--violet); background: rgba(124, 92, 255, 0.28); }

/* 15. MOTION --------------------------------------------------------------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* Hero chart: the line draws itself once on load, the endpoint keeps breathing */
.hero-visual .spark {
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  animation: draw-line 1700ms var(--ease) 250ms forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

.hero-visual .pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: dot-pulse 2.8s var(--ease) infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

.hero-line { animation: fade-up 700ms var(--ease) both; }
.hero-line:nth-child(2) { animation-delay: 80ms; }
.hero-line:nth-child(3) { animation-delay: 160ms; }
.hero-line:nth-child(4) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 16. UTILITIES ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 40px; }
.mb-m { margin-bottom: 26px; }
.stack { display: grid; gap: 22px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* 17. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .track::before { display: none; }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 540px; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: -1; }

  /* Mobile navigation */
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: block;
    background: rgba(9, 13, 27, 0.985);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px var(--gutter) 28px;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease), visibility var(--slow);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    display: block;
    padding: 15px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 1.05rem;
    font-weight: 650;
  }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"] { color: var(--violet-soft); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn {
    margin-top: 20px;
    display: flex;
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .cs-meta { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .profile-card { left: 10px; bottom: -16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-float::after { display: none; }
  .to-top { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 1600px) {
  :root { --wrap: 1280px; }
  body { font-size: 18px; }
}

@media print {
  .site-header, .site-footer, .wa-float, .to-top, .btn-row { display: none !important; }
  body { background: #fff; color: #000; }
}
