@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Josefin+Sans:wght@100;200;300;400&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dark: #8B6914;
  --purple: #2D1B4E;
  --purple-mid: #4A2C7A;
  --purple-light: #7B5EA7;
  --cream: #FAF7F0;
  --cream-dark: #F0EBE0;
  --text-dark: #1A1020;
  --text-mid: #4A3F5C;
  --text-light: #8B7FA0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250,247,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--purple);
  text-decoration: none;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--cream);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 5rem 4rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,27,78,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--purple);
  margin-bottom: 1rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: var(--text-mid);
  max-width: 28rem;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.btn-primary {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--purple);
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.4s;
  border: 1px solid var(--purple);
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--purple);
}

.btn-secondary {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.btn-secondary:hover { color: var(--gold); }

.btn-secondary::after {
  content: '→';
  transition: transform 0.3s;
}

.btn-secondary:hover::after { transform: translateX(4px); }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.bracelet-mockup {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--purple) 0%, var(--purple-mid) 50%, var(--purple-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 30px 80px rgba(45,27,78,0.3),
    0 0 0 1px rgba(201,168,76,0.3),
    inset 0 1px 0 rgba(201,168,76,0.2);
  animation: float 6s ease-in-out infinite;
}

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

.bracelet-glow {
  width: 120px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.9) 0%, rgba(201,168,76,0.4) 40%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.bracelet-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.25);
  animation: ring-expand 3s ease-in-out infinite;
}

.bracelet-ring:nth-child(1) { width: 380px; height: 380px; animation-delay: 0s; }
.bracelet-ring:nth-child(2) { width: 430px; height: 430px; animation-delay: 0.5s; }
.bracelet-ring:nth-child(3) { width: 480px; height: 480px; animation-delay: 1s; }

@keyframes ring-expand {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.1; }
}

/* ── SECTION BASE ── */
section { padding: 7rem 5rem; }

.section-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  color: var(--purple);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-title em { font-style: italic; color: var(--gold); }

/* ── FEATURES ── */
.features {
  background: var(--purple);
  color: var(--cream);
}

.features .section-title { color: var(--gold-light); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 2.5rem;
  border: 1px solid rgba(201,168,76,0.2);
  position: relative;
  transition: border-color 0.3s;
}

.feature-card:hover { border-color: rgba(201,168,76,0.6); }

.feature-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: rgba(201,168,76,0.15);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.feature-icon {
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.feature-desc {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  line-height: 1.9;
  color: rgba(250,247,240,0.6);
}

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--cream-dark); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -1rem;
  top: 2.5rem;
  color: var(--gold);
  font-size: 1.2rem;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: var(--text-light);
}

/* ── RESIN FACES ── */
.resin-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.resin-faces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resin-face {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s;
}

.resin-face:hover { transform: scale(1.08); }

.resin-face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 -20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.1);
}

.rf-1 { background: radial-gradient(circle at 40% 35%, #9B4DCA, #2D1B4E); }
.rf-2 { background: radial-gradient(circle at 40% 35%, #E8D5A3, #C9A84C); }
.rf-3 { background: radial-gradient(circle at 40% 35%, #4A90D9, #1A3A6E); }
.rf-4 { background: radial-gradient(circle at 40% 35%, #E8A87C, #C45C26); }
.rf-5 { background: radial-gradient(circle at 40% 35%, #7BC47B, #2A6E2A); }
.rf-6 { background: radial-gradient(circle at 40% 35%, #F0A0A0, #8B2222); }

.resin-glow {
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  filter: blur(4px);
}

/* ── EMAIL SIGNUP ── */
.signup {
  background: var(--purple);
  text-align: center;
  padding: 6rem 5rem;
}

.signup .section-title { color: var(--gold-light); }

.signup-desc {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(250,247,240,0.55);
  margin-bottom: 3rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

.signup-form {
  display: flex;
  gap: 0;
  max-width: 28rem;
  margin: 0 auto;
}

.signup-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(250,247,240,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-right: none;
  color: var(--cream);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  outline: none;
}

.signup-form input::placeholder { color: rgba(250,247,240,0.3); }

.signup-form button {
  padding: 1rem 2rem;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--purple);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.signup-form button:hover {
  background: var(--gold-light);
}

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  padding: 3rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,247,240,0.4);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(250,247,240,0.25);
}

/* ── ABOUT PAGE ── */
.about-hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 10rem 5rem 4rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: 'LUMINARY';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20vw;
  font-weight: 300;
  color: rgba(201,168,76,0.05);
  bottom: -2rem;
  left: 3rem;
  white-space: nowrap;
  pointer-events: none;
}

.about-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.about-hero-title em { font-style: italic; color: var(--gold); }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  padding: 7rem 5rem;
  align-items: start;
}

.about-text p {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 2;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.about-text p:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--purple);
  line-height: 1.5;
}

.founders-card {
  background: var(--purple);
  padding: 3rem;
  position: sticky;
  top: 7rem;
}

.founders-title {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.founder {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.founder:last-child { border-bottom: none; }

.founder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.founder-role {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,247,240,0.4);
}

/* ── SETUP PAGE ── */
.setup-page {
  min-height: 100vh;
  background: var(--purple);
  padding: 8rem 5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.setup-card {
  background: rgba(250,247,240,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 3.5rem;
  max-width: 560px;
  width: 100%;
}

.setup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.setup-sub {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: rgba(250,247,240,0.4);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.connect-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--gold);
  border: none;
  color: var(--purple);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 2rem;
}

.connect-btn:hover { background: var(--gold-light); }
.connect-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.status-bar {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(250,247,240,0.4);
  text-align: center;
  margin-bottom: 2rem;
  min-height: 1.2em;
}

.status-bar.connected { color: #4ade80; }
.status-bar.error { color: var(--red, #f87171); }

.reminders-section { display: none; }
.reminders-section.visible { display: block; }

.reminder-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.reminder-label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,247,240,0.4);
  min-width: 5rem;
}

.reminder-time {
  background: rgba(250,247,240,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--cream);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.75rem;
  outline: none;
  width: 100%;
  color-scheme: dark;
}

.color-dots {
  display: flex;
  gap: 0.4rem;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.color-dot:hover { transform: scale(1.2); }
.color-dot.selected { border-color: var(--gold); }

.color-dot.purple { background: #7B5EA7; }
.color-dot.blue   { background: #4A90D9; }
.color-dot.green  { background: #4A9E4A; }
.color-dot.red    { background: #C45C5C; }
.color-dot.gold   { background: var(--gold); }

.save-btn {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 2rem;
}

.save-btn:hover {
  background: var(--gold);
  color: var(--purple);
}

.browser-note {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: rgba(250,247,240,0.25);
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.8;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 7rem 2rem 4rem; gap: 3rem; }
  .hero-visual { order: -1; }
  .bracelet-mockup { width: 240px; height: 240px; }
  section { padding: 4rem 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .resin-section { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 3rem; }
  .founders-card { position: static; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .setup-page { padding: 6rem 1.5rem 3rem; }
}
