/* ==========================================================================
   Vyxra.space — Opal Sanctuary
   Pure CSS3 · Premium sculptural landing experience
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --pearl: #FAF9F6;
  --mist: #F2F8F8;
  --sky: #7DD3FC;
  --lavender: #A78BFA;
  --rose: #F9A8D4;
  --mint: #7EE8C6;
  --emerald: #4ADE80;
  --peach: #FFD6A5;
  --coral: #FFB4A2;
  --amethyst: #C4B5FD;
  --ice: #BAE6FD;
  --ink: #243447;
  --slate: #64748B;
  --card: rgba(255, 255, 255, 0.88);
  --border: rgba(167, 139, 250, 0.12);

  --grad-main: linear-gradient(135deg, #7DD3FC, #A78BFA, #F9A8D4);
  --grad-accent: linear-gradient(135deg, #7EE8C6, #4ADE80);
  --grad-warm: linear-gradient(135deg, #FFD6A5, #FFB4A2);
  --grad-opal: linear-gradient(
    120deg,
    #7DD3FC 0%,
    #A78BFA 35%,
    #F9A8D4 55%,
    #7EE8C6 75%,
    #FFD6A5 100%
  );

  --font-display: "Marcellus", Georgia, serif;
  --font-headline: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-ui: "DM Sans", system-ui, sans-serif;

  --shadow-soft: 0 20px 50px rgba(36, 52, 71, 0.06);
  --shadow-lift: 0 28px 60px rgba(167, 139, 250, 0.14);
  --radius-organic: 40% 60% 55% 45% / 50% 40% 60% 50%;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(1120px, calc(100% - 3rem));
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(186, 230, 253, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(249, 168, 212, 0.2), transparent 45%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(126, 232, 198, 0.12), transparent 40%),
    var(--pearl);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.35s var(--ease-lux), opacity 0.35s var(--ease-lux);
}

ul {
  list-style: none;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--pearl);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 400;
}

h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 600;
}

h4 {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.eyebrow,
.section-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 1rem;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--slate);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition:
    transform 0.45s var(--ease-lux),
    box-shadow 0.45s var(--ease-lux),
    background 0.45s var(--ease-lux),
    color 0.35s ease;
}

.btn-primary {
  color: var(--ink);
  background: var(--grad-main);
  background-size: 200% 200%;
  animation: opal-shift 10s ease infinite;
  box-shadow:
    0 8px 28px rgba(167, 139, 250, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(125, 211, 252, 0.4),
    0 0 0 4px rgba(186, 230, 253, 0.35);
}

.btn-ghost {
  background: var(--card);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: var(--shadow-lift);
}

.btn-nav {
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
  background:
    linear-gradient(var(--pearl), var(--pearl)) padding-box,
    var(--grad-opal) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.12);
}

.btn-nav:hover,
.btn-nav:focus-visible {
  box-shadow:
    0 12px 32px rgba(125, 211, 252, 0.3),
    0 0 24px rgba(249, 168, 212, 0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Navigation ---------- */
.nav-wrap {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.65rem 0.75rem 0.65rem 1.25rem;
  background: rgba(250, 249, 246, 0.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow:
    0 12px 40px rgba(36, 52, 71, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  max-width: 960px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  background: var(--grad-main);
  background-size: 200% 200%;
  animation: opal-shift 8s ease infinite, float-gentle 6s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.35);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.nav-links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--slate);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-main);
  transition: width 0.35s var(--ease-lux), left 0.35s var(--ease-lux);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
  left: 0;
}

.nav .btn-nav {
  margin-left: auto;
}

/* ---------- Curve Dividers ---------- */
.curve-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  color: var(--mist);
  z-index: 2;
}

.curve-divider svg {
  width: 100%;
  height: clamp(60px, 8vw, 120px);
}

.curve-gallery {
  color: var(--pearl);
}

