/* =========================================================
   059.ir — Domain for Sale  |  Cosmic 3D Landing
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakh-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #04030f;
  --bg-2: #0a0620;
  --text: #eaf2ff;
  --muted: #9fb0d0;
  --cyan: #5ee7ff;
  --violet: #a06bff;
  --magenta: #ff5ec4;
  --amber: #ffc46b;

  --radius: 22px;
  --radius-sm: 14px;

  --font: 'YekanBakh', 'Vazirmatn', 'IRANSans', 'Segoe UI', Tahoma, sans-serif;

  --mx: 0;           /* mouse X (-1..1) */
  --my: 0;           /* mouse Y (-1..1) */
  --mx-soft: 0;
  --my-soft: 0;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(160, 107, 255, .45); color: #fff; }

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

/* =========================================================
   SPACE BACKGROUND
   ========================================================= */
.space {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.space__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 80% -10%, #1b1046 0%, transparent 60%),
    radial-gradient(90% 70% at 10% 10%, #0d2a5c 0%, transparent 55%),
    linear-gradient(180deg, #05030f 0%, #07031a 45%, #03020b 100%);
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  mix-blend-mode: screen;
  will-change: transform;
}
.nebula--1 {
  width: 60vw; height: 60vw; max-width: 780px; max-height: 780px;
  top: -14vh; right: -12vw;
  background: radial-gradient(circle at 40% 40%, rgba(160, 107, 255, .85), rgba(94, 231, 255, .28) 45%, transparent 70%);
  animation: drift1 26s var(--ease) infinite alternate;
}
.nebula--2 {
  width: 52vw; height: 52vw; max-width: 680px; max-height: 680px;
  bottom: -18vh; left: -14vw;
  background: radial-gradient(circle at 60% 40%, rgba(255, 94, 196, .6), rgba(94, 231, 255, .3) 48%, transparent 72%);
  animation: drift2 32s var(--ease) infinite alternate;
}
.nebula--3 {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  top: 38%; left: 42%;
  background: radial-gradient(circle, rgba(94, 231, 255, .45), transparent 68%);
  animation: drift3 40s var(--ease) infinite alternate;
}

@keyframes drift1 { to { transform: translate3d(-6vw, 6vh, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(7vw, -5vh, 0) scale(1.08); } }
@keyframes drift3 { to { transform: translate3d(-5vw, 8vh, 0) scale(1.18); } }

.space__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.space__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 45%, transparent 40%, rgba(2, 1, 8, .78) 100%);
}

.space__grain {
  position: absolute;
  inset: -50%;
  opacity: .035;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 2%); }
  100% { transform: translate(0, 0); }
}

/* =========================================================
   3D SCENE
   ========================================================= */
.scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  perspective: 1200px;
  perspective-origin: 50% 40%;
  overflow: hidden;
}

/* ---- Synthwave floor ---- */
.grid-floor {
  position: absolute;
  left: -50%; right: -50%; bottom: -18%;
  height: 62%;
  transform: rotateX(72deg);
  transform-origin: 50% 100%;
  background-image:
    linear-gradient(rgba(94, 231, 255, .30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 107, 255, .28) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.85), transparent 78%);
  mask-image: linear-gradient(to top, rgba(0,0,0,.85), transparent 78%);
  animation: floorMove 6s linear infinite;
  opacity: .55;
}
@keyframes floorMove { to { background-position: 0 70px, 0 0; } }

/* ---- Planet ---- */
.planet {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(260px, 30vw, 430px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform:
    translate3d(calc(-50% + var(--mx) * -26px), calc(-50% + var(--my) * -18px), -260px)
    rotateY(calc(var(--mx) * 14deg)) rotateX(calc(var(--my) * -10deg));
  transition: transform .35s var(--ease);
}

.planet__glow {
  position: absolute;
  inset: -32%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 231, 255, .30), rgba(160, 107, 255, .16) 45%, transparent 70%);
  filter: blur(26px);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .65; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

