/* ====================================================================
   SEVEN STAR DIAMOND JEWELLERY — Centered Silk Minimalist Coming Soon
   Pure vanilla CSS.
   Structure: Tokens > Reset > Atmosphere > Cursor > Preloader >
              Layout > Typography > Unified Pill Form > Socials & Footer >
              Responsive > Motion
==================================================================== */

/* ---------------------------------------------------------------
   1. DESIGN TOKENS (SILK & COPPER LUXURY)
--------------------------------------------------------------- */
:root {
  /* color palette */
  --void: #ffffff;
  /* background fallback */
  --cream: #fcfbf9;
  /* primary luxury cream */
  --cream-dark: #f4efe2;
  /* secondary surface */
  --copper: #4b3225;
  /* elegant brand copper brown (darker, higher visibility) */
  --copper-light: #62473a;
  /* soft brown for subheadings (darker, higher visibility) */
  --copper-dust: #755b4e;
  /* pale brown for heritage text (darker, higher visibility) */
  --gold: #a0824b;
  /* slightly darker antique gold accent for visibility */
  --gold-bright: #cbb07e;
  /* gold highlights */

  /* derived alpha tints */
  --copper-10: rgba(104, 72, 56, 0.08);
  --copper-20: rgba(104, 72, 56, 0.16);
  --glass-fill: rgba(255, 255, 255, 0.85);
  --glass-edge: rgba(104, 72, 56, 0.12);

  /* type */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;

  /* motion */
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------
   2. RESET
--------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: light;
}

body {
  background: var(--cream);
  color: var(--copper);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: none;
  /* custom cursor activation */
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

svg {
  display: block;
}

::selection {
  background: var(--copper-10);
  color: var(--copper);
}

/* hide custom cursor on touch devices */
@media (hover: none),
(pointer: coarse) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-trail {
    display: none !important;
  }
}

/* ---------------------------------------------------------------
   3. AMBIENT BACKGROUND & SILK TEXTURE
--------------------------------------------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('bg-silk.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  pointer-events: none;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bg-rays {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ray {
  position: absolute;
  top: -20%;
  width: 140vmax;
  height: 140vmax;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      transparent 0deg, rgba(184, 155, 94, 0.04) 4deg, transparent 10deg,
      transparent 170deg, rgba(104, 72, 56, 0.03) 176deg, transparent 182deg,
      transparent 360deg);
  mix-blend-mode: multiply;
  animation: rayTurn 140s linear infinite;
  opacity: 0.6;
}

.ray--1 {
  left: -40%;
  top: -60%;
}

.ray--2 {
  left: 10%;
  top: -30%;
  animation-duration: 170s;
  animation-direction: reverse;
  opacity: 0.4;
}

.ray--3 {
  left: -10%;
  top: 10%;
  animation-duration: 200s;
  opacity: 0.3;
}

@keyframes rayTurn {
  to {
    transform: rotate(360deg);
  }
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  animation: glowDrift 28s ease-in-out infinite;
}

.bg-glow--gold {
  width: 60vmax;
  height: 60vmax;
  left: -20vmax;
  top: -15vmax;
  background: radial-gradient(circle, rgba(184, 155, 94, 0.06), transparent 70%);
}

.bg-glow--blue {
  width: 55vmax;
  height: 55vmax;
  right: -15vmax;
  bottom: -15vmax;
  background: radial-gradient(circle, rgba(104, 72, 56, 0.05), transparent 70%);
  animation-delay: -12s;
  animation-duration: 32s;
}

@keyframes glowDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(2%, -2%) scale(1.04);
  }
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(253, 252, 247, 0.3) 100%);
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.02;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ---------------------------------------------------------------
   4. CUSTOM CURSOR
--------------------------------------------------------------- */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 10px 2px rgba(104, 72, 56, 0.3);
  transition: transform 0.18s var(--ease-soft), opacity 0.18s;
}

.cursor__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(104, 72, 56, 0.18);
  border-radius: 50%;
  transition: width 0.35s var(--ease-lux), height 0.35s var(--ease-lux),
    margin 0.35s var(--ease-lux), border-color 0.35s, opacity 0.35s;
}

.cursor.is-hover .cursor__ring {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-color: var(--copper);
  background: rgba(104, 72, 56, 0.03);
}

.cursor.is-hover .cursor__dot {
  transform: scale(0.5);
  background: var(--copper);
}

.cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ---------------------------------------------------------------
   5. PRELOADER
--------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 1s var(--ease-lux), visibility 1s var(--ease-lux);
}

.preloader__mark {
  width: 52px;
  height: 52px;
  color: var(--gold);
  animation: gemPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(184, 155, 94, 0.3));
}

.preloader__gem {
  width: 100%;
  height: 100%;
}

@keyframes gemPulse {

  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.94);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.preloader__bar {
  width: 160px;
  height: 1px;
  background: rgba(104, 72, 56, 0.1);
  position: relative;
  overflow: hidden;
}

.preloader__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  box-shadow: 0 0 8px rgba(184, 155, 94, 0.5);
  transition: width 0.25s var(--ease-soft);
}

.preloader__pct {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--copper);
  font-weight: 400;
  opacity: 0.6;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   6. STAGE LAYOUT & CENTER CONTAINER
--------------------------------------------------------------- */
.stage {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 24px 60px;
  /* pushes content card below the top header */
  width: 100%;
}