/* ==========================================================================
   1. Crystal Entrance — Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 7rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 70% 40%, rgba(196, 181, 253, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(126, 232, 198, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 20%, rgba(255, 214, 165, 0.2), transparent 45%),
    linear-gradient(180deg, var(--pearl) 0%, #F5F7F9 60%, var(--mist) 100%);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Floating crystal minerals */
.mineral {
  position: absolute;
  border-radius: var(--radius-organic);
  filter: blur(0.5px);
  animation: float-mineral 12s ease-in-out infinite;
}

.mineral-a {
  width: clamp(140px, 22vw, 280px);
  height: clamp(160px, 26vw, 320px);
  top: 12%;
  right: 8%;
  background: var(--grad-main);
  background-size: 200% 200%;
  opacity: 0.45;
  animation: float-mineral 14s ease-in-out infinite, opal-shift 12s ease infinite;
}

.mineral-b {
  width: clamp(90px, 14vw, 180px);
  height: clamp(100px, 16vw, 200px);
  bottom: 22%;
  left: 6%;
  background: var(--grad-accent);
  opacity: 0.35;
  border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
  animation-delay: -3s;
}

.mineral-c {
  width: clamp(70px, 10vw, 130px);
  height: clamp(80px, 12vw, 150px);
  top: 35%;
  left: 18%;
  background: var(--grad-warm);
  opacity: 0.4;
  border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
  animation-delay: -6s;
}

.mineral-d {
  width: clamp(50px, 8vw, 100px);
  height: clamp(60px, 9vw, 110px);
  top: 55%;
  right: 22%;
  background: linear-gradient(160deg, var(--ice), var(--amethyst));
  opacity: 0.5;
  animation-delay: -2s;
}

/* Petal-like geometry */
.petal {
  position: absolute;
  border-radius: 80% 20% 70% 30% / 30% 70% 20% 80%;
  opacity: 0.3;
  animation: petal-drift 18s ease-in-out infinite;
}

.petal-1 {
  width: 200px;
  height: 120px;
  top: 20%;
  left: 45%;
  background: linear-gradient(90deg, var(--rose), transparent);
  animation-delay: -4s;
}

.petal-2 {
  width: 160px;
  height: 90px;
  bottom: 30%;
  right: 30%;
  background: linear-gradient(90deg, var(--sky), transparent);
  transform: rotate(40deg);
  animation-delay: -8s;
}

.petal-3 {
  width: 120px;
  height: 70px;
  top: 60%;
  left: 30%;
  background: linear-gradient(90deg, var(--mint), transparent);
  transform: rotate(-25deg);
  animation-delay: -1s;
}

/* Sculptural archways */
.arch {
  position: absolute;
  border: 1.5px solid rgba(167, 139, 250, 0.15);
  border-bottom: none;
  border-radius: 50% 50% 0 0;
  opacity: 0.6;
}

.arch-left {
  width: clamp(180px, 28vw, 360px);
  height: clamp(120px, 18vw, 240px);
  bottom: 8%;
  left: -4%;
  border-color: rgba(125, 211, 252, 0.25);
}

.arch-right {
  width: clamp(220px, 32vw, 420px);
  height: clamp(140px, 20vw, 280px);
  bottom: 5%;
  right: -6%;
  border-color: rgba(249, 168, 212, 0.22);
}

/* Soft ambient light rays */
.light-ray {
  position: absolute;
  width: 2px;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(186, 230, 253, 0.5), transparent);
  transform-origin: top;
  animation: ray-sway 10s ease-in-out infinite;
}

.ray-1 {
  top: 0;
  left: 30%;
  transform: rotate(12deg);
}

.ray-2 {
  top: 0;
  right: 25%;
  height: 50%;
  transform: rotate(-8deg);
  animation-delay: -3s;
  background: linear-gradient(to bottom, transparent, rgba(249, 168, 212, 0.35), transparent);
}

/* Crystal facets */
.crystal-facet {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.25;
  animation: float-gentle 9s ease-in-out infinite;
}

