/* ============================================================
   DBA24 — styles (light, professional)
   ============================================================ */

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

:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f8fc;
  --surface:   #ffffff;
  --surface-2: #f1f5fb;
  --border:        #e4e9f2;
  --border-strong: #cfd8e8;

  --text:    #0f1b33;
  --muted:   #4a5a76;
  --muted-2: #5b6b86;

  --accent:      #1f6feb;   /* fills, buttons, borders */
  --accent-strong:#1657c8;  /* hover */
  --accent-ink:  #1856c4;   /* accent-coloured text on light */
  --accent-soft: #eaf1fe;   /* tint backgrounds */
  --accent-soft-border: #d4e2fb;
  --ok:      #16a34a;
  --amber:   #b45309;
  --red:     #dc2626;

  --grad: linear-gradient(135deg, #1f6feb 0%, #0d9488 100%);
  --grad-soft: linear-gradient(135deg, #eaf1fe, #e6f6f3);

  --radius:   14px;
  --radius-lg:22px;
  --shadow:    0 12px 30px -14px rgba(15,27,51,.16);
  --shadow-lg: 0 30px 60px -28px rgba(15,27,51,.22);

  --maxw: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* ---------- Accessibility: skip link + focus ---------- */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--text);
  padding: .65rem 1.1rem; border-radius: 10px; border: 1px solid var(--border-strong);
  font-weight: 600; transition: top .2s ease; box-shadow: var(--shadow);
}
.skip-link:focus { top: 8px; outline: 2px solid var(--accent); outline-offset: 2px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .nav__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.14; letter-spacing: -.02em; font-weight: 600; color: var(--text); }

.grad-text { color: var(--accent-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-weight: 600; font-size: .98rem;
  padding: .72rem 1.3rem; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 20px -10px rgba(31,111,235,.6);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--accent-strong); box-shadow: 0 12px 26px -10px rgba(31,111,235,.55); }
.btn--ghost {
  background: var(--surface); color: var(--text); border-color: var(--border-strong);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.btn--lg { padding: .92rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(15,27,51,.4);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__mark { width: 38px; height: 38px; display: block; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: .02em; color: var(--text); }
.brand__sub { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { font-size: .95rem; color: var(--muted); font-weight: 500; position: relative; padding: .3rem 0; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease; border-radius: 2px;
}
.nav__links a:hover, .nav__links a:focus-visible, .nav__links a.active { color: var(--text); }
.nav__links a:hover::after, .nav__links a:focus-visible::after, .nav__links a.active::after { width: 100%; }
.nav__cta { margin-left: .5rem; }

.lang-switch { order: 3; display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; }
.lang-switch a { display: inline-flex; align-items: center; gap: .35rem; padding: .26rem .55rem; border-radius: 999px; color: var(--muted); font-size: .8rem; font-weight: 600; line-height: 1; transition: color .2s, background .2s, box-shadow .2s; }
.lang-switch a.active { color: var(--text); background: #fff; box-shadow: 0 1px 2px rgba(15,27,51,.12); }
.lang-switch a:hover:not(.active) { color: var(--accent-ink); }
.lang-flag { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(15,27,51,.1); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 49;
  background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .25rem; padding: 1rem 24px 1.6rem;
  transform: translateY(-130%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a { padding: .85rem .4rem; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { margin-top: .8rem; color: #fff; border: 0; }
.mobile-menu__lang { display: flex; gap: .5rem; padding: .85rem .4rem .2rem; }
.mobile-menu__lang a { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--muted); font-weight: 600; }
.mobile-menu__lang a.active { color: var(--accent-ink); background: var(--accent-soft); border-color: var(--accent-soft-border); }
.mobile-menu__lang .lang-flag { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden;
  background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 58%); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(86px); opacity: 1; }
.blob--1 { width: 640px; height: 640px; top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(31,111,235,.18), transparent 62%); animation: float1 16s ease-in-out infinite; }
.blob--2 { width: 560px; height: 560px; bottom: -260px; left: -180px;
  background: radial-gradient(circle, rgba(13,148,136,.15), transparent 62%); animation: float2 20s ease-in-out infinite; }
@keyframes float1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-40px,40px) scale(1.08);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(40px,-30px) scale(1.1);} }
/* premium soft dot texture (replaces the flat line grid) */
.grid-overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(31,111,235,.16) 1px, transparent 1.6px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 75% 60% at 70% 35%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 70% 35%, #000 0%, transparent 70%);
  opacity: .6;
}

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero__inner > * { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-ink); background: var(--accent-soft);
  border: 1px solid var(--accent-soft-border); padding: .4rem .9rem; border-radius: 999px;
  margin-bottom: 1.4rem;
}
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; }
.dot-pulse::after { content:""; position:absolute; inset:0; border-radius:50%; background: var(--accent); animation: ping 1.8s ease-out infinite; }
.dot-pulse--green, .dot-pulse--green::after { background: var(--ok); }
@keyframes ping { 0%{ transform: scale(1); opacity:.6;} 100%{ transform: scale(3.4); opacity:0;} }

