/* =========================================================================
   PCGO — Apple-inspired design system
   - Pure CSS, no framework
   - SF Pro via system font stack (zero font payload, perfect render)
   - Animations use Apple's signature curve: cubic-bezier(0.4, 0, 0.2, 1)
   - WCAG AA contrast throughout
   - prefers-reduced-motion respected
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Color — Apple palette with IT/tech accent */
  --c-bg:            #fbfbfd;
  --c-bg-elev:       #ffffff;
  --c-bg-soft:       #f5f5f7;
  --c-bg-dark:       #1d1d1f;
  --c-bg-dark-2:     #2c2c2e;
  --c-text:          #1d1d1f;
  --c-text-2:        #6e6e73;
  --c-text-3:        #86868b;
  --c-text-inv:      #f5f5f7;
  --c-accent:        #0071e3;
  --c-accent-hover:  #0077ed;
  --c-accent-press:  #0058a8;
  --c-accent-soft:   #e8f1fc;
  --c-success:       #00875a;
  --c-success-soft:  #e6f4ec;
  --c-warning:       #ff9500;
  --c-warning-soft:  #fff4e5;
  --c-danger:        #ff3b30;
  --c-border:        #d2d2d7;
  --c-border-soft:   #e6e6eb;

  /* Typography — SF Pro via system stack */
  --ff-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
             "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --ff-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing (8pt grid) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 80px;
  --s-10: 96px;
  --s-11: 128px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 980px;

  /* Shadow — Apple-style is very subtle, layered */
  --sh-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --sh-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --sh-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --sh-xl: 0 24px 64px rgba(0, 0, 0, 0.10);

  /* Motion */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.5, 1.5, 0.5, 1);
  --dur-fast:    200ms;
  --dur:         360ms;
  --dur-slow:    560ms;

  /* Container */
  --container:   1180px;
  --container-narrow: 880px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Base ---------- */
html, body { height: 100%; }
body {
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Skip link — a11y */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--c-accent); color: #fff;
  padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 600; z-index: 1000;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  letter-spacing: -0.003em;
  color: var(--c-text);
}
.h-display {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.h-1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -0.012em; }
.h-2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.10; letter-spacing: -0.010em; }
.h-3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.20; }
.h-4 { font-size: 20px; line-height: 1.30; font-weight: 600; }
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-2);
  margin-bottom: 12px;
  display: inline-block;
}
.lead {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.40;
  color: var(--c-text-2);
  letter-spacing: -0.012em;
}
.muted { color: var(--c-text-2); }

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

.section {
  padding-block: clamp(64px, 9vw, 120px);
}
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft  { background: var(--c-bg-soft); }
.section--dark  { background: var(--c-bg-dark); color: var(--c-text-inv); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .muted, .section--dark .lead { color: #a1a1a6; }

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-8);
}
.section__head p { margin-top: 16px; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Navigation — sticky, frosted ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav--scrolled {
  background: rgba(251, 251, 253, 0.92);
  border-bottom-color: var(--c-border-soft);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.012em;
}
.nav__brand-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #0071e3 0%, #5e5cff 100%);
  border-radius: 7px;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: var(--sh-sm);
}
.nav__menu { display: flex; gap: 28px; align-items: center; }
.nav__link {
  font-size: 14px; color: var(--c-text); opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease);
  position: relative;
}
.nav__link:hover { opacity: 1; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -19px;
  height: 2px; background: var(--c-text);
  border-radius: 2px;
}
.nav__cta {
  background: var(--c-text); color: var(--c-text-inv);
  padding: 8px 16px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.nav__cta:hover { background: #000; transform: translateY(-1px); }
.nav__toggle { display: none; }
@media (max-width: 820px) {
  .nav__menu { display: none; }
  .nav__menu.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    background: rgba(251, 251, 253, 0.98);
    backdrop-filter: blur(20px);
    padding: 32px 24px; gap: 8px; align-items: stretch;
  }
  .nav__menu.is-open .nav__link {
    font-size: 24px; padding: 16px 0; border-bottom: 1px solid var(--c-border-soft);
  }
  .nav__toggle { display: grid; place-items: center; width: 40px; height: 40px; }
  .nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
    display: block; width: 20px; height: 1.5px; background: var(--c-text); border-radius: 1px;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  }
  .nav__toggle span { position: relative; }
  .nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
  .nav__toggle span::before { top: -6px; }
  .nav__toggle span::after  { top: 6px; }
  .nav__toggle[aria-expanded="true"] span { background: transparent; }
  .nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(56px + clamp(40px, 6vw, 80px));
  padding-bottom: clamp(60px, 8vw, 120px);
  overflow: hidden;
}
.hero--gradient {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 113, 227, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(94, 92, 255, 0.08), transparent 70%),
    var(--c-bg);
}
.hero__inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 920px; margin: 0 auto;
}
.hero__eyebrow { margin-bottom: 16px; }
.hero__title { margin-bottom: 20px; }
.hero__sub {
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.40;
  color: var(--c-text-2);
  max-width: 720px; margin: 0 auto 36px;
}
.hero__cta { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__visual {
  margin-top: 56px;
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(180deg, #1d1d1f 0%, #2c2c2e 100%);
  aspect-ratio: 16/9;
  box-shadow: var(--sh-xl);
}
.hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 113, 227, 0.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(94, 92, 255, 0.3), transparent 50%);
  opacity: 0.9;
}
.hero__visual-text {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  color: #fff; font-weight: 600; font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.012em; text-align: center; padding: 24px;
}

