/* =====================================================================
   Adtomate Solutions — brand stylesheet
   Palette: deep navy + electric blue on a light, premium base.
   Type: Sora (display) · Manrope (body) · JetBrains Mono (technical)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:        #F2F5FC;
  --bg-2:      #FFFFFF;
  --bg-tint:   #E9F0FB;

  /* navy / ink */
  --navy:      #0C1830;
  --navy-2:    #15264A;
  --ink:       #0F1C34;
  --ink-2:     #42526E;
  --ink-3:     #74839B;

  /* brand blue (from the logo gradient) */
  --blue:        #2563EB;
  --blue-deep:   #1A44B8;
  --blue-bright: #4C8CFF;
  --accent:      #2563EB;          /* referenced by hero SVG */
  --accent-soft: rgba(37,99,235,.12);

  /* lines */
  --line:   rgba(15,28,52,.10);
  --line-2: rgba(15,28,52,.06);

  /* shadows (navy-tinted) */
  --shadow-sm: 0 1px 2px rgba(12,24,48,.06), 0 2px 8px rgba(12,24,48,.05);
  --shadow:    0 8px 30px rgba(12,24,48,.09);
  --shadow-lg: 0 24px 60px rgba(12,24,48,.16);
  --glow:      0 10px 40px rgba(37,99,235,.30);

  /* type */
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --radius-lg: 26px;
  --nav-h: 74px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { left: 12px; }

/* ---------- Atmospheric background ---------- */
.bg-layer { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% -10%, #000 0%, transparent 65%);
          mask-image: radial-gradient(120% 90% at 50% -10%, #000 0%, transparent 65%);
}
.bg-aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.aurora-1 { width: 60vw; height: 60vw; top: -22vw; right: -12vw;
  background: radial-gradient(circle at 30% 30%, rgba(76,140,255,.45), transparent 60%); }
.aurora-2 { width: 46vw; height: 46vw; top: 30vw; left: -16vw;
  background: radial-gradient(circle at 50% 50%, rgba(37,99,235,.28), transparent 62%); opacity: .4; }
.bg-noise {
  position: absolute; inset: 0; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }
.section--alt { background: linear-gradient(180deg, rgba(233,240,251,.6), rgba(233,240,251,0)); }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 68px); }
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.15rem); line-height: 1.05; letter-spacing: -.02em;
  color: var(--ink);
}
.section__sub { margin-top: 18px; color: var(--ink-2); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 60ch; }

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep);
  margin-bottom: 20px;
}
.eyebrow__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 3px rgba(37,99,235,.20);} 50%{ box-shadow: 0 0 0 7px rgba(37,99,235,0);} }

.grad {
  background: linear-gradient(100deg, var(--blue-deep) 0%, var(--blue) 45%, var(--blue-bright) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: var(--bh) 20px; border-radius: 12px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .2s, border-color .2s;
  white-space: nowrap; position: relative; will-change: transform;
}
.btn svg { transition: transform .25s ease; }
.btn--sm { --bh: 9px; font-size: .875rem; padding-inline: 15px; }
.btn--lg { --bh: 15px; font-size: 1rem; padding-inline: 26px; }

.btn--primary {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue) 60%, var(--blue-bright));
  color: #fff; box-shadow: var(--shadow-sm);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: rgba(255,255,255,.6); color: var(--ink);
  border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); background: #fff; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(255,255,255,.78); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 var(--line-2), var(--shadow-sm); border-bottom-color: var(--line-2); }
.nav__inner { display: flex; align-items: center; gap: 24px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display);
  font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(37,99,235,.22)); }
.brand__dot { color: var(--blue); }
.brand--light { color: #EAF1FF; }

.nav__links { display: flex; gap: 4px; margin-left: 14px; margin-right: auto; }
.nav__links a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .93rem;
  color: var(--ink-2); position: relative; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: var(--accent-soft); }
.nav__links a.active { color: var(--blue-deep); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.7); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px; padding: 16px var(--gutter) 24px; box-shadow: var(--shadow); }
.mobile-menu a { padding: 13px 12px; border-radius: 12px; font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.mobile-menu a:hover { background: var(--accent-soft); }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 96px)); padding-bottom: clamp(50px, 8vw, 96px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero__title { font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.35rem); line-height: 1.02; letter-spacing: -.03em; color: var(--ink); }
.hero__lead { margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 46ch; }
.hero__lead strong { color: var(--ink); font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero__chips li { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line);
  color: var(--ink-2); }