.facet-1 {
  width: 80px;
  height: 90px;
  top: 18%;
  right: 28%;
  background: var(--grad-main);
  animation-delay: -1s;
}

.facet-2 {
  width: 55px;
  height: 62px;
  bottom: 35%;
  left: 12%;
  background: var(--grad-accent);
  animation-delay: -4s;
}

.facet-3 {
  width: 40px;
  height: 48px;
  top: 42%;
  right: 12%;
  background: var(--grad-warm);
  animation-delay: -7s;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 42rem;
  animation: fade-up 1.2s var(--ease-lux) both;
}

.hero-content .eyebrow {
  background: var(--grad-opal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: opal-shift 8s ease infinite;
}

.hero-content h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  font-size: unset;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--ink) 30%, #4a5d73 70%, var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sep {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  background: var(--grad-opal);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: opal-shift 8s ease infinite;
}

.brand-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  opacity: 0.88;
}

.hero-sub {
  color: var(--slate);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin-bottom: 2.25rem;
  max-width: 34rem;
  margin-inline: auto;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   2. Sculpted Vision Hall
   ========================================================================== */
.vision-hall {
  position: relative;
  padding: 6rem 0 7rem;
  background: var(--mist);
}

.vision-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.vision-composition {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}

.frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
}

.frame-outer {
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(125, 211, 252, 0.2), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(249, 168, 212, 0.18), transparent 50%),
    var(--card);
  box-shadow: var(--shadow-soft);
  animation: morph-organic 16s ease-in-out infinite;
}

.frame-mid {
  inset: 8%;
  border-color: rgba(126, 232, 198, 0.2);
  border-radius: 48% 52% 55% 45% / 45% 55% 45% 55%;
  animation: morph-organic 14s ease-in-out infinite reverse;
}

.abstract-sculpture {
  position: absolute;
  inset: 12%;
  display: grid;
  place-items: center;
}

.sculpt-layer {
  position: absolute;
  border-radius: var(--radius-organic);
  opacity: 0.55;
}

.layer-1 {
  width: 70%;
  height: 70%;
  background: var(--grad-main);
  background-size: 200% 200%;
  animation: opal-shift 10s ease infinite, float-gentle 8s ease-in-out infinite;
}

.layer-2 {
  width: 50%;
  height: 55%;
  background: var(--grad-accent);
  border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%;
  animation: float-gentle 7s ease-in-out infinite reverse;
  opacity: 0.6;
}

.layer-3 {
  width: 32%;
  height: 38%;
  background: var(--grad-warm);
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
  animation: float-gentle 9s ease-in-out infinite;
  animation-delay: -2s;
  opacity: 0.7;
}

.sculpt-core {
  width: 18%;
  height: 18%;
  border-radius: 50%;
  background: var(--pearl);
  box-shadow:
    0 0 40px rgba(186, 230, 253, 0.8),
    0 0 80px rgba(196, 181, 253, 0.4);
  z-index: 2;
  animation: pulse-glow 4s ease-in-out infinite;
}

.floating-shard {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: float-mineral 10s ease-in-out infinite;
}

.shard-1 {
  width: 48px;
  height: 48px;
  top: 8%;
  right: 0;
  background: var(--grad-main);
  opacity: 0.7;
}

.shard-2 {
  width: 36px;
  height: 36px;
  bottom: 12%;
  left: -2%;
  background: var(--grad-accent);
  opacity: 0.65;
  animation-delay: -4s;
}

.vision-story {
  max-width: 32rem;
}

.vision-story h2 {
  margin-bottom: 1.25rem;
}

.vision-story p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.vision-points {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vision-points li {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  padding-left: 1.75rem;
  position: relative;
  color: var(--ink);
}

.vision-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  background: var(--grad-main);
  background-size: 200% 200%;
  animation: opal-shift 6s ease infinite;
}

/* ==========================================================================
   3. Mineral Feature Gallery
   ========================================================================== */
