/* Sagittarius Digital Services — site theme (matches the SDS reels) */
:root {
  --navy: #0a0d24;
  --navy-2: #12163a;
  --bg: #08091c;
  --violet: #7620ff;
  --violet-light: #b07cff;
  --blue: #5a8dff;
  --white: #ffffff;
  --soft: rgba(240, 248, 255, 0.72);
  --muted: rgba(240, 248, 255, 0.5);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.05);
  --wa: #25d366;
  --grad: linear-gradient(90deg, #7620ff, #5a8dff);
  --grad-text: linear-gradient(90deg, #b07cff, #5a8dff);
  --radius: 22px;
  --display: "Monomaniac One", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--white);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* glowing backdrop like the reels */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--navy) 0%, var(--bg) 100%);
}
.bg::before, .bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px);
}
.bg::before { width: 70vw; height: 70vw; left: -25vw; top: -10vw; background: radial-gradient(circle, rgba(76,40,220,.55), transparent 65%); }
.bg::after { width: 75vw; height: 75vw; right: -30vw; bottom: -25vw; background: radial-gradient(circle, rgba(130,30,255,.5), transparent 65%); }
.grid-lines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 75%);
}

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 13, 36, 0.72);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.5rem; letter-spacing: .5px; }
.logo-mark { width: 38px; height: 38px; }
.logo small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: 2.5px; color: var(--muted); line-height: 1; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--soft); font-weight: 600; font-size: .95rem; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--white); }
.nav .btn { color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; color: var(--white); cursor: pointer; }
.menu-btn svg { margin: auto; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 13, 36, 0.97); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 800; font-size: 1rem; color: var(--white);
  background: var(--grad); box-shadow: 0 14px 40px rgba(118, 32, 255, 0.4);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(118, 32, 255, 0.55); }
.btn-ghost { background: var(--glass); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; background: rgba(255,255,255,.09); }
.btn-wa { background: var(--wa); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.3); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* ---------- common blocks ---------- */
section { padding: 96px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass);
  font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--soft);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet-light); box-shadow: 0 0 12px var(--violet-light); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.5rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--soft); max-width: 640px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; display: grid; gap: 16px; justify-items: center; }
.section-head .lead { margin: 0; }

.card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.icon-badge {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(176,124,255,.35), rgba(90,141,255,.25));
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 40px rgba(118,32,255,.35);
}
.icon-badge svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- hero ---------- */
.hero { padding: 110px 0 90px; text-align: center; }
.hero .container { display: grid; gap: 26px; justify-items: center; }
.hero .lead { margin: 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 6px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.hero-tags span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: .9rem; color: var(--soft); }

/* system flow (marketing → website → crm → automation) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; width: 100%; }
.flow .card { padding: 26px 20px; display: grid; gap: 12px; justify-items: center; text-align: center; position: relative; }
.flow .card b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.flow .card span { color: var(--muted); font-size: .92rem; }
.flow .card:not(:last-child)::after {
  content: "➜"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--violet-light); font-size: 1.1rem; z-index: 2;
}
@media (max-width: 860px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow .card::after { display: none; }
}

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service { padding: 34px; display: grid; gap: 18px; align-content: start; transition: transform .25s, border-color .25s; }
.service:hover { transform: translateY(-4px); border-color: rgba(176, 124, 255, 0.45); }
.service-top { display: flex; align-items: center; gap: 18px; }
.service p { margin: 0; color: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--white); font-weight: 600; }
.ticks li::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 50%;
  background: rgba(118,32,255,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--violet-light);
}
.service .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } .service { padding: 26px; } }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 28px 24px; display: grid; gap: 10px; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); font-family: var(--display); font-size: 1.4rem;
}
.step p { margin: 0; color: var(--soft); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why .card { padding: 28px; display: grid; gap: 12px; }
.why p { margin: 0; color: var(--soft); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding: 56px 40px; text-align: center; display: grid; gap: 20px; justify-items: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(118,32,255,.35), transparent 60%);
}
.cta-band .lead { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- page hero (service pages) ---------- */
.page-hero { padding: 80px 0 40px; }
.page-hero .container { display: grid; gap: 20px; justify-items: start; }
.breadcrumb { color: var(--muted); font-size: .9rem; }
.breadcrumb a:hover { color: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; padding-bottom: 96px; }
.split aside { display: grid; gap: 20px; position: sticky; top: 100px; }
.split aside .card { padding: 28px; display: grid; gap: 16px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .split aside { position: static; } .split > form { order: -1; } }

/* ---------- forms ---------- */
.form { padding: 34px; display: grid; gap: 22px; }
.form h2 { font-size: 1.9rem; }
.form-intro { margin: -8px 0 0; color: var(--soft); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } .form { padding: 22px; } }
.field { display: grid; gap: 8px; }
.field > label, .field > legend, .group-label { font-weight: 700; font-size: .95rem; }
.req { color: var(--violet-light); }
fieldset { border: 0; padding: 0; margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: var(--white); font: inherit; font-size: 1rem; transition: border-color .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: rgba(240,248,255,.35); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet-light); background: rgba(118,32,255,.08); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23b07cff' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
select option { background: var(--navy-2); color: var(--white); }
textarea { min-height: 130px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--soft); font-weight: 600; font-size: .92rem; transition: all .2s; cursor: pointer;
}
.choice input:checked + span { background: rgba(118,32,255,.3); border-color: var(--violet-light); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--violet-light); outline-offset: 2px; }
.hidden { display: none; }
.form-note { color: var(--muted); font-size: .85rem; margin: 0; }
.form .btn { justify-self: start; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--soft); }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--white); }
.footer p { margin: 12px 0 0; max-width: 320px; }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .footer .container { grid-template-columns: 1fr; } }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* thank-you / 404 */
.center-page { min-height: calc(100vh - 72px - 160px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.center-page .container { display: grid; gap: 22px; justify-items: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
