/* ============================================================
   Cruzync Studio — Premium Agency Website
   Custom design layer (works alongside Tailwind utilities)
   ============================================================ */

:root {
  --bg: #0b0f19;
  --bg-2: #121826;
  --card: #1b2433;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --blue: #4f8cff;
  --blue-bright: #6ba1ff;
  --violet: #7b61ff;
  --success: #35d07f;
  --accent-grad: linear-gradient(120deg, #4f8cff 0%, #7b61ff 100%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(79, 140, 255, 0.28); color: var(--ink); }

.font-display { font-family: var(--display); letter-spacing: -0.02em; }

/* ---------- Ambient background ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(123, 97, 255, 0.14), transparent 60%),
    radial-gradient(50% 45% at 90% 10%, rgba(79, 140, 255, 0.12), transparent 60%),
    radial-gradient(45% 40% at 50% 100%, rgba(79, 140, 255, 0.08), transparent 65%);
}
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 75%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 14s ease-in-out infinite;
}
.orb-1 { width: 460px; height: 460px; top: -120px; left: -80px; background: radial-gradient(circle, #4f8cff, transparent 70%); }
.orb-2 { width: 400px; height: 400px; top: 6%; right: -100px; background: radial-gradient(circle, #7b61ff, transparent 70%); animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-28px) translateX(18px); }
}

/* ---------- Glass ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.glass-strong {
  background: linear-gradient(180deg, rgba(27,36,51,0.92), rgba(18,24,38,0.90));
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.55);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

/* ---------- Text gradient ---------- */
.text-grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.animate-grad {
  background-size: 200% 200%;
  animation: gradShift 8s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #4f8cff, #7b61ff);
  box-shadow: 0 10px 30px -8px rgba(79,140,255,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative;
}
.btn-primary::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, #6ba1ff, #9380ff);
  opacity: 0; transition: opacity .25s;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(79,140,255,0.55); }
.btn-primary:hover::after { opacity: 1; }
.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.24); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }

/* ---------- Cards ---------- */
.card {
  border-radius: 20px;
  position: relative;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.55);
}
/* glow ring on hover */
.glow::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--accent-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.glow:hover::before { opacity: 1; }

.icon-chip {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,140,255,0.18), rgba(123,97,255,0.10));
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--blue);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue);
  padding: .4rem .85rem; border-radius: 999px;
  background: rgba(79,140,255,0.10);
  border: 1px solid var(--border);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px rgba(123,97,255,.6); }

/* ---------- Nav ---------- */
#navbar { transition: background .3s, backdrop-filter .3s, border-color .3s, box-shadow .3s; }
#navbar.scrolled {
  background: rgba(11,15,25,0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--border);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,0.45);
}
.nav-link { position: relative; color: var(--muted); transition: color .2s; }
.nav-link:hover { color: var(--ink); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent-grad); transition: width .25s; border-radius: 2px;
}
.nav-link:hover::after { width: 100%; }

#mobileMenu { transition: opacity .3s, transform .3s; }
#mobileMenu.hidden-menu { opacity: 0; transform: translateY(-10px); pointer-events: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ---------- Hero browser mockups ---------- */
.browser {
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px -35px rgba(0,0,0,0.6);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.floaty { animation: floaty 7s ease-in-out infinite; }
.floaty-2 { animation: floaty 9s ease-in-out infinite; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(-.6deg); } }

