/* ===== SIDEQUEST. Creative Studio — Fused Premium + Cosmic ===== */

:root {
  /* Base palette (Direction A) */
  --bg: #0B0B0F;
  --bg-2: #0e0e16;
  --panel: #121019;
  --panel-2: #16131f;
  --line: rgba(139, 92, 246, 0.16);
  --line-strong: rgba(168, 85, 247, 0.4);
  --white: #FFFFFF;
  --text: #ededf2;
  --muted: #A1A1AA;

  /* Primary purple */
  --p1: #8B5CF6;
  --p2: #A855F7;

  /* Cosmic accent stops (cyan -> blue -> violet -> magenta) */
  --c-cyan: #22d3ee;
  --c-blue: #4f7cff;
  --c-violet: #8B5CF6;
  --c-magenta: #e879f9;

  --grad: linear-gradient(100deg, #22d3ee 0%, #4f7cff 32%, #8B5CF6 64%, #e879f9 100%);
  --grad-animated: linear-gradient(100deg, #22d3ee 0%, #4f7cff 25%, #8B5CF6 50%, #e879f9 75%, #22d3ee 100%);
  --grad-btn: linear-gradient(100deg, #7c3aed 0%, #8B5CF6 48%, #A855F7 100%);

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --ease-out-soft: cubic-bezier(.22, 1, .36, 1);
  --reveal-stagger: 90ms;
  --mx: 50%;
  --my: 50%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background:
    radial-gradient(1100px 700px at 15% -5%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(900px 600px at 95% 8%, rgba(34, 211, 238, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Accessibility helpers ===== */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--p1);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ===== Gradient text ===== */
.grad {
  background: var(--grad-animated);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headingShift 7s ease infinite;
}
.dot { color: var(--c-cyan); }

/* ===== Section scaffold ===== */
.section { padding: clamp(64px, 9vw, 110px) 5vw; position: relative; z-index: 2; }
.section__head { max-width: var(--maxw); margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.section__sub { color: var(--muted); margin-top: 12px; font-size: clamp(0.95rem, 2vw, 1.08rem); }

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--grad-btn);
  background-size: 180% auto;
  background-position: 0% center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-position 0.5s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(168, 85, 247, 0.45); filter: brightness(1.08); background-position: 100% center; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease-out-soft);
  pointer-events: none;
}
.btn:hover::after { left: 140%; }
.btn--sm { padding: 11px 22px; font-size: 0.82rem; min-height: 44px; }
.btn--ghost {
  background: transparent;
  background-size: auto;
  border: 1px solid var(--line-strong);
  box-shadow: none;
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--p2); background: rgba(168, 85, 247, 0.08); }
.btn--ghost::after { display: none; }
.btn--wa { padding: 16px 32px; font-size: 1rem; }
.btn--wa .arr { font-size: 1.3rem; line-height: 1; }

/* ===== Cosmic monogram (nav + footer small) ===== */
.nav__logo {
  position: relative;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.nav__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 180deg, #22d3ee, #4f7cff, #8B5CF6, #e879f9, #22d3ee);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.6));
}
.nav__nk {
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: -0.05em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 5vw;
  background: rgba(11, 11, 15, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { background: rgba(11, 11, 15, 0.9); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__name { font-weight: 900; letter-spacing: 0.01em; color: #fff; font-size: 1.05rem; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  padding: 6px 2px;
}
.nav__links a:hover { color: #fff; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.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); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5vw 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(55% 50% at 80% 70%, rgba(168, 85, 247, 0.20), transparent 60%);
  background-size: 180% 180%, 180% 180%;
  animation: aurora 22s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 68% 14%, rgba(190, 220, 255, 0.6), transparent),
    radial-gradient(1px 1px at 42% 60%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 85% 48%, rgba(220, 190, 255, 0.6), transparent),
    radial-gradient(1px 1px at 28% 78%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 92% 82%, rgba(190, 220, 255, 0.5), transparent);
  opacity: 0.6;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}
.hero__glow--1 { width: 460px; height: 460px; background: #6d28d9; top: 8%; left: -6%; animation: floatOrb 18s ease-in-out infinite; }
.hero__glow--2 { width: 420px; height: 420px; background: #0ea5e9; bottom: 4%; right: -5%; animation: floatOrb 22s ease-in-out infinite reverse; }
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

/* Hero copy */
.hero__eyebrow { color: var(--c-cyan); letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; }
.hero__title {
  font-weight: 900;
  font-size: clamp(3.2rem, 9vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  background: var(--grad-animated);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: headingShift 8s ease infinite;
}
.hero__title .dot { -webkit-text-fill-color: var(--c-cyan); }
.hero__subhead {
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  margin: 20px 0 14px;
  line-height: 1.3;
}
.hero__support { color: var(--muted); font-size: clamp(0.95rem, 2vw, 1.05rem); max-width: 46ch; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Cosmic logo recreation */
.logo { position: relative; display: flex; justify-content: center; }
.logo__ring {
  position: relative;
  width: min(400px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10%;
  background: radial-gradient(circle at 50% 40%, rgba(20, 16, 45, 0.9), #050509 72%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.03),
    inset 0 0 60px rgba(139, 92, 246, 0.14);
  animation: float 6s ease-in-out infinite;
}
.logo__ring::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 180deg, #22d3ee, #4f7cff, #8B5CF6, #e879f9, #22d3ee);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.55));
  animation: spin 16s linear infinite;
}
/* orbit swoosh behind NK — echoes the logo image */
.logo__orbit {
  position: absolute;
  top: 29%;
  left: 50%;
  width: 40%;
  height: 15%;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(100deg, #22d3ee, #8B5CF6, #e879f9) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transform: translateX(-50%) rotate(-16deg);
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.5));
  pointer-events: none;
}
.logo__nk {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: -0.06em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  filter: drop-shadow(0 2px 10px rgba(139, 92, 246, 0.5));
}
.logo__title { font-weight: 900; font-size: clamp(1.5rem, 5vw, 2.4rem); letter-spacing: 0.01em; margin-top: 6px; color: #fff; }
.logo__title .dot { color: var(--c-cyan); }
.logo__sub { letter-spacing: 0.42em; font-size: clamp(0.6rem, 1.6vw, 0.82rem); color: var(--muted); margin-top: 6px; padding-left: 0.42em; }
.logo__rule { width: 42%; height: 3px; border-radius: 3px; background: var(--grad); margin: 12px 0; }
.logo__tag { letter-spacing: 0.2em; font-size: clamp(0.5rem, 1.4vw, 0.72rem); color: #cfcfe8; font-weight: 600; }

/* Sparkles around hero logo */
.sparkle {
  position: absolute;
  z-index: 3;
  width: 18px; height: 18px;
  pointer-events: none;
  background: linear-gradient(120deg, #22d3ee, #e879f9);
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.8));
  animation: sparkleTwinkle 3.2s ease-in-out infinite;
}
.sparkle--1 { top: 6%;  left: 16%; width: 22px; height: 22px; animation-delay: 0s; }
.sparkle--2 { top: 12%; right: 14%; width: 16px; height: 16px; animation-delay: 0.8s; }
.sparkle--3 { bottom: 18%; left: 10%; width: 14px; height: 14px; animation-delay: 1.6s; }
.sparkle--4 { bottom: 10%; right: 18%; width: 18px; height: 18px; animation-delay: 2.4s; }

/* ===== Shared glass card recipe ===== */
.card, .work-card, .price-card, .feature-card, .stat {
  position: relative;
  background: linear-gradient(160deg, rgba(22, 19, 31, 0.86), rgba(18, 16, 25, 0.78));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* animated gradient border on hover */
.card::before, .work-card::before, .price-card::before, .feature-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 2;
}
.card:hover, .work-card:hover, .price-card:hover, .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.card:hover::before, .work-card:hover::before, .price-card:hover::before, .feature-card:hover::before {
  opacity: 1; animation: headingShift 4s ease infinite;
}
/* cursor spotlight */
.card::after, .work-card::after, .price-card::after, .feature-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(168, 85, 247, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}
.card:hover::after, .work-card:hover::after, .price-card:hover::after, .feature-card:hover::after { opacity: 1; }

/* ===== Services grid ===== */
.cards-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card { padding: 28px; display: flex; flex-direction: column; }
.card > * { position: relative; z-index: 1; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 15px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.25), rgba(34, 211, 238, 0.14));
  border: 1px solid var(--line);
  color: #c9b8ff;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 14px; }
.feats { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feats li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: #d4d4e8;
}
.feats li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.68rem;
  font-weight: 900;
  color: #fff;
  background: var(--grad-btn);
}

/* ===== Stats / trust strip ===== */
.stats { padding-top: 0; }
.stats__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat { padding: 26px 18px; text-align: center; }
.stat > * { position: relative; z-index: 1; }
.stat__num {
  display: block;
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad-animated);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: headingShift 8s ease infinite;
}
.stat__label { display: block; margin-top: 8px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stats__caption { max-width: var(--maxw); margin: 20px auto 0; text-align: center; font-size: 0.85rem; color: #cfcfe8; letter-spacing: 0.04em; }

/* ===== Portfolio ===== */
.portfolio-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.work-card { display: flex; flex-direction: column; }
.work-card > * { position: relative; z-index: 1; }
.mockup {
  position: relative;
  aspect-ratio: 4 / 3.2;
  margin: 0;
  padding: 20px;
  overflow: hidden;
  display: flex;
  transition: transform 0.4s var(--ease-out-soft);
}
.mockup::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease-out-soft);
}
.work-card:hover .mockup { transform: scale(1.03); }
.work-card:hover .mockup::after { left: 130%; }
.work-card__body { padding: 22px 26px 28px; }
.work-card__body h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.work-card__body p { color: var(--muted); font-size: 0.92rem; }

/* mockup skeleton lines */
.mk-line { display: block; height: 7px; border-radius: 5px; background: rgba(220, 220, 240, 0.22); margin: 7px 0; }
.mk-line.mk-accent { background: var(--grad); height: 8px; }
.mk-line.mk-light { background: rgba(255, 255, 255, 0.28); }
.mk-line--w40 { width: 40%; } .mk-line--w50 { width: 50%; } .mk-line--w60 { width: 60%; }
.mk-line--w70 { width: 70%; } .mk-line--w80 { width: 80%; } .mk-line--w85 { width: 85%; } .mk-line--w90 { width: 90%; }

/* CV mockup */
.mockup--cv { background: linear-gradient(160deg, #f3f3fa, #d9d9ec); gap: 14px; }
.mk-cv__sidebar { width: 34%; background: linear-gradient(170deg, #1b1733, #0f0c1f); border-radius: 8px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; }
.mk-cv__sidebar .mk-line { background: rgba(255, 255, 255, 0.3); width: 80%; }
.mk-cv__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); margin-bottom: 12px; }
.mk-cv__main { flex: 1; display: flex; flex-direction: column; }
.mk-cv__main .mk-line { background: rgba(30, 25, 50, 0.22); }
.mk-cv__name { height: 16px; width: 60%; border-radius: 5px; background: linear-gradient(100deg, #1b1733, #4f3c86); margin-bottom: 12px; }

/* Flyer mockup */
.mockup--flyer { background: linear-gradient(160deg, #140b24, #060410); flex-direction: column; justify-content: flex-end; }
.mk-fl__badge { position: absolute; top: 16px; right: 16px; z-index: 2; padding: 6px 14px; border-radius: 100px; font-weight: 900; font-size: 0.85rem; color: #fff; background: var(--grad-btn); box-shadow: 0 6px 18px rgba(139, 92, 246, 0.5); }
.mk-fl__photo { position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 20%, rgba(79, 124, 255, 0.5), transparent 55%), radial-gradient(120% 90% at 20% 80%, rgba(232, 121, 249, 0.4), transparent 55%); }
.mk-fl__title { position: relative; z-index: 1; font-weight: 900; font-size: 1.5rem; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.mockup--flyer .mk-line { position: relative; z-index: 1; }
.mk-fl__cta { position: relative; z-index: 1; align-self: flex-start; margin-top: 10px; padding: 7px 16px; border-radius: 100px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: #0a0714; background: var(--c-cyan); }

/* Business profile mockup */
.mockup--profile { background: linear-gradient(160deg, #15122a, #0a0818); flex-direction: column; }
.mk-pr__chip { width: 34px; height: 34px; border-radius: 9px; background: var(--grad); }
.mk-pr__title { font-weight: 900; font-size: 1.35rem; line-height: 1.02; color: #fff; margin-top: 14px; letter-spacing: 0.02em; }
.mk-pr__tag { display: block; width: 50%; height: 7px; border-radius: 5px; background: var(--grad); margin-top: 10px; }
.mk-pr__block { width: 100%; height: 54px; border-radius: 10px; margin-top: 14px; background: radial-gradient(130% 100% at 80% 10%, rgba(79, 124, 255, 0.35), transparent 60%), linear-gradient(160deg, #1f1a3a, #120f24); border: 1px solid var(--line); }
.mk-pr__bar { margin-top: auto; height: 10px; border-radius: 5px; background: var(--grad); }

/* ===== Pricing ===== */
.pricing-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card { padding: 30px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.price-card > * { position: relative; z-index: 1; }
.price-card h3 { font-size: 1.15rem; font-weight: 800; }
.price-card__cta { margin-top: 4px; align-self: stretch; }
.price-card--popular { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.2), 0 14px 40px rgba(124, 58, 237, 0.22); }
.price-card__flag {
  align-self: flex-end;
  margin: -6px -6px -8px 0;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-btn);
}
.price {
  align-self: flex-start;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
  animation: pricePulse 3.5s ease-in-out infinite;
}
.price-card:hover .price { box-shadow: 0 8px 30px rgba(168, 85, 247, 0.7); }
.pricing__note { max-width: var(--maxw); margin: 34px auto 0; text-align: center; letter-spacing: 0.16em; font-size: 0.82rem; color: #cfcfe8; font-weight: 600; text-transform: uppercase; }

/* ===== Why ===== */
.why-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card { padding: 32px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.feature-card > * { position: relative; z-index: 1; }
.feature-card .card__icon { margin: 0 auto 18px; }
.feature-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ===== About ===== */
.about__panel {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px);
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(139, 92, 246, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(22, 19, 31, 0.9), rgba(14, 12, 22, 0.9));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.about__eyebrow { color: var(--c-cyan); letter-spacing: 0.18em; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.about__panel h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -0.02em; }
.about__body { color: #d4d4e8; font-size: clamp(1rem, 2.2vw, 1.15rem); margin-top: 18px; line-height: 1.75; }

/* ===== Contact ===== */
.contact__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  background:
    radial-gradient(500px 300px at 85% 50%, rgba(34, 211, 238, 0.12), transparent 60%),
    linear-gradient(120deg, rgba(21, 15, 48, 0.9), rgba(11, 11, 28, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.contact__text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -0.02em; }
.contact__lead { color: var(--muted); margin: 8px 0 22px; }
.contact__tags { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact__tags li { display: flex; flex-direction: column; gap: 2px; }
.contact__tag-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact__tags a { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact__tags a:hover { color: var(--c-cyan); }
.contact__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact__wa { color: var(--muted); font-size: 0.85rem; font-weight: 600; text-decoration: none; letter-spacing: 0.03em; padding: 6px 2px; }
.contact__wa:hover { color: var(--c-cyan); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); position: relative; z-index: 2; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__name { font-weight: 900; color: #fff; font-size: 1.2rem; }
.footer__nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); text-decoration: none; font-size: 0.78rem; letter-spacing: 0.06em; font-weight: 600; text-transform: uppercase; transition: color 0.2s ease; padding: 4px 2px; }
.footer__nav a:hover { color: #fff; }
.footer__tagline { text-align: right; display: flex; flex-direction: column; gap: 4px; }
.footer__script { font-family: 'Dancing Script', cursive; font-size: 1.4rem; color: #d9d9f3; line-height: 1.1; }
.footer__fine { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.03em; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease-out-soft), transform 0.6s var(--ease-out-soft);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
  transform-origin: left;
  transition: width 0.1s linear;
}

/* ===== Grain overlay ===== */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}

/* ===== Back to top ===== */
.to-top {
  position: fixed;
  right: clamp(16px, 4vw, 28px);
  bottom: clamp(16px, 4vw, 28px);
  z-index: 60;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.3rem;
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.45);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out-soft), transform 0.3s var(--ease-out-soft), filter 0.2s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { filter: brightness(1.12); transform: translateY(-3px); }

/* ===== Keyframes ===== */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes aurora {
  0%   { background-position: 0% 50%, 100% 50%; }
  50%  { background-position: 100% 50%, 0% 50%; }
  100% { background-position: 0% 50%, 100% 50%; }
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-4%, -4%); }
  30% { transform: translate(3%, -2%); }
  50% { transform: translate(-2%, 4%); }
  70% { transform: translate(4%, 2%); }
  90% { transform: translate(-3%, 3%); }
}
@keyframes headingShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pricePulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4); }
  50%      { box-shadow: 0 6px 26px rgba(168, 85, 247, 0.65); }
}
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.7) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.1) rotate(45deg); }
}
@keyframes floatOrb {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(30px, -24px); }
  66%  { transform: translate(-22px, 18px); }
  100% { transform: translate(0, 0); }
}

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 11, 15, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px 5vw 18px;
    margin-left: 0;
  }
  .nav__links.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }

  .hero { padding-top: 110px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .hero__cta { justify-content: center; }
  .hero__support { margin-left: auto; margin-right: auto; }
  .logo { order: -1; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 460px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; max-width: 420px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .contact__inner { flex-direction: column; text-align: center; align-items: center; }
  .contact__tags li { align-items: center; }
  .contact__actions { align-items: center; }

  .footer__inner { justify-content: center; text-align: center; flex-direction: column; }
  .footer__nav { justify-content: center; }
  .footer__tagline { text-align: center; align-items: center; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .hero__title { font-size: clamp(2.8rem, 15vw, 4rem); }
  .section { padding-left: 5vw; padding-right: 5vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition-delay: 0ms !important; }
  .hero__glow { transform: none !important; }
  .btn::after, .mockup::after { display: none; }
  /* Scroll progress bar width is content-driven, so it stays functional */
}
