/* ==========================================================================
   Frontbits — Studio site
   Primary: #635BFF
   ========================================================================== */

:root {
  --primary: #635BFF;
  --primary-dark: #4f48d6;
  --primary-soft: #efeeff;
  --ink: #14121f;
  --ink-2: #4b4956;
  --ink-3: #76747f;
  --bg: #ffffff;
  --bg-alt: #f7f7fa;
  --line: #e8e7ee;
  --dark: #14121f;
  --dark-2: #1d1a2e;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --shadow-md: 0 8px 30px rgba(20, 18, 31, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 18, 31, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

/* ---------- Layout ---------- */

.container {
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
}

.container--narrow { width: min(820px, calc(100% - 48px)); }

.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }

.section--dark {
  background: var(--dark);
  color: #c9c6d6;
}

/* ---------- Typography ---------- */

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }

h1, h2 { text-wrap: balance; }

h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); color: var(--ink); }

.section--dark h2, .cta h2 { color: var(--white); }

h2 em, h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.section--dark h2 em, .cta h2 em { color: #a9a3ff; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.eyebrow--light { color: #a9a3ff; }

.section__head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section__head p {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 1.06rem;
}

.section__head--light p { color: #9c98ad; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.32);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 91, 255, 0.42);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(99, 91, 255, 0.4);
}
.btn--outline:hover { background: var(--primary-soft); border-color: var(--primary); }

.btn--white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn--lg { padding: 17px 34px; font-size: 1.02rem; }
.btn--sm { padding: 10px 22px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(20, 18, 31, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.nav__logo img { height: 28px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__links a:not(.btn) {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav__links a:not(.btn):hover { color: var(--primary); }

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

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 10px;
}
.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-actions { display: none; }

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

.hero {
  position: relative;
  padding: 170px 0 0;
  overflow: hidden;
}

/* Full-bleed cinematic dark hero (Apple product-page style) */
.hero--dark {
  padding: 0;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(255, 255, 255, 0.07), transparent 55%),
    radial-gradient(70% 60% at 26% 78%, rgba(150, 110, 70, 0.32), transparent 62%),
    radial-gradient(55% 50% at 85% 85%, rgba(60, 70, 90, 0.28), transparent 60%),
    linear-gradient(150deg, #1c1b1a 0%, #100f10 55%, #050505 100%);
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("../img/hero-dashboard.jpg");
  background-size: cover;
  background-position: center 40%;
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.72) 100%);
}

.hero--dark .hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 100px;
}

.hero--dark .hero__title { color: #fff; }
.hero--dark .hero__sub { color: rgba(255, 255, 255, 0.86); }

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 1060px;
  padding-bottom: 64px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}

.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.08); }
}

.hero__title {
  font-size: clamp(2.1rem, 4.3vw, 3.3rem);
  color: var(--ink);
  margin-bottom: 26px;
  text-wrap: initial;
}

/* Gradient shimmer on emphasis */
.hero__title em {
  background: linear-gradient(135deg, #635BFF 0%, #9b8fff 45%, #635BFF 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s ease infinite;
}

@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title em { animation: none; background-position: 0% 50%; }
}

.hero__sub {
  font-size: clamp(0.94rem, 1.3vw, 1.05rem);
  color: var(--ink-3);
  max-width: 580px;
  margin: 0 auto 38px;
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hero__avatars { display: flex; }
.hero__avatars img {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--white);
  object-fit: cover;
  margin-left: -12px;
  background: var(--primary-soft);
}
.hero__avatars img:first-child { margin-left: 0; }

.hero__proof-text { text-align: left; }
.hero__stars { color: #f5a623; font-size: 0.9rem; letter-spacing: 2px; }
.hero__proof-text p { font-size: 0.88rem; color: var(--ink-3); }
.hero__proof-text strong { color: var(--ink); }

.hero__showcase {
  position: relative;
  margin-top: 70px;
}

.hero__showcase-frame {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: none;
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}

.hero__showcase-frame img {
  width: 100%;
  aspect-ratio: 1640 / 800;
  object-fit: cover;
  object-position: center;
}

/* ---------- Stats ---------- */

.stats { border-block: 1px solid var(--line); background: var(--bg); }

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  padding: 44px 16px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }

.stat__num {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.stat__label {
  font-size: 0.88rem;
  color: var(--ink-3);
  font-weight: 500;
}

/* ---------- Work ---------- */

.work__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px 36px;
}

.work-card { flex: 0 1 calc(50% - 18px); min-width: 0; }

.work-card__media {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}

.work-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

/* live project preview: a real page rendered at desktop width, scaled to fit */
.work-card__frame {
  position: absolute;
  top: 0; left: 0;
  width: 1400px;
  height: 1050px;            /* 4:3 of 1400 */
  border: 0;
  transform-origin: 0 0;     /* scale set by JS from the card width */
  pointer-events: none;
  background: #fff;
}