.gallery {
  position: relative;
  padding: 7rem 0 8rem;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(196, 181, 253, 0.12), transparent 50%),
    var(--pearl);
}

.feature-gallery {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

.feature-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.55s var(--ease-lux),
    box-shadow 0.55s var(--ease-lux);
  animation: float-gentle 8s ease-in-out infinite;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: -1.2s; }
.feature-card:nth-child(3) { animation-delay: -2.4s; }
.feature-card:nth-child(4) { animation-delay: -3.6s; }
.feature-card:nth-child(5) { animation-delay: -4.8s; }
.feature-card:nth-child(6) { animation-delay: -6s; }

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

/* Unique organic card shapes */
.shape-a {
  border-radius: 48% 52% 45% 55% / 42% 58% 42% 58%;
  background:
    linear-gradient(145deg, rgba(125, 211, 252, 0.12), transparent 50%),
    var(--card);
}

.shape-b {
  border-radius: 55% 45% 58% 42% / 48% 52% 48% 52%;
  background:
    linear-gradient(160deg, rgba(126, 232, 198, 0.12), transparent 50%),
    var(--card);
}

.shape-c {
  border-radius: 42% 58% 52% 48% / 55% 45% 55% 45%;
  background:
    linear-gradient(200deg, rgba(249, 168, 212, 0.12), transparent 50%),
    var(--card);
}

.shape-d {
  border-radius: 50% 50% 40% 60% / 40% 60% 40% 60%;
  background:
    linear-gradient(180deg, rgba(255, 214, 165, 0.15), transparent 50%),
    var(--card);
}

.shape-e {
  border-radius: 60% 40% 45% 55% / 50% 50% 50% 50%;
  background:
    linear-gradient(120deg, rgba(186, 230, 253, 0.15), transparent 50%),
    var(--card);
}

.shape-f {
  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
  background:
    linear-gradient(90deg, rgba(196, 181, 253, 0.14), transparent 50%),
    var(--card);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  color: var(--ink);
  margin-bottom: 1.15rem;
  opacity: 0.85;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* ==========================================================================
   4. Floating Innovation Islands
   ========================================================================== */
.islands {
  padding: 6rem 0 8rem;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(126, 232, 198, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(249, 168, 212, 0.1), transparent 45%),
    var(--pearl);
  overflow: hidden;
}

.island-sea {
  position: relative;
  display: grid;
  gap: 1.5rem;
  min-height: auto;
}

.island {
  position: relative;
  padding: 1.85rem 1.65rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2rem 2.5rem 2rem 2.8rem / 2.5rem 2rem 2.8rem 2rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    transform 0.55s var(--ease-lux),
    box-shadow 0.55s var(--ease-lux);
}

.island:hover,
.island:focus-within {
  transform: translateY(-10px);
  box-shadow:
    0 28px 60px rgba(167, 139, 250, 0.16),
    0 0 40px rgba(186, 230, 253, 0.25);
}

.island-orb {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
  background: var(--grad-main);
  background-size: 200% 200%;
  margin-bottom: 1rem;
  animation: opal-shift 8s ease infinite;
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.3);
}

.orb-mint { background: var(--grad-accent); }
.orb-rose { background: linear-gradient(135deg, var(--rose), var(--lavender)); }
.orb-peach { background: var(--grad-warm); }
.orb-amethyst { background: linear-gradient(135deg, var(--amethyst), var(--sky)); }
.orb-ice { background: linear-gradient(135deg, var(--ice), var(--mint)); }

.island h3 {
  margin-bottom: 0.4rem;
}

.island p {
  color: var(--slate);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
}

.island-mineral {
  position: absolute;
  width: 80px;
  height: 80px;
  right: -15px;
  bottom: -20px;
  border-radius: var(--radius-organic);
  background: var(--grad-main);
  opacity: 0.12;
  pointer-events: none;
}