/* hero orchestrator visual */
.hero__visual { position: relative; }
.orchestrator {
  background: linear-gradient(180deg, #fff, #f6f9ff);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.orchestrator::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 70% 0%, rgba(76,140,255,.16), transparent 60%); pointer-events: none; }
.orchestrator__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.dot--live { background: #16b364; box-shadow: 0 0 0 4px rgba(22,179,100,.18); animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0%,100%{ box-shadow: 0 0 0 3px rgba(22,179,100,.22);} 50%{ box-shadow: 0 0 0 7px rgba(22,179,100,0);} }
.orchestrator__title { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-2); }
.orchestrator__status { margin-left: auto; font-family: var(--font-mono); font-size: .72rem; color: #16b364;
  background: rgba(22,179,100,.1); padding: 3px 9px; border-radius: 999px; }

.graph { width: 100%; height: auto; padding: 10px 8px 0; }
.graph .edge { fill: none; stroke: url(#edge); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 6 8; animation: flow 2.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -56; } }
.graph .node circle { fill: #fff; stroke: var(--blue); stroke-width: 2; transition: .3s;
  filter: drop-shadow(0 4px 10px rgba(37,99,235,.18)); }
.graph .node--root circle { fill: var(--blue); stroke: var(--blue-deep); }
.graph .node--leaf circle { fill: #fff; stroke: var(--blue-deep); }
.graph .node text { font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  fill: var(--ink); text-anchor: middle; }
.graph .node--root text { fill: #fff; }
.graph .node { animation: bob 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.graph .node { animation-delay: calc(var(--n) * .5s); }
@keyframes bob { 0%,100%{ opacity: .82; } 50%{ opacity: 1; } }

.orchestrator__log { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 14px 18px 18px;
  border-top: 1px solid var(--line-2); font-size: .74rem; color: var(--ink-3); }
.orchestrator__log .mono { background: var(--bg-tint); padding: 3px 8px; border-radius: 7px; }
.orchestrator__log .accent { color: #fff; background: var(--blue); }

.hero__badge { position: absolute; left: -14px; bottom: -22px;
  background: var(--navy); color: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); display: grid; gap: 2px; }
.hero__badge .mono { font-size: 1.25rem; font-weight: 600; color: var(--blue-bright); }
.hero__badge small { font-size: .68rem; color: #aab7cf; letter-spacing: .02em; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(255,255,255,.5); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; align-items: center; gap: 26px; width: max-content;
  animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-2); white-space: nowrap; }
.marquee .sep { color: var(--blue); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}
.card::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,.35); }
.card:hover::after { transform: scaleX(1); }

.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--blue-deep); }
.card__icon svg { width: 24px; height: 24px; }
.card__num { font-size: .8rem; color: var(--ink-3); }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 16px; }
.card__list { display: grid; gap: 9px; }
.card__list li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: .92rem; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--blue); transform: rotate(45deg); opacity: .8; }

