:root {
  --bg: #050506;
  --panel: #0f0f12;
  --border: #1c1c22;
  --text: #f4f4f6;
  --muted: #8a8a92;
  --dim: #55555d;
  --accent: #d94ff5;
  --accent-2: #c05cf0;
  --font: "General Sans", "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

svg { display: block; }
[data-icon] svg { width: 1em; height: 1em; }

/* ===== Starfield ===== */
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.star {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: var(--min, .15); transform: scale(.8); }
  50%      { opacity: var(--max, .8); transform: scale(1.15); }
}

/* ===== Particle spheres ===== */
.orb {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  height: auto;
  /* slow, steady vertical bounce (translate is independent of transform) */
  animation: orb-float var(--float-dur, 7s) ease-in-out var(--float-delay, 0s) infinite;
}
@keyframes orb-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 var(--float-dist, -16px); }
}
.orb--1 { width: 210px; top: -54px;  left: -60px;  transform: rotate(10deg);  opacity: .85; --float-dur: 8s;  --float-delay: 0s;   --float-dist: -18px; }
.orb--2 { width: 150px; top: 350px;  right: 3%;    transform: rotate(-24deg) scaleX(-1); opacity: .7;  --float-dur: 6.5s; --float-delay: -1.2s; --float-dist: -14px; }
.orb--3 { width: 80px;  top: 470px;  left: 27%;    transform: rotate(40deg);  opacity: .55; --float-dur: 5.5s; --float-delay: -2.5s; --float-dist: -12px; }
.orb--4 { width: 140px; top: 3040px; left: 1%;     transform: rotate(18deg);  opacity: .7;  --float-dur: 7.5s; --float-delay: -0.8s; --float-dist: -16px; }
.orb--5 { width: 108px; top: 3600px; right: 3%;    transform: rotate(-32deg) scaleX(-1); opacity: .6;  --float-dur: 6.8s; --float-delay: -3s;   --float-dist: -13px; }
.orb--6 { width: 120px; top: 4160px; left: 4%;     transform: rotate(6deg);   opacity: .65; --float-dur: 8.5s; --float-delay: -1.8s; --float-dist: -17px; }

