/* CrownOS — Beauty Brand Operating System */
:root {
  --bg: #13111c;
  --bg-card: #1c1826;
  --bg-card-hover: #241f30;
  --gold: #c9a86c;
  --gold-light: #e8d5b0;
  --blush: #f0e6e1;
  --burgundy: #7a2530;
  --text: #f0e6e1;
  --text-muted: #9b8fa8;
  --border: rgba(201, 168, 108, 0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  background: rgba(19, 17, 28, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.nav__tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── SECTION LABEL ── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  border: 1px solid rgba(201, 168, 108, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 3rem 6rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__crown-mark {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 340px;
  height: 340px;
  background: radial-gradient(ellipse at center, rgba(201, 168, 108, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero__crown-mark::before {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px solid rgba(201, 168, 108, 0.12);
  border-radius: 50%;
}
.hero__glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at top left, rgba(122, 37, 48, 0.2) 0%, transparent 60%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0.9;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--blush);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.hero__headline em {
  font-style: italic;
  color: var(--gold);
}
.hero__lede {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 3rem;
  font-weight: 300;
}
.hero__rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
  opacity: 0.6;
}
.hero__badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(201, 168, 108, 0.25);
  border-radius: 2rem;
  color: var(--gold-light);
  background: rgba(201, 168, 108, 0.05);
}

/* ── CRAFT ── */
.craft {
  padding: 8rem 3rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.craft__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.craft__header {
  text-align: center;
  margin-bottom: 4rem;
}
.craft__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--blush);
  margin-top: 0.5rem;
}
.craft__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.craft__card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}
.craft__card:hover {
  background: var(--bg-card-hover);
}
.craft__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  background: rgba(201, 168, 108, 0.1);
  border: 1px solid rgba(201, 168, 108, 0.2);
  border-radius: 12px;
}
.craft__icon--support {
  background: linear-gradient(135deg, rgba(201,168,108,0.15) 0%, rgba(122,37,48,0.1) 100%);
  position: relative;
}
.craft__icon--support::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  border-top-color: transparent;
}
.craft__icon--inventory::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 22px;
  border: 2px solid var(--gold);
  border-radius: 2px;
}
.craft__icon--social::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 18px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.craft__icon--orders::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  border-radius: 3px;
}
.craft__card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blush);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}
.craft__card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── COMMAND ── */
.command {
  padding: 8rem 3rem;
}
.command__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.command__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--blush);
  margin: 0.5rem 0 1.5rem;
  line-height: 1.25;
}
.command__text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.command__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.dash-widget {
  background: var(--bg-card);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.dash-widget__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dash-widget__value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.dash-widget__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.dash-widget--support .dash-widget__value { color: #6bcf8e; }
.dash-widget--inventory .dash-widget__value { color: #e8a84c; }
.dash-widget--social .dash-widget__value { color: #8eb8e8; }

/* ── FLOW ── */
.flow {
  padding: 8rem 3rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.flow__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.flow__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--blush);
  margin-bottom: 4rem;
  text-align: center;
}
.flow__steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step {
  flex: 1;
  padding: 0 2rem;
}
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201, 168, 108, 0.2);
  margin-bottom: 1.5rem;
  line-height: 1;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blush);
  margin-bottom: 0.75rem;
}
.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.step__divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 8rem 3rem;
  text-align: center;
}
.manifesto__inner {
  max-width: 720px;
  margin: 0 auto;
}
.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--blush);
  line-height: 1.5;
  margin-bottom: 2.5rem;
  position: relative;
}
.manifesto__quote::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 2rem;
  opacity: 0.5;
}
.manifesto__body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 3rem;
}
.manifesto__divider {
  width: 1px;
  height: 40px;
  background: var(--gold);
  margin: 0 auto 3rem;
  opacity: 0.3;
}
.manifesto__closing {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ── FOOTER ── */
.footer {
  padding: 4rem 3rem 2rem;
  border-top: 1px solid var(--border);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.footer__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 280px;
}
.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.4;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav__tagline { display: none; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .craft, .command, .flow, .manifesto { padding: 5rem 1.5rem; }
  .command__inner { grid-template-columns: 1fr; gap: 3rem; }
  .flow__steps { flex-direction: column; gap: 2rem; }
  .step { padding: 0; }
  .step__divider { display: none; }
  .footer__inner { flex-direction: column; }
  .craft__grid { grid-template-columns: 1fr; }
  .command__visual { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero__badges { gap: 0.5rem; }
  .badge { font-size: 0.65rem; padding: 0.3rem 0.7rem; }
  .dash-widget { padding: 1.2rem; }
  .dash-widget__value { font-size: 1.8rem; }
}