/* ==========================================================================
   Pulse Orbit — main stylesheet
   LIGHT premium theme · white + lavender washes · electric purple gradients
   Typography: Sora (headings) / Inter (body)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f2fd;
  --navy: #ffffff;
  --navy-2: #eef1f8;
  --purple: #7c3aed;
  --purple-2: #a855f7;
  --cyan: #22d3ee;
  --cyan-ink: #0891b2;
  --text: #0b1026;
  --muted: #5a6378;
  --line: rgba(11, 16, 38, .09);
  --glass: rgba(255, 255, 255, .75);
  --radius: 18px;
  --shadow: 0 18px 45px rgba(17, 24, 39, .08);
  --shadow-lift: 0 28px 64px rgba(124, 58, 237, .16), 0 8px 20px rgba(17, 24, 39, .08);
  --grad: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 55%, var(--cyan) 130%);
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; letter-spacing: -.01em; }

::selection { background: var(--purple); color: #fff; }

.container { width: min(1180px, 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--purple); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* --- Ambient background ------------------------------------------------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(720px 480px at 8% -2%, rgba(124, 58, 237, .10), transparent 60%),
    radial-gradient(640px 460px at 95% 6%, rgba(8, 145, 178, .08), transparent 60%),
    radial-gradient(900px 620px at 50% 112%, rgba(168, 85, 247, .07), transparent 60%),
    var(--bg);
}

/* --- Alternating section rhythm (pure CSS, no markup changes) ----------- */
main > section:nth-of-type(even) {
  background:
    radial-gradient(620px 400px at 10% 0%, rgba(124, 58, 237, .07), transparent 60%),
    radial-gradient(580px 380px at 90% 100%, rgba(8, 145, 178, .06), transparent 60%),
    var(--bg-soft);
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.9rem; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 34px rgba(124, 58, 237, .5);
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.06); box-shadow: 0 18px 44px rgba(124, 58, 237, .55); }
.btn-ghost {
  background: #ffffff; color: var(--text);
  border: 1px solid rgba(11, 16, 38, .14);
  box-shadow: 0 8px 20px rgba(17, 24, 39, .06);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--purple-2); box-shadow: 0 14px 30px rgba(124, 58, 237, .18); }
.btn-sm { padding: .65rem 1.35rem; font-size: .9rem; }

/* --- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(17, 24, 39, .1); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.brand-text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  text-decoration: none; color: var(--muted); font-weight: 500; font-size: .98rem;
  position: relative; padding-block: .3rem; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .25s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: .5rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 1rem 4%; }
.mobile-menu ul { display: grid; gap: .4rem; }
.mobile-menu a:not(.btn) { display: block; padding: .7rem .4rem; text-decoration: none; color: var(--muted); font-weight: 500; }
.mobile-menu a.is-active, .mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn { justify-content: center; margin-top: .5rem; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  padding: 5.5rem 0 4.5rem; position: relative;
  background:
    radial-gradient(600px 420px at 88% 10%, rgba(168, 85, 247, .13), transparent 62%),
    radial-gradient(520px 380px at 6% 90%, rgba(8, 145, 178, .10), transparent 62%),
    radial-gradient(440px 320px at 48% 42%, rgba(124, 58, 237, .07), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-2));
  border: 1px solid rgba(124, 58, 237, .35); border-radius: 999px; padding: .45rem 1.1rem;
  margin-bottom: 1.4rem; box-shadow: 0 8px 22px rgba(124, 58, 237, .32);
}
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 1.2rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points .icon { width: 18px; height: 18px; color: var(--cyan-ink); }

/* Orbital animated graphic */
.orbit-stage { position: relative; display: grid; place-items: center; min-height: 380px; }
.orbit-core {
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--purple-2), var(--purple) 55%, #2a1065);
  box-shadow: 0 0 60px rgba(168, 85, 247, .55), 0 0 140px rgba(124, 58, 237, .25);
  display: grid; place-items: center; position: relative; z-index: 2;
}
.orbit-core .pulse-dot {
  width: 26px; height: 26px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan); animation: pulse 2.2s ease-in-out infinite;
}
.orbit-ring {
  position: absolute; border-radius: 50%; border: 1.5px solid rgba(168, 85, 247, .35);
}
.orbit-ring.r1 { width: 250px; height: 250px; animation: spin 16s linear infinite; }
.orbit-ring.r2 { width: 330px; height: 330px; border-color: rgba(34, 211, 238, .28); animation: spin 26s linear infinite reverse; }
.orbit-ring.r3 { width: 410px; height: 410px; border-color: rgba(124, 58, 237, .18); animation: spin 40s linear infinite; }
.orbit-ring i {
  position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 14px var(--cyan);
}
.orbit-ring.r1 i { background: var(--purple-2); box-shadow: 0 0 14px var(--purple-2); }
.orbit-ring.r3 i { background: #fff; box-shadow: 0 0 12px #fff; width: 9px; height: 9px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .75; } }

/* --- Sections ----------------------------------------------------------- */
.section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3.2rem; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 800; margin-bottom: .9rem; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head::after {
  content: ""; display: block; width: 76px; height: 4px; margin: 1.3rem auto 0; border-radius: 4px;
  background: var(--grad); box-shadow: 0 0 18px rgba(168, 85, 247, .55);
}

/* --- Cards -------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: 0 18px 45px rgba(17, 24, 39, .08), 0 3px 10px rgba(124, 58, 237, .05);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-8px); border-color: rgba(168, 85, 247, .5); box-shadow: var(--shadow-lift); }
.card:hover::before { opacity: 1; }
.card .icon-wrap {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(8, 145, 178, .09));
  border: 1px solid rgba(124, 58, 237, .28); margin-bottom: 1.2rem; color: var(--purple);
}
.card .icon-wrap .icon { width: 27px; height: 27px; }
.card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem;
  color: var(--cyan-ink); font-weight: 600; font-size: .94rem; text-decoration: none;
}
.card .card-link .icon { width: 17px; height: 17px; transition: transform .25s; }
.card .card-link:hover .icon { transform: translateX(4px); }

/* --- Process ------------------------------------------------------------ */
.process { counter-reset: step; }
.process .card { text-align: left; }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .4rem; display: block;
}

