/* ─── Kamileo Brand Tokens ─── */
:root {
  --bg:       #F0EBE1;
  --surface:  #FAF8F3;
  --ink:      #1A1A1A;
  --muted:    #6B6B6B;
  --gold:     #C4A265;
  --gold-light: #D4B87A;
  --border:   #E4DED2;
  --success:  #22C55E;
  --rule:     #D8CFC0;
  --white:    #FFFFFF;
  --radius:   24px;
  --radius-sm: 16px;
  --shadow:   0 10px 24px rgba(0,0,0,0.08);
  --shadow-soft: 0 4px 10px rgba(0,0,0,0.03);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* ─── Typography ─── */
.font-caveat { font-family: 'Caveat', cursive; }
.font-manrope { font-family: 'Manrope', sans-serif; }

h1, h2, h3 { font-family: 'Caveat', cursive; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.3; }

p { font-size: 1.05rem; color: var(--muted); max-width: 640px; }

/* ─── Layout ─── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ─── Navbar ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 235, 225, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); opacity: 1; }

.nav-cta {
  background: var(--ink);
  color: var(--surface) !important;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  opacity: 1 !important;
}

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

.hero-badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }

.hero p {
  margin: 0 auto 40px;
  font-size: 1.15rem;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--surface);
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  opacity: 1;
  color: var(--surface);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  opacity: 1;
  color: var(--ink);
}

/* ─── How It Works ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}

.step-card h3 { margin-bottom: 12px; font-family: 'Manrope', sans-serif; font-size: 1.15rem; font-weight: 800; }
.step-card p { font-size: 0.95rem; margin: 0 auto; }

.step-emoji {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

/* ─── Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p { font-size: 0.92rem; }

/* ─── Social Proof / Testimonials ─── */
.testimonials-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--surface);
}

.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-label { font-size: 0.8rem; color: var(--muted); }

/* ─── FAQ ─── */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p { font-size: 0.95rem; line-height: 1.7; }

/* ─── Final CTA ─── */
.final-cta {
  text-align: center;
  padding: 100px 0;
}

.final-cta h2 { margin-bottom: 16px; }
.final-cta p { margin: 0 auto 32px; }

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--ink); }

.footer-copy { font-size: 0.85rem; color: var(--muted); }

/* ─── Legal Pages ─── */
.legal-page {
  padding: 60px 0 100px;
}

.legal-page .container { max-width: 780px; }

.legal-updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.legal-page h1 {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--ink);
}

.legal-page h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--ink);
}

.legal-page p {
  margin-bottom: 16px;
  font-size: 0.97rem;
  max-width: none;
  color: var(--ink);
  line-height: 1.75;
}

.legal-page ul, .legal-page ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page li {
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 6px;
  color: var(--ink);
}

.legal-page strong { font-weight: 700; }

.legal-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.legal-toc h3 {
  font-family: 'Manrope', sans-serif;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1rem;
}

.legal-toc ol { padding-left: 20px; margin-bottom: 0; }
.legal-toc li { font-size: 0.92rem; margin-bottom: 4px; }
.legal-toc a { color: var(--gold); font-weight: 600; }

.legal-disclaimer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-disclaimer p { margin-bottom: 0; font-weight: 600; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  section { padding: 60px 0; }

  .nav-links { display: none; }

  .steps-grid { grid-template-columns: 1fr; gap: 20px; }

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

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

  .hero { padding: 60px 0 40px; }

  .footer .container { flex-direction: column; text-align: center; }

  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