.work-card__media::after {
  content: "View website \2197";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  background: var(--ink);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
  z-index: 2;
}

.work-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 31, 0);
  transition: background 0.35s var(--ease);
  z-index: 1;
}

.work-card__media:hover img { transform: scale(1.035); }
.work-card__media:hover::before { background: rgba(20, 18, 31, 0.28); }
.work-card__media:hover::after { opacity: 1; transform: translate(-50%, -50%); }

.work-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6px 0;
}

.work-card__meta h3 { font-size: 1.18rem; margin-bottom: 3px; }
.work-card__meta p { font-size: 0.92rem; color: var(--ink-3); }

.work-card__tags { display: flex; gap: 8px; flex-shrink: 0; padding-top: 3px; }
.work-card__tags span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

.work__cta {
  margin-top: 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.work__cta p { font-size: 1.1rem; color: var(--ink-2); font-weight: 500; }

/* ---------- Auto-scrolling project showcase ---------- */

.showcase {
  position: relative;
  margin-top: 56px;
}

/* the scrolling viewport (auto-advances + manual arrows + native swipe) */
.showcase__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* old Edge */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.showcase__viewport::-webkit-scrollbar { display: none; }   /* Chrome/Safari */

.showcase__track {
  display: flex;
  width: max-content;
}

/* prev / next arrows */
.showcase__nav {
  position: absolute;
  top: 180px;                     /* vertically centered on the 360px card frame */
  transform: translateY(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, opacity 0.2s;
}
.showcase__nav:hover { box-shadow: var(--shadow-lg); background: #fff; transform: translateY(-50%) scale(1.06); }
.showcase__nav:active { transform: translateY(-50%) scale(0.96); }
.showcase__nav:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.showcase__nav svg { width: 22px; height: 22px; }
.showcase__nav--prev { left: 24px; }
.showcase__nav--next { right: 24px; }

.showcase__card {
  flex: 0 0 auto;
  width: 480px;
  margin-right: 28px;
  text-decoration: none;
}

.showcase__frame {
  display: block;
  position: relative;
  width: 480px;
  height: 360px;            /* 4:3 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.showcase__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.showcase__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 31, 0);
  transition: background 0.35s var(--ease);
  z-index: 1;
}

.showcase__frame::after {
  content: "View website \2197";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  background: var(--ink);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.showcase__card:hover .showcase__frame { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.showcase__card:hover .showcase__frame::before { background: rgba(20, 18, 31, 0.26); }
.showcase__card:hover .showcase__frame::after { opacity: 1; transform: translate(-50%, -50%); }

.showcase__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 0;
}
.showcase__cap strong { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.showcase__cap em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .showcase__track { animation: none; }
}

/* ---------- Services: manual portrait-card slider (no auto-scroll) ---------- */

.services-slider {
  position: relative;
  margin-top: 56px;
}

.services__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 70px 0;
  margin: -70px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.services__viewport::-webkit-scrollbar { display: none; }

.services__track {
  display: flex;
  width: max-content;
  padding: 4px 24px;
}

.services__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, opacity 0.2s;
}
.services__nav:hover { box-shadow: var(--shadow-lg); background: #fff; transform: translateY(-50%) scale(1.06); }
.services__nav:active { transform: translateY(-50%) scale(0.96); }
.services__nav:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.services__nav svg { width: 22px; height: 22px; }
.services__nav--prev { left: 24px; }
.services__nav--next { right: 24px; }
.services__nav:disabled { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .services__viewport { scroll-behavior: auto; }
}

/* ---------- Booking confirmation ---------- */

.confirm__inner { text-align: center; }

.confirm__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
}
.confirm__icon svg { width: 30px; height: 30px; }

.confirm__lead { color: var(--ink-3); font-size: 1.08rem; margin: 18px auto 44px; max-width: 520px; }

.confirm__steps {
  list-style: none;
  display: grid;
  gap: 0;
  text-align: left;
  margin-bottom: 44px;
}
.confirm__steps li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.confirm__steps li:first-child { border-top: none; padding-top: 0; }

.confirm__step-num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.confirm__steps strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 1.05rem; }
.confirm__steps p { color: var(--ink-3); font-size: 0.95rem; }

.confirm__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Process ---------- */

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-step {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 91, 255, 0.55);
}

.process-step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--primary);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
  opacity: 0.95;
}