/* --- FAQ ---------------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: .9rem; }
.faq-item {
  background: #ffffff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .06);
  overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.faq-item.open { border-color: rgba(168, 85, 247, .55); box-shadow: 0 16px 40px rgba(124, 58, 237, .12); }
.faq-q {
  width: 100%; background: none; border: 0; color: var(--text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem; font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; text-align: left;
}
.faq-q .faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(124, 58, 237, .1); border: 1px solid rgba(124, 58, 237, .35); transition: transform .3s; }
.faq-q .faq-icon::before { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--purple); }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .98rem; }

/* --- Checklist component (service pages) ---------------------------------- */
.check-list { display: grid; gap: .7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); font-size: .98rem; line-height: 1.55; }
.check-list .icon {
  width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--cyan-ink);
  filter: drop-shadow(0 0 6px rgba(8, 145, 178, .35));
}

/* --- Contact section ---------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.contact-info { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.info-row {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #ffffff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .06);
}
.info-row .icon-wrap { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(8, 145, 178, .09));
  border: 1px solid rgba(124, 58, 237, .28); color: var(--purple); }
.info-row .icon-wrap .icon { width: 21px; height: 21px; }
.info-row strong { display: block; font-family: var(--font-head); font-size: .95rem; margin-bottom: .15rem; }
.info-row p, .info-row a { color: var(--muted); font-size: .95rem; text-decoration: none; }
.info-row a:hover { color: var(--cyan-ink); }

.form-card {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; box-shadow: var(--shadow-lift);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { margin-bottom: 1.15rem; }
.form-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; }
.form-field label .optional { font-weight: 400; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: #ffffff; border: 1px solid rgba(11, 16, 38, .14); border-radius: 12px;
  color: var(--text); font: inherit; font-size: .96rem; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.form-field select option { background: #ffffff; }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--purple-2); box-shadow: 0 0 0 3px rgba(168, 85, 247, .16);
}
.field-error { color: #dc2626; font-size: .86rem; margin-top: .4rem; }
.form-error {
  background: rgba(220, 38, 38, .06); border: 1px solid rgba(220, 38, 38, .32);
  color: #b91c1c; border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-size: .94rem;
}
.form-success {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(8, 145, 178, .07); border: 1px solid rgba(8, 145, 178, .35);
  border-radius: 14px; padding: 1.4rem;
}
.form-success .icon { width: 30px; height: 30px; flex: none; color: var(--cyan-ink); }
.form-success h3 { margin-bottom: .4rem; }
.form-success p { color: var(--muted); font-size: .96rem; }
.form-success a { color: var(--cyan-ink); }
.form-note { color: var(--muted); font-size: .84rem; margin-top: .9rem; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* --- Page hero (inner pages) -------------------------------------------- */
.page-hero { padding: 4.5rem 0 3rem; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero .lead { color: var(--muted); max-width: 42rem; margin: 0 auto 1.8rem; font-size: 1.08rem; }
.crumbs { color: var(--muted); font-size: .88rem; margin-bottom: 1.2rem; }
.crumbs a { color: var(--cyan-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* --- Card media (AI thumbnail headers) ------------------------------------ */
.card-media {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9;
  border-radius: var(--radius) var(--radius) 0 0; background: var(--navy-2);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}
.card:hover .card-media img { transform: scale(1.07); }
.card-media-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 15, .28) 0%, rgba(5, 7, 15, 0) 34%, rgba(5, 7, 15, 0) 62%, rgba(5, 7, 15, .5) 100%);
}
.card-chip {
  position: absolute; top: .9rem; left: .9rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #fff; padding: .4rem .85rem; border-radius: 999px;
  background: rgba(10, 15, 36, .55); border: 1px solid rgba(34, 211, 238, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.card-icon-badge {
  position: absolute; top: .9rem; right: .9rem;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: #e9d5ff;
  background: linear-gradient(135deg, rgba(124, 58, 237, .55), rgba(34, 211, 238, .28));
  border: 1px solid rgba(168, 85, 247, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.card-icon-badge .icon { width: 21px; height: 21px; }

/* --- Service cards ------------------------------------------------------ */
.service-card { padding: 0; }
.service-body { padding: 1.6rem 1.7rem 1.8rem; }
.service-body h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.service-body p { color: var(--muted); font-size: .95rem; }

/* --- Portfolio ---------------------------------------------------------- */
.work-card { padding: 0; }
.work-body { padding: 1.5rem 1.6rem 1.7rem; }
.work-body h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.work-body p { color: var(--muted); font-size: .93rem; }
.disclaimer { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 2rem; font-style: italic; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 48%, #9333ea 100%);
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 24px;
  padding: 3.4rem 2.5rem; text-align: center;
  box-shadow: 0 26px 70px rgba(124, 58, 237, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
  position: relative; overflow: hidden; color: #fff;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .8rem; color: #fff; }
.cta-band h2 .grad-text {
  background: linear-gradient(100deg, #ffffff, #e9d5ff 55%, #a5f3fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 36rem; margin: 0 auto 1.8rem; font-size: 1.05rem; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }
.cta-band .btn-primary { background: #fff; color: var(--purple); box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.cta-band .btn-primary:hover { filter: none; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .32); }
.cta-band .btn-ghost {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .55);
  color: #fff; box-shadow: none; backdrop-filter: blur(6px);
}
.cta-band .btn-ghost:hover { border-color: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }

/* --- Prose (privacy policy etc.) ---------------------------------------- */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.4rem; margin: 2.2rem 0 .7rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: .8rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose a { color: var(--cyan-ink); }
.prose .updated { font-size: .88rem; font-style: italic; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-brand p { color: var(--muted); font-size: .95rem; margin-top: 1rem; max-width: 22rem; }
.footer-col h3 { font-size: 1.02rem; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: .94rem; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--cyan-ink); padding-left: 4px; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--purple); }
.footer-contact span, .footer-contact a { font-size: .93rem; }
.footer-col .btn { margin-top: 1.1rem; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.3rem; flex-wrap: wrap; }
.footer-bottom p { color: var(--muted); font-size: .88rem; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--cyan-ink); }

/* --- WhatsApp float ----------------------------------------------------- */
.whatsapp-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transition: transform .25s;
  text-decoration: none;
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); }
.whatsapp-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: wa-ping 2.4s ease-out infinite;
}
@keyframes wa-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* --- Scroll reveal ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

/* ================= WOW LAYER — premium animation system ================= */
/* --- Scroll progress bar ------------------------------------------------ */
#scrollProgress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: linear-gradient(90deg, var(--purple), var(--purple-2), var(--cyan));
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(168, 85, 247, .6); pointer-events: none;
}

/* --- Nav hide on scroll (JS toggles .nav-hidden) ------------------------ */
.site-header { transition: box-shadow .3s ease, transform .38s cubic-bezier(.2, .7, .2, 1); }
.site-header.nav-hidden { transform: translateY(-101%); }

/* --- Hero canvas backdrop ------------------------------------------------ */
.hero { overflow: hidden; }
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: .6; pointer-events: none;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0) 70%, rgba(244, 242, 253, .55)),
    radial-gradient(62% 52% at 50% 46%, transparent 45%, rgba(255, 255, 255, .45) 100%);
}
.hero .container { position: relative; z-index: 2; }

