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

:root {
  --bg: #FFFBF5;
  --surface: #FFFFFF;
  --surface-2: #FFF8EE;
  --border: #F0E6D3;
  --text: #2D2006;
  --text-muted: #7A6548;
  --text-light: #A89070;
  --accent: #D95F02;
  --accent-hover: #BF5000;
  --accent-light: #FEF0E3;
  --accent-mid: rgba(217,95,2,0.12);
  --nav-bg: rgba(255,251,245,0.93);
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 60px;
  --max-w: 860px;
  --section-pad: 80px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── Navigation ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 28px;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-logo-icon {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--accent); background: var(--accent-light); }

/* ─── Layout helpers ─────────────────────────────────────── */
.page-wrap { padding-top: var(--nav-h); }

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

/* ─── Section base ───────────────────────────────────────── */
section { padding: var(--section-pad) 0; }

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing:  0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1.5px solid rgba(217,95,2,0.2);
}

.hero-mascot {
  margin: 0 auto 24px;
  width: 100px;
  height: 100px;
}

h1 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
  font-weight: 500;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(217,95,2,0.28);
}
.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217,95,2,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  background: var(--surface);
  border-color: #d4c0a0;
  text-decoration: none;
}

.btn-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ─── Section headings ───────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

h2 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}

.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 500;
}

/* ─── About section ──────────────────────────────────────── */
#about { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-text p:last-child { margin-bottom: 0; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.value-card {
  background: var(--accent-light);
  border: 1.5px solid rgba(217,95,2,0.15);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.value-card .value-icon { font-size: 22px; margin-bottom: 6px; }
.value-card .value-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.value-card .value-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 0; }

/* ─── Apps section ───────────────────────────────────────── */
.app-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 32px;
}

.app-icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: var(--accent-light);
  border: 1.5px solid rgba(217,95,2,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.app-meta-name {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--text);
  margin-bottom: 8px;
}

.app-meta-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.app-screenshots {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.screenshot-frame {
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  width: 130px;
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  box-shadow: 0 4px 16px rgba(45,32,6,0.07);
}

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

.feature-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(217,95,2,0.1);
  transform: translateY(-2px);
}
.feature-card .feat-icon { font-size: 20px; margin-bottom: 8px; }
.feature-card .feat-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.feature-card .feat-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 0; }

/* ─── Divider ────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ─── Contact section ────────────────────────────────────── */
#contact { background: var(--surface-2); }

.contact-inner {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.contact-icon { font-size: 48px; margin-bottom: 16px; }

.contact-body h2 { margin-bottom: 10px; }

.contact-body p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  padding: 12px 24px;
  background: var(--accent-light);
  border: 1.5px solid rgba(217,95,2,0.2);
  border-radius: 50px;
  transition: background 0.15s, transform 0.1s;
}
.contact-email:hover { background: var(--accent-mid); text-decoration: none; transform: translateY(-1px); }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px;
  text-align: center;
}

footer p { font-size: 13px; color: var(--text-muted); }
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--accent); text-decoration: underline; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 700px) {
  :root { --section-pad: 56px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .hero-sub { font-size: 17px; }
  .about-body { grid-template-columns: 1fr; gap: 28px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .app-hero { grid-template-columns: 1fr; padding: 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .nav-links a { padding: 6px 9px; font-size: 13px; }
}