/* ═══════════════════════════════════════════════════════════
   MyCoffee — Premium Dark Luxury Stylesheet
   Fonts: Playfair Display + DM Sans
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

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

:root {
  --bg-900:      #0c0705;
  --bg-800:      #110a06;
  --bg-700:      #1a0f09;
  --bg-600:      #2d1a0e;
  --bg-500:      #3d2214;
  --bg-400:      #52301c;
  --caramel:     #c47c3e;
  --amber:       #d4952a;
  --gold:        #e8b84b;
  --cream:       #fdf8f2;
  --cream-dim:   rgba(253,248,242,0.78);
  --cream-muted: rgba(253,248,242,0.44);
  --border:      rgba(196,124,62,0.18);
  --border-faint: rgba(253,248,242,0.07);
  --glow:        rgba(196,124,62,0.22);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-800);
  color: var(--cream);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.038;
  pointer-events: none;
  z-index: 9998;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(17,10,6,0.84);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border-faint);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand .logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--caramel);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 22px rgba(196,124,62,0.45), 0 2px 8px rgba(0,0,0,0.3);
}

.nav-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 4px; }

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--cream-muted);
  transition: background 0.2s, color 0.2s;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
}

.nav-links a:hover { background: rgba(253,248,242,0.08); color: var(--cream); }
.nav-links a.active { background: var(--caramel); color: #fff; }

/* ── Footer CTA ── */
.footer-cta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 36px 72px;
}

.footer-cta-inner {
  background: linear-gradient(135deg, var(--bg-600) 0%, var(--bg-500) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 52px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.footer-cta-inner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(196,124,62,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-cta h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.footer-cta p { font-size: 14px; color: var(--cream-muted); font-weight: 300; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--caramel);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(196,124,62,0.4);
}

.cta-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 10px 36px rgba(196,124,62,0.55); }

.site-footer {
  text-align: center;
  font-size: 13px;
  color: var(--cream-muted);
  padding: 18px 24px 44px;
  font-weight: 300;
}

/* ── Legal pages shared ── */
.legal-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 108px 36px 52px;
  border-bottom: 1px solid var(--border-faint);
}

.legal-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel);
  background: rgba(196,124,62,0.1);
  border: 1px solid rgba(196,124,62,0.22);
  border-radius: 40px;
  padding: 5px 15px;
  margin-bottom: 22px;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.legal-meta {
  font-size: 12px;
  color: var(--cream-muted);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.legal-hero > p {
  font-size: 15px;
  color: var(--cream-muted);
  max-width: 500px;
  line-height: 1.8;
  font-weight: 300;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 36px 96px;
}

.legal-section {
  border-bottom: 1px solid var(--border-faint);
  padding: 40px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.23,1,0.32,1), transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

.legal-section.visible { opacity: 1; transform: translateY(0); }
.legal-section:last-child { border-bottom: none; }

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.legal-section-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(196,124,62,0.08);
  border: 1px solid rgba(196,124,62,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--caramel);
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.015em;
}

.legal-section p {
  font-size: 15px;
  color: var(--cream-muted);
  margin-bottom: 14px;
  line-height: 1.85;
  font-weight: 300;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section a {
  color: var(--caramel);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,124,62,0.35);
  transition: border-color 0.2s, color 0.2s;
}

.legal-section a:hover { border-color: var(--caramel); color: var(--amber); }

.legal-section ul { list-style: none; margin-bottom: 14px; }

.legal-section ul li {
  display: flex;
  gap: 14px;
  font-size: 14px;
  color: var(--cream-muted);
  margin-bottom: 13px;
  line-height: 1.72;
  font-weight: 300;
}

.legal-section ul li strong { color: var(--cream-dim); font-weight: 600; }

.bullet {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--caramel);
  flex-shrink: 0;
  margin-top: 10px;
}

.highlight-box {
  background: rgba(196,124,62,0.07);
  border: 1px solid rgba(196,124,62,0.22);
  border-left: 3px solid var(--caramel);
  border-radius: 0 12px 12px 0;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cream-dim);
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 16px 24px 4px;
}

.legal-links a {
  font-size: 13px;
  color: var(--cream-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-links a:hover { color: var(--cream-dim); }

@media (max-width: 700px) {
  .nav-inner { padding: 0 20px; }
  .nav-links a { padding: 6px 11px; font-size: 12px; }
  .footer-cta { padding: 0 20px 52px; }
  .footer-cta-inner { padding: 34px 28px; }
  .footer-cta h3 { font-size: 22px; }
  .legal-hero { padding: 88px 20px 40px; }
  .legal-content { padding: 0 20px 64px; }
}