.island-mineral.mint { background: var(--grad-accent); }
.island-mineral.rose { background: linear-gradient(135deg, var(--rose), var(--lavender)); }
.island-mineral.peach { background: var(--grad-warm); }
.island-mineral.amethyst { background: linear-gradient(135deg, var(--amethyst), var(--sky)); }
.island-mineral.ice { background: linear-gradient(135deg, var(--ice), var(--mint)); }

/* Staggered vertical rhythm on larger screens handled in media queries */

/* ==========================================================================
   5. Curved Experience Path
   ========================================================================== */
.path-section {
  padding: 6rem 0 7rem;
  background:
    linear-gradient(180deg, var(--pearl), var(--mist) 40%, var(--mist));
  overflow: hidden;
}

.path-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  padding: 2rem 0 1rem;
}

.path-line {
  display: none;
  position: absolute;
  inset: 20% 0 30%;
  width: 100%;
  height: 60%;
  overflow: visible;
}

.path-stroke {
  stroke: var(--lavender);
  stroke-width: 2;
  stroke-dasharray: 8 10;
  opacity: 0.35;
  animation: dash-flow 20s linear infinite;
}

.milestone {
  text-align: center;
  position: relative;
  z-index: 1;
}

.gem {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  background: var(--grad-main);
  background-size: 200% 200%;
  animation: opal-shift 7s ease infinite, float-gentle 5s ease-in-out infinite;
  box-shadow: 0 10px 28px rgba(167, 139, 250, 0.3);
  animation-delay: calc(var(--i, 0) * -0.8s);
}

.gem-mint { background: var(--grad-accent); }
.gem-rose { background: linear-gradient(160deg, var(--rose), var(--lavender)); }
.gem-peach { background: var(--grad-warm); }
.gem-amethyst { background: linear-gradient(160deg, var(--amethyst), var(--sky)); }
.gem-ice { background: linear-gradient(160deg, var(--ice), var(--mint)); }

.milestone h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.milestone p {
  font-size: 0.88rem;
  color: var(--slate);
}

/* ==========================================================================
   6. Crystal Metrics Chamber
   ========================================================================== */
.metrics {
  padding: 6rem 0 7rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(186, 230, 253, 0.2), transparent 55%),
    var(--mist);
}

.metrics-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

.metric-crystal {
  position: relative;
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  clip-path: polygon(12% 0%, 88% 0%, 100% 18%, 100% 82%, 88% 100%, 12% 100%, 0% 82%, 0% 18%);
  transition: transform 0.5s var(--ease-lux), box-shadow 0.5s var(--ease-lux);
  overflow: hidden;
}

.metric-crystal::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.crystal-sky::before {
  background: linear-gradient(160deg, rgba(125, 211, 252, 0.4), transparent 60%);
}

.crystal-mint::before {
  background: linear-gradient(160deg, rgba(126, 232, 198, 0.4), transparent 60%);
}

.crystal-rose::before {
  background: linear-gradient(160deg, rgba(249, 168, 212, 0.4), transparent 60%);
}

.crystal-peach::before {
  background: linear-gradient(160deg, rgba(255, 214, 165, 0.45), transparent 60%);
}

.metric-crystal:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.metric-crystal:hover::before {
  opacity: 0.55;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  position: relative;
}

.metric-label {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--slate);
  position: relative;
}

/* ==========================================================================
   7. Collector Testimonials
   ========================================================================== */
.testimonials {
  padding: 7rem 0;
  background: var(--pearl);
}

.testimonial-row {
  display: grid;
  gap: 1.75rem;
}

.testimonial {
  position: relative;
  padding: 2.25rem 1.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2rem 2.75rem 2.25rem 2.5rem / 2.5rem 2rem 2.75rem 2.25rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.55s var(--ease-lux),
    box-shadow 0.55s var(--ease-lux);
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px rgba(167, 139, 250, 0.14),
    0 0 48px rgba(186, 230, 253, 0.3);
}

