/* ============ Variables ============ */
:root {
  --bg: #f7f8fc;
  --bg-soft: #ffffff;
  --ink: #1d1f33;
  --ink-soft: #5b5f7a;
  --line: rgba(29, 31, 51, 0.08);

  --holo-1: #7c5cff;
  --holo-2: #00d4ff;
  --holo-3: #ff6ec7;
  --holo-4: #ffd166;

  --gradient-holo: linear-gradient(135deg, var(--holo-1) 0%, var(--holo-2) 35%, var(--holo-3) 70%, var(--holo-4) 100%);
  --gradient-holo-soft: linear-gradient(135deg, rgba(124,92,255,0.16) 0%, rgba(0,212,255,0.16) 35%, rgba(255,110,199,0.16) 70%, rgba(255,209,102,0.16) 100%);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 60px -20px rgba(124, 92, 255, 0.25);
  --font-display: 'Sora', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--bg) linear-gradient(120deg,
    rgba(124, 92, 255, 0.10) 0%,
    rgba(0, 212, 255, 0.10) 25%,
    rgba(255, 110, 199, 0.10) 50%,
    rgba(255, 209, 102, 0.10) 75%,
    rgba(124, 92, 255, 0.10) 100%);
  background-size: 400% 400%;
  animation: aurora-flow 40s ease infinite;
}

@keyframes aurora-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1, h2, h3, .logo {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

a { color: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Holo text ============ */
.holo-text {
  background: var(--gradient-holo);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holo-shift 8s ease infinite;
}

@keyframes holo-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============ Background orbs ============ */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.orb-1 {
  width: 560px; height: 560px;
  top: -180px; left: -140px;
  background: radial-gradient(circle at 30% 30%, var(--holo-2), transparent 70%);
  animation: float-1 26s ease-in-out infinite;
}

.orb-2 {
  width: 640px; height: 640px;
  top: 25%; right: -240px;
  background: radial-gradient(circle at 70% 40%, var(--holo-3), transparent 70%);
  animation: float-2 32s ease-in-out infinite;
}

.orb-3 {
  width: 500px; height: 500px;
  bottom: -200px; left: 15%;
  background: radial-gradient(circle at 50% 50%, var(--holo-4), transparent 70%);
  animation: float-3 28s ease-in-out infinite;
}

.orb-4 {
  width: 460px; height: 460px;
  top: 45%; left: 35%;
  background: radial-gradient(circle at 50% 50%, var(--holo-1), transparent 70%);
  animation: float-4 36s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(120px, 140px) scale(1.15); }
  66% { transform: translate(-60px, 80px) scale(0.9); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-140px, 100px) scale(0.92); }
  66% { transform: translate(-80px, -120px) scale(1.12); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(100px, -90px) scale(1.1); }
  66% { transform: translate(160px, 40px) scale(0.95); }
}

