/* =========================================================
   Ezrasoft – website styles
   Brand palette and typography follow the Ezrasoft brand board.
   ========================================================= */

:root {
  --navy-950: #050814;
  --navy-900: #0a0f1f;
  --navy-800: #101828;
  --navy-700: #1d2939;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --green: #10b981;
  --surface: #f5f7ff;
  --white: #ffffff;
  --ink: #344054;
  --ink-muted: #667085;
  --border: #e4e7ec;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --danger: #dc2626;

  --grad-brand: linear-gradient(110deg, #2563eb 0%, #4f46e5 55%, #7c3aed 100%);
  --grad-text: linear-gradient(100deg, #3b82f6 0%, #6366f1 45%, #22d3ee 100%);

  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --shadow-card: 0 20px 50px -24px rgb(16 24 40 / 0.35);
  --shadow-hover: 0 24px 60px -20px rgb(37 99 235 / 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
}

::selection {
  background: rgb(37 99 235 / 0.22);
}

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

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 600;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.2);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}

/* Hidden sprite (not display:none, which breaks gradients in <use>) */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 16px; height: 16px; }
.icon--md { width: 20px; height: 20px; }
.icon--lg { width: 26px; height: 26px; }
.icon--cyan { color: var(--cyan); }

.text-gradient {
  background-image: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: box-shadow 0.25s, filter 0.25s, background-color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg { padding: 15px 28px; }
.btn--block { width: 100%; }

.btn--primary {
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 12px 28px -8px rgb(37 99 235 / 0.45);
}
.btn--primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 16px 36px -8px rgb(37 99 235 / 0.6);
}

.btn--ghost {
  color: var(--white);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.16);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.3);
}

.icon--arrow { transition: transform 0.25s; }
.btn:hover .icon--arrow { transform: translateX(3px); }

/* ---------- Brand lockup ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 48px;
  height: 36px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.brand__tagline {
  margin-top: 5px;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.brand--dark .brand__name { color: var(--white); }
.brand--dark .brand__tagline { color: var(--slate-300); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-solid {
  background: rgb(255 255 255 / 0.88);
  border-color: rgb(228 231 236 / 0.8);
  box-shadow: 0 8px 30px -12px rgb(16 24 40 / 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.site-header.is-open {
  background: var(--white);
}
.site-header:not(.is-solid) .brand__name { color: var(--white); }
.site-header:not(.is-solid) .brand__tagline { color: var(--slate-300); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.nav__links,
.nav__cta {
  display: none;
}

.nav__link {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-300);
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover { color: var(--white); }
.nav__link.is-active {
  color: var(--white);
  background: rgb(255 255 255 / 0.1);
}
.is-solid .nav__link { color: var(--ink); }
.is-solid .nav__link:hover { color: var(--navy-900); }
.is-solid .nav__link.is-active {
  color: var(--blue);
  background: rgb(37 99 235 / 0.08);
}

.nav__toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav__toggle:hover { background: rgb(255 255 255 / 0.1); }
.is-solid .nav__toggle { color: var(--navy-900); }
.is-solid .nav__toggle:hover { background: #f1f5f9; }
.nav__icon-close { display: none; }
.nav__toggle[aria-expanded='true'] .nav__icon-open { display: none; }
.nav__toggle[aria-expanded='true'] .nav__icon-close { display: block; }

.mobile-menu {
  border-top: 1px solid rgb(228 231 236 / 0.8);
  background: var(--white);
  animation: menu-in 0.25s var(--ease);
}
.mobile-menu ul {
  display: grid;
  gap: 4px;
  padding: 16px;
}
.mobile-menu li:last-child { padding-top: 8px; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--navy-900);
}
.mobile-menu__link:hover { background: #f8fafc; }
.mobile-menu__link.is-active {
  color: var(--blue);
  background: rgb(37 99 235 / 0.08);
}
.mobile-menu__link.is-active::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
}

/* ---------- Shared section pieces ---------- */
.section {
  padding-block: 96px;
}
.section--tinted {
  position: relative;
  background: var(--surface);
}
.section--tinted::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgb(37 99 235 / 0.15);
  background: rgb(37 99 235 / 0.05);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.eyebrow--plain {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cyan);
}
.eyebrow--plain::before { display: none; }