.stars {
  color: #E8A87C;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 1.75rem;
  quotes: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.2);
}

.av-1 {
  background: linear-gradient(145deg, var(--sky), var(--lavender));
}

.av-2 {
  background: linear-gradient(145deg, var(--mint), var(--ice));
}

.av-3 {
  background: linear-gradient(145deg, var(--rose), var(--peach));
}

.testimonial-author cite {
  display: block;
  font-family: var(--font-headline);
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--slate);
}

/* ==========================================================================
   8. Signature Plans
   ========================================================================== */
.plans {
  padding: 6rem 0 8rem;
  background:
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(196, 181, 253, 0.15), transparent 50%),
    var(--mist);
}

.plans-grid {
  display: grid;
  gap: 1.75rem;
  align-items: stretch;
}

.plan {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.75rem 2.25rem 1.85rem 2.1rem / 2.1rem 1.75rem 2.25rem 1.85rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-lux);
}

.plan:hover {
  transform: translateY(-6px);
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-family: var(--font-ui);
  color: var(--slate);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.plan-price span {
  font-family: var(--font-headline);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink);
}

.plan ul {
  flex: 1;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan li {
  font-size: 0.95rem;
  color: var(--slate);
  padding-left: 1.4rem;
  position: relative;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--grad-accent);
}

.plan-featured {
  border: none;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad-opal) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 24px 60px rgba(167, 139, 250, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transform: scale(1.02);
  overflow: hidden;
  z-index: 1;
}

.plan-featured:hover {
  transform: scale(1.02) translateY(-8px);
}

.plan-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--grad-main);
  background-size: 200% 200%;
  animation: opal-shift 6s ease infinite, float-gentle 4s ease-in-out infinite;
  box-shadow: 0 6px 18px rgba(167, 139, 250, 0.3);
}

.shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 45%,
    transparent 70%
  );
  animation: shimmer-sweep 5s ease-in-out infinite;
  pointer-events: none;
}

/* ==========================================================================
   9. Reflection Atrium
   ========================================================================== */
.atrium {
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 255, 255, 0.5), transparent 60%),
    linear-gradient(135deg, #d4f0fc 0%, #e4d9fc 35%, #fad4e8 65%, #d8f8ea 100%);
  background-size: 200% 200%;
  animation: opal-shift 16s ease infinite;
}

.atrium-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.atrium-arch {
  position: absolute;
  width: clamp(280px, 50vw, 560px);
  height: clamp(160px, 28vw, 320px);
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-bottom: none;
  border-radius: 50% 50% 0 0;
}

.atrium-arch.arch-2 {
  width: clamp(200px, 36vw, 400px);
  height: clamp(120px, 20vw, 240px);
  bottom: 5%;
  border-color: rgba(255, 255, 255, 0.3);
}

.atrium-ray {
  position: absolute;
  top: -10%;
  left: 40%;
  width: 3px;
  height: 70%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
  transform: rotate(8deg);
  animation: ray-sway 12s ease-in-out infinite;
}

.atrium-ray.ray-b {
  left: 58%;
  transform: rotate(-6deg);
  animation-delay: -4s;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

.atrium-form {
  position: absolute;
  border-radius: var(--radius-organic);
  opacity: 0.35;
  animation: float-mineral 14s ease-in-out infinite;
}

.form-a {
  width: 180px;
  height: 200px;
  top: 10%;
  left: 5%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(125, 211, 252, 0.3));
}

.form-b {
  width: 140px;
  height: 160px;
  bottom: 15%;
  right: 8%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(249, 168, 212, 0.35));
  animation-delay: -5s;
}

.atrium-content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  margin-inline: auto;
}

.atrium-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--ink);
}