.planet__body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 32% 28%, #7fd7ff 0%, #3a5ad9 34%, #241a6b 62%, #0a0730 100%);
  box-shadow:
    inset -26px -22px 60px rgba(0, 0, 0, .75),
    inset 18px 14px 40px rgba(180, 240, 255, .25),
    0 0 70px rgba(94, 231, 255, .25);
}

.planet__surface {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background-image:
    radial-gradient(ellipse at 22% 30%, rgba(255,255,255,.30) 0 12%, transparent 13%),
    radial-gradient(ellipse at 62% 22%, rgba(120, 255, 220, .34) 0 9%, transparent 10%),
    radial-gradient(ellipse at 72% 62%, rgba(255, 196, 107, .30) 0 10%, transparent 11%),
    radial-gradient(ellipse at 34% 72%, rgba(255, 94, 196, .32) 0 8%, transparent 9%),
    radial-gradient(ellipse at 48% 48%, rgba(255,255,255,.14) 0 14%, transparent 15%);
  background-size: 46% 46%;
  animation: spin 46s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.planet__clouds {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,.20) 0 16%, transparent 17%),
    radial-gradient(ellipse at 66% 30%, rgba(255,255,255,.16) 0 12%, transparent 13%),
    radial-gradient(ellipse at 52% 74%, rgba(255,255,255,.14) 0 15%, transparent 16%);
  background-size: 55% 55%;
  filter: blur(6px);
  animation: spin 30s linear infinite reverse;
}

.planet__shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 30%, transparent 30%, rgba(3, 2, 12, .85) 92%);
}

.planet__ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}
.planet__ring--a {
  width: 185%; height: 44%;
  margin: -22% 0 0 -92.5%;
  border: 2px solid rgba(94, 231, 255, .45);
  border-top-color: rgba(255, 255, 255, .75);
  border-bottom-color: rgba(160, 107, 255, .35);
  transform: rotateX(74deg) rotateZ(-18deg);
  box-shadow: 0 0 26px rgba(94, 231, 255, .28);
  animation: ringSpin 26s linear infinite;
}
.planet__ring--b {
  width: 150%; height: 34%;
  margin: -17% 0 0 -75%;
  border: 1px solid rgba(255, 94, 196, .35);
  transform: rotateX(78deg) rotateZ(28deg);
  animation: ringSpin 34s linear infinite reverse;
}
@keyframes ringSpin { to { rotate: 360deg; } }

.planet__moon {
  position: absolute;
  top: -12%; left: -14%;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #e9f2ff, #8fa4c9 60%, #4b5878);
  box-shadow: 0 0 18px rgba(233, 242, 255, .5);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ---- 3D cube ---- */
.cube {
  position: absolute;
  top: 22%; left: 12%;
  width: clamp(70px, 8vw, 120px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--mx) * -34px), calc(var(--my) * -24px), -120px)
    rotateX(calc(var(--mx) * 16deg)) rotateY(calc(var(--my) * 18deg));
}
.cube__box {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: cubeSpin 22s linear infinite;
}
@keyframes cubeSpin {
  from { transform: rotateX(-22deg) rotateY(0deg); }
  to   { transform: rotateX(-22deg) rotateY(360deg); }
}
.cube__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(94, 231, 255, .55);
  background: linear-gradient(140deg, rgba(94, 231, 255, .18), rgba(160, 107, 255, .12));
  box-shadow: inset 0 0 26px rgba(94, 231, 255, .25);
  backdrop-filter: blur(3px);
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  color: rgba(234, 242, 255, .92);
  letter-spacing: .06em;
}
.cube__face--fr { transform: translateZ(50%); }
.cube__face--bk { transform: rotateY(180deg) translateZ(50%); }
.cube__face--rt { transform: rotateY(90deg)  translateZ(50%); }
.cube__face--lf { transform: rotateY(-90deg) translateZ(50%); }
.cube__face--tp { transform: rotateX(90deg)  translateZ(50%); }
.cube__face--bt { transform: rotateX(-90deg) translateZ(50%); }

