/* ============================================================
   AURORA GRADIENT HERO  ·  prefix: dm-au-
   ============================================================ */

/* ── HERO ── */
.dm-au-hero {
  position: relative;
  min-height: 100%;
  width: 100%;
  padding: 96px 7vw 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #0a0716;
  color: #fff;
  isolation: isolate;
}

/* mesh background */
.dm-au-bg {
  position: absolute;
  inset: -20%;
  z-index: 0;
  filter: blur(60px) saturate(140%);
  pointer-events: none;
}

.dm-au-blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  opacity: 0.85;
  will-change: transform;
}

.dm-au-blob-1 {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle at 30% 30%, #7c3aed 0%, rgba(124,58,237,0) 60%);
  animation: dm-au-drift-a 32s ease-in-out infinite alternate;
}

.dm-au-blob-2 {
  top: 20%;
  right: -15%;
  background: radial-gradient(circle at 50% 50%, #06b6d4 0%, rgba(6,182,212,0) 60%);
  animation: dm-au-drift-b 28s ease-in-out infinite alternate;
}

.dm-au-blob-3 {
  bottom: -15%;
  left: 10%;
  background: radial-gradient(circle at 50% 50%, #ec4899 0%, rgba(236,72,153,0) 60%);
  animation: dm-au-drift-c 36s ease-in-out infinite alternate;
}

.dm-au-blob-4 {
  bottom: -10%;
  right: 5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle at 50% 50%, #34d399 0%, rgba(52,211,153,0) 60%);
  animation: dm-au-drift-d 40s ease-in-out infinite alternate;
}

.dm-au-blob-5 {
  top: 35%;
  left: 30%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle at 50% 50%, #f59e0b 0%, rgba(245,158,11,0) 65%);
  opacity: 0.5;
  animation: dm-au-drift-e 25s ease-in-out infinite alternate;
}

@keyframes dm-au-drift-a {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  100% { transform: translate3d(15vw, 10vh, 0) rotate(60deg) scale(1.15); }
}
@keyframes dm-au-drift-b {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.05); }
  100% { transform: translate3d(-12vw, 18vh, 0) rotate(-45deg) scale(0.95); }
}
@keyframes dm-au-drift-c {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.95); }
  100% { transform: translate3d(20vw, -12vh, 0) rotate(80deg) scale(1.2); }
}
@keyframes dm-au-drift-d {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  100% { transform: translate3d(-18vw, -10vh, 0) rotate(-70deg) scale(1.1); }
}
@keyframes dm-au-drift-e {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.9); }
  100% { transform: translate3d(10vw, 14vh, 0) rotate(120deg) scale(1.05); }
}

/* grain / noise overlay */
.dm-au-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
}

/* glow orbs */
.dm-au-orbs {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

.dm-au-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.6;
}

.dm-au-orb-a { width: 110px; height: 110px; top: 12%; left: 8%;  background: #c4b5fd; animation: dm-au-orb-float 18s ease-in-out infinite alternate; }
.dm-au-orb-b { width: 70px;  height: 70px;  top: 28%; right: 14%; background: #67e8f9; animation: dm-au-orb-float 22s ease-in-out -4s infinite alternate; }
.dm-au-orb-c { width: 140px; height: 140px; bottom: 18%; left: 40%; background: #fbcfe8; animation: dm-au-orb-float 28s ease-in-out -8s infinite alternate; }
.dm-au-orb-d { width: 60px;  height: 60px;  top: 60%; left: 18%; background: #a7f3d0; animation: dm-au-orb-float 16s ease-in-out -2s infinite alternate; }
.dm-au-orb-e { width: 90px;  height: 90px;  top: 8%;  right: 30%; background: #fde68a; animation: dm-au-orb-float 24s ease-in-out -6s infinite alternate; opacity: 0.4; }

@keyframes dm-au-orb-float {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(40px, -60px, 0); }
}

/* hero content */
.dm-au-hero-inner {
  position: relative;
  z-index: 5;
  max-width: 760px;
}

.dm-au-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.dm-au-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52,211,153,0.9);
  animation: dm-au-pulse 2s ease-in-out infinite;
}

@keyframes dm-au-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.85); }
}

.dm-au-headline {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 9vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 28px 0 24px;
  color: #fff;
  text-shadow: 0 4px 40px rgba(124,58,237,0.4);
}

.dm-au-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 0 36px;
}

.dm-au-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.dm-au-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.dm-au-btn-primary {
  background: linear-gradient(135deg, #fff 0%, #e9d5ff 100%);
  color: #1a0b2e;
  box-shadow: 0 10px 40px rgba(255,255,255,0.2), inset 0 1px 0 rgba(255,255,255,0.6);
}
.dm-au-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(255,255,255,0.3), inset 0 1px 0 rgba(255,255,255,0.6);
}

.dm-au-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dm-au-btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.dm-au-scroll-hint {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.dm-au-scroll-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  position: relative;
  overflow: hidden;
}
.dm-au-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff, rgba(255,255,255,0));
  width: 30%;
  animation: dm-au-line 2.4s ease-in-out infinite;
}
@keyframes dm-au-line {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(330%); }
}

