/* ==========================================================================
   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(1180px, 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: 600;
  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--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__cta-mobile { display: none; }

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

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

.hero__glow {
  position: absolute;
  top: -340px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 800px;
  background:
    radial-gradient(ellipse 50% 50% at 50% 40%, rgba(99, 91, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 880px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.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.6rem, 6.4vw, 4.6rem);
  color: var(--ink);
  margin-bottom: 26px;
}

.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ink-3);
  max-width: 620px;
  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 ↗";
  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;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.showcase__track {
  display: flex;
  width: max-content;
  animation: showcase-scroll 55s linear infinite;
  will-change: transform;
}

.showcase:hover .showcase__track,
.showcase:focus-within .showcase__track { animation-play-state: paused; }

@keyframes showcase-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.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 ↗";
  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 ---------- */

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

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 91, 255, 0.35);
}

.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.service-card__icon svg { width: 24px; height: 24px; }

.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { font-size: 0.94rem; color: var(--ink-3); }

/* ---------- Why ---------- */

.why__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}

.why__content h2 { margin-bottom: 20px; }

.why__lead { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 28px; }

.why__list {
  list-style: none;
  margin-bottom: 36px;
  display: grid;
  gap: 18px;
}

.why__list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-3);
  font-size: 0.97rem;
}

.why__list li strong { color: var(--ink); display: inline; }

.why__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  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 / 11px no-repeat;
}

.why__media { position: relative; }

.why__media-frame {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}

.why__media-frame img,
.why__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.why__media-hint {
  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;
}

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

.why__media-frame:hover::before { background: rgba(20, 18, 31, 0.26); }
.why__media-frame:hover .why__media-hint { opacity: 1; transform: translate(-50%, -50%); }

.why__media-card {
  position: absolute;
  bottom: -26px; left: -26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 26px;
  max-width: 230px;
}

.why__media-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.why__media-label { font-size: 0.84rem; color: var(--ink-3); line-height: 1.45; display: block; }

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

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 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: "✓";
  color: #a9a3ff;
  font-weight: 700;
}

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

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

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 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; }
}

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

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

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .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; }

  .why__inner { grid-template-columns: 1fr; gap: 64px; }
  .why__media { max-width: 560px; }
  .why__media-card { left: -10px; }


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

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
    padding: 12px 24px 24px;
    box-shadow: var(--shadow-lg);
    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: 14px 0; font-size: 1.02rem; }

  .nav__cta-mobile { display: inline-flex; margin-top: 12px; }
  .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; }
  .stat:nth-child(-n + 2) { border-top: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }

  .showcase__card { width: 300px; margin-right: 18px; }
  .showcase__frame { width: 300px; height: 225px; }
  .services__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }

  .why__media-card {
    position: static;
    margin-top: 18px;
    max-width: none;
    display: flex;
    align-items: baseline;
    gap: 14px;
  }

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