@keyframes float-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-110px, -130px) scale(1.08); }
  66% { transform: translate(130px, 90px) scale(0.94); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,92,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, rgba(0,0,0,0.6), transparent 70%);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(160%);
  background: rgba(247, 248, 252, 0.7);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.logo-bracket {
  background: var(--gradient-holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-thin { font-weight: 400; color: var(--ink-soft); margin-left: 4px; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav a:is(:hover, .magic-active) { color: var(--ink); }

/* magical hover for nav links (excluding the CTA pill) */
.nav a:not(.nav-cta) {
  position: relative;
  padding-bottom: 6px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0%;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-holo);
  background-size: 200% 200%;
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav a:not(.nav-cta)::before {
  content: '✦';
  position: absolute;
  top: -10px;
  right: -12px;
  font-size: 10px;
  line-height: 1;
  color: var(--holo-2);
  opacity: 0;
  transform: scale(0) rotate(0deg);
  pointer-events: none;
}

.nav a:not(.nav-cta):is(:hover, .magic-active) {
  transform: translateY(-2px);
  background: var(--gradient-holo);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holo-shift 4s ease infinite;
}

.nav a:not(.nav-cta):is(:hover, .magic-active)::after {
  width: 100%;
  animation: holo-shift 4s ease infinite;
}

.nav a:not(.nav-cta):is(:hover, .magic-active)::before {
  animation: sparkle-pop 1.1s ease-in-out infinite;
}

.nav-cta {
  padding: 10px 22px !important;
  border-radius: 999px;
  background: var(--gradient-holo);
  background-size: 200% 200%;
  color: #fff !important;
  font-weight: 600 !important;
  position: relative;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background-position 0.6s ease;
}

.nav-cta:is(:hover, .magic-active) {
  transform: translateY(-2px) scale(1.05);
  background-position: 100% 100%;
  box-shadow: 0 12px 32px -8px rgba(124, 92, 255, 0.55), 0 0 20px rgba(0, 212, 255, 0.3);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, color 0.3s ease;
}

/* shine sweep */
.btn::before,
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.75) 50%, transparent 70%);
  background-size: 250% 250%;
  background-position: -150% -150%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.btn:is(:hover, .magic-active)::before,
.nav-cta:is(:hover, .magic-active)::before {
  opacity: 1;
  background-position: 150% 150%;
  transition: background-position 0.8s ease, opacity 0.3s ease;
}

/* sparkles */
.btn::after,
.nav-cta::after {
  content: '✦';
  position: absolute;
  top: -8px;
  right: 14px;
  font-size: 14px;
  line-height: 1;
  color: var(--holo-2);
  opacity: 0;
  transform: scale(0) rotate(0deg);
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 0 0 transparent;
}

.btn:is(:hover, .magic-active)::after,
.nav-cta:is(:hover, .magic-active)::after {
  animation: sparkle-pop 1.1s ease-in-out infinite;
}

@keyframes sparkle-pop {
  0% { opacity: 0; transform: scale(0) rotate(0deg) translate(0, 0); }
  35% { opacity: 1; transform: scale(1.1) rotate(90deg) translate(6px, -8px); }
  70% { opacity: 0.6; transform: scale(0.5) rotate(180deg) translate(10px, -16px); }
  100% { opacity: 0; transform: scale(0) rotate(220deg) translate(10px, -16px); }
}

.btn:is(:hover, .magic-active) {
  transform: translateY(-3px) scale(1.04);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-primary {
  background: var(--gradient-holo);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background-position 0.6s ease;
}

.btn-primary:is(:hover, .magic-active) {
  background-position: 100% 100%;
  box-shadow: 0 18px 50px -12px rgba(124, 92, 255, 0.6), 0 0 28px rgba(0, 212, 255, 0.35);
}

.btn-ghost {
  background: rgba(255,255,255,0.6);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}

.btn-ghost:is(:hover, .magic-active) {
  color: var(--holo-1);
  border-color: transparent;
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow-soft), inset 0 0 0 2px rgba(124, 92, 255, 0.25);
}

.btn-block { width: 100%; }

/* ============ Hero ============ */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  margin: 0 0 24px;
}

.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient-holo);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.1;
  margin: 0 0 24px;
  max-width: 16ch;
  font-weight: 800;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 70px;
}

/* ============ Hero visual / holo frame ============ */
.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.holo-frame {
  position: relative;
  width: min(820px, 100%);
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(255,255,255,0.4));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.holo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}

.holo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(124,92,255,0.18) 0%, rgba(255,255,255,0.05) 50%, rgba(0,212,255,0.18) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.holo-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gradient-holo)),
    linear-gradient(rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.0) 100%);
  opacity: 0.08;
  background-size: cover;
  mix-blend-mode: soft-light;
}

.holo-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,92,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,255,0.15) 1px, transparent 1px);
  background-size: 44px 44px;
}

.holo-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--holo-2), transparent);
  opacity: 0.7;
  animation: scan 4s linear infinite;
}

@keyframes scan {
  0% { top: 0%; }
  100% { top: 100%; }
}

.holo-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

.holo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(124,92,255,0.35);
}

.ring-1 { width: 220px; height: 220px; animation: spin 30s linear infinite; }
.ring-2 { width: 340px; height: 340px; border-color: rgba(0,212,255,0.25); animation: spin-rev 40s linear infinite; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-rev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

.holo-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============ Trust strip ============ */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 24px;
  text-align: center;
  gap: 24px;
}

.trust-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-number-infinity {
  font-size: 4rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

.trust-label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ============ Sections ============ */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--holo-1);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  margin: 0 0 18px;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.7;
  margin: 0 0 50px;
}

/* ============ Ambient sparkle field ============ */
.section-sparkly {
  position: relative;
  overflow: hidden;
}