/* ---- Floating debris ---- */
.debris i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 3px;
  background: linear-gradient(140deg, rgba(94,231,255,.7), rgba(160,107,255,.45));
  box-shadow: 0 0 14px rgba(94, 231, 255, .55);
  transform: translate3d(calc(var(--mx) * -40px), calc(var(--my) * -30px), 0) rotate(45deg);
  animation: bob var(--d) ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { margin-top: 0; opacity: .55; }
  50%      { margin-top: -28px; opacity: 1; }
}

/* =========================================================
   HEADER
   ========================================================= */
.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem clamp(1rem, 4vw, 3.5rem);
}

.brand { display: flex; align-items: center; gap: .65rem; min-height: 44px; }
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: conic-gradient(from 210deg, var(--cyan), var(--violet), var(--magenta), var(--cyan));
  box-shadow: 0 0 20px rgba(94, 231, 255, .55);
  animation: spin 9s linear infinite;
}
.brand__text {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .02em;
  direction: ltr;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .95rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid rgba(94, 231, 255, .3);
  background: rgba(10, 8, 32, .55);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 3;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.1rem;
  padding: 2rem clamp(1rem, 5vw, 4rem) 5rem;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: clamp(.78rem, 1.6vw, .95rem);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--cyan);
  padding: .45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 231, 255, .28);
  background: rgba(9, 7, 28, .5);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 30px rgba(94, 231, 255, .12);
}
.eyebrow__star { color: var(--amber); animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }

/* ---- 3D extruded title ---- */
.title {
  margin: .4rem 0 0;
  perspective: 1400px;
  line-height: 1.35;
}
.title__line {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(var(--my) * -5deg))
    rotateY(calc(var(--mx) * 7deg))
    translateZ(46px);
  font-size: clamp(1.95rem, 9vw, 5.4rem);
  font-weight: 800;
  color: transparent;
  background:
    linear-gradient(100deg,
      #ffffff 0%, #dbeafe 18%, #a78bfa 38%, #67e8f9 55%,
      #f0abfc 72%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 9s linear infinite;
  text-shadow: 0 0 40px rgba(167, 139, 250, .28);
  transition: transform .3s var(--ease);
}
@keyframes shine { to { background-position: 220% 0; } }

.title__line::before,
.title__line::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: #2c0f63;
  -webkit-background-clip: initial;
  background: none;
  pointer-events: none;
}
.title__line::before {
  transform: translate3d(0, 10px, -60px);
  filter: blur(1px);
  opacity: .95;
}
.title__line::after {
  transform: translate3d(0, 5px, -26px);
  color: #6d28d9;
  opacity: .95;
}

/* ---- Domain chip ---- */
.domain-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1.6rem;
  margin-top: .6rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  background:
    linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    rgba(8, 5, 26, .6);
  backdrop-filter: blur(14px);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255,255,255,.25),
    0 0 0 1px rgba(94, 231, 255, .08),
    0 0 44px rgba(94, 231, 255, .16);
  transform-style: preserve-3d;
  overflow: hidden;
}
.domain-chip__label {
  font-size: .78rem;
  color: var(--muted);
  padding-inline-end: .7rem;
  border-inline-end: 1px solid rgba(255,255,255,.16);
}
.domain-chip__name {
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: .02em;
  direction: ltr;
  background: linear-gradient(180deg, #ffffff, #93c5fd 55%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 18px rgba(147, 197, 253, .35);
}
.domain-chip__shine {
  position: absolute;
  top: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent);
  transform: skewX(-18deg);
  animation: sweep 4.5s ease-in-out infinite;
}
@keyframes sweep {
  0%   { left: -60%; opacity: 0; }
  35%  { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

.lead {
  margin: .6rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--muted);
}

/* ---- Phone ---- */
.phone {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  padding: .9rem 2.2rem;
  margin-top: .2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 196, 107, .35);
  background: linear-gradient(160deg, rgba(255, 196, 107, .14), rgba(255, 94, 196, .08));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, .5),
    inset 0 1px 0 rgba(255,255,255,.2),
    0 0 46px rgba(255, 196, 107, .18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.phone:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255,255,255,.28),
    0 0 70px rgba(255, 196, 107, .3);
}
.phone__digits {
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  direction: ltr;
  letter-spacing: .04em;
  background: linear-gradient(180deg, #fff 0%, #ffd79a 55%, #ff9ecb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 16px rgba(255, 196, 107, .35));
}
.phone__latin {
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
  direction: ltr;
  letter-spacing: .22em;
}
.phone__ring {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 196, 107, .5);
  animation: ring 3.4s ease-out infinite;
  pointer-events: none;
}
@keyframes ring {
  0%   { transform: scale(1);    opacity: .8; }
  70%  { transform: scale(1.09); opacity: 0; }
  100% { transform: scale(1.09); opacity: 0; }
}

