@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Parisienne&display=swap');

:root {
  --ink: #160d22;
  --muted: #74627f;
  --violet: #7c3aed;
  --purple: #a855f7;
  --lilac: #d8c2ff;
  --blush: #fbf7ff;
  --white: #ffffff;
  --line: rgba(92, 45, 145, 0.16);
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #f8f3ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at top left, #eadcff 0, transparent 35%), linear-gradient(180deg, #fbf8ff 0%, #f4ecff 100%); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
main { overflow: hidden; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(85, 45, 130, 0.08);
}

.brand, .nav-links, .nav-actions, .eyebrow, .hero-cta, .stats, .product-info, .newsletter, form { display: flex; align-items: center; }
.brand { gap: 10px; font-weight: 800; letter-spacing: -0.03em; }
.brand .logo-mark { width: 34px; height: 34px; }
.nav-links { gap: 28px; color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--violet); }
.nav-actions { gap: 8px; }
.nav-actions button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f2eaff;
  color: var(--ink);
}
.menu { display: none !important; }

.logo-mark { position: relative; display: grid; place-items: center; width: 120px; height: 120px; flex: 0 0 auto; }
.petal { position: absolute; width: 42%; height: 58%; background: #0f0d12; border-radius: 55% 55% 48% 48%; transform-origin: 50% 78%; }
.petal-top { transform: translateY(-22%) rotate(0deg); }
.petal-left { transform: translate(-30%, 8%) rotate(-62deg); }
.petal-right { transform: translate(30%, 8%) rotate(62deg); }
.petal-bottom { width: 34%; height: 44%; transform: translateY(30%) rotate(180deg); background: #20102f; }
.spark-core { position: relative; z-index: 2; width: 34%; height: 34%; border-radius: 50%; background: radial-gradient(circle, white 0 32%, transparent 34%), conic-gradient(from 0deg, transparent 0 9deg, white 10deg 16deg, transparent 17deg 28deg); box-shadow: 0 0 0 7px rgba(255,255,255,.9); }

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 86px auto 70px;
}
.eyebrow { gap: 8px; margin: 0 0 16px; color: var(--violet); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(3.2rem, 8vw, 7.4rem); line-height: 0.88; letter-spacing: -0.08em; max-width: 760px; }
.hero-text { max-width: 610px; color: var(--muted); font-size: 1.15rem; line-height: 1.8; }
.hero-cta { gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.primary, .secondary, .newsletter button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 800;
}
.primary, .newsletter button { padding: 15px 22px; background: var(--ink); color: white; box-shadow: 0 18px 35px rgba(68, 34, 108, 0.2); }
.secondary { padding: 14px 20px; border: 1px solid var(--line); background: rgba(255,255,255,.62); }

.hero-card {
  position: relative;
  min-height: 590px;
  padding: 28px;
  border-radius: 48px;
  background: linear-gradient(145deg, #cbb1f3, #f5edff 52%, #9f70df);
  box-shadow: 0 40px 90px rgba(104, 55, 159, 0.22);
}
.hero-card::before, .hero-card::after { content: ''; position: absolute; border-radius: 999px; background: rgba(255,255,255,.44); filter: blur(2px); }
.hero-card::before { width: 170px; height: 170px; right: 28px; top: 32px; }
.hero-card::after { width: 110px; height: 110px; left: 45px; bottom: 54px; }
.frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 534px;
  border: 6px solid #100b16;
  border-radius: 34px;
  background: rgba(217, 197, 255, 0.45);
  text-align: center;
}
.frame .logo-mark { width: 190px; height: 190px; }
.frame p { margin: 16px 0 0; font-family: 'Parisienne', cursive; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; }
.frame span { color: rgba(22,13,34,.62); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.intro, .collections, .favorites, .newsletter { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; padding: 34px; border: 1px solid var(--line); border-radius: 34px; background: rgba(255,255,255,.68); }
.intro > p { margin: 0; font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.18; letter-spacing: -0.05em; }
.stats { justify-content: flex-end; gap: 18px; flex-wrap: wrap; }
.stats span { padding: 16px 18px; border-radius: 24px; background: #f1e8ff; color: var(--muted); }
.stats strong { display: block; color: var(--violet); font-size: 1.45rem; }

.collections, .favorites { padding: 92px 0 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { max-width: 620px; margin-bottom: 0; font-size: clamp(2rem, 4vw, 4.3rem); line-height: .95; letter-spacing: -0.07em; }
.compact { align-items: center; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { display: grid; gap: 22px; padding: 18px; min-height: 420px; border: 1px solid var(--line); border-radius: 32px; background: rgba(255,255,255,.76); box-shadow: 0 24px 60px rgba(84, 48, 124, 0.08); }
.category-art { display: grid; place-items: center; min-height: 160px; border-radius: 24px; overflow: hidden; }
.category-art span { color: rgba(255,255,255,.72); font-size: 7rem; font-weight: 900; line-height: 1; }
.tag { display: inline-flex; width: fit-content; margin-bottom: 10px; padding: 7px 11px; border-radius: 999px; background: #f1e8ff; color: var(--violet); font-size: .76rem; font-weight: 800; }
.category-card h3, .product h3 { margin-bottom: 8px; letter-spacing: -0.04em; }
.category-card p:not(.tag), .product p { color: var(--muted); line-height: 1.6; }
.category-card a { align-self: end; display: inline-flex; align-items: center; gap: 8px; color: var(--violet); font-weight: 800; }

.product-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product { border-radius: 30px; background: white; overflow: hidden; border: 1px solid var(--line); }
.product-image { display: grid; place-items: start end; min-height: 250px; padding: 18px; color: white; }
.tone-1 { background: linear-gradient(150deg, #251137, #bd8cff); }
.tone-2 { background: linear-gradient(150deg, #8b5cf6, #f0d9ff); }
.tone-3 { background: linear-gradient(150deg, #3b145d, #d7b4ff); }
.tone-4 { background: linear-gradient(150deg, #b267e6, #fff2fb); }
.product-info { justify-content: space-between; gap: 16px; padding: 18px; }
.product-info p { margin-bottom: 0; font-size: .92rem; }
.product-info strong { color: var(--violet); }

.newsletter { margin-top: 92px; margin-bottom: 34px; padding: 38px; border-radius: 38px; justify-content: space-between; gap: 26px; background: #170f22; color: white; }
.newsletter h2 { max-width: 660px; margin-bottom: 0; font-size: clamp(1.9rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -0.06em; }
form { gap: 10px; padding: 8px; border-radius: 999px; background: white; }
input { width: min(280px, 42vw); border: 0; outline: 0; padding: 0 10px; color: var(--ink); }
.newsletter button { border: 0; padding: 13px 18px; background: linear-gradient(135deg, var(--violet), var(--purple)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu { display: grid !important; }
  .hero, .intro { grid-template-columns: 1fr; }
  .hero { margin-top: 54px; }
  .hero-card { min-height: 460px; }
  .frame { min-height: 404px; }
  .category-grid, .product-row { grid-template-columns: repeat(2, 1fr); }
  .newsletter { align-items: stretch; flex-direction: column; }
}

@media (max-width: 620px) {
  .nav { width: calc(100% - 20px); }
  .brand span { max-width: 112px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero, .intro, .collections, .favorites, .newsletter { width: calc(100% - 20px); }
  .category-grid, .product-row { grid-template-columns: 1fr; }
  .intro, .newsletter { padding: 24px; }
  form { align-items: stretch; flex-direction: column; border-radius: 24px; }
  input { width: 100%; min-height: 44px; }
}