/* ── EXPLAIN SECTION ── */
.dm-au-explain {
  background: #0a0716;
  color: #fff;
  padding: 110px 7vw;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.dm-au-explain-inner {
  max-width: 820px;
  margin: 0 auto;
}

.dm-au-kicker {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a78bfa;
  font-weight: 600;
  margin-bottom: 18px;
}

.dm-au-explain h3,
.dm-au-variants-head h3 {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: #fff;
}

.dm-au-explain p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin: 0 0 18px;
}

.dm-au-explain code {
  background: rgba(167,139,250,0.14);
  color: #c4b5fd;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.88em;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.dm-au-stack {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dm-au-stack-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 26px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dm-au-stack-num {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: 0.02em;
  min-width: 40px;
}

.dm-au-stack-row strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.dm-au-stack-row em {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* ── VARIANTS ── */
.dm-au-variants {
  background: linear-gradient(180deg, #0a0716 0%, #120a25 100%);
  padding: 110px 7vw;
}

.dm-au-variants-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.dm-au-variants-head .dm-au-kicker {
  color: #67e8f9;
}

.dm-au-variants-head p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.dm-au-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.dm-au-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.dm-au-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.22);
}

.dm-au-card-preview {
  position: relative;
  height: 180px;
  overflow: hidden;
  isolation: isolate;
}

.dm-au-mini {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.85;
}

.dm-au-card-body {
  padding: 22px 24px 26px;
}

.dm-au-card-body strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 4px;
}

.dm-au-card-body em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.dm-au-card-body p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* variant: cool dawn (3 blobs, 35s) */
.dm-au-variant-cool .dm-au-card-preview { background: #061029; }
.dm-au-variant-cool .dm-au-mini-1 { background: #06b6d4; top: -20%; left: -10%;  animation: dm-au-mini-slow 35s ease-in-out infinite alternate; }
.dm-au-variant-cool .dm-au-mini-2 { background: #6366f1; top: 30%;  right: -15%; animation: dm-au-mini-slow 35s ease-in-out -10s infinite alternate-reverse; }
.dm-au-variant-cool .dm-au-mini-3 { background: #34d399; bottom: -25%; left: 25%; animation: dm-au-mini-slow 35s ease-in-out -18s infinite alternate; }

/* variant: sunset drift (4 blobs, 22s) */
.dm-au-variant-warm .dm-au-card-preview { background: #2a0712; }
.dm-au-variant-warm .dm-au-mini-1 { background: #ec4899; top: -15%; left: -10%;  animation: dm-au-mini-fast 22s ease-in-out infinite alternate; }
.dm-au-variant-warm .dm-au-mini-2 { background: #f59e0b; top: 25%;  right: -20%; animation: dm-au-mini-fast 22s ease-in-out -6s infinite alternate-reverse; }
.dm-au-variant-warm .dm-au-mini-3 { background: #fb7185; bottom: -20%; left: 15%; animation: dm-au-mini-fast 22s ease-in-out -12s infinite alternate; }
.dm-au-variant-warm .dm-au-mini-4 { background: #fde047; top: 40%; left: 35%; width: 50%; height: 50%; animation: dm-au-mini-fast 22s ease-in-out -3s infinite alternate-reverse; }

/* variant: deep space (2 blobs, 40s) */
.dm-au-variant-deep .dm-au-card-preview { background: #050516; }
.dm-au-variant-deep .dm-au-mini-1 { background: #7c3aed; top: -10%; left: -10%; width: 90%; height: 90%; animation: dm-au-mini-vslow 40s ease-in-out infinite alternate; }
.dm-au-variant-deep .dm-au-mini-2 { background: #2563eb; bottom: -15%; right: -10%; width: 80%; height: 80%; animation: dm-au-mini-vslow 40s ease-in-out -15s infinite alternate-reverse; }

@keyframes dm-au-mini-slow {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20%, 15%) scale(1.15); }
}
@keyframes dm-au-mini-fast {
  0%   { transform: translate(0, 0) scale(0.95); }
  100% { transform: translate(-15%, 18%) scale(1.2); }
}
@keyframes dm-au-mini-vslow {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15%, -10%) scale(1.1); }
}

/* ── OUTRO ── */
.dm-au-outro {
  background: #0a0716;
  color: rgba(255,255,255,0.78);
  padding: 90px 7vw 110px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.dm-au-outro h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 18px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.dm-au-outro p {
  font-size: 15px;
  line-height: 1.75;
  margin: 0 auto 14px;
  max-width: 820px;
}

.dm-au-outro code {
  background: rgba(103,232,249,0.14);
  color: #67e8f9;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.88em;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.dm-au-esc {
  margin-top: 28px !important;
  font-size: 12px !important;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4) !important;
}

/* ── responsive ── */
@media (max-width: 720px) {
  .dm-au-hero { padding: 80px 6vw 100px; }
  .dm-au-explain, .dm-au-variants, .dm-au-outro { padding-left: 6vw; padding-right: 6vw; }
  .dm-au-stack-row { padding: 18px 20px; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .dm-au-blob, .dm-au-orb, .dm-au-mini, .dm-au-pill-dot, .dm-au-scroll-line::after {
    animation: none !important;
  }
}