/* ---- Buttons ---- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
  margin-top: 1.3rem;
}
.btn {
  --btn-bg: rgba(255, 255, 255, .06);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.7rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: var(--btn-bg);
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45);
}
.btn:active { transform: translateY(-1px) scale(.985); }
.btn--primary {
  color: #0a0620;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), #a78bfa 55%, var(--magenta));
  box-shadow: 0 14px 34px rgba(94, 231, 255, .3), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.btn--primary:hover { box-shadow: 0 22px 46px rgba(94, 231, 255, .45), 0 0 0 1px rgba(255,255,255,.2) inset; }
.btn--ghost { color: #eaf2ff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { padding: .7rem 1.3rem; font-size: .92rem; }
.btn.is-ok   { border-color: rgba(74, 222, 128, .7); background: rgba(74, 222, 128, .16); color: #bbf7d0; }
.btn.is-fail { border-color: rgba(248, 113, 113, .7); background: rgba(248, 113, 113, .16); color: #fecaca; }

.hint {
  margin: 1.4rem 0 0;
  font-size: .9rem;
  color: rgba(159, 176, 208, .8);
}

.scroll-cue {
  margin-top: 2.4rem;
  display: inline-grid;
  place-items: center;
  opacity: .65;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.scroll-cue:hover { opacity: 1; transform: translateY(3px); }
.scroll-cue__mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(234, 242, 255, .5);
  border-radius: 14px;
  position: relative;
}
.scroll-cue__mouse i {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--cyan);
  transform: translateX(-50%);
  animation: wheel 1.9s ease-in-out infinite;
}
@keyframes wheel {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.features, .contact {
  position: relative;
  z-index: 3;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
  max-width: 1180px;
  margin-inline: auto;
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  font-weight: 800;
}
.section-title span {
  background: linear-gradient(120deg, #ffffff, #a78bfa 45%, #5ee7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  margin: .6rem auto 0;
  text-align: center;
  max-width: 46ch;
  color: var(--muted);
}

.grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.card {
  position: relative;
  padding: 2rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(165deg, rgba(255,255,255,.075), rgba(255,255,255,.015));
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255,255,255,.12);
  transform-style: preserve-3d;
  transition: transform .18s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--px, 50%) var(--py, 0%), rgba(94, 231, 255, .18), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card:hover { border-color: rgba(94, 231, 255, .32); }

.card__icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  margin-bottom: 1.1rem;
  transform: translateZ(26px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .4);
}
.card__icon svg { width: 30px; height: 30px; fill: currentColor; }
.card__icon--cyan   { color: #0a0620; background: linear-gradient(140deg, #7ef0ff, #38bdf8); box-shadow: 0 12px 30px rgba(94,231,255,.32); }
.card__icon--violet { color: #fff;    background: linear-gradient(140deg, #c084fc, #7c3aed); box-shadow: 0 12px 30px rgba(160,107,255,.35); }
.card__icon--amber  { color: #2a1400; background: linear-gradient(140deg, #ffd79a, #fb923c); box-shadow: 0 12px 30px rgba(255,196,107,.32); }

.card__title {
  margin: 0 0 .55rem;
  font-size: 1.22rem;
  font-weight: 700;
  transform: translateZ(18px);
}
.card__text {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  transform: translateZ(10px);
}

/* ---- Contact ---- */
.contact { display: grid; place-items: center; }
.contact__card {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.4rem, 4vw, 3rem);
  text-align: center;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(165deg, rgba(160, 107, 255, .16), rgba(94, 231, 255, .07) 45%, rgba(8, 5, 26, .6)),
    rgba(8, 5, 26, .55);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255,255,255,.16);
  transform-style: preserve-3d;
  overflow: hidden;
}
.contact__card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from 0deg, transparent, var(--cyan), transparent 40%, var(--magenta), transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 8s linear infinite;
  opacity: .8;
  pointer-events: none;
}
.contact__eyebrow {
  margin: 0 0 .4rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--cyan);
  transform: translateZ(24px);
}
.contact__title {
  margin: 0 0 .7rem;
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  font-weight: 800;
  transform: translateZ(28px);
}
.contact__text {
  margin: 0 auto;
  max-width: 48ch;
  color: var(--muted);
  transform: translateZ(16px);
}
.contact__row {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transform: translateZ(24px);
}
.phone--compact { padding: .6rem 1.6rem; margin: 0; }
.phone--compact .phone__digits { font-size: clamp(1.5rem, 4.4vw, 2.3rem); }

