/* ── Font ── */
@font-face {
  font-family: 'MuseoModerno';
  src: url('/fonts/MuseoModerno-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --border: #222;
  --text: #e8e4df;
  --text-muted: #8a8580;
  --magnolia: #F5E6D3;
  --magnolia-soft: #D4A574;
  --magnolia-glow: rgba(245, 230, 211, 0.08);
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* ── Floating Petals ── */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.petal {
  position: absolute;
  color: var(--magnolia);
  opacity: 0.03;
  animation: float linear infinite;
}

.petal-1 {
  width: 60px;
  top: -80px;
  left: 10%;
  animation-duration: 18s;
  animation-delay: 0s;
  transform: rotate(15deg);
}

.petal-2 {
  width: 40px;
  top: -60px;
  left: 35%;
  animation-duration: 22s;
  animation-delay: 4s;
  transform: rotate(-20deg);
}

.petal-3 {
  width: 50px;
  top: -70px;
  left: 60%;
  animation-duration: 20s;
  animation-delay: 8s;
  transform: rotate(30deg);
}

.petal-4 {
  width: 35px;
  top: -50px;
  left: 80%;
  animation-duration: 24s;
  animation-delay: 2s;
  transform: rotate(-10deg);
}

.petal-5 {
  width: 45px;
  top: -65px;
  left: 50%;
  animation-duration: 19s;
  animation-delay: 12s;
  transform: rotate(25deg);
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.04;
  }
  90% {
    opacity: 0.03;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* ── Header ── */
header {
  position: relative;
  z-index: 1;
  padding: 32px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.magnolia-icon {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-family: 'MuseoModerno', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--magnolia);
}

/* ── Main ── */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 100px;
  text-align: center;
}

.hero h1 {
  font-family: 'MuseoModerno', sans-serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--magnolia);
}

.hero .subtitle {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── Products ── */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-bottom: 100px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  display: block;
}

a.product-card:hover {
  border-color: var(--magnolia-soft);
  background: var(--magnolia-glow);
  transform: translateY(-2px);
}

.product-icon {
  width: 48px;
  height: 48px;
  background: var(--magnolia-glow);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--magnolia);
}

.product-icon svg {
  width: 28px;
  height: 28px;
}

.product-card h2 {
  font-family: 'MuseoModerno', sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--magnolia);
  letter-spacing: 0.02em;
}

.product-status {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 300;
}

/* ── Responsive ── */
@media (min-width: 640px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }

  header {
    padding: 40px 48px;
  }

  main {
    padding: 0 48px;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 120px 0 120px;
  }
}
