/* Solivere — Olympus gold, off-white & olive green divine theme */

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

:root {
  --gold: #D4AF37;
  --gold-light: #C5A55A;
  --olive: #6B7F3B;
  --olive-dark: #556B2F;
  --olive-light: #7A8E4A;
  --bg: #FAF8F0;
  --bg2: #F5F0E8;
  --bg3: #EFEFEA;
  --border: #D9D3C8;
  --text: #1a1a14;
  --muted: #6b6b5f;
  --subtle: #a39f94;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(107, 127, 59, 0.02) 2px, rgba(107, 127, 59, 0.02) 4px),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(212, 175, 55, 0.01) 2px, rgba(212, 175, 55, 0.01) 4px);
}

/* ── Wordmark ── */
.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #D4AF37 0%, #C5A55A 60%, #D4AF37 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  margin-bottom: 32px;
  line-height: 1;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes float-up {
  0% { transform: translateY(4px); opacity: 0.8; }
  50% { opacity: 1; }
  100% { transform: translateY(-4px); }
}

@keyframes gentle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}

/* ── Gradient text ── */
.grad {
  background: linear-gradient(90deg, #D4AF37, #6B7F3B, #C5A55A);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: grad-shift 3s ease-in-out infinite;
}

@keyframes grad-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
}

.glow-purple {
  width: 600px;
  height: 600px;
  background: var(--gold);
  top: -150px;
  left: -100px;
}

.glow-cyan {
  width: 500px;
  height: 500px;
  background: var(--olive);
  bottom: -100px;
  right: -80px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
  animation: fade-in 0.8s ease-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.lede {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ── Waitlist form ── */
.waitlist-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-form {
  display: flex;
  gap: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(26, 26, 20, 0.05);
}

.waitlist-form:focus-within {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(107, 127, 59, 0.15), 0 8px 16px rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

.waitlist-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  min-width: 0;
}

.waitlist-form input::placeholder {
  color: var(--subtle);
}

.waitlist-form button {
  background: linear-gradient(135deg, #D4AF37, #C5A55A);
  color: #1a1a14;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}

.waitlist-form button:hover {
  opacity: 0.9;
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.25), 0 0 0 3px rgba(107, 127, 59, 0.15);
  transform: translateY(-2px);
}

.waitlist-form button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(212, 175, 55, 0.15);
}

.waitlist-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.waitlist-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--subtle);
}

#waitlist-msg,
#waitlist-msg-2 {
  margin-top: 12px;
  font-size: 15px;
  min-height: 20px;
}

.waitlist-success {
  color: #34d399;
  font-weight: 600;
}

.waitlist-error {
  color: #f87171;
}

/* ── Section shared ── */
.section-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--olive), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: inline-block;
}

/* ── Categories ── */
.categories {
  padding: 96px 0;
  background: var(--bg2);
  border-top: 2px solid var(--olive);
  border-bottom: 2px solid var(--olive);
  position: relative;
}

.categories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--olive), transparent);
}

.categories h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 56px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.cat-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 26, 20, 0.06);
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--olive), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cat-card:hover {
  border-color: var(--olive);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(107, 127, 59, 0.15), 0 0 20px rgba(212, 175, 55, 0.1);
}

.cat-card:hover::before {
  opacity: 1;
}

.cat-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(107, 127, 59, 0.08), rgba(212, 175, 55, 0.05));
  transition: transform 0.3s ease;
}

.cat-card:hover .cat-icon {
  transform: scale(1.15) rotate(2deg);
}

.cat-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.cat-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cat-price {
  font-size: 14px;
  color: var(--subtle);
  padding-top: 12px;
  border-top: 1px solid rgba(107, 127, 59, 0.2);
  transition: border-color 0.3s ease;
}

.cat-card:hover .cat-price {
  border-top-color: var(--olive);
}

.cat-price strong {
  background: linear-gradient(90deg, var(--gold), var(--olive));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 16px;
}

/* ── Closing ── */
.closing {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
  border-top: 2px solid var(--olive);
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--olive), transparent);
}

.closing-glow {
  position: absolute;
  width: 700px;
  height: 400px;
  background: linear-gradient(135deg, #D4AF37, #6B7F3B);
  filter: blur(150px);
  opacity: 0.12;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
}

.closing h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.closing-body {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.closing-form {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

/* ── Footer ── */
.site-footer {
  border-top: 2px solid var(--olive);
  padding: 32px 24px;
  background: linear-gradient(180deg, transparent, rgba(107, 127, 59, 0.04));
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #D4AF37, #6B7F3B, #C5A55A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: filter 0.3s ease;
}

.footer-brand:hover {
  filter: brightness(1.15);
}

.footer-tagline {
  color: var(--subtle);
  font-size: 13px;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .waitlist-form {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
  }

  .waitlist-form button {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
