/* ImagineLab Dev — site vitrine
   One stylesheet. Colours live in the tokens below: change --acc (and its dark twin) to change the blue. */

/* ---------- Tokens ---------- */
:root {
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --muted: #475569;
  --body: #334155;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --shell: rgba(15, 23, 42, 0.04);
  --wire: #E2E8F0;
  --wire-strong: #0F172A;
  --chip: #F1F4F8;
  --hi-bg: #0F172A;
  --hi-ink: #FFFFFF;
  --hi-muted: #CBD5E1;
  --ok-bg: #E9F9EF;
  --ok-ink: #146C3A;
  --shadow: rgba(15, 23, 42, 0.10);

  --acc: #2251FF;
  --on-acc: #FFFFFF;
  --soft: #E8EEFF;
  --soft-ink: #1A3FD1;
  --glow: rgba(34, 81, 255, 0.16);
  --orb-1: rgba(34, 81, 255, 0.22);
  --orb-2: rgba(56, 189, 248, 0.20);
  --orb-3: rgba(124, 155, 255, 0.18);

  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1140px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0A0F1C;
  --surface: #121A2B;
  --ink: #E6EBF5;
  --muted: #9AA8BF;
  --body: #C3CCDA;
  --line: rgba(230, 235, 245, 0.09);
  --line-strong: rgba(230, 235, 245, 0.16);
  --shell: rgba(230, 235, 245, 0.04);
  --wire: #24304A;
  --wire-strong: #E6EBF5;
  --chip: #1A2338;
  --hi-bg: #1B2742;
  --hi-ink: #FFFFFF;
  --hi-muted: #C3CCDA;
  --ok-bg: #0F2A1C;
  --ok-ink: #7EE2A8;
  --shadow: rgba(0, 0, 0, 0.45);

  --acc: #6B8CFF;
  --on-acc: #0A1020;
  --soft: #17234D;
  --soft-ink: #B4C4FF;
  --glow: rgba(107, 140, 255, 0.16);
  --orb-1: rgba(107, 140, 255, 0.20);
  --orb-2: rgba(56, 189, 248, 0.12);
  --orb-3: rgba(67, 56, 202, 0.22);
  color-scheme: dark;
}