.section-title {
  margin-top: 16px;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  text-wrap: balance;
}
.section-head {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}
.section-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.pill--dark {
  color: #e2e8f0;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  backdrop-filter: blur(8px);
}

.icon-tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--white);
  box-shadow: 0 10px 22px -10px rgb(37 99 235 / 0.5);
}
.icon-tile--lg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
.grad-mobile { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.grad-web { background: linear-gradient(135deg, #4f46e5, #2563eb); }
.grad-desktop { background: linear-gradient(135deg, #7c3aed, #4f46e5); }
.grad-custom { background: linear-gradient(135deg, #06b6d4, #10b981); }
.grad-ai { background: linear-gradient(135deg, #7c3aed, #2563eb 60%, #06b6d4); }

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--navy-900);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(6 182 212 / 0.4), transparent);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.glow--blue {
  top: -160px;
  left: 50%;
  width: 60rem;
  height: 36rem;
  transform: translateX(-50%);
  background: rgb(37 99 235 / 0.25);
}
.glow--violet {
  top: 33%;
  right: -160px;
  width: 28rem;
  height: 28rem;
  background: rgb(124 58 237 / 0.3);
}

.hero__inner {
  display: grid;
  align-items: center;
  gap: 64px;
  padding-top: 56px;
  padding-bottom: 144px;
}
.hero__copy { text-align: center; }

.hero__title {
  margin-top: 24px;
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: balance;
}
.hero__lead {
  max-width: 36rem;
  margin: 24px auto 0;
  font-size: 1.05rem;
  color: var(--slate-300);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 40px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-400);
}
.hero__tags li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__tags li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* hero illustration */
.hero__visual { padding: 0 8px 32px; }
.visual {
  position: relative;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
}
.visual__glow {
  position: absolute;
  inset: -24px;
  z-index: -1;
  border-radius: 48px;
  background: linear-gradient(45deg, rgb(37 99 235 / 0.3), rgb(124 58 237 / 0.25), rgb(6 182 212 / 0.2));
  filter: blur(48px);
}

.window {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 0.1);
  background: var(--white);
  box-shadow: 0 40px 80px -20px rgb(0 0 0 / 0.6);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }
.window__url {
  flex: 1;
  height: 20px;
  margin-left: 12px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px #e2e8f0;
}
.window__body { display: flex; }
.window__side {
  display: none;
  width: 30%;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--navy-900);
}
.window__side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.window__logo { width: 27px; height: 20px; }
.window__side-active {
  height: 24px;
  border-radius: 6px;
  background: rgb(37 99 235 / 0.9);
}
.window__side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
}
.window__side-item span:first-child {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.25);
}
.window__side-item span:last-child {
  flex: 1;
  height: 6px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.15);
}
.window__main {
  flex: 1;
  display: grid;
  gap: 16px;
  padding: 16px;
}

.sk {
  display: block;
  height: 8px;
  width: 80%;
  border-radius: 4px;
  background: #e2e8f0;
}
.sk--faint { width: 50%; height: 6px; margin-top: 6px; background: #f1f5f9; }
.sk--title { width: 40%; height: 12px; background: rgb(10 15 31 / 0.85); }
.sk--sub { width: 60%; margin-top: -10px; }
.sk--light { background: rgb(255 255 255 / 0.7); }
.sk--accent { width: 40px; background: rgb(37 99 235 / 0.3); }
.w-12 { width: 48px; }

.window__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mini-card {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.05);
}
.mini-card__icon {
  display: block;
  width: 20px;
  height: 20px;
  margin-bottom: 8px;
  border-radius: 6px;
  opacity: 0.9;
}
.bg-blue { background: var(--blue); }
.bg-violet { background: var(--violet); }
.bg-cyan { background: var(--cyan); }

.chart {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.05);
}
.chart__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.chart__head .sk:first-child { width: 25%; background: var(--slate-300); }
.chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.chart__bars span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(to top, var(--blue), var(--cyan));
}

.code-card {
  position: absolute;
  bottom: -40px;
  left: -12px;
  width: 62%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(5 8 20 / 0.95);
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.7;
  color: var(--white);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}
