/* Deep Glassmorphism — Premium theme */
.brand--text { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }
.footer__brand { font-weight: 700; letter-spacing: 0.02em; }

:root {
  --bg: #f4f1fb;
  --text: #1c1530;
  --muted: #6b6385;
  --card: rgba(255, 255, 255, 0.6);
  --border: rgba(28, 21, 48, 0.10);
  --primary: #d63d92;   /* pink */
  --primary-ink: #ffffff;
  --accent: #7c4dff;    /* violet */
  --amber-glow: rgba(214, 61, 146, 0.28);
  --burnt-glow: rgba(124, 77, 255, 0.20);
  --glass-blur: 18px;
  --glass-border: rgba(255, 255, 255, 0.75);
  --inner-glow: rgba(214, 61, 146, 0.10);
}

/* Mesh gradient background */
body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 10% -20%, rgba(214, 61, 146, 0.16), transparent 50%),
    radial-gradient(ellipse 90% 70% at 90% 20%, rgba(124, 77, 255, 0.14), transparent 45%),
    radial-gradient(ellipse 70% 50% at 50% 90%, rgba(255, 255, 255, 0.6), transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
}

.section--alt {
  background: radial-gradient(1200px 600px at 20% -10%, rgba(214, 61, 146, 0.10), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(124, 77, 255, 0.10), transparent 60%);
}

/* Glassmorphism card with "hole" effect and outer glow */
.neu-glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.8),
    0 10px 30px -12px rgba(28, 21, 48, 0.18),
    0 0 0 1px rgba(28, 21, 48, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.neu-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Outer glow (deep-glow) */
.deep-glow {
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.8),
    0 12px 34px -14px rgba(28, 21, 48, 0.18),
    0 0 40px -10px var(--amber-glow),
    0 0 80px -20px var(--burnt-glow);
}

.neu-glass-card.deep-glow:hover {
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    0 16px 40px -14px rgba(28, 21, 48, 0.22),
    0 0 50px -8px var(--amber-glow),
    0 0 100px -16px var(--burnt-glow);
}

/* Refraction / inner glow */
.neu-glass-card .inner-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, var(--inner-glow), transparent 60%);
  pointer-events: none;
}

/* Gem icon capsule with neon backlight */
.gem-capsule {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.8), 0 6px 16px -10px rgba(28,21,48,0.3);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.gem-capsule .gem-icon {
  position: relative;
  z-index: 1;
  color: var(--primary);
  filter: drop-shadow(0 0 6px var(--amber-glow));
  transition: filter 0.35s ease, color 0.35s ease;
}

.gem-capsule::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 50%, var(--amber-glow), transparent 70%);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.35s ease;
  z-index: 0;
}

.gem-capsule:hover {
  border-color: color-mix(in oklab, var(--primary) 40%, var(--glass-border));
  box-shadow: 0 0 24px -4px var(--amber-glow), inset 0 0 20px -8px var(--inner-glow);
}

.gem-capsule:hover::after {
  opacity: 0.8;
}

.gem-capsule:hover .gem-icon {
  color: var(--accent);
  filter: drop-shadow(0 0 12px var(--amber-glow));
}

/* Hero v3 — light, glass badge + gradient blobs */
.hero-v3 {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

/* faint grid overlay */
.hero-v3__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(28, 21, 48, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 21, 48, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* animated gradient blobs */
.hero-v3__blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-v3__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  mix-blend-mode: multiply;
}
.hero-v3__blob--1 {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  top: -8%; left: -6%;
  background: radial-gradient(circle at 30% 30%, rgba(214, 61, 146, 0.55), transparent 70%);
  animation: heroBlob 18s ease-in-out infinite;
}
.hero-v3__blob--2 {
  width: 42vw; height: 42vw; max-width: 560px; max-height: 560px;
  top: 10%; right: -8%;
  background: radial-gradient(circle at 50% 50%, rgba(124, 77, 255, 0.5), transparent 70%);
  animation: heroBlob 22s ease-in-out infinite reverse;
}
.hero-v3__blob--3 {
  width: 40vw; height: 40vw; max-width: 520px; max-height: 520px;
  bottom: -14%; left: 30%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 170, 220, 0.5), transparent 70%);
  animation: heroBlob 26s ease-in-out infinite;
}

@keyframes heroBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, 6%) scale(1.08); }
  66% { transform: translate(-5%, -3%) scale(0.95); }
}

.hero-v3__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.hero-v3__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: 0 6px 18px -10px rgba(28, 21, 48, 0.3);
}
.hero-v3__badge i { color: var(--primary); }

.hero-v3__title {
  font-size: clamp(2.5rem, 6vw + 1rem, 4.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero-v3__accent {
  display: inline-block;
  background: linear-gradient(100deg, var(--primary), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroHue 8s ease-in-out infinite alternate;
}

@keyframes heroHue {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.hero-v3__lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.hero-v3__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.hero-v3__cta .btn { padding: 0.75rem 1.5rem; font-weight: 600; }
.hero-v3__cta .btn--primary { box-shadow: 0 12px 28px -10px var(--amber-glow); }

.hero-v3__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-v3__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.hero-v3__chips li i { color: var(--primary); }
.hero-v3__chips li:hover {
  transform: translateY(-2px);
  color: var(--text);
  border-color: color-mix(in oklab, var(--primary) 40%, var(--glass-border));
}

@media (prefers-reduced-motion: reduce) {
  .hero-v3__blob, .hero-v3__accent { animation: none; }
}

/* Hero stars canvas container (legacy) */
.hero-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-stars canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Floating animation for hero elements */
.float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

.float-medium {
  animation: floatMedium 6s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-12px) translateX(6px); }
}

@keyframes floatMedium {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-slow, .float-medium { animation: none; }
  .tilt-card { transform: none !important; }
}

/* Tilt refraction overlay (light reflection on glass) */
.tilt-refraction {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.6) 0%,
    transparent 50%,
    rgba(255,255,255,0.1) 100%
  );
  pointer-events: none;
  opacity: 0.7;
}

/* Fonts */
.font-inter { font-family: 'Inter', system-ui, sans-serif; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Technical details (numbers, tags, dates) */
.tech-text { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.9em; }

/* Geography / map section */
.geo-wrap { max-width: 720px; margin-inline: auto; }
.geo-card { padding: 1.5rem; }
.geo-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text);
}
.geo-icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: var(--primary); }
.geo-map {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(28,21,48,0.06);
  aspect-ratio: 16 / 10;
}
.geo-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.geo-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.geo-link:hover { color: var(--primary); border-bottom-color: var(--primary); }