/* No JavaScript: still follow the system setting */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0A0F1C; --surface: #121A2B; --ink: #E6EBF5; --muted: #9AA8BF; --body: #C3CCDA;
    --line: rgba(230, 235, 245, 0.09); --line-strong: rgba(230, 235, 245, 0.16); --shell: rgba(230, 235, 245, 0.04);
    --wire: #24304A; --wire-strong: #E6EBF5; --chip: #1A2338; --hi-bg: #1B2742; --hi-muted: #C3CCDA;
    --ok-bg: #0F2A1C; --ok-ink: #7EE2A8; --shadow: rgba(0, 0, 0, 0.45);
    --acc: #6B8CFF; --on-acc: #0A1020; --soft: #17234D; --soft-ink: #B4C4FF; --glow: rgba(107, 140, 255, 0.16);
    --orb-1: rgba(107, 140, 255, 0.20); --orb-2: rgba(56, 189, 248, 0.12); --orb-3: rgba(67, 56, 202, 0.22);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--acc); color: var(--on-acc); }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 8px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 136px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--soft-ink);
}
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--muted); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--acc); color: var(--on-acc);
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* Reading progress (browsers with scroll-driven animations only) */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--acc), #38BDF8);
  transform-origin: 0 50%; transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .progress { animation: grow-x linear both; animation-timeline: scroll(root); }
}
@keyframes grow-x { to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  padding-right: 8px;
  background: var(--acc); color: var(--on-acc);
  box-shadow: 0 10px 30px var(--glow), 0 2px 6px var(--shadow);
}
.btn-primary:hover { box-shadow: 0 16px 40px var(--glow), 0 4px 10px var(--shadow); }
.btn-primary .btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--on-acc); color: var(--acc);
  transition: transform 0.45s var(--spring);
}
.btn-primary:hover .btn-icon { transform: translate(2px, -2px) rotate(45deg); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 16px 0; }
.nav {
  position: relative;
  width: min(var(--container), 100%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 30px var(--shadow);
  transition: padding 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.4s;
}
.site-header.is-scrolled .nav { padding-block: 5px; box-shadow: 0 14px 40px var(--shadow); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.logo-mark { width: 36px; height: 36px; flex: none; transition: transform 0.5s var(--spring); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.logo-sub { margin-top: 4px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color 0.25s, background-color 0.25s;
}
.nav-links a:hover { color: var(--ink); background: var(--chip); }
.nav-links a.is-active { color: var(--ink); background: var(--chip); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line); background: var(--chip); color: var(--ink);
  cursor: pointer; transition: transform 0.3s var(--ease), border-color 0.3s;
}
.icon-btn:hover { border-color: var(--acc); }
.theme-toggle svg { transition: transform 0.6s var(--spring), opacity 0.3s; }
.theme-toggle .i-sun { position: absolute; opacity: 0; transform: rotate(-90deg) scale(0.5); }
.theme-toggle { position: relative; }
:root[data-theme="dark"] .theme-toggle .i-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(0.5); }

.menu-toggle { display: none; }
.menu-toggle .bar { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-toggle .bars { display: grid; gap: 4px; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  display: grid; gap: 4px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 20px 50px var(--shadow);
  opacity: 0; transform: translateY(-8px) scale(0.98); pointer-events: none; visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mobile-menu a { padding: 14px 16px; border-radius: 14px; text-decoration: none; font-weight: 600; }
.mobile-menu a:hover { background: var(--chip); }
.mobile-menu .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(72px, 10vw, 112px) 0 0; text-align: center; isolation: isolate; }
.hero-bg { position: absolute; inset: -140px 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-1 { width: 620px; height: 620px; left: 50%; top: 40px; margin-left: -560px; background: radial-gradient(circle, var(--orb-1), transparent 65%); animation: drift-1 18s ease-in-out infinite alternate; }
.orb-2 { width: 560px; height: 560px; left: 50%; top: 120px; margin-left: 40px; background: radial-gradient(circle, var(--orb-2), transparent 65%); animation: drift-2 22s ease-in-out infinite alternate; }
.orb-3 { width: 480px; height: 480px; left: 50%; top: 520px; margin-left: -240px; background: radial-gradient(circle, var(--orb-3), transparent 65%); animation: drift-3 26s ease-in-out infinite alternate; }
@keyframes drift-1 { to { transform: translate(90px, 60px) scale(1.1); } }
@keyframes drift-2 { to { transform: translate(-100px, 80px) scale(0.92); } }
@keyframes drift-3 { to { transform: translate(60px, -70px) scale(1.12); } }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; margin-bottom: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  box-shadow: 0 4px 14px var(--shadow);
}
.badge-tag { padding: 3px 10px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-size: 12px; font-weight: 700; }
.badge-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.badge-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22C55E; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

.hero h1 { max-width: 940px; margin-inline: auto; font-size: clamp(42px, 6.4vw, 84px); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; word-spacing: 0.05em; }
.hl {
  color: var(--acc);
  background-image: linear-gradient(transparent 64%, var(--soft) 64%, var(--soft) 94%, transparent 94%);
  background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub { max-width: 620px; margin: 28px auto 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.assurances { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; font-size: 15px; font-weight: 500; color: var(--muted); }
.assurances li { display: inline-flex; align-items: center; gap: 8px; }
.assurances svg { color: var(--acc); }

/* Hero mockup */
.mock-wrap { position: relative; max-width: 1000px; margin: 76px auto 0; perspective: 1400px; }
.mock {
  --rx: 0deg; --ry: 0deg; --sx: 0deg;
  padding: 10px; border-radius: 30px; text-align: left;
  background: var(--shell); border: 1px solid var(--line);
  transform: rotateX(calc(var(--rx) + var(--sx))) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}
.mock-inner { background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px var(--shadow); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--wire); }
.mock-url {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 auto; padding: 6px 18px; min-width: 210px; justify-content: center;
  background: var(--chip); border-radius: 999px; font-size: 13px; color: var(--muted);
}
.mock-url .caret { width: 1px; height: 14px; background: var(--acc); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-body { padding: 36px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.mock-copy { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.mock-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip-ok { background: var(--ok-bg); color: var(--ok-ink); }
.chip-acc { background: var(--soft); color: var(--soft-ink); }
.sk { height: 10px; border-radius: 6px; background: var(--wire); transform-origin: 0 50%; }
.sk-title { height: 22px; background: var(--wire-strong); }
.sk-btn { height: 40px; width: 150px; margin-top: 8px; border-radius: 999px; background: var(--acc); }
.mock-visual {
  position: relative; flex: 1 1 280px; height: 230px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, var(--soft), var(--surface));
}
.mock-visual::before {
  content: ""; position: absolute; width: 180px; height: 180px; right: -30px; top: -40px; border-radius: 50%;
  background: radial-gradient(circle, var(--orb-1), transparent 70%);
  animation: drift-2 9s ease-in-out infinite alternate;
}
.mock-visual-card {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: var(--surface); border-radius: 14px; box-shadow: 0 10px 30px var(--shadow);
}
.mock-visual-card .avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--acc); flex: none; }
.mock-visual-card .lines { flex: 1; display: grid; gap: 8px; }
.mock-row { padding: 0 36px 36px; display: flex; flex-wrap: wrap; gap: 16px; }
.mock-tile { flex: 1 1 180px; height: 96px; border-radius: 14px; background: var(--chip); }
.mock-progress { display: flex; align-items: center; gap: 14px; padding: 16px 36px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.mock-progress .track { flex: 1; height: 6px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.mock-progress .fill { height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--acc), #38BDF8); transform-origin: 0 50%; }
.mock-progress .day { min-width: 74px; text-align: right; color: var(--acc); font-variant-numeric: tabular-nums; }

.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 18px 40px var(--shadow);
  font-size: 14px; font-weight: 600;
  animation: bob 6s ease-in-out infinite;
}
.float-chip .ic { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 10px; }
.float-chip small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.float-a { left: -28px; top: 120px; }
.float-a .ic { background: var(--ok-bg); color: var(--ok-ink); }
.float-b { right: -24px; bottom: 120px; animation-delay: -3s; }
.float-b .ic { background: var(--soft); color: var(--soft-ink); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee {
  margin-top: clamp(72px, 9vw, 112px);
  padding-block: 22px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-size: 20px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.marquee-group .star { color: var(--acc); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards (services) ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px var(--shadow); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--soft); color: var(--soft-ink);
  transition: transform 0.5s var(--spring);
}
.card:hover .card-icon { transform: translateY(-3px) rotate(-8deg) scale(1.05); }
.card h3 { margin-top: 22px; font-size: 21px; font-weight: 700; }
.card p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.card-meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.card-meta span:first-child { color: var(--muted); font-weight: 500; }

/* ---------- Timeline ---------- */
.steps { --p: 0; position: relative; }
.rail { position: relative; height: 4px; margin: 0 12.5% 28px; border-radius: 999px; background: var(--wire); }
.rail-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--acc), #38BDF8); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: transform 0.15s linear; }
.rail-dots { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; }
.rail-dot { width: 18px; height: 18px; margin: 0 -9px; border-radius: 50%; background: var(--surface); border: 3px solid var(--wire); transition: border-color 0.3s, transform 0.4s var(--spring), background-color 0.3s; }
.rail-dot.is-on { border-color: var(--acc); background: var(--acc); transform: scale(1.15); }
.step {
  padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px var(--shadow); }
.step-day { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--chip); font-size: 13px; font-weight: 700; }
.step h3 { margin-top: 16px; font-size: 19px; font-weight: 700; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.step-final { background: var(--acc); color: var(--on-acc); border-color: transparent; position: relative; overflow: hidden; }
.step-final p { color: inherit; opacity: 0.92; }
.step-final .step-day { background: transparent; border: 1px solid currentColor; }
.step-final::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-100%); animation: sheen 4.5s var(--ease) infinite 1s;
}
@keyframes sheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- Pricing ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price {
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.price:hover { transform: translateY(-6px); box-shadow: 0 24px 50px var(--shadow); }
.price h3 { font-size: 20px; font-weight: 700; }
.price-amount { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.price-amount small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-from { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price ul { display: grid; gap: 12px; flex-grow: 1; font-size: 15px; color: var(--body); }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li svg { flex: none; margin-top: 3px; color: var(--acc); }
.price .btn { width: 100%; }
.price-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price-tag { padding: 4px 12px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-size: 12px; font-weight: 700; }

@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.price-featured-wrap {
  position: relative; padding: 1.5px; border-radius: 27.5px;
  background: conic-gradient(from var(--angle), transparent 0deg, var(--acc) 70deg, #38BDF8 120deg, transparent 180deg, transparent 360deg);
  animation: spin 6s linear infinite;
  box-shadow: 0 30px 60px var(--glow);
}
@keyframes spin { to { --angle: 360deg; } }
.price-featured { height: 100%; background: var(--hi-bg); color: var(--hi-ink); border-color: transparent; }
.price-featured .price-amount small, .price-featured .price-from, .price-featured ul { color: var(--hi-muted); }
.price-featured li svg { color: #7DD3FC; }
.price-featured .btn { background: var(--hi-ink); color: var(--hi-bg); }
.price-featured:hover { transform: none; box-shadow: none; }
.price-featured-wrap:hover { transform: translateY(-6px); }
.price-featured-wrap { transition: transform 0.45s var(--ease); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
  interpolate-size: allow-keywords;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: 0 14px 34px var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--chip); transition: transform 0.45s var(--spring), background-color 0.3s; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { transform: rotate(135deg); background: var(--soft); color: var(--soft-ink); }
.faq details::details-content { height: 0; overflow: clip; transition: height 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-shell { padding: 10px; border-radius: 38px; background: var(--shell); border: 1px solid var(--line); }
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: clamp(32px, 5.5vw, 72px);
  border-radius: 30px; background: var(--acc); color: var(--on-acc);
}
.contact::before, .contact::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
}
.contact::before { width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%); animation: drift-2 14s ease-in-out infinite alternate; }
.contact::after { width: 420px; height: 420px; left: -140px; bottom: -220px; background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 65%); animation: drift-1 16s ease-in-out infinite alternate; }
.contact h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.035em; }
.contact-lead { margin-top: 18px; font-size: 18px; opacity: 0.92; }
.contact-list { margin-top: 30px; display: grid; gap: 14px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 17px; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list .ic { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: color-mix(in srgb, var(--on-acc) 14%, transparent); }

.form { display: grid; gap: 14px; padding: 28px; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18); }
.form h3 { font-size: 20px; font-weight: 700; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line-strong);
  font-size: 16px; transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px var(--glow); }
.field input[aria-invalid="true"] { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15); }
.form-note { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(80px, 10vw, 120px) 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-top p { margin-top: 12px; max-width: 340px; font-size: 15px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; font-weight: 500; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.socials { display: flex; gap: 10px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); transition: color 0.25s, border-color 0.25s, transform 0.35s var(--spring); }
.socials a:hover { color: var(--acc); border-color: var(--acc); transform: translateY(-3px); }

/* Floating WhatsApp button (phones) */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: none; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--acc); color: var(--on-acc);
  box-shadow: 0 14px 30px var(--glow), 0 4px 12px var(--shadow);
  transform: translateY(90px); transition: transform 0.5s var(--spring);
}
.fab.is-shown { transform: none; }