.hero__title { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; margin-bottom: 1.3rem; }
.hero__lead { font-size: 1.13rem; color: var(--muted); max-width: 36em; margin-bottom: 2rem; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }

.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 1.8rem; }
.hero__stats li { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--accent-ink); }
.stat__label { font-size: .82rem; color: var(--muted-2); margin-top: 2px; }

/* ---------- Hero technology orbit ---------- */
.hero__visual { min-width: 0; }
.arch-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.6rem;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

.orbit { position: relative; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 1 / 1; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: var(--border-strong); stroke-width: .5; stroke-dasharray: 1.6 2.6; opacity: .85; transform-origin: 50px 50px; }
.orbit-ring--1 { animation: spin 60s linear infinite; }
.orbit-ring--2 { animation: spin 95s linear infinite reverse; }
.orbit-line { fill: none; stroke: var(--accent); stroke-width: .5; stroke-dasharray: 1.5 3; opacity: .45; animation: dashflow 1.6s linear infinite; }
.orbit-sat { transform-origin: 50px 50px; }
.orbit-sat--1 { animation: spin 16s linear infinite; }
.orbit-sat--2 { animation: spin 24s linear infinite reverse; }
.orbit-sat circle { fill: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dashflow { to { stroke-dashoffset: -9; } }

.orbit__core { position: absolute; top: 50%; left: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%,-50%);
  border-radius: 50%; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  display: grid; place-content: center; justify-items: center; gap: 1px; text-align: center; z-index: 3; }
.orbit__core svg { width: 28px; height: 28px; color: var(--accent); }
.orbit__core b { font-size: .72rem; font-weight: 700; color: var(--text); }
.orbit__core::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--accent-soft-border); animation: halo 2.8s ease-out infinite; }
@keyframes halo { 0%{ transform: scale(1); opacity: .6;} 100%{ transform: scale(1.22); opacity: 0;} }

.orbit__node { position: absolute; width: 21%; aspect-ratio: 1; border-radius: 50%; background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2;
  animation: bob 5s ease-in-out infinite; }
.orbit__node img { width: 56%; height: 56%; object-fit: contain; }
.orbit__node--aws b { font-family: var(--font-display); font-weight: 700; font-size: clamp(.8rem, 2.4vw, 1rem); color: #232f3e; letter-spacing: -.02em; }
.orbit__node--n2 { animation-delay: -1s; }
.orbit__node--n3 { animation-delay: -2s; }
.orbit__node--n4 { animation-delay: -3s; }
.orbit__node--n5 { animation-delay: -4s; }
@keyframes bob { 0%,100%{ transform: translate(-50%,-50%);} 50%{ transform: translate(-50%,-58%);} }

/* ---------- Tech / brand strip ---------- */
.techstrip { padding: 2.4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.techstrip__label { text-align: center; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.4rem; }
.techstrip__logos { display: flex; justify-content: center; align-items: center; gap: clamp(2rem, 7vw, 5rem); flex-wrap: wrap; }
.techstrip__logos img { height: 44px; width: auto; transition: filter .3s, transform .3s; }
@media (hover: hover) {
  .techstrip__logos img { filter: grayscale(1) opacity(.65); }
  .techstrip__logos img:hover { filter: grayscale(0) opacity(1); transform: translateY(-4px) scale(1.05); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .9rem; }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.section__sub { color: var(--muted); font-size: 1.08rem; }
.section__sub strong { color: var(--text); }

/* ---------- Tech grid ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.tech-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.tech-card::before { content:""; position:absolute; inset:0 0 auto 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.tech-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.tech-card:hover::before { transform: scaleX(1); }
.tech-card__logo { width: 52px; height: 52px; margin-bottom: 1rem; }
.tech-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.tech-card p { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.tech-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tech-card__tags li { font-size: .7rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); padding: .22rem .6rem; border-radius: 999px; }

/* ---------- Service grid (also: AWS, monitoring, audit, migration cards) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.service-grid--3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.35rem; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.service-card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-soft-border); color: var(--accent); margin-bottom: 1.1rem;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.08rem; margin-bottom: .55rem; }
.service-card p { font-size: .9rem; color: var(--muted); }
.service-card__meta { display: inline-block; margin-top: .7rem; font-size: .74rem; font-weight: 600; color: var(--accent-ink); letter-spacing: .02em; }

/* ---------- Split (intro + cards) for AWS / audit / migration ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split__copy .section__title { text-align: left; }
.split__copy p { color: var(--muted); margin-bottom: 1rem; }
.split__copy strong { color: var(--text); }

/* ---------- Checklist (audit dimensions, migration steps) ---------- */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; margin-top: .4rem; }
.checklist li { font-size: .94rem; color: var(--muted); display: flex; align-items: flex-start; gap: .6rem; }
.checklist strong { color: var(--text); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem 1.7rem; display: flex; flex-direction: column; position: relative; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.price-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface));
  box-shadow: 0 24px 50px -30px rgba(31,111,235,.4);
}
.price-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .35rem .9rem; border-radius: 999px; white-space: nowrap;
}
.price-card__head h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.price-card__head p { font-size: .88rem; color: var(--muted); min-height: 2.6em; }
.price-card__price { margin: 1.4rem 0 1.5rem; display: flex; flex-direction: column; }
.price-card__price .from { font-size: .78rem; color: var(--muted-2); }
.price-card__price .amount { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; margin: .15rem 0; color: var(--text); }
.price-card__price .amount--text { font-size: 1.5rem; }
.price-card__price .per { font-size: .85rem; color: var(--muted); }
.price-card__features { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.price-card__features li { font-size: .9rem; color: var(--muted); padding-left: 1.7rem; position: relative; }
.price-card__features li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px;
  background: var(--accent); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hourly {
  margin-top: 1.3rem; display: flex; align-items: center; gap: 1.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem; flex-wrap: wrap; box-shadow: var(--shadow);
}
.hourly__icon { width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-soft-border); color: var(--accent); }
.hourly__icon svg { width: 28px; height: 28px; }
.hourly__text { flex: 1; min-width: 260px; }
.hourly__text h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.hourly__text p { font-size: .92rem; color: var(--muted); }
.hourly__price { text-align: right; display: flex; flex-direction: column; }
.hourly__price .from { font-size: .78rem; color: var(--muted-2); }
.hourly__price .amount { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--text); }
.hourly__price .per { font-size: .85rem; color: var(--muted); }