.atrium-content p {
  color: var(--slate);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.footer {
  padding: 5rem 0 0;
  background: var(--pearl);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-about {
  color: var(--slate);
  font-size: 0.92rem;
  max-width: 18rem;
  margin-bottom: 1.5rem;
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.social {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
  border: 1px solid var(--border);
  color: var(--slate);
  transition:
    color 0.35s ease,
    background 0.35s ease,
    transform 0.35s var(--ease-lux),
    box-shadow 0.35s ease;
}

.social svg {
  width: 1.1rem;
  height: 1.1rem;
}

.social:hover,
.social:focus-visible {
  color: var(--ink);
  background: rgba(196, 181, 253, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(167, 139, 250, 0.15);
}

.footer-col h4 {
  margin-bottom: 1.15rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--slate);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--ink);
}

.footer-contact p {
  font-size: 0.92rem;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.newsletter input {
  flex: 1;
  min-width: 160px;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter input::placeholder {
  color: var(--slate);
  opacity: 0.7;
}

.newsletter input:focus {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 0 3px rgba(186, 230, 253, 0.4);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--slate);
  text-align: center;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes opal-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes float-mineral {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(8px, -14px) rotate(3deg); }
  66% { transform: translate(-6px, 8px) rotate(-2deg); }
}

@keyframes petal-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
  50% { transform: translate(20px, -15px) rotate(8deg); opacity: 0.45; }
}

@keyframes ray-sway {
  0%, 100% { opacity: 0.4; transform: rotate(12deg) scaleY(1); }
  50% { opacity: 0.7; transform: rotate(15deg) scaleY(1.05); }
}

@keyframes morph-organic {
  0%, 100% {
    border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
  }
  50% {
    border-radius: 55% 45% 55% 45% / 45% 55% 45% 55%;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(186, 230, 253, 0.7),
      0 0 60px rgba(196, 181, 253, 0.3);
  }
  50% {
    box-shadow:
      0 0 50px rgba(186, 230, 253, 0.95),
      0 0 100px rgba(249, 168, 212, 0.4);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer-sweep {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

@keyframes dash-flow {
  to { stroke-dashoffset: -200; }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */
@media (min-width: 640px) {
  .feature-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .testimonial-row {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .vision-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .vision-composition {
    margin-inline: 0;
  }

  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }

  .plan-featured {
    transform: scale(1.05);
    padding-block: 3rem;
  }

  .plan-featured:hover {
    transform: scale(1.05) translateY(-8px);
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Responsive — Desktop
   ========================================================================== */
@media (min-width: 1024px) {
  .feature-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* Floating islands at different heights */
  .island-sea {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.75rem;
    padding-block: 2rem;
  }

  .island-1 { transform: translateY(0); }
  .island-2 { transform: translateY(2.5rem); }
  .island-3 { transform: translateY(-1.25rem); }
  .island-4 { transform: translateY(1.5rem); }
  .island-5 { transform: translateY(-0.5rem); }
  .island-6 { transform: translateY(3rem); }

  .island-1:hover { transform: translateY(-10px); }
  .island-2:hover { transform: translateY(calc(2.5rem - 10px)); }
  .island-3:hover { transform: translateY(calc(-1.25rem - 10px)); }
  .island-4:hover { transform: translateY(calc(1.5rem - 10px)); }
  .island-5:hover { transform: translateY(calc(-0.5rem - 10px)); }
  .island-6:hover { transform: translateY(calc(3rem - 10px)); }

  .path-track {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .path-line {
    display: block;
  }

  .milestone:nth-child(odd) {
    transform: translateY(-1.5rem);
  }

  .milestone:nth-child(even) {
    transform: translateY(1.5rem);
  }

  .footer-grid {
    grid-template-columns: 1.6fr 0.9fr 0.9fr 0.9fr 1.3fr;
  }

  .footer-contact {
    grid-column: auto;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding-top: 7rem;
  }

  .vision-hall,
  .gallery,
  .islands,
  .path-section,
  .metrics,
  .testimonials,
  .plans {
    padding-block: 8rem;
  }
}

/* Focus visibility for keyboard users */
:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline-offset: 4px;
}