.sparkle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.sparkle-field .sparkle {
  position: absolute;
  font-size: 1.4rem;
  color: var(--holo-2);
  opacity: 0;
  animation: ambient-twinkle 6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px currentColor);
}

.sparkle-field .s1 { top: 8%;  left: 6%;  color: var(--holo-1); animation-delay: 0s; }
.sparkle-field .s2 { top: 18%; left: 88%; color: var(--holo-3); animation-delay: 1.2s; font-size: 1rem; }
.sparkle-field .s3 { top: 52%; left: 92%; color: var(--holo-2); animation-delay: 2.4s; font-size: 1.8rem; }
.sparkle-field .s4 { top: 78%; left: 14%; color: var(--holo-4); animation-delay: 3.1s; font-size: 1.1rem; }
.sparkle-field .s5 { top: 38%; left: 48%; color: var(--holo-1); animation-delay: 4.3s; font-size: 1.6rem; }
.sparkle-field .s6 { top: 85%; left: 70%; color: var(--holo-3); animation-delay: 5s; font-size: 1.2rem; }

@keyframes ambient-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg) translateY(0); }
  50% { opacity: 0.8; transform: scale(1.15) rotate(180deg) translateY(-14px); }
}

.section-sparkly .container {
  position: relative;
  z-index: 1;
}

/* ============ Cards ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.section-note {
  margin: 28px 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease, border-color 0.4s ease;
}

/* soft gradient wash */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-holo-soft);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* shimmer sweep */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.6) 50%, transparent 70%);
  background-size: 250% 250%;
  background-position: -150% -150%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.card:is(:hover, .magic-active) {
  transform: translateY(-10px) scale(1.02) rotate(-0.6deg);
  box-shadow: 0 26px 60px -18px rgba(124, 92, 255, 0.45), 0 0 0 1px rgba(124, 92, 255, 0.15);
  border-color: transparent;
}

.card:is(:hover, .magic-active)::before { opacity: 1; }

.card:is(:hover, .magic-active)::after {
  opacity: 1;
  background-position: 150% 150%;
  transition: background-position 0.9s ease, opacity 0.3s ease;
}

.card-icon {
  font-size: 2rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--gradient-holo-soft);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, box-shadow 0.4s ease;
}

.card-icon::after {
  content: '✦';
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 13px;
  line-height: 1;
  color: var(--holo-3);
  opacity: 0;
  transform: scale(0) rotate(0deg);
  pointer-events: none;
}

.card:is(:hover, .magic-active) .card-icon {
  background: var(--gradient-holo);
  box-shadow: 0 14px 32px -10px rgba(124, 92, 255, 0.55);
  animation: icon-wiggle 1.6s ease-in-out infinite;
}

.card:is(:hover, .magic-active) .card-icon::after {
  animation: sparkle-pop 1.2s ease-in-out infinite;
}

@keyframes icon-wiggle {
  0%, 100% { transform: rotate(-8deg) scale(1.12); }
  50% { transform: rotate(8deg) scale(1.18); }
}

.card h3, .card p { position: relative; z-index: 2; }

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.card:is(:hover, .magic-active) h3 {
  color: var(--holo-1);
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============ Gallery ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  aspect-ratio: 1;
}

.gallery-item img,
.gallery-item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

/* shimmer sweep on hover */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  background-size: 250% 250%;
  background-position: -150% -150%;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* zoom hint badge */
.gallery-item::after {
  content: '🔍';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border-radius: 50%;
  background: var(--gradient-holo);
  color: #fff;
  opacity: 0;
  transform: scale(0.6) rotate(-20deg);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 10px 24px -8px rgba(124, 92, 255, 0.6);
}

.gallery-item:is(:hover, .magic-active) {
  border-color: transparent;
  animation: gallery-glow 4s ease-in-out infinite;
}

@keyframes gallery-glow {
  0%, 100% { box-shadow: 0 26px 60px -18px rgba(124, 92, 255, 0.5); }
  33%      { box-shadow: 0 26px 60px -18px rgba(0, 212, 255, 0.5); }
  66%      { box-shadow: 0 26px 60px -18px rgba(255, 110, 199, 0.5); }
}

.gallery-item:is(:hover, .magic-active) img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}