/* ===== Shared ===== */
.eyebrow {
  display: block; text-align: center;
  color: var(--muted); font-size: .8rem; letter-spacing: .01em; margin-bottom: 1rem;
}
.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.15;
}
.section-sub { text-align: center; color: var(--muted); font-size: .95rem; margin-top: .9rem; }
.muted { color: var(--dim); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.55rem; border-radius: 999px;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.btn--light { background: #f4f4f6; color: #0a0a0c; }
.btn--light:hover { background: #fff; }
.btn--ghost { background: #17171c; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { background: #1e1e24; }

/* ===== Hero ===== */
.hero {
  position: relative; z-index: 2; text-align: center;
  padding: 9rem 1.5rem 6rem; max-width: 720px; margin: 0 auto;
}
.hero__title {
  font-size: clamp(2rem, 5.4vw, 3rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.14;
}
.hero__typed {
  display: block; margin-top: .5rem;
  color: var(--accent);
  /* 7.4vw keeps the longest word ("LEAD GENERATION", 9.4em wide) inside the padded hero on phones */
  font-size: clamp(1.4rem, 7.4vw, 3.5rem);
  font-weight: 700; letter-spacing: .005em; min-height: 1.15em;
}
.cursor { color: var(--accent); font-weight: 300; animation: blink 1s steps(2) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.hero__sub { color: var(--muted); margin-top: 1.4rem; font-size: .95rem; }
.hero__actions { display: flex; gap: .8rem; justify-content: center; margin-top: 2rem; }
.hero__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 16px 4px rgba(217,79,245,.7);
  margin: 5rem auto 0; position: relative; z-index: 2;
}

/* ===== Services ===== */
.services { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; padding: 5rem 1.5rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.card {
  background: linear-gradient(180deg, #101014 0%, #0b0b0e 100%);
  border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: #34343d; transform: translateY(-4px); }
.card__title { color: var(--accent-2); font-size: 1.05rem; font-weight: 600; text-align: center; margin-bottom: 1.1rem; }
.card__media {
  height: 132px; border-radius: 12px;
  background: linear-gradient(180deg, #16161b, #0d0d10);
  border: 1px solid #202027; display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-bottom: 1.1rem;
}
.card__text { color: var(--muted); font-size: .85rem; text-align: center; }

.mini-chat { position: relative; width: 78%; height: 66%; }
.mini-bubble { position: absolute; height: 14px; width: 58%; border-radius: 8px; background: #26262d; top: 18%; }
.mini-bubble--sm { width: 36%; top: 52%; background: #1c1c22; }
.mini-btn { position: absolute; right: 0; bottom: 0; color: var(--accent); font-size: 1.35rem; }

.mini-list { width: 80%; display: flex; flex-direction: column; gap: .5rem; }
.mini-row { display: flex; align-items: center; gap: .45rem; background: #1a1a20; border: 1px solid #24242b; border-radius: 8px; padding: .42rem .6rem; font-size: .72rem; color: var(--muted); }
.mini-row i { font-size: .85rem; }
.mini-row--active { color: var(--accent); border-color: #3a2540; }

.mini-phone { width: 84%; background: #0c0c0f; border: 1px solid #24242b; border-radius: 10px; padding: .5rem; }
.mini-phone__top { display: flex; justify-content: space-between; align-items: center; font-size: .58rem; color: var(--muted); margin-bottom: .4rem; }
.mini-phone__top span { display: inline-flex; align-items: center; gap: .25rem; }
.mini-phone__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; }
.mini-phone__keys span { background: #17171c; border-radius: 5px; text-align: center; font-size: .62rem; color: #9a9aa2; padding: .2rem 0; }

.mini-browser { position: relative; width: 82%; height: 72%; border: 1px solid #24242b; border-radius: 8px; background: #101014; }
.mini-tag { position: absolute; top: 12px; left: 12px; font-size: .62rem; color: var(--muted); background: #17171c; padding: .2rem .45rem; border-radius: 4px; }
.mini-cursor { position: absolute; bottom: 16px; left: 34px; color: #fff; font-size: .95rem; }

.mini-social { display: flex; align-items: center; gap: .55rem; }
.mini-logo { width: 36px; height: 36px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.mini-brand { font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }

.mini-seo { position: relative; display: flex; gap: .5rem; align-items: flex-end; height: 58%; }
.mini-seo > span { width: 16px; background: #26262d; border-radius: 3px; }
.mini-seo > span:nth-child(1) { height: 40%; }
.mini-seo > span:nth-child(2) { height: 66%; }
.mini-seo > span:nth-child(3) { height: 52%; }
.mini-seo > span:nth-child(4) { height: 92%; background: #33333c; }
.mini-seo__trend { position: absolute; top: -10px; right: -14px; color: var(--accent); font-size: 1.2rem; }

/* ===== Testimonials ===== */
.testimonials { position: relative; z-index: 2; padding: 4rem 1rem; max-width: 1200px; margin: 0 auto; }
.carousel { position: relative; margin-top: 3rem; }
.carousel__viewport { width: 100%; overflow: hidden; }
.carousel__track { display: flex; transition: transform .55s cubic-bezier(.5,0,.15,1); }
.slide {
  min-width: min(460px, 88vw);
  width: min(460px, 88vw);
  padding: 0 10px;
  opacity: .22; transform: scale(.9);
  transition: opacity .5s ease, transform .5s ease;
}
.slide.is-active { opacity: 1; transform: scale(1); }
.slide__card {
  background: linear-gradient(180deg, #121216, #0c0c0f);
  border: 1px solid var(--border); border-radius: 18px; padding: 2rem 1.6rem; text-align: center;
}
.slide__avatar {
  height: 116px; margin: 0 auto 1.3rem;
  display: grid; place-items: center;
}
.slide__avatar img { max-height: 116px; max-width: 210px; object-fit: contain; }
.slide__name { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.2rem; }
.slide__quote {
  background: #17171b; border: 1px solid #212128; border-radius: 14px;
  padding: 1.1rem 1.2rem; color: #d6d6db; font-size: .9rem; line-height: 1.6; text-align: left;
}

.carousel__arrow {
  position: absolute; top: 50%; z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(16,16,20,.75); border: 1px solid var(--border);
  color: var(--accent); font-size: 1.1rem; cursor: pointer;
  display: grid; place-items: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s, transform .15s;
}
.carousel__arrow--prev { left: 3%; transform: translateY(-50%); }
.carousel__arrow--next { right: 3%; transform: translateY(-50%); }
.carousel__arrow:hover { background: #1a1a20; transform: translateY(-50%) scale(1.08); }
.carousel__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.6rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #2a2a31; cursor: pointer; transition: background .2s, width .2s; }
.dot.is-active { background: var(--accent); width: 20px; border-radius: 4px; }

/* ===== Why ===== */
.why { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 5rem 1.5rem; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; margin-top: 3.5rem; }
.why__item { border-top: 1px solid var(--border); padding-top: 1.4rem; }
.why__icon { font-size: 1.35rem; margin-bottom: 1rem; color: var(--text); }
.why__item h4 { color: var(--accent-2); font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
.why__item p { color: var(--muted); font-size: .88rem; }
.why__cta { text-align: center; margin-top: 3.5rem; }

/* ===== FAQ ===== */
.faq { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem; }
.faq__list { margin-top: 3rem; display: flex; flex-direction: column; gap: .8rem; }
.faq__item { background: #0d0d10; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-size: .92rem; font-family: inherit; font-weight: 500;
  padding: 1.1rem 1.3rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__ico { color: var(--muted); font-size: 1.15rem; transition: transform .25s, color .25s; flex: 0 0 auto; display: inline-flex; }
.faq__item.is-open .faq__ico { transform: rotate(135deg); color: var(--accent); }
.faq__a { height: 0; overflow: hidden; }
.faq__a p { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .86rem; }

/* ===== Sticky top navbar ===== */
.navbar {
  position: fixed;
  top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 40;
  display: flex; gap: .35rem;
  padding: .4rem .5rem;
  background: rgba(14, 14, 18, .72);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
.navbar a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  text-decoration: none; color: var(--text); font-size: 1rem;
  transition: background .2s, color .2s;
}
.navbar a:hover { background: #1e1e24; color: var(--accent); }

/* ===== CTA ===== */
.cta { position: relative; z-index: 2; text-align: center; padding: 5rem 1.5rem 2rem; max-width: 740px; margin: 0 auto; }
.cta__title { margin-bottom: 0; }

/* ===== Footer / watermark ===== */
.footer { position: relative; z-index: 2; text-align: center; padding-top: 3rem; overflow: hidden; }
.footer__watermark {
  font-size: clamp(4rem, 18vw, 13rem);
  font-weight: 700; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(180deg, #1c1c21 0%, #0a0a0c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__credit { color: var(--dim); font-size: .8rem; padding: 1.5rem; border-top: 1px solid var(--border); margin-top: 3.5rem; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}

/* ===== Premium: texture & global polish ===== */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(217, 79, 245, .35); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262d; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #34343d; }

.section-title {
  background: linear-gradient(180deg, #ffffff 0%, #b9b9c3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title .muted {
  background: linear-gradient(180deg, #6a6a72 0%, #44444c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 6.8vw keeps the 11.6em-wide headline inside the padded hero down to ~320px */
.hero__title { font-size: clamp(1.3rem, 6.8vw, 3.4rem); letter-spacing: -.035em; }
.services, .why { padding-top: 6.5rem; }

/* ===== Premium: hero aurora ===== */
.aurora {
  position: absolute; top: -10%; left: 0; right: 0; height: 110vh;
  z-index: 0; pointer-events: none; overflow: hidden; filter: blur(90px);
}
.aurora__blob { position: absolute; border-radius: 50%; will-change: transform; }
.aurora__blob--1 {
  width: 46vw; height: 46vw; left: 8%; top: 4%;
  background: radial-gradient(circle, rgba(217,79,245,.20), transparent 70%);
  animation: aurora-drift-1 26s ease-in-out infinite alternate;
}
.aurora__blob--2 {
  width: 38vw; height: 38vw; right: 4%; top: 18%;
  background: radial-gradient(circle, rgba(120,60,240,.16), transparent 70%);
  animation: aurora-drift-2 32s ease-in-out infinite alternate;
}
.aurora__blob--3 {
  width: 30vw; height: 30vw; left: 38%; top: 40%;
  background: radial-gradient(circle, rgba(192,92,240,.12), transparent 70%);
  animation: aurora-drift-3 22s ease-in-out infinite alternate;
}
@keyframes aurora-drift-1 { to { transform: translate(9vw, 7vh) scale(1.15); } }
@keyframes aurora-drift-2 { to { transform: translate(-7vw, 10vh) scale(.9); } }
@keyframes aurora-drift-3 { to { transform: translate(5vw, -6vh) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .aurora__blob { animation: none; } }

/* Buttons answer the cursor with tone, not movement */
.btn--light:hover { background: #fff; box-shadow: 0 0 30px rgba(217, 79, 245, .38); }
.btn--ghost:hover {
  background: #23232b;
  border-color: rgba(217, 79, 245, .45);
  color: #fff;
  box-shadow: 0 0 22px rgba(217, 79, 245, .16);
}

/* ===== Premium: card spotlight ===== */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(217, 79, 245, .09), transparent 65%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(217, 79, 245, .35); }

/* ===== Premium: carousel edge fade + drag affordance ===== */
.carousel__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  cursor: grab;
  touch-action: pan-y;
}
.carousel__viewport:active { cursor: grabbing; }
@media (max-width: 600px) {
  .carousel__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
.slide { user-select: none; }
.slide img { -webkit-user-drag: none; pointer-events: none; }

/* ===== Premium: FAQ open accent ===== */
.faq__item { transition: border-color .3s ease, box-shadow .3s ease; }
.faq__item.is-open {
  border-color: rgba(217, 79, 245, .3);
  box-shadow: inset 3px 0 0 rgba(217, 79, 245, .55);
}

/* ===== Premium: CTA glow + watermark shimmer ===== */
.cta__title { position: relative; }
.cta__title::after {
  content: ""; position: absolute; inset: -30% -10%;
  background: radial-gradient(ellipse at center, rgba(217, 79, 245, .13), transparent 70%);
  z-index: -1; animation: cta-pulse 4s ease-in-out infinite;
}
@keyframes cta-pulse { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cta__title::after { animation: none; } }

.footer__watermark {
  background: linear-gradient(100deg, #1c1c21 0%, #0a0a0c 40%, #3a2540 50%, #0a0a0c 60%, #1c1c21 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: background-position, transform;
}

/* Lenis owns scrolling once it initialises; native smooth-behavior would re-animate every
   frame it writes, making scrolling mushy. The class is absent without JS / on reduced
   motion, so the plain smooth fallback above still applies there. */
html.lenis { scroll-behavior: auto !important; }

/* Closing notice replaces the old booking CTA */
.cta__notice {
  max-width: 46ch; margin: 1.6rem auto 0;
  color: var(--muted); font-size: .95rem; line-height: 1.7;
}
