/* =========================================================
   Infynox Trends — Digital Marketing & Branding Agency
   Stylesheet
   ========================================================= */

:root {
  --bg: #08080e;
  --bg-2: #0d0d16;
  --surface: #12121d;
  --surface-2: #171725;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4fb;
  --muted: #a5a6bd;
  --muted-2: #7d7e97;

  --violet: #8b7cff;
  --magenta: #e35fd8;
  --coral: #ff8a5c;
  --cyan: #5ec8ff;

  --grad: linear-gradient(105deg, #8b7cff 0%, #e35fd8 52%, #ff8a5c 100%);
  --grad-soft: linear-gradient(105deg, rgba(139,124,255,.15), rgba(227,95,216,.15));

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px -12px rgba(227, 95, 216, 0.45);

  --container: 1180px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: rgba(227, 95, 216, 0.35); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Animated background ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb--1 { width: 520px; height: 520px; background: radial-gradient(circle, #6b4dff, transparent 70%); top: -160px; left: -120px; animation: drift 22s ease-in-out infinite; }
.orb--2 { width: 480px; height: 480px; background: radial-gradient(circle, #e35fd8, transparent 70%); top: 20%; right: -160px; animation: drift 26s ease-in-out infinite reverse; }
.orb--3 { width: 440px; height: 440px; background: radial-gradient(circle, #ff8a5c, transparent 70%); bottom: -180px; left: 30%; animation: drift 30s ease-in-out infinite; opacity: 0.35; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.08); }
  66% { transform: translate(-40px, 20px) scale(0.96); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.98rem;
  padding: 0.9rem 1.5rem; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn span { transition: transform .25s ease; }
.btn:hover span { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(227,95,216,.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(227,95,216,.7); }
.btn--ghost { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--border-strong); }
.btn--ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn--full { width: 100%; justify-content: center; }

.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-weight: 500; color: var(--muted);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,.03);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 12px #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 500;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 0.9rem;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0; transition: background .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 8, 14, 0.8);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border); padding: 0.65rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand__mark { display: grid; place-items: center; }
.brand__accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color .2s ease; }
.nav__links a:hover { color: var(--text); }
.nav__links .nav__cta { color: #fff; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 11rem 0 5rem; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.hero__title { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 700; margin: 1.3rem 0 1.4rem; }
.hero__sub { font-size: 1.14rem; color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; color: var(--muted-2); font-size: 0.88rem; font-weight: 500; }
.hero__badges li { position: relative; padding-left: 1.1rem; }
.hero__badges li::before { content: "✦"; position: absolute; left: 0; color: var(--magenta); }

/* Hero visual */
.hero__visual { position: relative; }
.orbit-card {
  position: relative; background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow); overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
}
.orbit-card__glow { position: absolute; top: -40%; right: -30%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(227,95,216,.35), transparent 70%); filter: blur(20px); }
.metric { display: flex; flex-direction: column; gap: 0.2rem; position: relative; }
.metric__label { font-size: 0.85rem; color: var(--muted); }
.metric__value { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mini-chart { margin: 1.2rem 0 1.4rem; }
.mini-chart svg { width: 100%; height: 90px; }
.chart-line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s ease forwards .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.orbit-card__row { display: flex; gap: 0.8rem; }
.chip { flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 12px; padding: 0.7rem 0.9rem; display: flex; flex-direction: column; }
.chip__k { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.chip__u { font-size: 0.78rem; color: var(--muted); }
/* Hero card — claim-free capabilities list */
.orbit-card__eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-bottom: 1.4rem; position: relative; }
.orbit-list { display: flex; flex-direction: column; gap: 0.95rem; margin-bottom: 1.5rem; position: relative; }
.orbit-list li { position: relative; padding-left: 2rem; font-family: var(--font-head); font-weight: 500; font-size: 1.06rem; color: var(--text); }
.orbit-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--border-strong); color: var(--magenta); font-size: 0.8rem; font-weight: 700; }
.orbit-card__foot { border-top: 1px solid var(--border); padding-top: 1.1rem; color: var(--muted); font-size: 0.92rem; position: relative; }
.float-tag {
  position: absolute; font-size: 0.82rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  padding: 0.5rem 0.9rem; border-radius: 999px; box-shadow: var(--shadow);
}
.float-tag--a { top: 8%; left: -8%; animation: floaty 5s ease-in-out infinite; }
.float-tag--b { bottom: 10%; right: -6%; animation: floaty 5.5s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats { padding: 2rem 0 1rem; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
}
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { color: var(--muted); font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section__head { max-width: 42rem; margin-bottom: 3.2rem; }
.section__title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.section__lead { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; position: relative; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; background: var(--grad-soft); border: 1px solid var(--border-strong);
  margin-bottom: 1.2rem;
}
.card__icon svg { color: var(--magenta); }
.card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1rem; }
.card__list { display: flex; flex-direction: column; gap: 0.4rem; }
.card__list li { font-size: 0.88rem; color: var(--muted-2); padding-left: 1.2rem; position: relative; }
.card__list li::before { content: "→"; position: absolute; left: 0; color: var(--violet); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; }
.glass-panel {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.glass-panel::after { content: ""; position: absolute; top: -30%; left: -20%; width: 240px; height: 240px; background: radial-gradient(circle, rgba(139,124,255,.4), transparent 70%); filter: blur(30px); }
.gp-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.gp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
.gp-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.06); margin: 1.5rem 0 0.6rem; overflow: hidden; }
.gp-bar span { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.gp-legend { font-size: 0.85rem; color: var(--muted); }
.feature-list { display: flex; flex-direction: column; gap: 1.3rem; margin: 1.8rem 0 2rem; }
.feature { display: flex; gap: 1rem; }
.feature__ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); color: var(--magenta); font-size: 0.9rem; }
.feature h4 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; position: relative;
}
.step__no { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 0.6rem; }
.step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Work ---------- */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.work-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); transition: transform .3s ease, box-shadow .3s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card__art {
  height: 160px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--w-a), var(--w-b));
  position: relative; overflow: hidden;
}
.work-card__art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.25), transparent 40%); }
.work-card__art span { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: rgba(255,255,255,.9); letter-spacing: 0.05em; z-index: 1; }
.work-card__body { padding: 1.5rem; }
.work-card__body h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.work-card__body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1rem; }
.work-card__stat { font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 0.9rem; }
.work-card__stat strong { font-family: var(--font-head); font-size: 1.3rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-right: 0.4rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; position: relative;
}
.quote::before { content: "\201C"; font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--magenta); opacity: 0.35; position: absolute; top: 0.6rem; right: 1.2rem; }
.quote blockquote { color: var(--text); font-size: 1rem; margin-bottom: 1.4rem; }
.quote figcaption { display: flex; align-items: center; gap: 0.8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; color: #fff; background: linear-gradient(135deg, var(--a), var(--b)); flex-shrink: 0; }
.quote figcaption strong { display: block; font-size: 0.95rem; }
.quote figcaption small { color: var(--muted); font-size: 0.82rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact__list { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.8rem; }
.contact__list li { display: flex; align-items: center; gap: 0.8rem; color: var(--muted); }
.contact__list a:hover { color: var(--text); }
.ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); color: var(--magenta); }
.contact__form {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  color: var(--text); font-size: 0.96rem; transition: border-color .2s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--magenta); background: rgba(255,255,255,.06); }
.field 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' stroke='%23a5a6bd' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field select option { background: var(--surface); color: var(--text); }
.field input.invalid, .field textarea.invalid { border-color: #ff5c7a; }
.form-note { margin-top: 0.9rem; font-size: 0.9rem; text-align: center; min-height: 1.2rem; }
.form-note.success { color: #4ade80; }
.form-note.error { color: #ff5c7a; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; margin-top: 2rem; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand p { color: var(--muted); font-size: 0.95rem; margin: 1rem 0 1.4rem; max-width: 24rem; }
.footer__entity { font-size: 0.85rem; line-height: 1.7; color: var(--muted-2); }
.footer__entity strong { color: var(--muted); font-weight: 600; }
.socials { display: flex; gap: 0.7rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; border: 1px solid var(--border); color: var(--muted); transition: all .2s ease; }
.socials a:hover { color: #fff; border-color: transparent; background: var(--grad); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer__col h4 { font-size: 0.95rem; margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--muted); font-size: 0.92rem; padding: 0.3rem 0; transition: color .2s ease; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.8rem; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 0.88rem; gap: 1rem; flex-wrap: wrap; }
.footer__legal a { color: var(--muted-2); }
.footer__legal a:hover { color: var(--text); }

/* =========================================================
   Standalone subpages (legal, pricing, contact)
   ========================================================= */
.subpage-hero { padding: 9rem 0 3rem; border-bottom: 1px solid var(--border); position: relative; }
.subpage-hero__inner { max-width: 820px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted-2); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.subpage-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.8rem; }
.subpage-hero p { color: var(--muted); font-size: 1.05rem; max-width: 46rem; }
.subpage-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.4rem; font-size: 0.85rem; color: var(--muted-2); }
.subpage-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.subpage-meta strong { color: var(--muted); font-weight: 600; }

/* Legal / long-form content */
.legal { padding: 3.5rem 0 5rem; }
.legal__wrap { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.legal__toc { position: sticky; top: 90px; }
.legal__toc h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.9rem; }
.legal__toc a { display: block; font-size: 0.9rem; color: var(--muted); padding: 0.35rem 0; border-left: 2px solid var(--border); padding-left: 0.9rem; transition: color .2s ease, border-color .2s ease; }
.legal__toc a:hover { color: var(--text); border-left-color: var(--magenta); }
.legal__body { max-width: 780px; }
.legal__body section { margin-bottom: 2.4rem; scroll-margin-top: 90px; }
.legal__body h2 { font-size: 1.4rem; margin-bottom: 0.9rem; display: flex; gap: 0.6rem; align-items: baseline; }
.legal__body h2 .num { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 1rem; }
.legal__body h3 { font-size: 1.08rem; margin: 1.4rem 0 0.6rem; color: var(--text); }
.legal__body p { color: var(--muted); margin-bottom: 0.9rem; }
.legal__body ul { margin: 0 0 1rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.legal__body ul li { color: var(--muted); padding-left: 1.4rem; position: relative; }
.legal__body ul li::before { content: "→"; position: absolute; left: 0; color: var(--violet); }
.legal__body a { color: var(--magenta); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--text); }
.legal__body strong { color: var(--text); }
.legal-callout {
  background: var(--grad-soft); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.5rem 0; color: var(--muted);
}
.legal-callout strong { color: var(--text); }

/* Pricing page */
.pricing { padding: 4rem 0 5rem; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1rem; }
.price-card {
  position: relative; background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.8rem;
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured { border-color: transparent; box-shadow: var(--shadow-glow); }
.price-card--featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.price-card__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.price-card__desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.2rem; min-height: 2.4em; }
.price-card__price { font-family: var(--font-head); margin-bottom: 0.3rem; }
.price-card__price .amt { font-size: 2.2rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-card__price .per { color: var(--muted-2); font-size: 0.9rem; }
.price-card__note { font-size: 0.8rem; color: var(--muted-2); margin-bottom: 1.4rem; }
.price-card ul { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.6rem; flex: 1; }
.price-card ul li { color: var(--muted); font-size: 0.92rem; padding-left: 1.5rem; position: relative; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--magenta); font-weight: 700; }
.pricing__disclaimer { margin-top: 2rem; font-size: 0.9rem; color: var(--muted-2); text-align: center; }

/* Contact page */
.contact-page { padding: 4rem 0 5rem; }
.contact-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.info-card { background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 1.1rem; display: flex; gap: 1rem; align-items: flex-start; }
.info-card__ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); color: var(--magenta); }
.info-card h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.info-card p, .info-card a { color: var(--muted); font-size: 0.94rem; }
.info-card a:hover { color: var(--text); }

@media (max-width: 940px) {
  .legal__wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal__toc { position: static; margin-bottom: 1rem; }
  .legal__toc a { display: inline-block; border-left: none; padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 999px; margin: 0 0.4rem 0.4rem 0; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .contact-page__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 9rem 0 4rem; }
  .hero__visual { max-width: 420px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards, .work__grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
  .nav__links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem; background: var(--surface);
    border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.5,0,.2,1);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; }
  .nav__toggle { display: flex; z-index: 101; }
  .cards, .work__grid, .quotes, .steps { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .float-tag--a { left: 0; }
  .float-tag--b { right: 0; }
  .footer__bottom { flex-direction: column; gap: 0.6rem; text-align: center; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
}
