/* ========== RESET & BASE ========== */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  color: #2B2B2B;
  margin: 0;
  background: #FFF4E6;
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(255,176,136,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 60%, rgba(255,107,107,0.18) 0%, transparent 50%);
  background-attachment: fixed;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

a { color: #FF6B6B; text-decoration: none; border-bottom: 1px dashed #FFB088; }
a:hover { border-bottom-style: solid; }
code { background: #FFE8D6; padding: 2px 8px; border-radius: 6px; font-size: 13px; font-family: 'SF Mono', Consolas, monospace; color: #B84C3A; }

/* ========== SITE HEADER (navigation) ========== */
.site-header {
  background: rgba(255,244,230,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,176,136,0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.logo {
  font-weight: 800;
  font-size: 17px;
  color: #2B2B2B;
  text-decoration: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.logo:hover { border: 0; }
.logo-icon { font-size: 22px; }
.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav a {
  color: #5C4B40;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  border: 0;
  transition: all 0.15s;
}
.nav a:hover {
  background: rgba(255,107,107,0.1);
  color: #FF6B6B;
  border: 0;
}
.nav a.active {
  background: #FF6B6B;
  color: #fff;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  font-size: 13px;
  color: #6B5D54;
  padding: 16px 0 0;
}
.breadcrumbs a {
  color: #6B5D54;
  border: 0;
}
.breadcrumbs a:hover { color: #FF6B6B; }
.breadcrumbs .sep { margin: 0 6px; color: #C0A595; }

/* ========== HERO ========== */
.hero {
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '📱';
  position: absolute;
  font-size: 280px;
  opacity: 0.08;
  right: -60px;
  top: 20px;
  transform: rotate(-15deg);
  pointer-events: none;
}
.hero::after {
  content: '🔓';
  position: absolute;
  font-size: 140px;
  opacity: 0.07;
  left: -20px;
  bottom: -30px;
  transform: rotate(20deg);
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,107,107,0.12);
  color: #B84C3A;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(255,107,107,0.2);
}
.hero h1 {
  font-size: 38px;
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #2B2B2B;
  position: relative;
}
.hero h1 .highlight {
  background: linear-gradient(180deg, transparent 60%, #FFB088 60%, #FFB088 95%, transparent 95%);
  padding: 0 4px;
}
.hero .lead {
  font-size: 18px;
  margin: 0 0 28px;
  color: #5C4B40;
  max-width: 580px;
  line-height: 1.55;
}
.hero-handwritten {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: #FF6B6B;
  margin: -8px 0 24px 0;
  display: inline-block;
  transform: rotate(-1deg);
}

/* ========== STATS ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 36px 0 28px;
}
.stat {
  background: #fff;
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid #FFD9BB;
  box-shadow: 0 4px 12px rgba(255,107,107,0.06);
}
.stat-val {
  font-size: 28px;
  font-weight: 800;
  display: block;
  background: linear-gradient(135deg, #FF6B6B 0%, #FFB088 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.stat-lbl { font-size: 12px; color: #6B5D54; margin-top: 4px; font-weight: 500; }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: #fff;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(255,107,107,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255,107,107,0.45);
  border: 0;
}
.btn-trust {
  display: block;
  font-size: 13px;
  color: #6B5D54;
  margin-top: 14px;
  font-weight: 500;
}
.btn-trust::before { content: '✓ '; color: #5BB45B; font-weight: 700; }

/* ========== HEADINGS ========== */
.page-content { padding-bottom: 40px; }
h2 {
  font-size: 28px;
  margin: 48px 0 18px;
  color: #2B2B2B;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}
h2 .doodle {
  position: absolute;
  right: -36px;
  top: -8px;
  font-size: 24px;
  transform: rotate(15deg);
  opacity: 0.7;
}
h3 { font-size: 18px; margin: 24px 0 10px; color: #2B2B2B; }
p { margin: 12px 0; color: #3D3127; }

/* ========== FEATURES ========== */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 32px;
}
.feature {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(255,176,136,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,107,107,0.1);
}
.feature .ic {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #FFE8D6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature .tx { font-size: 14px; line-height: 1.5; color: #3D3127; }
.feature .tx strong { display: block; font-size: 15px; margin-bottom: 4px; color: #2B2B2B; font-weight: 700; }

/* ========== PLATFORM CARDS ========== */
.platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.platform-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  border: 2px solid #FFE8D6;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.platform-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,176,136,0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.platform-card:hover {
  border-color: #FF6B6B;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(255,107,107,0.15);
}
.platform-card .pic {
  font-size: 40px;
  margin-bottom: 10px;
  display: inline-block;
}
.platform-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: #2B2B2B;
}
.platform-card p { margin: 0 0 14px; font-size: 14px; color: #5C4B40; line-height: 1.55; }
.platform-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.2s;
  box-shadow: 0 4px 12px rgba(255,107,107,0.25);
}
.platform-card:hover .card-cta { transform: translateX(4px); }

/* ========== STEPS ========== */
.steps {
  counter-reset: stepnum;
  margin: 28px 0;
}
.step {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px 22px 72px;
  margin: 14px 0;
  position: relative;
  border: 1px solid #FFE8D6;
}
.step::before {
  counter-increment: stepnum;
  content: counter(stepnum);
  position: absolute;
  left: 20px;
  top: 22px;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: #fff;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(255,107,107,0.35);
}
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 6px 0; font-size: 15px; color: #3D3127; }

/* ========== QUOTES ========== */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.quote {
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid #FFE8D6;
  position: relative;
}
.quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 18px;
  font-size: 60px;
  color: #FFB088;
  font-family: Georgia, serif;
  line-height: 1;
}
.quote-text {
  font-size: 14px;
  color: #3D3127;
  line-height: 1.55;
  margin: 12px 0;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #FFD9BB;
}
.quote-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #FFB088 0%, #FF6B6B 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.quote-meta { font-size: 12px; color: #6B5D54; line-height: 1.3; }
.quote-meta strong { display: block; color: #2B2B2B; font-size: 13px; }

/* ========== COMPARISON ========== */
.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.compare-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px;
  border: 1px solid #FFE8D6;
  text-align: center;
}
.compare-card.winner {
  border: 2px solid #FF6B6B;
  background: linear-gradient(180deg, #FFF8F0 0%, #fff 100%);
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(255,107,107,0.12);
}
.compare-card .name { font-weight: 700; font-size: 16px; margin: 8px 0 12px; color: #2B2B2B; }
.compare-card .winner-badge {
  background: #FF6B6B;
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: -4px;
}
.compare-card ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.compare-card li { font-size: 13px; padding: 4px 0; color: #3D3127; }
.compare-card li.pro::before { content: '✓ '; color: #5BB45B; font-weight: 700; }
.compare-card li.con::before { content: '− '; color: #C0A595; font-weight: 700; }

/* ========== PROBLEMS ========== */
.problem {
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 12px 0;
  border-left: 5px solid #FFB088;
  border-top: 1px solid #FFE8D6;
  border-right: 1px solid #FFE8D6;
  border-bottom: 1px solid #FFE8D6;
}
.problem strong { color: #B84C3A; display: block; font-size: 15px; margin-bottom: 4px; }
.problem p { margin: 6px 0 0; font-size: 14px; }

/* ========== CTA BLOCKS ========== */
.cta-block {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: #fff;
  padding: 40px 32px;
  border-radius: 20px;
  margin: 44px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(255,107,107,0.25);
}
.cta-block::before {
  content: '🚀';
  position: absolute;
  font-size: 180px;
  opacity: 0.1;
  right: -30px;
  bottom: -50px;
  transform: rotate(20deg);
}
.cta-block h3 { color: #fff; margin: 0 0 12px; font-size: 26px; font-weight: 800; }
.cta-block p { margin: 0 0 22px; opacity: 0.97; font-size: 16px; color: #fff; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-block .btn-primary {
  background: #fff;
  color: #FF6B6B;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.cta-block .btn-primary:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.cta-block .check-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 14px 0 22px;
  font-size: 14px;
  color: #fff;
}
.cta-block .check-row span { display: inline-flex; align-items: center; gap: 4px; }

.cta-mini {
  background: linear-gradient(135deg, #FFE8D6 0%, #FFD9BB 100%);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 36px 0;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid #FFB088;
}
.cta-mini .ic { font-size: 32px; flex-shrink: 0; }
.cta-mini .tx { flex: 1; min-width: 200px; }
.cta-mini .tx strong { display: block; font-size: 16px; margin-bottom: 4px; color: #2B2B2B; font-weight: 700; }
.cta-mini .tx span { font-size: 13px; color: #5C4B40; }
.cta-mini a {
  background: #FF6B6B;
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  box-shadow: 0 4px 12px rgba(255,107,107,0.3);
  transition: transform 0.2s;
}
.cta-mini a:hover { transform: translateY(-2px); }

/* ========== FAQ ========== */
.faq-item {
  border-radius: 14px;
  margin: 10px 0;
  background: #fff;
  overflow: hidden;
  border: 1px solid #FFE8D6;
}
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  padding: 18px 24px;
  list-style: none;
  position: relative;
  padding-right: 50px;
  color: #2B2B2B;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 14px;
  font-size: 28px;
  color: #FF6B6B;
  font-weight: 300;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0 24px 18px; font-size: 14px; line-height: 1.6; color: #5C4B40; }

/* ========== RELATED PAGES (sitewide internal links) ========== */
.related-pages {
  margin-top: 48px;
  padding: 22px 26px;
  background: #fff;
  border-radius: 16px;
  border: 1px dashed #FFB088;
}
.related-pages h3 { margin: 0 0 12px; font-size: 16px; color: #2B2B2B; }
.related-pages .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.related-pages .grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #FFF8F0;
  border-radius: 10px;
  font-size: 14px;
  color: #2B2B2B;
  text-decoration: none;
  border: 1px solid #FFE8D6;
  transition: all 0.15s;
}
.related-pages .grid a:hover {
  background: #fff;
  border-color: #FF6B6B;
  transform: translateX(2px);
}
.related-pages .grid a .ic { font-size: 20px; }

/* ========== POSTS (blog) ========== */
.posts {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}
.post-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid #FFE8D6;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s;
}
.post-card:hover {
  border-color: #FF6B6B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,107,107,0.1);
}
.post-card .date { font-size: 12px; color: #6B5D54; font-weight: 500; }
.post-card h3 { margin: 4px 0 8px; font-size: 18px; color: #2B2B2B; }
.post-card p { margin: 0; font-size: 14px; color: #5C4B40; }

/* ========== FOOTER ========== */
.site-footer {
  margin-top: 60px;
  padding: 36px 0;
  border-top: 1px dashed #FFD9BB;
  font-size: 13px;
  color: #6B5D54;
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
.site-footer .col h4 { font-size: 14px; color: #2B2B2B; margin: 0 0 12px; font-weight: 700; }
.site-footer .col a {
  display: block;
  color: #6B5D54;
  text-decoration: none;
  border: 0;
  font-size: 13px;
  padding: 4px 0;
}
.site-footer .col a:hover { color: #FF6B6B; }
.site-footer .copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #FFE8D6;
  font-size: 12px;
  color: #6B5D54;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
  .site-header .wrap { gap: 12px; }
  .nav { gap: 0; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 4px; }
  .nav a { white-space: nowrap; padding: 6px 10px; font-size: 13px; }
  .logo { font-size: 15px; }
  .logo-icon { font-size: 18px; }

  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: 28px; }
  .hero .lead { font-size: 16px; }
  .hero::before { font-size: 180px; right: -50px; top: 30px; }
  .hero::after { display: none; }
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .stat { padding: 14px 12px; }
  .stat-val { font-size: 24px; }
  h2 { font-size: 24px; }
  h2 .doodle { display: none; }
  .features, .platforms, .quotes, .compare { grid-template-columns: 1fr; }
  .related-pages .grid { grid-template-columns: 1fr; }
  .cta-block { padding: 28px 20px; }
  .cta-block h3 { font-size: 22px; }
  .cta-mini { padding: 18px 20px; }
  .step { padding: 18px 18px 18px 66px; }
  .step::before { left: 16px; top: 18px; width: 34px; height: 34px; line-height: 34px; font-size: 15px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 24px; }
}