/* --- Orbiting platform icon badges (hero) -------------------------------- */
.orbiters { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.orbiter { position: absolute; left: 0; top: 0; will-change: transform; }
.orbiter-badge {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(124, 58, 237, .45);
  box-shadow: 0 10px 28px rgba(124, 58, 237, .35), 0 0 0 6px rgba(168, 85, 247, .07);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.orbiter-badge svg { width: 26px; height: 26px; display: block; }
@media (max-width: 680px) {
  .orbiter-badge { width: 36px; height: 36px; }
  .orbiter-badge svg { width: 20px; height: 20px; }
}

/* --- Animated gradient headline ------------------------------------------ */
.hero h1 .grad-text {
  background: linear-gradient(100deg, var(--purple) 8%, var(--purple-2) 32%, var(--cyan-ink) 52%, var(--purple-2) 72%, var(--purple) 94%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-sweep 7s ease-in-out infinite;
}
@keyframes grad-sweep {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Staggered scroll reveals (JS sets --rd per element) ------------------ */
.reveal {
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), filter .7s ease;
  filter: blur(6px);
}
.reveal.visible { filter: blur(0); }
.reveal:not(.reveal-d1):not(.reveal-d2):not(.reveal-d3) { transition-delay: var(--rd, 0s); }

/* --- Services ticker ------------------------------------------------------ */
.ticker {
  overflow: hidden; border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  position: relative; z-index: 2;
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-seq { display: flex; align-items: center; gap: 3rem; padding: .95rem 3rem .95rem 0; flex: none; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.ticker-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan), 0 0 26px rgba(34, 211, 238, .5);
}
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* --- Magnetic buttons: cursor glow + shine sweep --------------------------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(130px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 62%);
  opacity: 0; transition: opacity .3s ease;
}
.btn:hover::after { opacity: 1; }
.btn::before {
  content: ""; position: absolute; top: -10%; bottom: -10%; width: 42%; left: -70%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg); transition: left .65s ease; pointer-events: none;
}
.btn:hover::before { left: 140%; }

/* --- 3D tilt cards (JS sets --rx/--ry, adds .tilt) ------------------------- */
.card.tilt { transition: transform .18s ease-out, border-color .3s ease, box-shadow .3s ease; will-change: transform; }
.card.tilt:hover {
  transform: translateY(-8px) perspective(950px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

/* --- Section dividers ------------------------------------------------------ */
.divider { position: relative; height: 2px; width: min(1180px, 92%); margin: 0 auto; }
.divider-line {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .75), rgba(34, 211, 238, .75), transparent);
  transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
  box-shadow: 0 0 14px rgba(139, 92, 246, .35);
}
.divider.drawn .divider-line { transform: scaleX(1); }
.divider-dot {
  position: absolute; top: 50%; left: 4%; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan), 0 0 30px rgba(34, 211, 238, .5);
  opacity: 0; transition: opacity .4s ease .5s;
}
.divider.drawn .divider-dot { opacity: 1; animation: divider-travel 3s ease-in-out 1s infinite; }
@keyframes divider-travel { 0%, 100% { left: 4%; } 50% { left: 96%; } }

