/* ============================================
   WORKBOOK — Landing Page CSS
   Light theme · Fraunces + DM Sans
   ============================================ */

:root {
  --cream:       #faf8f4;
  --cream-dark:  #f0ebe3;
  --ink:         #1a1814;
  --ink-mid:     #3d3830;
  --ink-soft:    #7a7265;
  --ink-muted:   #b0a89c;
  --amber:       #e8880a;
  --amber-light: #fff3e0;
  --amber-dark:  #c4720a;
  --green:       #1a7a5e;
  --green-light: #e8f4f0;
  --border:      #e5dfd6;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(26,24,20,0.06);
  --shadow-md: 0 8px 32px rgba(26,24,20,0.10);
  --shadow-lg: 0 24px 64px rgba(26,24,20,0.14);

  --max-w: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ──────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(250,248,244,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  letter-spacing: -1px;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--ink); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── BUTTONS ──────────────────────────────── */
.btn-primary {
  background: var(--amber);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(232,136,10,0.30);
}

.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,136,10,0.35);
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.btn-ghost:hover { background: var(--cream-dark); color: var(--ink); }

.btn-outline {
  background: none;
  border: 2px solid var(--ink);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-large { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

/* ── MOBILE MENU ──────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.mobile-menu a {
  text-decoration: none;
  color: var(--ink-mid);
  font-weight: 500;
  padding: 8px 0;
}

.mobile-menu.open { display: flex; }

/* ── HERO ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 120px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero__bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #f8d89a, #f0ebe3);
  top: -100px; right: -100px;
  animation: blobMove1 14s ease-in-out infinite alternate;
}

.blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #c8e8df, #e8f0f4);
  bottom: -50px; left: 100px;
  animation: blobMove2 18s ease-in-out infinite alternate;
}

@keyframes blobMove1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-60px, 80px) scale(1.1); }
}

@keyframes blobMove2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,-60px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeDown 0.5s ease both;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 6px var(--green); }
  50%      { box-shadow: 0 0 14px var(--green); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 24px;
  animation: fadeDown 0.5s 0.1s ease both;
}

.hero__title em {
  font-style: italic;
  color: var(--amber);
  position: relative;
}

.hero__sub {
  font-size: 18px;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeDown 0.5s 0.2s ease both;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeDown 0.5s 0.3s ease both;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeDown 0.5s 0.4s ease both;
}

.stat { display: flex; flex-direction: column; }

.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.stat__label {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── HERO VISUAL ──────────────────────────── */
.hero__visual {
  position: relative;
  height: 520px;
  animation: fadeLeft 0.7s 0.2s ease both;
}

.profile-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-card--main {
  top: 80px; left: 20px;
  min-width: 260px;
}

.profile-card--sm {
  min-width: 180px;
  padding: 12px 14px;
}

.profile-card--left { top: 240px; left: -10px; }
.profile-card--right { top: 180px; right: 10px; }

.pc-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.pc-info { flex: 1; min-width: 0; }

.pc-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.pc-role {
  font-size: 12px;
  color: var(--ink-soft);
}

.pc-rating {
  font-size: 12px;
  color: var(--amber);
  margin-top: 2px;
}

.pc-rating span { color: var(--ink-muted); }

.pc-badge {
  background: var(--green-light);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

.request-card {
  position: absolute;
  bottom: 120px; right: -10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  min-width: 210px;
}

.req-icon { font-size: 24px; }

.req-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
}

.req-desc {
  font-size: 12px;
  color: var(--ink-soft);
}

.req-time {
  font-size: 11px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  margin-left: auto;
}

.match-card {
  position: absolute;
  bottom: 60px; left: 40px;
  background: var(--amber);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(232,136,10,0.35);
}

.match-icon {
  width: 20px; height: 20px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ── ANIMATIONS ───────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}
.animate-float-slow {
  animation: float 7s ease-in-out infinite reverse;
}
.animate-float-med {
  animation: float 6s 1s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ── SECTION SHARED ───────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 48px;
}

/* ── HOW IT WORKS ─────────────────────────── */
.how {
  padding: 100px 0;
  background: #fff;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.how-step {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--cream);
  transition: box-shadow 0.2s, transform 0.2s;
}

.how-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.how-step__num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -3px;
  position: absolute;
  top: 20px; right: 24px;
}

.how-step__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.how-step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.how-step p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* ── CATEGORIES ───────────────────────────── */
.categories {
  padding: 100px 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cat-card--more {
  border-style: dashed;
  background: var(--cream);
}

.cat-emoji { font-size: 28px; }

.cat-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.cat-count {
  font-size: 12px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

/* ── PROVIDERS ────────────────────────────── */
.providers {
  padding: 100px 0;
  background: var(--ink);
  color: var(--cream);
}

.providers .section-label { color: var(--amber); }
.providers .section-title { color: var(--cream); margin-bottom: 24px; }

.providers__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.providers__desc {
  color: #a09890;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.providers__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.providers__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d0c8c0;
  font-size: 15px;
}

.benefit-check {
  width: 22px; height: 22px;
  background: rgba(232,136,10,0.2);
  color: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Mockup card */
.mockup-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.mockup-avatar {
  width: 48px; height: 48px;
  background: var(--cream-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
}

.mockup-name { font-weight: 700; font-size: 16px; color: var(--ink); }

.mockup-tag {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.ms {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
}

.ms__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}

.ms__lbl {
  font-size: 11px;
  color: var(--ink-muted);
}

.mockup-inquiries {}

.inq-label {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.inq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inq-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--ink-mid);
  border: 1px solid var(--border);
}

/* ── TESTIMONIALS ─────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: #fff;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.testi-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi-card--accent {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.testi-stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; }

.testi-text {
  font-size: 15px;
  line-height: 1.65;
  color: inherit;
  flex: 1;
}

.testi-card--accent .testi-text { color: #c0b8b0; }

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testi-card--accent .testi-author { border-color: #2a2820; }

.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-soft);
}

.testi-name { font-weight: 600; font-size: 14px; }
.testi-loc { font-size: 12px; color: var(--ink-muted); }
.testi-card--accent .testi-loc { color: #7a7265; }

/* ── CTA SECTION ──────────────────────────── */
.cta-section {
  padding: 100px 0;
}

.cta-inner {
  position: relative;
  background: var(--amber);
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  top: -200px; right: -100px;
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  position: relative;
}

.cta-sub {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  margin-bottom: 36px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-buttons .btn-primary {
  background: var(--ink);
  box-shadow: 0 4px 16px rgba(26,24,20,0.3);
}

.cta-buttons .btn-primary:hover { background: #2d2a24; }

/* ── FOOTER ───────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2820;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer .logo-icon { background: var(--amber); }
.footer .logo-name { color: var(--cream); }

.footer__tagline {
  color: #7a7265;
  font-size: 14px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-title {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7a7265;
  margin-bottom: 4px;
}

.footer__col a {
  color: #a09890;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s;
}

.footer__col a:hover { color: var(--cream); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #5a5248;
}

.footer__made { color: #5a5248; }

/* ── SCROLL REVEAL ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 110px 24px 60px; }
  .hero__visual { display: none; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .how__grid { grid-template-columns: 1fr; gap: 20px; }
  .providers__inner { grid-template-columns: 1fr; gap: 40px; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav__links, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
  .hero { padding: 90px 20px 60px; }
  .cta-inner { padding: 48px 24px; }
  .footer__links { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .hero__stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
}