.badge-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-strong);
  font-size: .85rem; color: var(--ink);
  backdrop-filter: blur(10px);
}
.stars { color: #ffce54; letter-spacing: 1px; }

/* marquee logos */
.marquee { 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; gap: 3.5rem; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Comparison table ---------- */
.vs-good { color: var(--success); }
.vs-bad { color: #f87171; }

/* ---------- Timeline ---------- */
.timeline-line { background: linear-gradient(180deg, transparent, var(--violet), var(--blue-bright), transparent); }

/* ---------- Portfolio ---------- */
.folio { overflow: hidden; }
.folio img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.folio:hover img { transform: scale(1.06); }
.folio .overlay { opacity: 0; transition: opacity .35s; }
.folio:hover .overlay { opacity: 1; }

/* filter chips */
.chip { cursor: pointer; transition: all .2s; }
.chip.active { background: linear-gradient(120deg, #4f8cff, #7b61ff); color: #fff; border-color: transparent; }

/* ---------- Pricing ---------- */
.price-pop { position: relative; }
.price-featured {
  background: linear-gradient(180deg, rgba(123,97,255,0.12), rgba(79,140,255,0.05));
  border: 1px solid rgba(123,97,255,0.32);
  box-shadow: 0 30px 80px -35px rgba(123,97,255,0.35);
}

/* ---------- FAQ ---------- */
.faq-item .faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s; opacity: 0; }
.faq-item.open .faq-body { opacity: 1; }
.faq-item .faq-icon { transition: transform .35s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ---------- Marquee testimonials rows ---------- */
.tcard { border-radius: 18px; }

/* ---------- Footer ---------- */
.footer-link { color: var(--muted); transition: color .2s, padding-left .2s; }
.footer-link:hover { color: var(--ink); padding-left: 4px; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }
.section-pad { padding-top: 6.5rem; padding-bottom: 6.5rem; }
@media (max-width: 768px) { .section-pad { padding-top: 4.5rem; padding-bottom: 4.5rem; } }

.hover-lift { transition: transform .3s, box-shadow .3s; }
.hover-lift:hover { transform: translateY(-4px); }

/* scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #2a3548; border-radius: 10px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #3b4a63; }

/* progress bar */
#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: var(--accent-grad); box-shadow: 0 0 12px rgba(79,140,255,0.5); }

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

/* ============================================================
   Hero — AI Automation Dashboard (glass panel + orbit + icons)
   Pure CSS/SVG, no images. Behavior (parallax, live activity,
   particles) lives in js/hero-dashboard.js. All motion here is
   transform/opacity only so it stays cheap and 60fps-friendly;
   the prefers-reduced-motion block above already collapses every
   animation/transition on this component to near-zero duration.
   ============================================================ */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 560px;
  margin: 0 auto;
  --accent-glow: rgba(90, 120, 255, .45);
}
@media (max-width: 1024px) { .hero-visual { height: 480px; } }
@media (max-width: 640px)  { .hero-visual { height: 400px; max-width: 420px; } }

/* soft radial glow sitting behind everything, slow breathing pulse */
.hv-glow {
  position: absolute; inset: -10%;
  z-index: 0;
  background: radial-gradient(48% 48% at 50% 48%, var(--accent-glow), transparent 70%);
  filter: blur(40px);
  animation: hvBreathe 6s ease-in-out infinite;
}
@keyframes hvBreathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* rotating gradient orbit rings — thin ring carved out with a radial mask
   so only the transform (not the gradient) needs to animate each frame */
.hv-orbit {
  position: absolute; left: 50%; top: 50%;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
}
.hv-orbit-1 {
  width: 92%; height: 92%;
  opacity: .55;
  background: conic-gradient(from 0deg, transparent 0%, rgba(79,140,255,.55) 12%, transparent 28%, rgba(123,97,255,.5) 52%, transparent 66%, rgba(79,140,255,.4) 85%, transparent 100%);
  animation: hvSpin 26s linear infinite;
}
.hv-orbit-2 {
  width: 74%; height: 74%;
  opacity: .4;
  filter: blur(1px);
  background: conic-gradient(from 180deg, transparent 0%, rgba(123,97,255,.5) 18%, transparent 40%, rgba(79,140,255,.45) 68%, transparent 90%);
  animation: hvSpin 19s linear infinite reverse;
}
@keyframes hvSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* centers the dashboard card without baking translate math into keyframes */
.hv-stage { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; }

/* JS-driven mouse parallax layer (see js/hero-dashboard.js) — kept on its
   own element so it never has to fight the card's own float animation
   for control of `transform` */
.hv-parallax { will-change: transform; }

/* the glass dashboard card — static 3D lean + gentle float are baked into
   one keyframe below so nothing ever overwrites the other mid-animation */
.hv-dashboard {
  position: relative;
  width: min(420px, 100%);
  border-radius: 22px;
  padding: 22px;
  animation: hvFloat 9s ease-in-out infinite;
  box-shadow:
    0 40px 100px -35px rgba(6, 10, 20, .7),
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 60px -12px var(--accent-glow);
}
/* neon gradient border ring — same masked-border technique as .glow::before */
.hv-dashboard::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(107,161,255,.9), rgba(123,97,255,.35) 40%, rgba(90,120,255,.75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .8;
  pointer-events: none;
}
/* faint top sheen so the panel reads as glass, not a flat card */
.hv-dashboard::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,.10), transparent 42%);
  pointer-events: none;
}
@keyframes hvFloat {
  0%, 100% { transform: perspective(1400px) rotateX(7deg) rotateY(-13deg) translateY(0); }
  50%      { transform: perspective(1400px) rotateX(5deg) rotateY(-10deg) translateY(-14px); }
}

.hv-list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }

.hv-row {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  transition: background .5s ease, border-color .5s ease, box-shadow .5s ease;
}
.hv-row.is-active {
  background: rgba(90,120,255,.14);
  border-color: rgba(123,150,255,.35);
  box-shadow: 0 0 24px -6px var(--accent-glow);
}
/* light sweep that travels across a row when it goes active */
.hv-row::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.16) 48%, transparent 66%);
  transform: translateX(-120%);
  pointer-events: none;
}
.hv-row.is-active::after { animation: hvSweep 1.3s ease; }
@keyframes hvSweep { to { transform: translateX(120%); } }

.hv-row-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(123,97,255,.28), rgba(79,140,255,.16));
  color: #c9bfff;
  transition: transform .4s cubic-bezier(.3,1.6,.5,1);
}
.hv-row.is-active .hv-row-icon { transform: scale(1.14); }

.hv-row-text { flex: 1 1 auto; min-width: 0; }
.hv-row-title { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-row-time { flex-shrink: 0; font-size: .74rem; color: var(--muted-2); }

.hv-row-action {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
}
.hv-row-action--green  { background: linear-gradient(135deg, #35d07f, #1fae63); box-shadow: 0 6px 16px -6px rgba(53,208,127,.6); }
.hv-row-action--violet { background: linear-gradient(135deg, #8a75ff, #6f52ff); box-shadow: 0 6px 16px -6px rgba(123,97,255,.6); }
.hv-row-action--blue   { background: linear-gradient(135deg, #6ba1ff, #4f8cff); box-shadow: 0 6px 16px -6px rgba(79,140,255,.6); }

/* floating circular icons orbiting the card — position via --x/--y (percent,
   set inline per icon), independent motion via --dur/--delay */
.hv-icon {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--size, 52px); height: var(--size, 52px);
  z-index: 4;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #dce6ff;
  background: linear-gradient(160deg, rgba(27,36,51,.85), rgba(18,24,38,.75));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(4,8,18,.7), 0 0 26px -4px var(--glow, var(--accent-glow));
  animation: hvIconFloat var(--dur, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes hvIconFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
  50%      { transform: translate(-50%, -50%) translateY(-12px) rotate(6deg); }
}
.hv-icon-phone    { --glow: rgba(53,208,127,.5); }
.hv-icon-calendar { --glow: rgba(123,97,255,.55); }
.hv-icon-mail     { --glow: rgba(79,140,255,.55); }
.hv-icon-ai       { --glow: rgba(90,120,255,.5); opacity: .85; }

/* ambient drifting particles + light streaks — DOM nodes generated by
   js/hero-dashboard.js, styling/motion fully declarative here */
.hv-particles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.hv-particle {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s, 3px); height: var(--s, 3px);
  border-radius: 50%;
  background: radial-gradient(circle, #bcd0ff 0%, rgba(123,97,255,0) 70%);
  opacity: 0;
  animation: hvParticle var(--dur, 9s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes hvParticle {
  0%   { opacity: 0; transform: translateY(0); }
  15%  { opacity: .8; }
  85%  { opacity: .5; }
  100% { opacity: 0; transform: translateY(-70px); }
}
.hv-streak {
  position: absolute; left: -30%;
  width: 40%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140,170,255,.55), transparent);
  animation: hvStreak var(--dur, 8s) linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes hvStreak { from { transform: translate(0,0); } to { transform: translate(260%, 340px); } }

@media (max-width: 640px) {
  .hv-dashboard { padding: 16px; }
  .hv-row { padding: 10px 12px; gap: 10px; }
  .hv-row-title { font-size: .82rem; }
}

/* ============================================================
   Sub-page additions (forms, page headers, tables, portals)
   Layered on top of the existing system — same tokens & feel.
   ============================================================ */

/* Inner-page header offset so content clears the fixed nav */
.page-top { padding-top: 8.5rem; }
@media (max-width: 768px) { .page-top { padding-top: 6.5rem; } }

/* Page hero eyebrow spacing helper */
.page-head h1 { font-family: var(--display); letter-spacing: -0.02em; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.field .req { color: #f87171; }
.input, .select, .textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  border-radius: 14px;
  padding: .85rem 1rem;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: rgba(79,140,255,0.6);
  box-shadow: 0 0 0 4px rgba(79,140,255,0.15);
  background: var(--bg-2);
}
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.select option { background: var(--bg-2); color: var(--ink); }

/* file dropzone */
.dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  background: rgba(255,255,255,0.02);
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.dropzone:hover { border-color: rgba(79,140,255,0.55); background: rgba(79,140,255,0.08); }

/* color swatch input row */
.swatch { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); padding: 2px; background: rgba(255,255,255,0.04); cursor: pointer; }

/* ---------- Section label inside multi-step forms ---------- */
.form-section-num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: .95rem; color: var(--violet);
  background: linear-gradient(135deg, rgba(123,97,255,0.22), rgba(79,140,255,0.14));
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---------- Comparison / plan tables ---------- */
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; }
.ptable th, .ptable td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .92rem; }
.ptable thead th { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1rem; }
.ptable td.center, .ptable th.center { text-align: center; }
.ptable tr:last-child td { border-bottom: none; }
.ptable .col-pop { background: linear-gradient(180deg, rgba(79,140,255,0.10), rgba(123,97,255,0.04)); }
.tick { color: var(--success); }
.cross { color: var(--muted-2); }

/* ---------- Trust badges strip ---------- */
.trust-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); font-size: .82rem; color: var(--muted); }

/* ---------- Blog ---------- */
.tag-chip { font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: .3rem .7rem; border-radius: 999px; background: rgba(79,140,255,0.14); color: var(--blue); border: 1px solid rgba(79,140,255,0.3); }

/* ============================================================
   Premium header navigation — dropdowns + slide-in mobile menu
   (navigation only; reuses existing tokens, glass, and motion)
   ============================================================ */
.nav-item { position: relative; }
.nav-link.active, .nav-dd-trigger.active { color: var(--ink); }
.nav-link.active::after { width: 100%; }

.nav-dd-trigger {
  display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: 0; cursor: pointer; padding: 0;
  font: inherit; font-size: .875rem; font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.nav-dd-trigger .chev { transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.nav-item:hover .nav-dd-trigger,
.nav-item:focus-within .nav-dd-trigger,
.nav-item.open .nav-dd-trigger { color: var(--ink); }
.nav-item:hover .chev,
.nav-item:focus-within .chev,
.nav-item.open .chev { transform: rotate(180deg); }

.nav-dd-panel {
  position: absolute; top: calc(100% + 16px); right: 0;
  width: 340px; padding: .5rem; border-radius: 20px;
  background: linear-gradient(180deg, rgba(27,36,51,.98), rgba(18,24,38,.98));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(10px) scale(.98); transform-origin: top right;
  transition: opacity .22s ease, transform .24s cubic-bezier(.2,.8,.2,1), visibility .22s;
  z-index: 60;
}
.nav-dd-panel::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-item:hover .nav-dd-panel,
.nav-item:focus-within .nav-dd-panel,
.nav-item.open .nav-dd-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1);
}
.nav-dd-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); padding: .55rem .8rem .35rem; }
.nav-dd-item { display: flex; gap: .8rem; align-items: center; padding: .65rem .8rem; border-radius: 13px; transition: background .18s; }
.nav-dd-item:hover { background: rgba(255,255,255,.06); }
.nav-dd-item.active { background: rgba(79,140,255,.14); }
.nav-dd-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; color: var(--blue); background: linear-gradient(135deg, rgba(79,140,255,.20), rgba(123,97,255,.14)); border: 1px solid rgba(255,255,255,.08); }
.nav-dd-item h4 { font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.15; }
.nav-dd-item p { font-size: .76rem; color: var(--muted); margin-top: 2px; }
.nav-dd-item.primary .nav-dd-ico { background: linear-gradient(135deg, #7b61ff, #4f8cff); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(123,97,255,.55); }

.nav-cta { white-space: nowrap; }

/* ---------- Slide-in mobile menu ---------- */
#mobileMenu {
  position: fixed; top: 0; right: 0; bottom: 0; height: 100dvh;
  width: min(92vw, 400px); z-index: 45;
  padding: 92px 1.1rem 1.6rem;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(27,36,51,.98), rgba(18,24,38,.98));
  border-left: 1px solid var(--border-strong);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: -30px 0 80px -25px rgba(0,0,0,.55);
  transform: translateX(0); opacity: 1; pointer-events: auto;
  transition: transform .42s cubic-bezier(.2,.8,.2,1);
}
#mobileMenu.hidden-menu { transform: translateX(106%); opacity: 1; pointer-events: none; }

.m-backdrop { position: fixed; inset: 0; z-index: 44; background: rgba(5,8,14,.55); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.m-backdrop.show { opacity: 1; pointer-events: auto; }

.m-link { display: block; padding: .85rem .9rem; border-radius: 13px; font-size: 1rem; font-weight: 600; color: var(--ink); transition: background .18s; }
.m-link:hover, .m-link.active { background: rgba(255,255,255,.06); }
.m-group { border-top: 1px solid var(--border); margin-top: .55rem; padding-top: .3rem; }
.m-group-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: .85rem .9rem; border-radius: 12px; background: none; border: 0; cursor: pointer; color: var(--muted); font: inherit; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
.m-group-trigger .chev { transition: transform .3s; }
.m-group.open .m-group-trigger { color: var(--ink); }
.m-group.open .m-group-trigger .chev { transform: rotate(180deg); }
.m-sub { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.m-group.open .m-sub { max-height: 460px; }
.m-sub a { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-radius: 11px; color: var(--muted); font-size: .95rem; font-weight: 500; transition: background .18s, color .18s; }
.m-sub a:hover, .m-sub a.active { background: rgba(255,255,255,.06); color: var(--ink); }
.m-sub a.primary { color: var(--ink); }

/* animated hamburger polish */
#menuBtn svg { transition: transform .3s cubic-bezier(.2,.8,.2,1); }

/* ---------- Selected file chips (upload feedback) ---------- */
.file-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; justify-content: center; }
.file-pill { font-size: .72rem; font-weight: 600; padding: .28rem .6rem; border-radius: 999px; background: rgba(53,208,127,0.14); color: var(--success); border: 1px solid rgba(53,208,127,0.32); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   Booking page — GoHighLevel calendar embed
   Frames the iframe so it reads as a native part of the site
   instead of an obviously-dropped-in widget. The iframe itself
   is cross-origin and can't be restyled, so this only shapes
   the "mat" around it: matching radius, shadow language reused
   from .glass-strong/.card-hover, and a branded loading state
   that fills the space before GHL's content paints.
   ============================================================ */
.feature-icon-chip { background: linear-gradient(135deg, rgba(123,97,255,.3), rgba(79,140,255,.25)); }

.calendar-panel-glow {
  position: absolute; inset: 0; z-index: -1; opacity: .6; pointer-events: none;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(79,140,255,.2), transparent 70%),
    radial-gradient(50% 50% at 90% 100%, rgba(123,97,255,.18), transparent 70%);
}

.calendar-panel__label {
  display: flex; align-items: center; gap: .5rem;
  padding: .25rem .5rem .875rem;
  color: var(--muted);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.calendar-panel__label svg { flex-shrink: 0; color: var(--blue-bright); }

/* The "mat": same border-radius family as the outer glass panel,
   a hairline ring instead of a hard-cut edge, and the exact
   shadow values .glass-strong already uses elsewhere on the site. */
.ghl-mat {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 0 0 1px rgba(8,12,22,.06),
    0 20px 60px -30px rgba(0,0,0,0.55);
}
@media (min-width: 640px) { .ghl-mat { border-radius: 24px; } }
.ghl-mat iframe { display: block; width: 100%; position: relative; z-index: 1; }

/* Branded loading state — avoids a blank white flash before the
   widget paints; fades out once the iframe reports load, with a
   timed fallback so it can never get stuck open. */
.ghl-loading {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  background: linear-gradient(180deg, #ffffff, #f4f6fb);
  transition: opacity .4s ease, visibility .4s ease;
}
.ghl-loading.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.ghl-loading__ring {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid rgba(79,140,255,.15); border-top-color: var(--blue);
  animation: ghlSpin .8s linear infinite;
}
.ghl-loading__text { font-size: .82rem; color: #5b6472; font-weight: 500; }
@keyframes ghlSpin { to { transform: rotate(360deg); } }
/* Site-wide prefers-reduced-motion block above already collapses this
   spinner and the fade-out transition to near-zero duration. */