/* ---------- Buttons — Apple pill style ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.010em;
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-text); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.btn--primary:active { background: #000; transform: translateY(0); }

.btn--dark { background: var(--c-text); color: var(--c-text-inv); }
.btn--dark:hover { background: #000; }

.btn--ghost { background: rgba(0, 0, 0, 0.04); color: var(--c-text); }
.btn--ghost:hover { background: rgba(0, 0, 0, 0.08); }

.btn--outline { background: transparent; color: var(--c-accent); border: 1.5px solid var(--c-accent); }
.btn--outline:hover { background: var(--c-accent-soft); }

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 18px 32px; font-size: 18px; }

.btn--block { display: flex; width: 100%; justify-content: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--c-bg-elev);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--sh-md);
  border: 1px solid var(--c-border-soft);
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.card--feature {
  padding: 48px 36px;
  text-align: left;
}
.card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: transform var(--dur) var(--ease-spring);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-3deg); }
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-size: 22px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.008em; }
.card__desc { color: var(--c-text-2); font-size: 17px; line-height: 1.45; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; color: var(--c-accent); font-weight: 500;
  font-size: 15px;
}
.card__link::after { content: "→"; transition: transform var(--dur-fast) var(--ease); }
.card:hover .card__link::after { transform: translateX(4px); }

/* Pricing card variant */
.card--price {
  padding: 40px 32px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fafafc 100%);
}
.card--price--featured {
  background: linear-gradient(160deg, #1d1d1f 0%, #2c2c2e 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.card--price--featured .card__price-amount,
.card--price--featured .card__price-unit,
.card--price--featured .card__title,
.card--price--featured h3 { color: #fff; }
.card--price--featured .muted { color: rgba(255,255,255,0.85); }
.card--price--featured .card__price-features li { color: rgba(255,255,255,0.95); }
.card--price--featured .card__price-features svg { color: #fff; }
.card__price-amount {
  font-size: 64px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1; color: var(--c-text);
  display: inline-flex; align-items: baseline;
}
.card__price-unit { color: var(--c-text-2); font-size: 19px; margin-left: 4px; }
.card__price-features {
  margin: 28px 0; display: flex; flex-direction: column; gap: 12px; text-align: left;
}
.card__price-features li {
  display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--c-text-2);
}
.card__price-features svg { color: var(--c-success); flex-shrink: 0; margin-top: 2px; }
.card__price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--c-text); padding: 4px 14px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 600;
  box-shadow: var(--sh-md);
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 48px 0; border-top: 1px solid var(--c-border-soft);
  border-bottom: 1px solid var(--c-border-soft);
}
.stat__num {
  font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -0.022em;
  background: linear-gradient(135deg, #0071e3 0%, #5e5cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat__label { color: var(--c-text-2); font-size: 14px; margin-top: 8px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }

/* ---------- Marquee / brand strip ---------- */
.marquee {
  overflow: hidden; padding: 32px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; gap: 64px; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__item {
  font-size: clamp(20px, 2vw, 28px); font-weight: 600; color: var(--c-text-2);
  white-space: nowrap; letter-spacing: -0.010em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 0; max-width: 820px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--c-border-soft);
  padding: 4px 0;
}
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%; padding: 24px 0; text-align: left;
  font-size: 19px; font-weight: 500; color: var(--c-text);
  letter-spacing: -0.010em;
}
.faq__q::after {
  content: "+"; font-size: 24px; font-weight: 300; color: var(--c-text-2);
  transition: transform var(--dur) var(--ease); line-height: 1;
}
.faq__item[aria-expanded="true"] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.faq__item[aria-expanded="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { padding-bottom: 24px; color: var(--c-text-2); font-size: 17px; line-height: 1.55; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #1d1d1f 0%, #2c2c2e 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 113, 227, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(94, 92, 255, 0.25), transparent 50%);
}
.cta-banner__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: #a1a1a6; margin-bottom: 32px; font-size: 19px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-bg-dark); color: var(--c-text-inv);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid #2c2c2e;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.02em; text-transform: uppercase; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #a1a1a6; transition: color var(--dur-fast) var(--ease); }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; color: #6e6e73; font-size: 13px;
  flex-wrap: wrap; gap: 16px;
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.footer__desc { color: #a1a1a6; max-width: 320px; line-height: 1.5; }

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.fab a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: var(--r-pill);
  color: #fff; font-weight: 500; font-size: 15px;
  box-shadow: var(--sh-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.fab a:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 48px rgba(0,0,0,0.18); }
.fab .whatsapp { background: #25D366; }
.fab .call     { background: var(--c-text); }
.fab svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .fab a span { display: none; } .fab a { padding: 14px; } }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; max-width: 560px; margin: 0 auto; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 14px; font-weight: 500; color: var(--c-text); }
.form__input, .form__textarea, .form__select {
  padding: 14px 16px;
  font-size: 17px;
  background: var(--c-bg-elev);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  outline: none; border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}
.form__textarea { min-height: 140px; resize: vertical; }
.form__hint { font-size: 13px; color: var(--c-text-3); }

/* ---------- Breadcrumbs ---------- */
.crumbs {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--c-text-2);
  padding: 20px 0 0;
}
.crumbs a:hover { color: var(--c-accent); }
.crumbs span[aria-hidden] { color: var(--c-text-3); }

/* ---------- Table ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--c-border-soft); }
.tbl th { font-weight: 600; color: var(--c-text-2); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl--striped tbody tr:nth-child(odd) { background: var(--c-bg-soft); }

/* ---------- Image / SVG inline styles ---------- */
.svc-icon {
  width: 100%; aspect-ratio: 1/1; max-width: 220px; margin: 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f5f5f7 0%, #fff 100%);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease-spring);
}
.svc-icon::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 113, 227, 0.08), transparent 60%);
  transition: opacity var(--dur) var(--ease);
}
.svc-icon svg { width: 60%; height: 60%; color: var(--c-accent); z-index: 1; position: relative; }
.card:hover .svc-icon { transform: scale(1.05) rotate(-2deg); }