.pricing__note { text-align: center; color: var(--muted-2); font-size: .85rem; margin-top: 1.6rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.about__copy .section__title { text-align: left; }
.about__copy p { color: var(--muted); margin-bottom: 1rem; font-size: 1.04rem; }
.about__copy strong { color: var(--text); }
.about__industries { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.industry { font-size: .82rem; color: var(--text); background: var(--surface-2); border: 1px solid var(--border-strong); padding: .4rem .85rem; border-radius: 999px; }

.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.bigstat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.4rem; text-align: center; transition: transform .3s, border-color .3s, box-shadow .3s; }
.bigstat:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.bigstat__num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; display: block; color: var(--accent-ink); }
.bigstat__label { font-size: .85rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem 1.4rem; position: relative; transition: transform .3s, border-color .3s, box-shadow .3s; }
.step:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.step__num { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--accent-ink); }
.step h3 { font-size: 1.15rem; margin: .6rem 0 .5rem; }
.step p { font-size: .9rem; color: var(--muted); }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -.85rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); font-size: 1.1rem; }

/* ---------- Security ---------- */
.security { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.security__copy .section__title { text-align: left; }
.security__copy .section__sub { margin-bottom: 1.6rem; }
.security__list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; }
.security__list li { font-size: .92rem; color: var(--muted); display: flex; align-items: flex-start; gap: .6rem; }
.check { width: 20px; height: 20px; flex: none; border-radius: 50%; background: #e7f6ec; border: 1px solid #bfe6cb; position: relative; margin-top: 2px; }
.check::after { content:""; position:absolute; inset:0; background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat; }

.panel { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.panel__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1.3rem; flex-wrap: wrap; gap: .5rem; }
.panel__head .mono { font-family: var(--font-mono); font-size: .8rem; color: var(--muted-2); }
.uptime { display: inline-flex; align-items: center; gap: .4rem; color: var(--ok); font-weight: 600; font-size: .74rem; }
.panel__metrics { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.4rem; }
.metric { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; }
.metric__label { font-size: .85rem; color: var(--muted); }
.metric__value { font-family: var(--font-display); font-weight: 700; color: var(--text); }
.bar { grid-column: 1 / -1; height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 999px; background: var(--accent); width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.panel__foot { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge-sec { font-size: .76rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); padding: .35rem .7rem; border-radius: 999px; }

/* ---------- CTA band ---------- */
.ctaband { padding: 70px 0; background: var(--bg-alt); }
.ctaband__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background: var(--grad-soft);
  border: 1px solid var(--accent-soft-border); border-radius: var(--radius-lg); padding: 2.6rem 2.8rem;
}
.ctaband__inner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.ctaband__inner p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact__copy .section__title { text-align: left; }
.contact__details { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact__details li { display: flex; gap: .9rem; align-items: flex-start; }
.contact__ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); font-size: 1.1rem; }
.contact__details span span { display: block; }
.contact__k { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.contact__details a, .contact__details .placeholder { color: var(--text); font-weight: 500; }
.contact__details em, .placeholder em { color: var(--muted-2); font-size: .78rem; font-style: italic; }
.placeholder { color: var(--muted) !important; }

.contact__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; background: #fff; border: 1px solid var(--border-strong); border-radius: 10px;
  padding: .8rem .9rem; color: var(--text); font-family: var(--font); font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,111,235,.16); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6b86' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field input.invalid, .field textarea.invalid { border-color: var(--red); }