.code-card p { white-space: nowrap; }
.code-card__file {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--slate-500);
}
.indent { padding-left: 1rem; }
.c-kw { color: #a78bfa; }
.c-var { color: #7dd3fc; }
.c-p { color: var(--slate-400); }
.c-id { color: var(--white); }
.c-fn { color: var(--cyan); }
.c-str { color: #fcd34d; }
.c-bool { color: var(--green); }

.phone {
  position: absolute;
  right: -8px;
  bottom: -56px;
  width: 30%;
  min-width: 7.5rem;
  padding: 12px;
  border-radius: 26px;
  border: 5px solid var(--navy-800);
  background: linear-gradient(to bottom, #121a3a, var(--navy-950));
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6);
}
.phone__notch {
  width: 32px;
  height: 6px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.15);
}
.phone__logo { width: 54px; height: 40px; margin-inline: auto; }
.phone__name {
  margin-top: 8px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
}
.phone__line { width: 80%; height: 6px; margin: 12px auto 0; opacity: 0.3; }
.phone__line--short { width: 60%; margin-top: 6px; opacity: 0.15; }
.phone__btn {
  height: 24px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--grad-brand);
}
.phone__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}
.phone__tiles span {
  height: 32px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.1);
}

.chip {
  position: absolute;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(16 24 40 / 0.8);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}
.chip__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad-brand);
}
.chip--1 { top: -20px; left: 24px; }
.chip--2 { top: 33%; right: -16px; }
.chip--3 { top: 42%; left: -24px; }
.chip--4 { top: -20px; right: 32px; }

.float { animation: float 7s ease-in-out infinite; }
.float-slow { animation: float 10s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Highlights ---------- */
.highlights {
  position: relative;
  z-index: 2;
  margin-top: -80px;
}
.highlights__grid {
  display: grid;
  gap: 16px;
}
.highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgb(228 231 236 / 0.8);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.highlight:hover {
  transform: translateY(-4px);
  border-color: rgb(37 99 235 / 0.3);
  box-shadow: var(--shadow-hover);
}
.highlight__body { flex: 1; }
.highlight__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-900);
}
.highlight__arrow {
  color: var(--slate-400);
  transition: transform 0.25s, color 0.25s;
}
.highlight:hover .highlight__arrow {
  color: var(--blue);
  transform: translate(2px, -2px);
}
.highlight__text {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* ---------- About ---------- */
.about {
  display: grid;
  gap: 48px;
}
.about__text {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  font-size: 1.05rem;
}
.about__lead {
  font-weight: 600;
  color: var(--navy-900);
}

.pillars {
  display: grid;
  gap: 20px;
}
.pillar {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 20px 40px -20px rgb(10 15 31 / 0.4);
}
.pillar::before {
  content: '';
  position: absolute;
  top: -64px;
  right: -64px;
  width: 192px;
  height: 192px;
  border-radius: 50%;
  background: rgb(37 99 235 / 0.3);
  filter: blur(48px);
}
.pillar > * { position: relative; }
.pillar__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--cyan);
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.15);
}
.pillar h3 {
  margin-top: 20px;
  font-size: 1.25rem;
  font-weight: 700;
}
.pillar p {
  margin-top: 8px;
  color: var(--slate-300);
}