.stage__inner {
  max-width: 650px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
}

/* generic reveal stagger animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(5px);
  transition: opacity 1.1s var(--ease-lux), transform 1.1s var(--ease-lux), filter 1.1s var(--ease-lux);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------------------------------------------------------------
   6.1 PAGE HEADER & LOGO POSITION
--------------------------------------------------------------- */
.page-header {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.page-header .brand-wrap {
  pointer-events: auto;
  margin-bottom: 0;
}

/* ---------------------------------------------------------------
   7. BRAND HEADER & STAR LOGO
--------------------------------------------------------------- */
.brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.logo-container {
  width: 65px;
  height: 65px;
  margin-bottom: 14px;
  will-change: transform;
  transform-style: preserve-3d;
  filter: drop-shadow(0 6px 15px rgba(104, 72, 56, 0.15));
}

.logo-star {
  width: 100%;
  height: 100%;
  color: var(--copper);
}

.brand-title {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--copper);
  line-height: 1.2;
  margin-bottom: 2px;
  text-indent: 0.28em;
  /* corrects centered visual shift from tracking */
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.38em;
  color: var(--gold);
  line-height: 1;
  text-indent: 0.38em;
}

/* ---------------------------------------------------------------
   8. TYPOGRAPHY
--------------------------------------------------------------- */
.main-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.15;
  color: var(--copper);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(104, 72, 56, 0.1);
}

.main-subheading {
  font-family: var(--font-body);
  font-size: clamp(12.5px, 2.2vw, 14.5px);
  font-weight: 400;
  /* bolded for clarity */
  line-height: 1.6;
  color: var(--copper-light);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.95);
}

/* ---------------------------------------------------------------
   9. UNIFIED PILL SIGNUP FORM (MATCHING STAY TUNED SCREENSHOT)
--------------------------------------------------------------- */
.notify {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 420px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  border-radius: 50px;
  padding: 4px;
  box-shadow: 0 12px 35px rgba(104, 72, 56, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  margin-bottom: 42px;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-lux);
}

.notify:focus-within {
  border-color: rgba(104, 72, 56, 0.3);
  box-shadow: 0 16px 45px rgba(104, 72, 56, 0.12);
  transform: translateY(-2px);
}

.notify__field {
  position: relative;
  flex: 1;
}

.notify__input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13.5px;
  color: var(--copper);
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: 50px;
}

.notify__input::placeholder {
  color: #8a6f5e;
  /* darker placeholder for contrast */
  font-weight: 300;
}

.notify__btn {
  position: relative;
  overflow: hidden;
  padding: 12px 28px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--copper);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
}

.notify__btn:hover {
  background: var(--copper-light);
}

.notify__btn-shine {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-soft);
}

.notify__btn:hover .notify__btn-shine {
  left: 130%;
}

.notify__success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 50px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 0.5s var(--ease-lux), transform 0.5s var(--ease-lux);
  font-size: 13px;
  color: var(--copper);
  font-weight: 500;
}

.notify.is-success .notify__field,
.notify.is-success .notify__btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.notify.is-success .notify__success {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.notify__check {
  width: 20px;
  height: 20px;
}

.notify__check circle {
  stroke: var(--copper);
  stroke-width: 2;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: checkCircle 0.6s var(--ease-lux) forwards;
}

.notify__check path {
  stroke: var(--gold);
  stroke-width: 3;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: checkPath 0.4s var(--ease-lux) 0.5s forwards;
}

@keyframes checkCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes checkPath {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------------------------------------------------------------
   10. SOCIAL LINKS & HERITAGE SUBTEXT
--------------------------------------------------------------- */
.social-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(104, 72, 56, 0.25);
  /* increased border contrast */
  color: var(--copper-light);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease-lux), box-shadow 0.3s;
  background: rgba(255, 255, 255, 0.6);
  /* increased opacity for backing shadow */
}

.social-icon svg {
  width: 15px;
  height: 15px;
}

.social-icon:hover {
  color: var(--copper);
  border-color: var(--copper);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(104, 72, 56, 0.08);
  background: #ffffff;
}

.heritage-text {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  /* bolded for clarity */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-dust);
  opacity: 0.9;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.95);
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.35;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cueDrop 2.2s ease-in-out infinite;
}

@keyframes cueDrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }

  40% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ---------------------------------------------------------------
   11. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 600px) {
  .stage {
    padding: 48px 18px;
  }

  .main-heading {
    font-size: clamp(2rem, 10vw, 2.6rem);
    margin-bottom: 14px;
  }

  .main-subheading {
    margin-bottom: 30px;
  }

  .notify {
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 12px;
    padding: 0;
  }

  .notify__field {
    width: 100%;
  }

  .notify__input {
    background: #ffffff;
    border: 1px solid var(--glass-edge);
    padding: 14px 22px;
    box-shadow: 0 10px 25px rgba(104, 72, 56, 0.06);
  }

  .notify__btn {
    width: 100%;
    padding: 14px;
    box-shadow: 0 10px 25px rgba(104, 72, 56, 0.15);
  }

  .notify__success {
    border-radius: 4px;
  }

  .social-nav {
    gap: 16px;
    margin-bottom: 24px;
  }
}

/* ---------------------------------------------------------------
   12. REDUCED MOTION
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.2s !important;
  }

  .logo-container {
    transform: none !important;
  }

  .bg-canvas {
    display: none;
  }
}