/* ---------- Motion (only when JavaScript runs) ---------- */
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }
.js .split:not(.is-split) { opacity: 0; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: translateY(40px) scale(0.96); }

.js .split .w { display: inline-block; opacity: 0; transform: translateY(0.45em) rotate(3deg); filter: blur(6px); animation: word-in 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
.js .hero .hl { background-size: 0% 100%; animation: marker 0.9s var(--ease) 1s forwards; }
@keyframes marker { to { background-size: 100% 100%; } }

.js .mock .sk, .js .mock .sk-btn, .js .mock .mock-tile { transform: scaleX(0); }
.js .mock .chip, .js .mock .mock-visual-card { opacity: 0; transform: translateY(10px) scale(0.9); }
.js .mock .fill { transform: scaleX(0); }
.js .mock.is-in .sk, .js .mock.is-in .sk-btn, .js .mock.is-in .mock-tile { animation: build 0.7s var(--ease) forwards; animation-delay: calc(var(--b, 0) * 120ms + 300ms); }
.js .mock.is-in .chip, .js .mock.is-in .mock-visual-card { animation: pop 0.6s var(--spring) forwards; animation-delay: calc(var(--b, 0) * 120ms + 300ms); }
.js .mock.is-in .fill { animation: build 2.6s var(--ease) 0.4s forwards; }
@keyframes build { to { transform: scaleX(1); } }
@keyframes pop { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float-a { left: 8px; top: -28px; }
  .float-b { right: 8px; bottom: -28px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .fab { display: inline-flex; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .mock-body, .mock-row { padding-inline: 20px; }
  .mock-body { padding-block: 24px; }
  .mock-progress { padding-inline: 20px; }
  .mock-visual { height: 180px; }
  .float-chip { padding: 10px 12px; font-size: 13px; }
  .float-chip small { display: none; }
  .hero-ctas .btn { width: 100%; }
  .form { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .orb, .marquee-track, .float-chip, .price-featured-wrap { animation: none !important; }
  .js [data-reveal], .js .split .w { opacity: 1; transform: none; filter: none; }
}

/* View transition for the theme switch (circular reveal) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