/* --- WhatsApp glow ---------------------------------------------------------- */
.whatsapp-float { animation: wa-glow 3.2s ease-in-out infinite; }
@keyframes wa-glow {
  0%, 100% { box-shadow: 0 12px 30px rgba(37, 211, 102, .45); }
  50% { box-shadow: 0 12px 40px rgba(37, 211, 102, .75); }
}

/* --- Footer top gradient glow ------------------------------------------------ */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 4%, var(--purple-2) 32%, var(--cyan) 68%, transparent 96%);
  box-shadow: 0 0 20px rgba(168, 85, 247, .6); pointer-events: none;
}

/* --- Anchor offset under sticky header --------------------------------------- */
section[id], footer[id] { scroll-margin-top: 84px; }

/* --- WOW mobile tuning -------------------------------------------------------- */
@media (max-width: 680px) {
  .hero-canvas { opacity: .45; }
  .ticker-item { font-size: .8rem; }
  .ticker-seq { gap: 2rem; padding-right: 2rem; }
  .ticker-item { gap: 2rem; }
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .orbit-stage { min-height: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .main-nav, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: block; }
  .grid-4, .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .orbit-ring.r3 { width: 300px; height: 300px; }
  .orbit-ring.r2 { width: 240px; height: 240px; }
  .orbit-ring.r1 { width: 190px; height: 190px; }
  .orbit-core { width: 110px; height: 110px; }
  .orbit-stage { min-height: 300px; }
  .form-card { padding: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .whatsapp-float { width: 54px; height: 54px; right: 1rem; bottom: 1rem; }
}

/* --- Preloader ------------------------------------------------------------ */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: #fff;
  display: grid; place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; padding: 1rem; }