.form__hint { font-size: .78rem; color: var(--muted-2); margin-top: .8rem; }
.form__hint em { color: var(--amber); font-style: normal; }
.form__status { margin-top: .9rem; font-size: .9rem; font-weight: 600; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 3.5rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__tag { font-size: .9rem; color: var(--muted); max-width: 34em; }
.footer__col h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; font-family: var(--font); font-weight: 700; }
.footer__col a { display: block; font-size: .92rem; color: var(--muted); padding: .3rem 0; transition: color .2s; }
.footer__col a:hover { color: var(--accent-ink); }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 24px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted-2); }
.footer__legal a:hover { color: var(--accent-ink); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(112px, 16vw, 150px) 0 clamp(48px, 8vw, 70px); overflow: hidden; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 72%); }
.page-hero__inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero .eyebrow { margin-bottom: 1.1rem; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 1rem; }
.page-hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 42em; }
.page-hero__lead strong { color: var(--text); }

/* ---------- Section CTA link ---------- */
.section__cta { text-align: center; margin-top: 2.4rem; }

/* ---------- FAQ (accordion) ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.3rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.2rem; color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Legal / prose pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal__updated { color: var(--muted-2); font-size: .85rem; margin-bottom: 2.2rem; }
.legal h2 { font-size: 1.4rem; margin: 2.4rem 0 .8rem; }
.legal h3 { font-size: 1.08rem; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin-bottom: 1rem; }
.legal ul, .legal ol { margin: 0 0 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.legal ul li { list-style: disc; }
.legal ol li { list-style: decimal; }
.legal a { color: var(--accent-ink); text-decoration: underline; }
.legal strong { color: var(--text); }
.legal .placeholder { color: var(--muted-2); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 580px; margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.05rem 1.2rem;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  transform: translateY(160%); transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: .85rem; color: var(--muted); flex: 1; min-width: 220px; margin: 0; }
.cookie-banner a { color: var(--accent-ink); text-decoration: underline; }
.cookie-banner .btn { padding: .55rem 1.2rem; font-size: .9rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.tech-grid .reveal.in, .service-grid .reveal.in, .steps .reveal.in { transition-delay: var(--d, 0ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { max-width: 540px; }
  .tech-grid, .service-grid, .service-grid--3, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta, .nav__inner > .lang-switch { display: none; }
  .nav__toggle { display: flex; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card--featured { order: -1; }
  .about, .security, .contact, .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .security__list, .checklist { grid-template-columns: 1fr 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
}
@media (max-width: 540px) {
  .section { padding: 70px 0; }
  .hero { padding: 124px 0 70px; }
  .tech-grid, .service-grid, .service-grid--3, .steps, .about__stats { grid-template-columns: 1fr; }
  .security__list, .checklist { grid-template-columns: 1fr; }
  .arch-card { animation: none; }
  .ctaband__inner { padding: 2rem 1.6rem; text-align: center; flex-direction: column; }
  .hourly { text-align: left; }
  .hourly__price { text-align: left; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.6rem; }
}

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

/* ---------- Print ---------- */
@media print {
  :root { --bg:#fff; --bg-alt:#fff; --surface:#fff; --surface-2:#fff; --text:#111; --muted:#333; --muted-2:#555; --border:#ccc; --border-strong:#bbb; }
  body { background:#fff; color:#111; }
  .nav, .mobile-menu, .skip-link, .nav__toggle, .hero__bg, .ctaband, .hero__visual, .security__panel, .contact__form { display:none !important; }
  .reveal { opacity:1 !important; transform:none !important; }
  *, *::before, *::after { box-shadow:none !important; text-shadow:none !important; }
  a { color:#111 !important; }
  .section { padding: 24px 0; }
}
