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

:root {
  --primary:     #FF6B35;
  --primary-lt:  #FF8C5A;
  --primary-bg:  #FFF3EE;
  --primary-mid: #FFD4C2;
  --accent:      #E8521A;
  --text:        #2D2016;
  --text-mid:    #6B4C38;
  --text-soft:   #A0785C;
  --bg:          #FFFAF7;
  --card-bg:     #FFFFFF;
  --border:      #F0DDD3;
  --radius:      16px;
  --shadow:      0 4px 24px rgba(255, 107, 53, 0.10);
  --shadow-md:   0 8px 40px rgba(255, 107, 53, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent); }

ul { list-style: none; }

/* ===========================
   Header / Nav
=========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 22px;
  color: var(--primary);
  line-height: 1;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-bg);
  color: var(--primary);
}

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-mid);
}

.btn-outline:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

.btn-secondary {
  background: var(--primary-bg);
  color: var(--primary);
  border: 2px solid var(--primary-mid);
}

.btn-secondary:hover {
  background: var(--primary-mid);
  color: var(--accent);
}

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

/* ===========================
   Hero
=========================== */
.hero {
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary);
  border: 1px solid var(--primary-mid);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 20px;
}

.accent {
  color: var(--primary);
  position: relative;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-soft);
}

/* Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.screen-mockup {
  width: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: #fff;
}

.mockup-bar {
  background: var(--primary-bg);
  padding: 14px 16px;
  display: flex;
  gap: 7px;
  align-items: center;
}

.mockup-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--primary-mid);
  display: block;
}

.mockup-bar span:first-child { background: #FFB3B3; }
.mockup-bar span:nth-child(2) { background: #FFD9A8; }
.mockup-bar span:nth-child(3) { background: #B8F0C8; }

.mockup-body {
  padding: 24px;
  background: #fff;
}

.rec-badge {
  display: inline-block;
  background: #FFEEEE;
  color: #E53E3E;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

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

.mline {
  height: 10px;
  background: var(--primary-bg);
  border-radius: 100px;
}

.w80 { width: 80%; }
.w60 { width: 60%; }
.w90 { width: 90%; }
.w50 { width: 50%; }
.w70 { width: 70%; }

/* ===========================
   Features (index)
=========================== */
.features {
  padding: 60px 0 80px;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
  font-size: 30px;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===========================
   Download section
=========================== */
.download {
  background: linear-gradient(135deg, var(--primary-bg) 0%, #FFF0E8 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.download-inner {
  position: relative;
  z-index: 1;
}

.download-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.download-text p {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.download-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.download-note {
  font-size: 13px;
  color: var(--text-soft);
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
}

.c1 {
  width: 300px; height: 300px;
  background: var(--primary);
  right: -60px; top: -80px;
}

.c2 {
  width: 180px; height: 180px;
  background: var(--accent);
  right: 120px; bottom: -60px;
}

.c3 {
  width: 100px; height: 100px;
  background: var(--primary-lt);
  right: 280px; top: 20px;
}

/* ===========================
   Page hero (inner pages)
=========================== */
.page-hero {
  padding: 64px 0 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto 8px;
}

.page-date {
  font-size: 13px !important;
  color: var(--text-soft) !important;
  margin-top: 8px !important;
}

/* ===========================
   About page
=========================== */
.about-story {
  padding: 0 0 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.about-card.card-accent {
  background: linear-gradient(135deg, var(--primary-bg), #FFF0E8);
  border-color: var(--primary-mid);
}

.about-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--primary-mid);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* Features full */
.features-full {
  padding: 20px 0 60px;
}

.feats-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feat-item {
  display: flex;
  gap: 20px;
  padding: 22px 28px;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.feat-item:hover {
  background: var(--primary-bg);
}

.feat-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-top: 2px;
}

.feat-item strong {
  font-size: 16px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.feat-item p {
  font-size: 14px;
  color: var(--text-mid);
}

/* CTA */
.cta-section {
  padding: 64px 0;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 28px;
}

/* ===========================
   Doc pages (privacy/terms)
=========================== */
.doc-section {
  padding: 0 0 80px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.doc-nav {
  position: sticky;
  top: 88px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.doc-nav-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.doc-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doc-nav a {
  display: block;
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 8px;
  border-radius: 8px;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}

.doc-nav a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

.doc-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.doc-content h2:first-of-type {
  margin-top: 24px;
}

.doc-content p {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.75;
}

.doc-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.doc-content ul li {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 6px;
  line-height: 1.7;
}

.doc-highlight {
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
}

.contact-box {
  background: var(--primary-bg);
  border: 1px solid var(--primary-mid);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 12px;
}

.contact-box p {
  margin: 0 !important;
  font-size: 15px !important;
  color: var(--text) !important;
}

/* ===========================
   Footer
=========================== */
.footer {
  background: var(--primary-bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-soft);
  padding: 5px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.footer-links a:hover {
  background: var(--primary-mid);
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-soft);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .screen-mockup {
    width: 260px;
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-nav {
    position: static;
  }

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

  .download-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

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