/* feature card (Agentic AI & MCP) — dark navy highlight */
.card--feature { background: linear-gradient(160deg, var(--navy), #0a1428); border-color: transparent; color: #dbe4f5; }
.card--feature .card__title { color: #fff; }
.card--feature .card__icon { background: rgba(76,140,255,.16); color: var(--blue-bright); }
.card--feature .card__num { color: #6c7ea0; }
.card--feature .card__list li { color: #b9c5db; }
.card--feature .card__list li::before { background: var(--blue-bright); opacity: 1; }
.card--feature::after { display: none; }
.card__tag { position: absolute; top: 20px; right: 20px; display: none; }
.card--feature .card__tag { display: inline-block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--blue-bright); padding: 4px 10px; border-radius: 999px; top: auto; bottom: 24px; right: 24px; }

/* CTA card */
.card--cta { background: linear-gradient(140deg, var(--blue-deep), var(--blue) 70%, var(--blue-bright));
  color: #fff; border: none; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.card--cta::after { display: none; }
.card--cta .card__title { color: #fff; font-size: 1.5rem; }
.card--cta p { color: rgba(255,255,255,.9); font-size: .96rem; }
.card--cta .btn--primary { background: #fff; color: var(--blue-deep); align-self: flex-start; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.card--cta .btn--primary:hover { box-shadow: 0 12px 30px rgba(0,0,0,.28); }

/* ---------- Tech stack ---------- */
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stack__group { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.stack__group:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stack__label { display: flex; align-items: center; gap: 10px; font-family: var(--font-display);
  font-weight: 700; font-size: 1.02rem; margin-bottom: 18px; }
.stack__label .mono { font-size: .78rem; color: var(--blue); background: var(--accent-soft); padding: 3px 8px; border-radius: 7px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: .84rem; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  background: var(--bg-tint); border: 1px solid var(--line-2); color: var(--ink-2); transition: .2s; }
.tags span:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,.3); }
.product__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--blue-deep); margin-bottom: 18px; }
.product__icon svg { width: 26px; height: 26px; }
.product__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: 10px; }
.product__desc { color: var(--ink-2); font-size: .94rem; }
.product--more { border-style: dashed; background: transparent; box-shadow: none; }
.product--more .product__icon { background: transparent; border: 1.5px dashed var(--line); }

/* flagship */
.product--flagship { grid-column: span 3; padding: 0; border: none; background: linear-gradient(150deg, var(--navy), #0a1730 65%); color: #e6edf9; overflow: hidden; }
.product--flagship .product__glow { position: absolute; width: 46%; height: 160%; right: -6%; top: -30%;
  background: radial-gradient(circle, rgba(76,140,255,.4), transparent 60%); filter: blur(30px); pointer-events: none; }
.product__body { position: relative; padding: clamp(28px, 4vw, 44px); max-width: 760px; }
.product__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product--flagship .product__name { font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: #fff; margin: 0; }
.product__pill { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--blue-bright); padding: 5px 12px; border-radius: 999px; }
.product--flagship .product__desc { color: #bfcbe2; font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 60ch; }
.product__feats { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.product__feats li { font-size: .84rem; font-family: var(--font-mono); color: #cdd8ec;
  padding: 7px 13px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.product__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.product__by { font-size: .82rem; color: #8a99b8; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why__item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; position: relative; }
.why__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why__num { font-size: .95rem; color: var(--blue); font-weight: 600; }
.why__item h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; margin: 14px 0 10px; }
.why__item p { color: var(--ink-2); font-size: .96rem; }

/* ---------- Approach ---------- */
.approach { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; position: relative;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.approach__step { display: flex; flex-direction: column; gap: 12px; padding: 30px 22px; position: relative;
  border-right: 1px solid var(--line-2); transition: background .3s; }
.approach__step:last-child { border-right: none; }
.approach__step:hover { background: var(--bg-tint); }
.approach__i { font-size: .8rem; color: var(--ink-3); }
.approach__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.approach__step::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%);
  color: var(--blue); font-weight: 700; background: var(--bg-2); padding: 2px; z-index: 2; }
.approach__step:last-child::after { display: none; }
.approach__step--accent { background: linear-gradient(160deg, var(--blue-deep), var(--blue)); }
.approach__step--accent .approach__i { color: rgba(255,255,255,.7); }
.approach__step--accent .approach__name { color: #fff; }
.approach__step--accent:hover { background: linear-gradient(160deg, var(--blue-deep), var(--blue)); }

/* ---------- CTA + Contact ---------- */
.contact { padding-top: clamp(40px, 6vw, 72px); }
.cta { position: relative; overflow: hidden; text-align: center; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy), #0a1526 70%); color: #e6edf9;
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 60px); margin-bottom: clamp(40px, 6vw, 64px); box-shadow: var(--shadow-lg); }
.cta__glow { position: absolute; width: 70%; height: 200%; left: 50%; top: -60%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(76,140,255,.34), transparent 62%); filter: blur(30px); pointer-events: none; }
.cta .eyebrow { color: var(--blue-bright); justify-content: center; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.04; letter-spacing: -.02em; color: #fff; position: relative; }
.cta__sub { position: relative; margin: 20px auto 0; max-width: 66ch; color: #bfcbe2; font-size: clamp(1rem, 1.5vw, 1.15rem); }

.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact__logo { width: min(320px, 80%); height: auto; margin-bottom: 22px; }
.contact__co { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 24px; letter-spacing: -.01em; }
.contact__row { display: flex; gap: 15px; align-items: flex-start; padding: 15px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 12px; transition: transform .25s, box-shadow .25s, border-color .25s; box-shadow: var(--shadow-sm); }
.contact__row:hover { transform: translateX(4px); border-color: rgba(37,99,235,.35); box-shadow: var(--shadow); }
.contact__ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--blue-deep); }
.contact__ico svg { width: 22px; height: 22px; }
.contact__row span:last-child { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.45; }
.contact__row small { display: block; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--ink-3); font-weight: 500; margin-bottom: 3px; }

/* form */
.contact__form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.contact__form .btn { width: 100%; margin-top: 4px; }
.contact__note { min-height: 1.2em; font-size: .88rem; color: var(--blue-deep); font-weight: 600; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aebbd4; margin-top: clamp(60px, 8vw, 100px);
  padding: clamp(48px, 6vw, 76px) 0 30px; position: relative; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76,140,255,.5), transparent); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: clamp(32px, 5vw, 64px); padding-bottom: 44px; }
.footer__tag { margin-top: 18px; max-width: 42ch; color: #8a99b8; font-size: .94rem; }
.footer .brand__mark { width: 32px; height: 32px; filter: none; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__nav h4 { font-family: var(--font-display); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em;
  color: #fff; margin-bottom: 16px; }
.footer__nav a, .footer__addr { display: block; color: #9fb0cc; font-size: .92rem; padding: 5px 0; transition: color .2s; }
.footer__nav a:hover { color: var(--blue-bright); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; color: #7d8dab; }
.footer__sig { color: var(--blue-bright); font-size: .8rem; }

/* ---------- GTM: hero stats + card leads ---------- */
.hero__stats { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 30px; }
.hero__stats li { display: flex; flex-direction: column; position: relative; padding-left: 16px; }
.hero__stats li::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: linear-gradient(var(--blue-deep), var(--blue-bright)); }
.hero__stats b { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.hero__stats span { font-size: .78rem; color: var(--ink-3); margin-top: 5px; }

.card__lead { color: var(--ink-2); font-weight: 500; font-size: .95rem; margin: -4px 0 16px; }
.card--feature .card__lead { color: #c8d3e9; }

/* ---------- GTM: product metrics ---------- */
.product__metrics { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 6px 0 26px; }
.product__metrics > div { display: flex; flex-direction: column; }
.product__metrics b { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: #fff; line-height: 1; letter-spacing: -.02em; }
.product__metrics span { font-size: .76rem; color: #9fb0cc; margin-top: 6px; }
.product__stat { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line-2); font-size: .84rem; color: var(--ink-2); font-weight: 600; }
.product__stat .mono { color: var(--blue-deep); }

/* ---------- Benchmarks / results ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.metric { position: relative; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.metric:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.metric::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--blue-deep), var(--blue-bright)); }
.metric__val { display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  background: linear-gradient(120deg, var(--blue-deep), var(--blue-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric__label { display: block; margin-top: 12px; color: var(--ink-2); font-size: .9rem; }

.perf { position: relative; overflow: hidden; color: #dce4f4; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy), #0a1730 70%); padding: clamp(26px, 4vw, 46px); box-shadow: var(--shadow-lg); margin-bottom: 26px; }
.perf__glow { position: absolute; width: 52%; height: 180%; right: -8%; top: -40%;
  background: radial-gradient(circle, rgba(76,140,255,.32), transparent 60%); filter: blur(30px); pointer-events: none; }
.perf__head { position: relative; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.perf__eyebrow { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-bright); }
.perf__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.65rem); color: #fff; margin-top: 8px; letter-spacing: -.01em; }
.perf__cta { position: relative; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #eaf1ff; }
.perf__cta:hover { background: #fff; color: var(--navy); border-color: #fff; }
.bars { position: relative; display: grid; gap: 20px; list-style: none; }
.bar__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 9px; font-size: .92rem; color: #c3cee4; }
.bar__top b { font-family: var(--font-display); color: #fff; font-size: 1.02rem; white-space: nowrap; }
.bar__track { height: 9px; border-radius: 999px; background: rgba(255,255,255,.09); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright)); box-shadow: 0 0 16px rgba(76,140,255,.5);
  transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.perf.in .bar__fill { width: var(--w); }
.perf.in .bar:nth-child(2) .bar__fill { transition-delay: .1s; }
.perf.in .bar:nth-child(3) .bar__fill { transition-delay: .2s; }
.perf.in .bar:nth-child(4) .bar__fill { transition-delay: .3s; }
.perf__note { position: relative; margin-top: 22px; font-size: .78rem; color: #8595b4; }

.integrations { text-align: center; }
.integrations__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.integrations__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.integrations__list li { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink-2);
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.6); transition: .2s; }
.integrations__list li:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); background: #fff; }

/* ---------- Simple landing: hero checks ---------- */
.checks { display: grid; gap: 13px; margin: 26px 0 4px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: 1.02rem; }
.checks svg { flex: none; margin-top: 1px; color: var(--blue); }

/* ---------- Booking / lead form ---------- */
.leadform { position: relative; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 32px); }
.leadform::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright)); }
.leadform__head { margin-bottom: 18px; }
.leadform__title { font-family: var(--font-display); font-weight: 800; font-size: 1.42rem; letter-spacing: -.02em; color: var(--ink); }
.leadform__sub { color: var(--ink-2); font-size: .92rem; margin-top: 6px; }
.leadform form, .leadform__success { display: grid; gap: 14px; }
.leadform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt { color: var(--ink-3); font-weight: 400; text-transform: none; letter-spacing: 0; }
.leadform .btn { width: 100%; }
.leadform__note { font-size: .78rem; color: var(--ink-3); text-align: center; margin: 2px 0 0; }
.leadform__note a { color: var(--blue-deep); font-weight: 600; }

.leadform__success { text-align: center; place-items: center; padding: 10px 0 6px; }
.leadform__check { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent-soft); color: var(--blue-deep); }
.leadform__success .btn { width: 100%; }

/* ---------- Simple service cards ---------- */
.simple-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scard { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(37,99,235,.3); }
.scard__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--blue-deep); margin-bottom: 16px; }
.scard__icon svg { width: 24px; height: 24px; }
.scard h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; margin-bottom: 8px; }
.scard p { color: var(--ink-2); font-size: .92rem; }

/* ---------- Simple products ---------- */
.prod-simple { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: stretch; }
.prod-hero { position: relative; overflow: hidden; display: block; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy), #0a1730 70%); color: #e6edf9; padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow-lg); transition: transform .3s, box-shadow .3s; }
.prod-hero:hover { transform: translateY(-4px); box-shadow: 0 28px 64px rgba(12,24,48,.28); }
.prod-hero h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prod-hero__pill { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--blue-bright); padding: 5px 11px; border-radius: 999px; }
.prod-hero p { color: #bfcbe2; margin: 14px 0 20px; max-width: 46ch; }
.prod-hero__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--blue-bright); }
.prod-list { display: grid; gap: 14px; align-content: center; }
.prod-list li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.prod-list li:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.prod-list b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin-bottom: 3px; }
.prod-list span { color: var(--ink-2); font-size: .9rem; }