/* ---------- Reveal-on-scroll (JS adds .is-visible) ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 120ms; }
.reveal[data-delay="3"] { transition-delay: 180ms; }
.reveal[data-delay="4"] { transition-delay: 240ms; }
.reveal[data-delay="5"] { transition-delay: 300ms; }
.reveal[data-delay="6"] { transition-delay: 360ms; }

/* Subtle floating animation for hero accents */
.float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

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

/* ---------- Print ---------- */
@media print {
  .nav, .fab, .cta-banner { display: none; }
  body { color: #000; background: #fff; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* =========================================================================
   v2 — Apple-level patterns
   ========================================================================= */

/* ---------- Display typography (huge, like apple.com) ---------- */
.display-1 {
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--c-text);
}
.display-2 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 600;
  color: var(--c-text);
}
.display-3 {
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.020em;
  font-weight: 600;
  color: var(--c-text);
}
.eyebrow-lg {
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-2);
}

/* ---------- Scene — full-viewport Apple-style section ---------- */
.scene {
  position: relative;
  padding-block: clamp(96px, 12vw, 180px);
  overflow: hidden;
}
.scene--full { min-height: 100vh; display: flex; align-items: center; }
.scene--dark { background: var(--c-bg-dark); color: var(--c-text-inv); }
.scene--dark h1, .scene--dark h2, .scene--dark h3, .scene--dark h4 { color: #fff; }
.scene--dark .muted, .scene--dark .lead, .scene--dark .eyebrow { color: #a1a1a6; }
.scene--blue { background: linear-gradient(180deg, #0071e3 0%, #5e5cff 100%); color: #fff; }
.scene--blue h1, .scene--blue h2, .scene--blue h3, .scene--blue h4, .scene--blue .eyebrow { color: #fff; }
.scene--blue .lead { color: rgba(255, 255, 255, 0.85); }
/* New: full-bleed dark scene with subtle blue accent gradient */
.scene--black { background: linear-gradient(180deg, #0a0a0a 0%, #1d1d1f 100%); color: #fff; position: relative; overflow: hidden; }
.scene--black::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 35% at 30% 40%, rgba(0, 113, 227, 0.15), transparent 60%),
    radial-gradient(ellipse 35% 30% at 70% 60%, rgba(94, 92, 255, 0.12), transparent 60%);
  pointer-events: none;
}
.scene--black > * { position: relative; z-index: 1; }
.scene--black h1, .scene--black h2, .scene--black h3, .scene--black h4, .scene--black .eyebrow { color: #fff; }
.scene--black .lead { color: rgba(255, 255, 255, 0.8); }

/* Subtle noise overlay for depth (used on dark scenes) */
.scene--noise::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ---------- Section dividers (curves & diagonals) ---------- */
.divider {
  position: relative;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  margin-top: -1px;
}
.divider svg { display: block; width: 100%; height: auto; }
.divider--curve svg { height: clamp(60px, 8vw, 120px); }
.divider--diagonal svg { height: clamp(60px, 6vw, 100px); }

/* ---------- Bento grid (asymmetric, like iOS layout) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
}
.bento > * { grid-column: span 2; }
.bento > .bento--lg { grid-column: span 4; grid-row: span 2; }
.bento > .bento--tall { grid-row: span 2; }
.bento > .bento--wide { grid-column: span 3; }
.bento > .bento--sm { grid-column: span 1; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > * { grid-column: span 1; grid-row: auto; }
  .bento > .bento--lg { grid-column: span 2; }
  .bento > .bento--tall { grid-row: auto; }
  .bento > .bento--wide { grid-column: span 2; }
}

/* Bento card variants */
.bento-card {
  position: relative;
  background: var(--c-bg-elev);
  border-radius: clamp(20px, 2vw, 28px);
  padding: 36px 32px;
  overflow: hidden;
  border: 1px solid var(--c-border-soft);
  transition: transform 480ms var(--ease-out), box-shadow 480ms var(--ease-out);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.bento-card--dark { background: var(--c-bg-dark); color: var(--c-text-inv); border-color: transparent; }
.bento-card--dark h3, .bento-card--dark p { color: #fff; }
.bento-card--dark .muted { color: #a1a1a6; }
.bento-card--blue { background: linear-gradient(135deg, #0071e3 0%, #5e5cff 100%); color: #fff; border-color: transparent; }
.bento-card--blue h3, .bento-card--blue p { color: #fff; }
.bento-card--blue .muted { color: rgba(255, 255, 255, 0.8); }
.bento-card--tinted { background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 100%); border-color: transparent; }
.bento-card--gradient-soft { background: linear-gradient(135deg, #1d1d1f 0%, #2c2c2e 100%); color: #fff; border-color: transparent; }
.bento-card--gradient-soft h3, .bento-card--gradient-soft p { color: #fff; }
.bento-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.06);
  color: var(--c-text);
  margin-bottom: 20px;
}
.bento-card--dark .bento-card__icon, .bento-card--blue .bento-card__icon, .bento-card--gradient-soft .bento-card__icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.bento-card__icon svg { width: 28px; height: 28px; }
.bento-card__title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.bento-card--lg .bento-card__title { font-size: clamp(28px, 2.6vw, 36px); }
.bento-card__desc { font-size: 17px; line-height: 1.5; color: var(--c-text-2); }
.bento-card--dark .bento-card__desc, .bento-card--blue .bento-card__desc, .bento-card--gradient-soft .bento-card__desc { color: rgba(255, 255, 255, 0.85); }
.bento-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; color: var(--c-accent); font-weight: 500; font-size: 15px;
}
.bento-card--dark .bento-card__link, .bento-card--blue .bento-card__link, .bento-card--gradient-soft .bento-card__link { color: #fff; }
.bento-card__link::after { content: "→"; transition: transform var(--dur-fast) var(--ease); }
.bento-card:hover .bento-card__link::after { transform: translateX(4px); }

/* Big decorative visual inside bento cards (like iPhone Pro page) */
.bento-card__visual {
  position: absolute; right: -10%; bottom: -10%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.18), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}
.bento-card--blue .bento-card__visual { background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%); }

/* ---------- Pill badge (Apple "New" style) ---------- */
.pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--c-accent);
  border-radius: 980px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.pill-badge--dark { background: rgba(255, 255, 255, 0.12); color: #fff; }
.pill-badge--green { background: rgba(0, 135, 90, 0.12); color: var(--c-success); }
.pill-badge--orange { background: rgba(255, 149, 0, 0.12); color: #ff9500; }

/* ---------- Gradient text (utility) ---------- */
.text-gradient-blue {
  background: linear-gradient(135deg, #0071e3 0%, #5e5cff 50%, #b16cea 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.text-gradient-pearl {
  background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Stat ticker (animated counter) ---------- */
.stat-ticker {
  text-align: center;
  position: relative;
}
.stat-ticker__num {
  font-size: clamp(64px, 9vw, 128px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #1d1d1f 0%, #4a4a4f 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: block;
}
.scene--dark .stat-ticker__num { background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%); -webkit-background-clip: text; background-clip: text; }
.scene--black .stat-ticker__num { background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%); -webkit-background-clip: text; background-clip: text; }
.scene--blue .stat-ticker__num { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%); -webkit-background-clip: text; background-clip: text; }
.stat-ticker__label {
  margin-top: 8px;
  color: var(--c-text-2);
  font-size: 17px;
  font-weight: 500;
}
.scene--dark .stat-ticker__label { color: #a1a1a6; }
.scene--blue .stat-ticker__label { color: rgba(255, 255, 255, 0.85); }
.stat-ticker__suffix { font-size: 0.5em; vertical-align: super; margin-left: 2px; opacity: 0.7; }

/* ---------- Stat row (Apple product page style) ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-border-soft);
  border-bottom: 1px solid var(--c-border-soft);
}
.scene--dark .stat-row { border-color: #2c2c2e; }
.stat-row__item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--c-border-soft);
}
.stat-row__item:last-child { border-right: 0; }
.scene--dark .stat-row__item { border-color: #2c2c2e; }
.stat-row__num { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.stat-row__label { color: var(--c-text-2); font-size: 14px; margin-top: 4px; }
.scene--dark .stat-row__label { color: #a1a1a6; }
@media (max-width: 700px) {
  .stat-row { grid-template-columns: 1fr; }
  .stat-row__item { border-right: 0; border-bottom: 1px solid var(--c-border-soft); }
  .stat-row__item:last-child { border-bottom: 0; }
}

/* ---------- Hero (apple.com style) ---------- */
.hero--pro {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero--pro::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(0, 113, 227, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 35% at 80% 30%, rgba(94, 92, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 35% 30% at 20% 60%, rgba(177, 108, 234, 0.10), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.hero--pro > * { position: relative; z-index: 1; }
.hero--pro .hero__title { margin-bottom: 24px; }
.hero--pro .hero__sub { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; max-width: 720px; margin-inline: auto; margin-bottom: 36px; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--c-text-3); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.7;
  animation: float 2.4s ease-in-out infinite;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 32px; background: currentColor;
}

/* ---------- Cinematic product/feature visual block ---------- */
.product-visual {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: clamp(24px, 3vw, 36px);
  overflow: hidden;
  background: linear-gradient(160deg, #0071e3 0%, #5e5cff 50%, #1d1d1f 100%);
  display: grid; place-items: center;
  color: #fff;
  text-align: center;
  padding: 48px 24px;
  box-shadow: 0 30px 80px rgba(0, 113, 227, 0.25);
}
.product-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.3), transparent 50%);
  pointer-events: none;
}
.product-visual > * { position: relative; z-index: 1; }
.product-visual__title {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.product-visual__sub {
  font-size: clamp(17px, 1.5vw, 22px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-inline: auto;
}

/* ---------- Featured testimonial (large quote) ---------- */
.testimonial-feature {
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}
.testimonial-feature__quote {
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: #fff;
  margin-bottom: 28px;
}
.testimonial-feature__author {
  color: #a1a1a6;
  font-size: 17px;
  font-weight: 500;
}

/* ---------- Comparison table (Apple style) ---------- */
.compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--c-bg-elev);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border-soft);
}
.compare th, .compare td { padding: 20px 24px; text-align: left; }
.compare thead th { background: var(--c-bg-soft); font-weight: 600; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--c-text-2); }
.compare tbody td { border-top: 1px solid var(--c-border-soft); }
.compare .compare__check { color: var(--c-success); }
.compare .compare__dash { color: var(--c-text-3); }

/* ---------- Magnetic button effect (JS-driven) ---------- */
.magnetic { display: inline-block; transition: transform 200ms var(--ease-out); will-change: transform; }

/* ---------- Hide-on-scroll nav behavior ---------- */
.nav--hidden { transform: translateY(-100%); }

/* ---------- Apple-style "scroll hint" inside bento cards ---------- */
.spotlight {
  position: relative;
  background: linear-gradient(135deg, #1d1d1f 0%, #2c2c2e 100%);
  color: #fff;
  border-radius: clamp(20px, 2vw, 28px);
  padding: 64px 48px;
  overflow: hidden;
}
.spotlight::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 113, 227, 0.4), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(94, 92, 255, 0.3), transparent 50%);
}
.spotlight > * { position: relative; z-index: 1; }
.spotlight h3 { color: #fff; }

/* ---------- Marquee v2 (with bullets/dots) ---------- */
.marquee-v2 {
  overflow: hidden; padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-v2__track {
  display: flex; gap: 32px; width: max-content; align-items: center;
  animation: marquee 32s linear infinite;
}
.marquee-v2__item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--c-bg-elev);
  border: 1px solid var(--c-border-soft);
  border-radius: 980px;
  font-size: 15px; font-weight: 500; color: var(--c-text);
  white-space: nowrap;
}
.marquee-v2__item::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #0071e3, #5e5cff);
}

/* ---------- Process steps (Apple numbered) ---------- */
.process-step {
  position: relative;
  padding: 32px 24px;
  border-top: 1px solid var(--c-border-soft);
}
.process-step__num {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c-text);
  display: block;
  margin-bottom: 16px;
}
.process-step__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 10px;
}
.process-step__desc { color: var(--c-text-2); font-size: 16px; line-height: 1.5; }
@media (min-width: 800px) {
  .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  .process-step { border-right: 1px solid var(--c-border-soft); }
  .process-step:last-child { border-right: 0; }
}

/* ---------- Bento card micro-interactions ---------- */
.bento-card--interactive { cursor: pointer; }

/* ---------- Apple "ribbon" callout ---------- */
.ribbon {
  position: relative;
  display: inline-block;
  padding: 8px 18px 8px 12px;
  background: linear-gradient(135deg, #ff9500 0%, #ff3b30 100%);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: 0 980px 980px 0;
  margin-left: -16px;
  box-shadow: 0 6px 20px rgba(255, 59, 48, 0.25);
}

/* ---------- Sticky scroll (Apple iPhone Pro page style) ---------- */
.sticky-stack {
  position: relative;
}
.sticky-stack__item {
  position: sticky;
  top: 80px;
  padding-block: 64px;
}
.sticky-stack__item:nth-child(1) { top: 80px; }
.sticky-stack__item:nth-child(2) { top: 120px; }
.sticky-stack__item:nth-child(3) { top: 160px; }

/* ---------- "Service detail" with two columns (Apple product page) ---------- */
.spec-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 800px) { .spec-section { grid-template-columns: 1fr; gap: 32px; } }
.spec-section--reverse > :first-child { order: 2; }
@media (max-width: 800px) { .spec-section--reverse > :first-child { order: 0; } }
.spec-section__visual {
  aspect-ratio: 4/3;
  border-radius: clamp(20px, 2vw, 28px);
  background: linear-gradient(135deg, #0071e3 0%, #5e5cff 100%);
  display: grid; place-items: center;
  color: #fff;
  font-size: 64px;
  box-shadow: 0 20px 60px rgba(0, 113, 227, 0.2);
  position: relative; overflow: hidden;
}
.spec-section__visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
}

/* ---------- Hero subtitle gradient (Apple style) ---------- */
.lead-soft { color: var(--c-text-2); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; max-width: 720px; }

/* ---------- Enhanced section heading with side label ---------- */
.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(40px, 5vw, 80px);
  flex-wrap: wrap;
}
.section-heading__title { max-width: 800px; }
.section-heading__aside { color: var(--c-text-2); max-width: 360px; font-size: 17px; line-height: 1.5; }

/* ---------- Glass card (frosted on light bg) ---------- */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-xl);
}

/* ---------- Reveal v2 (slide up + scale) ---------- */
.reveal--scale {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal--scale.is-visible { opacity: 1; transform: none; }

/* ---------- Subtle gradient bar (Apple horizontal accent) ---------- */
.accent-bar {
  width: 64px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #0071e3, #5e5cff);
  margin-bottom: 24px;
}
.scene--dark .accent-bar { background: linear-gradient(90deg, #fff, #a1a1a6); }