.gallery-item:is(:hover, .magic-active)::before {
  opacity: 1;
  background-position: 150% 150%;
  transition: background-position 0.9s ease, opacity 0.3s ease;
}

.gallery-item:is(:hover, .magic-active)::after {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  animation: icon-wiggle 2.4s ease-in-out infinite;
}

/* sparkles that pop around the image on hover */
.gallery-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.gallery-sparkles .sparkle {
  position: absolute;
  font-size: 1.3rem;
  opacity: 0;
  filter: drop-shadow(0 0 6px currentColor);
}

.gallery-sparkles .g1 { top: 12%;  left: 10%; color: var(--holo-2); }
.gallery-sparkles .g2 { top: 22%;  right: 16%; color: var(--holo-3); font-size: 1rem; }
.gallery-sparkles .g3 { bottom: 28%; left: 18%; color: var(--holo-4); font-size: 1.6rem; }
.gallery-sparkles .g4 { bottom: 16%; right: 12%; color: var(--holo-1); font-size: 1.1rem; }

.gallery-item:is(:hover, .magic-active) .gallery-sparkles .sparkle {
  animation: sparkle-pop 1.4s ease-in-out infinite;
}

.gallery-item:is(:hover, .magic-active) .gallery-sparkles .g2 { animation-delay: 0.25s; }
.gallery-item:is(:hover, .magic-active) .gallery-sparkles .g3 { animation-delay: 0.5s; }
.gallery-item:is(:hover, .magic-active) .gallery-sparkles .g4 { animation-delay: 0.75s; }

/* lightbox zoom: image grows from its spot in the gallery to fill the page */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 35, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, background-color 0.4s ease;
  z-index: 59;
  cursor: zoom-out;
}

.lightbox-backdrop.is-active {
  opacity: 1;
  background: rgba(15, 10, 35, 0.55);
  pointer-events: auto;
}

.lightbox-img {
  position: fixed;
  z-index: 60;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 90px -10px rgba(20, 10, 50, 0.6);
  pointer-events: none;
  display: none;
  cursor: zoom-out;
  transition: top 0.5s cubic-bezier(0.22, 1, 0.36, 1), left 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.5s cubic-bezier(0.22, 1, 0.36, 1), height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.5s ease, box-shadow 0.5s ease;
}

.lightbox-img.is-active {
  display: block;
}

.lightbox-img.is-zoomed {
  object-fit: contain;
  border-radius: 12px;
  pointer-events: auto;
  animation: lightbox-glow 4s ease-in-out infinite;
}

@keyframes lightbox-glow {
  0%, 100% { box-shadow: 0 30px 90px -10px rgba(20, 10, 50, 0.6), 0 0 60px 6px rgba(124, 92, 255, 0.35); }
  33%      { box-shadow: 0 30px 90px -10px rgba(20, 10, 50, 0.6), 0 0 60px 6px rgba(0, 212, 255, 0.35); }
  66%      { box-shadow: 0 30px 90px -10px rgba(20, 10, 50, 0.6), 0 0 60px 6px rgba(255, 110, 199, 0.35); }
}

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(20, 10, 50, 0.65));
}

/* ============ Coming soon placeholders ============ */
.gallery-soon {
  border-style: dashed;
  border-color: rgba(124, 92, 255, 0.35);
}

.gallery-soon .coming-soon {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(0, 212, 255, 0.16), rgba(255, 110, 199, 0.16), rgba(255, 209, 102, 0.16));
  background-size: 300% 300%;
  animation: holo-shift 10s ease infinite;
  position: relative;
}

.gallery-soon .coming-soon-sparkle {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.2rem;
  color: var(--holo-3);
  animation: ambient-twinkle 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 6px currentColor);
}

.gallery-soon .coming-soon-icon {
  font-size: 2.6rem;
  filter: drop-shadow(0 6px 16px rgba(124, 92, 255, 0.35));
  animation: icon-wiggle 4s ease-in-out infinite;
}

.gallery-soon .coming-soon-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gradient-holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holo-shift 6s ease infinite;
}

.gallery-soon .coming-soon-cta {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.4;
}

.gallery-soon:is(:hover, .magic-active) .coming-soon-icon {
  animation-duration: 1.2s;
}

.gallery-soon figcaption {
  color: var(--ink-soft);
  background: linear-gradient(180deg, transparent, rgba(20, 10, 50, 0.08));
}