.preloader-logo {
  width: 96px; height: 96px; margin: 0 auto 1.4rem;
  animation: pl-pulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 12px 32px rgba(124, 58, 237, .35));
}
@keyframes pl-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
.preloader-bar {
  width: 200px; height: 4px; border-radius: 999px; margin: 0 auto .9rem;
  background: rgba(124, 58, 237, .12); overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 40%; border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--purple-2), var(--cyan));
  animation: pl-slide 1.2s ease-in-out infinite;
}
@keyframes pl-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(360%); } }
.preloader-text { font-size: .85rem; color: var(--muted); }

/* --- Aurora hero backdrop ------------------------------------------------ */
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); }
.aurora .a1 {
  width: 560px; height: 560px; top: -190px; right: -90px;
  background: radial-gradient(circle, rgba(124, 58, 237, .16), transparent 65%);
  animation: aurora-d1 22s ease-in-out infinite alternate;
}
.aurora .a2 {
  width: 480px; height: 480px; bottom: -170px; left: -110px;
  background: radial-gradient(circle, rgba(34, 211, 238, .12), transparent 65%);
  animation: aurora-d2 26s ease-in-out infinite alternate;
}
.aurora .a3 {
  width: 420px; height: 420px; top: 18%; left: 36%;
  background: radial-gradient(circle, rgba(168, 85, 247, .10), transparent 65%);
  animation: aurora-d3 18s ease-in-out infinite alternate;
}
@keyframes aurora-d1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, 60px) scale(1.12); } }
@keyframes aurora-d2 { from { transform: translate(0, 0) scale(1.05); } to { transform: translate(80px, -50px) scale(1); } }
@keyframes aurora-d3 { from { transform: translate(0, 0); } to { transform: translate(-50px, -70px) scale(1.15); } }

/* --- ROI calculator ------------------------------------------------------- */
.roi-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
}
.roi-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 300px at 92% 8%, rgba(124, 58, 237, .08), transparent 60%);
}
.roi-field { margin-bottom: 1.6rem; position: relative; }
.roi-field:last-child { margin-bottom: 0; }
.roi-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; margin-bottom: .7rem; }
.roi-field output { color: var(--purple); font-weight: 700; white-space: nowrap; }
.roi-field input[type="range"] { width: 100%; height: 32px; accent-color: var(--purple); cursor: pointer; }
.roi-result {
  position: relative; text-align: center;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 18px; padding: 2rem 1.5rem;
}
.roi-number {
  font-family: var(--font-head); font-weight: 800; line-height: 1;
  font-size: clamp(3rem, 7vw, 4.4rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.roi-result > p { color: var(--muted); margin: .5rem 0 1.4rem; }
.roi-result .btn { margin-bottom: 1rem; }
.roi-result small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; }
@media (max-width: 860px) { .roi-card { grid-template-columns: 1fr; } }

/* --- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero h1 .grad-text { animation: none; }
  .ticker-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .ticker-seq { flex-wrap: wrap; justify-content: center; padding: .8rem 1rem; }
  .divider-line { transform: scaleX(1); }
  .divider-dot, .hero-canvas, .orbiters { display: none; }
  .site-header { transition: box-shadow .3s ease; transform: none !important; }
  .whatsapp-float { animation: none; }
  .card.tilt { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
}

/* --- Pricing (packages page) ---------------------------------------------- */
.price-section { padding: 2.4rem 0; }
.price-kicker {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--purple);
  margin-bottom: 1.5rem;
}
.price-kicker::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--grad); flex: none;
}
.price-grid { align-items: stretch; }
.price-card {
  position: relative; background: #ffffff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.7rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.price-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: rgba(124, 58, 237, .35);
}
.price-card h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.price {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em;
  font-size: 3rem; line-height: 1; margin: .7rem 0 .4rem;
}
.price-cur { font-size: 1.5rem; font-weight: 700; color: var(--purple); vertical-align: super; }
.price-per { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-tag { color: var(--muted); font-size: .95rem; }
.price-card .check-list { flex: 1; }
.price-cta { margin-top: 1.5rem; width: 100%; justify-content: center; }
.price-card.is-popular {
  border: 2px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-lift);
}
.popular-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  padding: .42rem 1.05rem; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(124, 58, 237, .38);
}
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