.why { margin-top: 80px; }
.why__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why__head p {
  max-width: 28rem;
  color: var(--ink-muted);
}
.why__title {
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.why__grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.reason {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgb(228 231 236 / 0.8);
  background: rgb(245 247 255 / 0.6);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background-color 0.3s;
}
.reason:hover {
  transform: translateY(-4px);
  border-color: rgb(37 99 235 / 0.25);
  background: var(--white);
  box-shadow: var(--shadow-hover);
}
.reason__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--border), 0 1px 2px rgb(16 24 40 / 0.05);
  transition: background 0.3s, color 0.3s;
}
.reason:hover .reason__icon {
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: none;
}
.reason h4 {
  margin-top: 16px;
  font-weight: 700;
  color: var(--navy-900);
}
.reason p {
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(228 231 236 / 0.8);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service:hover {
  transform: translateY(-4px);
  border-color: rgb(37 99 235 / 0.35);
  box-shadow: 0 30px 70px -30px rgb(37 99 235 / 0.45);
}
/* Featured AI card: spans the full row, dark treatment */
.service--featured {
  grid-column: 1 / -1;
  isolation: isolate;
  overflow: hidden;
  border-color: rgb(255 255 255 / 0.08);
  background: var(--navy-900);
  color: var(--slate-300);
}
.service--featured::before,
.service--featured::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.service--featured::before {
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: rgb(124 58 237 / 0.4);
}
.service--featured::after {
  bottom: -140px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: rgb(37 99 235 / 0.3);
}
.service--featured:hover {
  border-color: rgb(139 92 246 / 0.5);
  box-shadow: 0 30px 70px -30px rgb(124 58 237 / 0.55);
}
.service--featured .service__head h3 { color: var(--white); }
.service--featured .service__desc { color: var(--slate-300); }
.service--featured .checklist li { color: #e2e8f0; }
.service--featured .checklist li::before { background: #22d3ee; }
.service--featured .service__tech { border-top-color: rgb(255 255 255 / 0.1); }
.service--featured .label { color: var(--slate-400); }
.service--featured .tags li {
  color: var(--white);
  border-color: rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.06);
}
.service--featured .service__cta {
  margin-top: 0;
  padding-top: 24px;
  color: #67e8f9;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgb(167 139 250 / 0.35);
  background: rgb(124 58 237 / 0.2);
  color: #c4b5fd;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.service__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.service__head h3 {
  padding-top: 4px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-900);
}
.service__desc { margin-top: 20px; }

.checklist {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.875rem;
}
.checklist li {
  position: relative;
  padding-left: 24px;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%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' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.service__tech {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}
.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tags li {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-700);
}
.service__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 28px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.25s;
}
.service__cta:hover { gap: 12px; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  gap: 32px;
}
.contact__info {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--white);
}
.contact__info .grid-fade { z-index: -1; }
.contact__info::before,
.contact__info::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  filter: blur(64px);
}
.contact__info::before { top: -96px; left: -96px; background: rgb(37 99 235 / 0.35); }
.contact__info::after { bottom: -96px; right: -96px; background: rgb(124 58 237 / 0.35); }

.contact__title {
  margin-top: 16px;
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.contact__lead {
  margin-top: 16px;
  color: var(--slate-300);
}

.details {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
.details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.details__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--cyan);
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.15);
}
.details__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.details__value {
  display: block;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.details a:hover { color: var(--cyan); }

.contact__social {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.contact__social p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-400);
}
.social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--white);
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.15);
  transition: background 0.25s;
}
.social a:hover { background: var(--grad-brand); box-shadow: none; }
.social .icon { width: 16px; height: 16px; }

