@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500&family=Caveat+Brush&display=swap');

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

:root {
  --bg-base: #FAFAF9;
  --bg-surface: #F4F4F2;
  --bg-subtle: #EAEAE7;
  --border: #D4D4D0;
  --border-light: #E8E8E4;
  --text-primary: #1A1A18;
  --text-body: #3A3A38;
  --text-muted: #8A8A86;
  --accent: #C9A8F0;
  --accent-hover: #B08FE8;
  --accent-strong: #8B65CC;
  --accent-tint: #EDE8FB;
  --accent-border: #D8CCFF;
  --accent-whisper: #F5F0FD;
  --font: 'Outfit', sans-serif;
  --max-w: 1100px;
  --section-gap: 96px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border-light);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-badge {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-badge span {
  font-family: 'Caveat Brush', cursive;
  font-size: 22px;
  color: #fff;
  line-height: 1;
  margin-top: 2px;
}
.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-wordmark-myffu {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.nav-wordmark-studio {
  font-size: 9px;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 400;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--text-primary); }
.nav-cta {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  display: inline-block;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-hover); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 32px 24px;
  border-top: 0.5px solid var(--border-light);
  gap: 4px;
}
.nav-mobile a {
  font-size: 15px;
  color: var(--text-body);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--border-light);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .nav-cta { margin-top: 12px; text-align: center; }
.nav-mobile.open { display: flex; }

/* ── PAGE WRAPPER ── */
.page { padding-top: 60px; }
.section { padding: var(--section-gap) 0; }
.section-alt { background: var(--bg-surface); }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 20px;
  display: block;
}
h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text-primary);
}
h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-primary);
}
h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}
p { color: var(--text-body); }

/* ── BUTTONS ── */
.btn {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
  background: transparent;
  border: 0.5px solid var(--accent-border);
  color: var(--accent-strong);
}
.btn-secondary:hover { background: var(--accent-whisper); }

/* ── CARDS ── */
.card {
  background: var(--bg-base);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.card-surface {
  background: var(--bg-surface);
  border: 0.5px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
}

/* ── TAGS ── */
.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-strong);
  display: inline-block;
  letter-spacing: 0.03em;
}

/* ── FOOTER ── */
footer {
  background: var(--bg-base);
  border-top: 0.5px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 240px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 0.5px solid var(--border-light);
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-socials a:hover { color: var(--text-primary); }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 0.5px solid var(--border-light);
}
.page-hero .section-label { margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 20px; max-width: 640px; }
.page-hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 20px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