.badges {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  transform: translateZ(16px);
}
.badge {
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  color: #dbeafe;
  border: 1px solid rgba(167, 139, 250, .3);
  background: rgba(167, 139, 250, .1);
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 3;
  padding: 2.4rem 1rem 3rem;
  text-align: center;
  font-size: .86rem;
  color: rgba(159, 176, 208, .6);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer strong { color: var(--cyan); direction: ltr; display: inline-block; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .planet { opacity: .55; }
  .cube { top: 14%; left: 6%; }
  .hero { min-height: 92vh; }
}

@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; gap: .7rem; padding: 1rem 1.1rem; }
  .planet { width: 220px; opacity: .38; }
  .cube { display: none; }
  .grid-floor { opacity: .35; }

  /* tighter hero so the phone number + buttons stay above the fold */
  .hero {
    gap: .75rem;
    padding: 1.4rem 1.1rem 3rem;
    min-height: auto;
  }
  .scroll-cue { display: none; }
  .domain-chip { padding: .6rem 1.2rem; }
  .phone { padding: .75rem 1.5rem; }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    width: 100%;
  }
  .btn {
    justify-content: center;
    width: 100%;
    padding: .8rem .9rem;
  }
  .actions .btn:last-child { grid-column: 1 / -1; }

  .contact__row { flex-direction: column; }
  .phone--compact { width: 100%; }
  .phone--compact + .btn { width: 100%; justify-content: center; }
}

/* ---- very short screens (landscape phones, small laptops) ---- */
@media (min-width: 641px) and (max-height: 880px) {
  .hero {
    gap: .8rem;
    padding-top: 1rem;
    padding-bottom: 3rem;
  }
  .scroll-cue { display: none; }
  .title__line { font-size: clamp(2.2rem, 6.4vw, 4.4rem); }
  .phone { padding: .7rem 1.8rem; }
  .phone__digits { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
}

/* ---- compact phones in landscape / very short ---- */
@media (max-width: 640px) and (max-height: 620px) {
  .topbar { padding: .7rem 1rem; }
  .hero { gap: .5rem; padding: .7rem 1rem 1.6rem; }
  .eyebrow, .hint { display: none; }
  .title__line { font-size: clamp(1.75rem, 7.8vw, 2.2rem); }
  .domain-chip { padding: .5rem 1rem; }
  .phone { padding: .6rem 1.3rem; }
  .btn { padding: .68rem .8rem; }
  .actions { gap: .45rem; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .title__line, .planet, .cube, .debris i { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}