.process-step h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { font-size: 0.92rem; color: #9c98ad; margin-bottom: 18px; }

.process-step__time {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9a3ff;
  background: rgba(99, 91, 255, 0.14);
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-block;
}

/* ---------- Testimonials ---------- */

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.testimonial__stars { color: #f5a623; letter-spacing: 2.5px; font-size: 0.95rem; }

.testimonial blockquote {
  font-size: 1.0rem;
  color: var(--ink-2);
  flex: 1;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.testimonial figcaption img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-soft);
}

.testimonial figcaption strong { display: block; font-size: 0.95rem; }
.testimonial figcaption span { font-size: 0.83rem; color: var(--ink-3); }

/* ---------- Pricing ---------- */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.price-card--featured {
  border: 2px solid var(--primary);
  box-shadow: 0 24px 60px rgba(99, 91, 255, 0.18);
}

.price-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 16px;
  white-space: nowrap;
}

.price-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.price-card__desc { font-size: 0.92rem; color: var(--ink-3); margin-bottom: 24px; min-height: 66px; }

.price-card__price {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 26px;
}
.price-card__price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-right: 4px;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.price-card ul li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23635BFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.pricing__note {
  text-align: center;
  margin-top: 44px;
  color: var(--ink-3);
  font-size: 0.95rem;
}
.pricing__note a { color: var(--primary); font-weight: 600; }
.pricing__note a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */

.faq__list { display: grid; gap: 14px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] { border-color: rgba(99, 91, 255, 0.45); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 1.0rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item__icon {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-item__icon::before { width: 14px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-item__icon::after { transform: rotate(90deg); }

.faq-item p {
  padding: 0 26px 24px;
  color: var(--ink-3);
  font-size: 0.95rem;
  max-width: 660px;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  background: var(--dark);
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}

.cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 20% 115%, rgba(99, 91, 255, 0.38), transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% -10%, rgba(99, 91, 255, 0.20), transparent 70%);
  pointer-events: none;
}

.cta__inner { position: relative; max-width: 720px; margin: 0 auto; }

.cta__inner h2 { margin-bottom: 22px; }

.cta__inner p {
  color: #b6b3c4;
  font-size: 1.08rem;
  max-width: 540px;
  margin: 0 auto 38px;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
}

.cta__email {
  color: #9c98ad;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.cta__email:hover { color: var(--white); }

.cta__assurance {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 30px;
}

.cta__assurance li {
  font-size: 0.88rem;
  color: #9c98ad;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta__assurance li::before {
  content: "\2713";
  color: #a9a3ff;
  font-weight: 700;
}

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

.footer {
  background: #0e0c18;
  color: #9c98ad;
  padding: 80px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer__brand img { height: 30px; width: auto; margin-bottom: 20px; }
.footer__brand p { font-size: 0.93rem; max-width: 280px; }

.footer__col { display: flex; flex-direction: column; gap: 12px; }

.footer__col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer__col a {
  font-size: 0.93rem;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }

.footer__socials { display: flex; gap: 12px; margin-top: 10px; }

.footer__socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.footer__socials a:hover {
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.footer__socials svg { width: 16px; height: 16px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 26px;
  font-size: 0.84rem;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 768px) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .section { padding: 88px 0; }

  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-card__desc { min-height: 0; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 48px; left: 0; right: 0;
    height: calc(100vh - 48px);
    background: #1d1d1f;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 0;
    padding: 8px 28px 28px;
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
  }

  .nav__links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav__links a:not(.btn) {
    padding: 8px 0;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: rgba(255, 255, 255, 0.94);
  }

  /* CTA block pinned to the bottom of the open menu -- was entirely
     unreachable on mobile before (button had display:none with no
     override anywhere, and the header's own CTA is hidden below) */
  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  /* higher specificity than .nav__links a:not(.btn) above, which would
     otherwise win and force this back to the big bold nav-link style */
  #navLinks .nav__email-mobile {
    padding: 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: normal;
    color: var(--ink-3);
  }
  #navLinks .nav__email-mobile:hover { color: var(--ink); }

  .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }

  .hero { padding-top: 140px; }
  .hero__showcase-frame img { aspect-ratio: 16 / 11; }

  .hero__proof {
    flex-direction: column;
    gap: 12px;
  }
  .hero__proof-text { text-align: center; }

  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--line); padding: 30px 12px; }
  .stats__inner .stat:nth-child(-n + 2) { border-top: none; }
  .stats__inner .stat:nth-child(even) { border-left: 1px solid var(--line); }

  .showcase__card { width: 300px; margin-right: 18px; }
  .showcase__frame { width: 300px; height: 225px; }
  .showcase__nav { top: 112px; width: 44px; height: 44px; }
  .showcase__nav--prev { left: 12px; }
  .showcase__nav--next { right: 12px; }

  .services__track { padding: 4px 12px; }
  .services__nav { width: 44px; height: 44px; }
  .services__nav--prev { left: 12px; }
  .services__nav--next { right: 12px; }
  .process__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { justify-content: center; text-align: center; }
}