/* ---------- WhatsApp button + CTA buttons ---------- */
.btn--wa { background: #25D366; color: #06341c; }
.btn--wa:hover { background: #1fbe5a; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,.4); }
.cta-wrap { padding-bottom: clamp(50px, 8vw, 96px); }
.cta__btns { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

/* ---------- Footer contact ---------- */
.footer__contact h4 { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer__contact a, .footer__addr { display: block; color: #9fb0cc; font-size: .92rem; padding: 4px 0; transition: color .2s; }
.footer__contact a:hover { color: var(--blue-bright); }
.footer__addr { margin-top: 10px; line-height: 1.5; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .07s; }
.reveal[data-delay="2"]{ transition-delay: .14s; }
.reveal[data-delay="3"]{ transition-delay: .21s; }
.reveal[data-delay="4"]{ transition-delay: .28s; }
/* grid stagger */
.cards .reveal:nth-child(2){ transition-delay:.06s; } .cards .reveal:nth-child(3){ transition-delay:.12s; }
.cards .reveal:nth-child(4){ transition-delay:.06s; } .cards .reveal:nth-child(5){ transition-delay:.12s; } .cards .reveal:nth-child(6){ transition-delay:.18s; }
.stack .reveal:nth-child(2){ transition-delay:.06s; } .stack .reveal:nth-child(3){ transition-delay:.12s; }
.stack .reveal:nth-child(5){ transition-delay:.06s; } .stack .reveal:nth-child(6){ transition-delay:.12s; }
.why .reveal:nth-child(2){ transition-delay:.08s; } .why .reveal:nth-child(4){ transition-delay:.08s; }
.products .reveal:nth-child(3){ transition-delay:.08s; } .products .reveal:nth-child(4){ transition-delay:.16s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-top: 8px; }
  .simple-cards { grid-template-columns: repeat(2, 1fr); }
  .prod-simple { grid-template-columns: 1fr; }
  .cards, .stack, .products { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .product--flagship { grid-column: span 2; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .approach { grid-auto-flow: row; grid-auto-columns: auto; }
  .approach__step { border-right: none; border-bottom: 1px solid var(--line-2); flex-direction: row; align-items: center; gap: 16px; }
  .approach__step:last-child { border-bottom: none; }
  .approach__step::after { content: "↓"; right: 50%; top: auto; bottom: -9px; transform: translateX(50%); }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: flex; margin-left: auto; }
  .simple-cards { grid-template-columns: 1fr; }
  .leadform__row { grid-template-columns: 1fr; }
  .cards, .stack, .products, .why { grid-template-columns: 1fr; }
  .product--flagship { grid-column: span 1; }
  .hero__badge { position: static; margin-top: 16px; display: inline-flex; gap: 10px; align-items: baseline; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