.contact__form {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(228 231 236 / 0.8);
  background: var(--white);
  box-shadow: 0 30px 70px -35px rgb(16 24 40 / 0.3);
}
.contact__form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
}
.contact__form-sub {
  margin: 6px 0 28px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* ---------- Form ---------- */
.form { display: grid; gap: 20px; }
.form__grid { display: grid; gap: 20px; }

.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
}
.field__optional {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--navy-900);
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field ::placeholder { color: var(--slate-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(37 99 235 / 0.1);
}
.field [aria-invalid='true'] { border-color: #f87171; }
.field [aria-invalid='true']:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgb(220 38 38 / 0.1);
}

.select { position: relative; }
.select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.select select:has(option[value='']:checked) { color: var(--slate-400); }
.select option { color: var(--navy-900); }
.select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: var(--slate-400);
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%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' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--danger);
}
.field__error::before {
  content: '!';
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
  padding-top: 4px;
}
.form__note {
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.form .spin { display: none; }
.form.is-submitting .spin {
  display: block;
  animation: spin 0.9s linear infinite;
}
.form.is-submitting .icon--send { display: none; }
.form.is-submitting button[type='submit'] {
  cursor: not-allowed;
  opacity: 0.7;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.form__status:focus { outline: none; }
.alert {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid;
  font-size: 0.875rem;
}
.alert .icon { width: 20px; height: 20px; margin-top: 1px; }
.alert strong { font-weight: 600; }
.alert a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.alert--success { color: #065f46; background: #ecfdf5; border-color: #a7f3d0; }
.alert--warning { color: #78350f; background: #fffbeb; border-color: #fde68a; }
.alert--error { color: #991b1b; background: #fef2f2; border-color: #fecaca; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
  background: var(--navy-900);
  color: var(--slate-300);
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(37 99 235 / 0.6), transparent);
}
.footer::after {
  content: '';
  position: absolute;
  top: -160px;
  left: 25%;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  background: rgb(37 99 235 / 0.1);
  filter: blur(64px);
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.footer__grid {
  display: grid;
  gap: 48px;
}
.footer__about {
  max-width: 24rem;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--slate-400);
}
.social--footer { margin-top: 24px; }
.social--footer a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--slate-300);
  background: rgb(255 255 255 / 0.05);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}
.social--footer a:hover { color: var(--white); background: rgb(255 255 255 / 0.1); }
.footer__heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}
.footer__links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.875rem;
}
.footer__links a { transition: color 0.2s; }
.footer__links a:hover { color: var(--white); }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-wrap: anywhere;
}
.footer__contact .icon { margin-top: 3px; color: var(--cyan); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.875rem;
  color: var(--slate-500);
}
.footer__tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ---------- Scroll to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 16px 32px -10px rgb(37 99 235 / 0.5);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.to-top:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease var(--delay, 0ms),
    transform 0.7s var(--ease) var(--delay, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 640px) {
  .container { padding-inline: 24px; }
  .brand__mark { width: 53px; height: 40px; }
  .brand__name { font-size: 1.5rem; }

  .section { padding-block: 112px; }
  .section-sub { font-size: 1.125rem; }
  .pill { font-size: 0.875rem; }

  .hero__inner { padding-top: 80px; }
  .hero__lead { font-size: 1.125rem; }
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
  .hero__visual { padding-inline: 32px; }
  .window__side { display: flex; }
  .window__main { padding: 20px; }
  .code-card { left: -32px; font-size: 0.75rem; }
  .phone { right: -24px; }
  .chip { display: flex; }

  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlights__grid > li:first-child { grid-column: 1 / -1; }

  .pillars { grid-template-columns: repeat(2, 1fr); }
  .why { margin-top: 96px; }
  .why__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .why__grid { grid-template-columns: repeat(2, 1fr); }

  .service { padding: 32px; }
  .service__head h3 { font-size: 1.35rem; }
  .checklist { grid-template-columns: repeat(2, 1fr); }

  .contact__info { padding: 40px; }
  .contact__form { padding: 40px; }
  .form__grid { grid-template-columns: repeat(2, 1fr); }
  .form__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .to-top { right: 32px; bottom: 32px; }
}

@media (min-width: 768px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .container { padding-inline: 32px; }

  .nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
  }
  .nav__cta {
    display: inline-flex;
    margin-left: 20px;
  }
  .nav__toggle,
  .mobile-menu { display: none !important; }

  .section { padding-block: 128px; }

  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    padding-top: 96px;
    padding-bottom: 160px;
  }
  .hero__copy { text-align: left; }
  .hero__lead { margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__tags { justify-content: flex-start; }
  .hero__visual { padding: 0; }
  .visual { max-width: none; }

  .highlights { margin-top: -96px; }
  .highlights__grid { grid-template-columns: repeat(5, 1fr); }
  .highlights__grid > li:first-child { grid-column: auto; }
  .highlight { flex-direction: column; gap: 14px; }

  .service--featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    padding: 44px;
  }
  .service--featured .featured__details .checklist { margin-top: 0; }

  .about {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: start;
  }
  .about__text { font-size: 1.125rem; }
  .pillars {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }
  .why__grid { grid-template-columns: repeat(3, 1fr); }

  .services { gap: 32px; }

  .contact {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
  }

  .footer__grid { grid-template-columns: 1.4fr 0.8fr 1.1fr 1.2fr; }
}

@media (min-width: 1280px) {
  .chip--2 { right: -40px; }
  .chip--3 { left: -48px; }
}

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