/* ═══════════════════════════════════════════════════════════════════════════════
   QUAFI COMING SOON - Stone Marble Neumorphism

   Design System: Stone Marble
   Brand: Quafi (Investment engine)

   Natural Mineral Palette:
   - Marble Base: #d5d8dc
   - Charcoal: #252528 (primary text)
   - Petrol: #3a6a72 (brand accent)
   - Steel: #4a6a7a (secondary text)
   - Muted: #8a8f96 (tertiary text)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #d5d8dc;
  color: #252528;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LAYOUT
   ───────────────────────────────────────────────────────────────────────────── */

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  gap: 24px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   EMBLEM - Framed Variant: Outer RAISED + Inner INSET
   ───────────────────────────────────────────────────────────────────────────── */

.emblem-outer {
  width: 240px;
  height: 240px;
  background: linear-gradient(145deg, #dce0e5, #caced3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  /* RAISED shadow - floats above marble */
  box-shadow:
    12px 12px 24px rgba(147, 157, 170, 0.5),
    -12px -12px 24px rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* Subtle glow on outer ring */
.emblem-outer::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 40px rgba(58, 106, 114, 0.12);
  pointer-events: none;
}

.emblem-inner {
  width: 180px;
  height: 180px;
  background: #d5d8dc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  /* INSET shadow - carved into marble */
  box-shadow:
    inset 6px 6px 14px rgba(147, 157, 170, 0.6),
    inset -6px -6px 14px rgba(255, 255, 255, 0.95);
}

.radar {
  /* Enhanced carve effect */
  filter:
    drop-shadow(1.5px 1.5px 0px rgba(255, 255, 255, 0.95))
    drop-shadow(-1.5px -1.5px 0px rgba(130, 140, 155, 0.5));
}

/* ─────────────────────────────────────────────────────────────────────────────
   WORDMARK - Cormorant Garamond with PRESSED Effect
   More weight, more presence
   ───────────────────────────────────────────────────────────────────────────── */

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 140px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: 16px;

  /* PRESSED letterpress - Petrol brand with deep shadows */
  color: #3a6a72;
  text-shadow:
    2px 2px 0px rgba(255, 255, 255, 0.9),
    -2px -2px 2px rgba(58, 106, 114, 0.5),
    0 0 40px rgba(58, 106, 114, 0.08);
}

/* ─────────────────────────────────────────────────────────────────────────────
   DESCRIPTOR
   ───────────────────────────────────────────────────────────────────────────── */

.descriptor {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;

  /* Letterpress - Steel */
  color: #5a7080;
  text-shadow:
    0.5px 0.5px 0px rgba(255, 255, 255, 0.9),
    -0.5px -0.5px 0px rgba(90, 112, 128, 0.25);
}

.value-prop {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  max-width: 400px;
  text-align: center;

  /* Letterpress - Charcoal */
  color: #3d4550;
  text-shadow:
    0.5px 0.5px 0px rgba(255, 255, 255, 0.9),
    -0.5px -0.5px 0px rgba(61, 69, 80, 0.2);
}

/* ─────────────────────────────────────────────────────────────────────────────
   DIVIDER - Inset groove
   ───────────────────────────────────────────────────────────────────────────── */

.divider {
  width: 60px;
  height: 4px;
  background: #d5d8dc;
  border-radius: 2px;
  margin: 8px 0;

  /* Inset shadow */
  box-shadow:
    inset 1px 1px 3px rgba(147, 157, 170, 0.5),
    inset -1px -1px 3px rgba(255, 255, 255, 0.9);
}

/* ─────────────────────────────────────────────────────────────────────────────
   COMING SOON
   ───────────────────────────────────────────────────────────────────────────── */

.coming-soon {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;

  /* Letterpress - Petrol accent */
  color: #3a6a72;
  text-shadow:
    0.5px 0.5px 0px rgba(255, 255, 255, 0.9),
    -0.5px -0.5px 0px rgba(58, 106, 114, 0.3);
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────────── */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  text-align: center;
}

.footer p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;

  /* Letterpress - Muted */
  color: #9a9fa6;
  text-shadow:
    0.5px 0.5px 0px rgba(255, 255, 255, 0.9),
    -0.5px -0.5px 0px rgba(154, 159, 166, 0.2);
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE - Tablet
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .emblem-outer {
    width: 200px;
    height: 200px;
  }

  .emblem-inner {
    width: 150px;
    height: 150px;
  }

  .radar {
    width: 108px;
    height: 108px;
  }

  .wordmark {
    font-size: 100px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE - Mobile
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .container {
    padding: 32px 20px;
    gap: 20px;
  }

  .emblem-outer {
    width: 160px;
    height: 160px;
    box-shadow:
      8px 8px 16px rgba(147, 157, 170, 0.5),
      -8px -8px 16px rgba(255, 255, 255, 0.9);
  }

  .emblem-inner {
    width: 120px;
    height: 120px;
    box-shadow:
      inset 4px 4px 10px rgba(147, 157, 170, 0.6),
      inset -4px -4px 10px rgba(255, 255, 255, 0.95);
  }

  .radar {
    width: 86px;
    height: 86px;
  }

  .wordmark {
    font-size: 64px;
    margin-top: 8px;
  }

  .descriptor {
    font-size: 13px;
  }

  .divider {
    width: 40px;
    height: 3px;
  }

  .coming-soon {
    font-size: 11px;
    letter-spacing: 0.25em;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   ANIMATIONS - Entry & Ambient
   ───────────────────────────────────────────────────────────────────────────── */

/* Entry animation - emerge from below with fade */
@keyframes emerge {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ripple animation for radar - waves emanating from center */
@keyframes rippleFade {
  0%, 10% { opacity: 0.3; }
  30%, 70% { opacity: 1; }
  90%, 100% { opacity: 0.3; }
}

/* Apply emerge animation with stagger delays */
.emblem-outer {
  animation: emerge 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0ms;
}

.wordmark {
  opacity: 0;
  animation: emerge 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 150ms;
}

.descriptor {
  opacity: 0;
  animation: emerge 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 300ms;
}

.value-prop {
  opacity: 0;
  animation: emerge 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 450ms;
}

.divider {
  opacity: 0;
  animation: emerge 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 600ms;
}

.coming-soon {
  opacity: 0;
  animation: emerge 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 750ms;
}

.footer {
  opacity: 0;
  animation: emerge 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 900ms;
}

/* Radar ripple animation - cascading opacity on rings */
.radar .center-dot {
  animation: rippleFade 6s ease-in-out infinite;
}

.radar .ring-1 {
  animation: rippleFade 6s ease-in-out infinite 0.8s;
}

.radar .ring-2 {
  animation: rippleFade 6s ease-in-out infinite 1.6s;
}

.radar .ring-3 {
  animation: rippleFade 6s ease-in-out infinite 2.4s;
}

/* ─────────────────────────────────────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  /* Show elements without animation */
  .wordmark,
  .descriptor,
  .value-prop,
  .divider,
  .coming-soon,
  .footer {
    opacity: 1 !important;
  }
}