/* ============ Timeline ============ */
.timeline {
  display: grid;
  gap: 28px;
  position: relative;
}

/* flowing energy line connecting the steps */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 56px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--holo-1), var(--holo-2), var(--holo-3), var(--holo-4), var(--holo-1));
  background-size: 100% 300%;
  animation: timeline-flow 6s linear infinite;
  opacity: 0.7;
  box-shadow: 0 0 16px 1px rgba(124, 92, 255, 0.5);
  z-index: 0;
}

/* glowing orb traveling down the energy line */
.timeline::after {
  content: '';
  position: absolute;
  left: 56px;
  top: 0;
  width: 16px;
  height: 16px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--holo-2);
  box-shadow: 0 0 18px 6px rgba(0, 212, 255, 0.85), 0 0 36px 12px rgba(124, 92, 255, 0.45);
  animation: orb-travel 5s ease-in-out infinite;
  z-index: 0;
}

@keyframes timeline-flow {
  0% { background-position: 0 0%; }
  100% { background-position: 0 100%; }
}

@keyframes orb-travel {
  0%   { top: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: calc(100% - 16px); opacity: 0; }
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease, border-color 0.4s ease;
}

/* shimmer sweep */
.timeline-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  background-size: 250% 250%;
  background-position: -150% -150%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.timeline-item:is(:hover, .magic-active) {
  transform: translateX(10px) translateY(-4px);
  box-shadow: 0 22px 50px -18px rgba(124, 92, 255, 0.4), 0 0 0 1px rgba(124, 92, 255, 0.15);
  border-color: transparent;
}

.timeline-item:is(:hover, .magic-active)::after {
  opacity: 1;
  background-position: 150% 150%;
  transition: background-position 0.9s ease, opacity 0.3s ease;
}

.timeline-marker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-holo);
  color: #fff;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  animation: marker-pulse 3s ease-in-out infinite;
}

.timeline-item:nth-child(2) .timeline-marker { animation-delay: 0.5s; }
.timeline-item:nth-child(3) .timeline-marker { animation-delay: 1s; }
.timeline-item:nth-child(4) .timeline-marker { animation-delay: 1.5s; }

@keyframes marker-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(124, 92, 255, 0); }
}

.timeline-marker::after {
  content: '✦';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 14px;
  line-height: 1;
  color: var(--holo-3);
  opacity: 0;
  transform: scale(0) rotate(0deg);
  pointer-events: none;
}

.timeline-item:is(:hover, .magic-active) .timeline-marker {
  transform: scale(1.15) rotate(-10deg);
  box-shadow: 0 14px 32px -8px rgba(124, 92, 255, 0.55);
  animation-play-state: paused;
}

.timeline-item:is(:hover, .magic-active) .timeline-marker::after {
  animation: sparkle-pop 1.2s ease-in-out infinite;
}

.timeline-content h3 {
  margin: 4px 0 8px;
  font-size: 1.15rem;
  position: relative;
  transition: color 0.3s ease;
}

.timeline-item:is(:hover, .magic-active) .timeline-content h3 {
  color: var(--holo-1);
}

.timeline-content p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  position: relative;
}

/* ============ About ============ */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1.02rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 500;
}

.about-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--holo-1);
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-frame img,
.about-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-holo);
  opacity: 0.22;
  mix-blend-mode: overlay;
  animation: holo-shift 10s ease infinite;
}

/* ============ Contact ============ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-text .section-sub { margin-bottom: 32px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
}

.contact-details a {
  text-decoration: none;
  color: var(--holo-1);
}

.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--holo-1);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}

.form-note {
  margin: 0;
  text-align: center;
  font-weight: 600;
  color: var(--holo-1);
}

/* ============ Footer ============ */
.site-footer {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-tagline {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}

.footer-copy {
  color: var(--ink-soft);
  font-size: 0.8rem;
  margin: 0;
}

.footer-legal {
  margin: 8px 0 0;
  font-size: 0.75rem;
}

.footer-legal a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:is(:hover, .magic-active) {
  color: var(--holo-1);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
    align-items: flex-start;
    display: none;
  }

  .nav.open { display: flex; }

  .nav-toggle { display: flex; }

  .nav-cta { align-self: flex-start; }

  .timeline-item {
    grid-template-columns: 56px 1fr;
  }
}
