:root {
  --bg: #F6F8F4;
  --bg-surface: #E8EFE5;
  --bg-surface-alt: #dde6d8;
  --ink: #1B2A1E;
  --ink-muted: #5D7060;
  --accent: #E53935;
  --accent-soft: #FFCDD2;
  --line: rgba(27, 42, 30, 0.1);
  --font-display: 'Outfit', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Outfit', sans-serif;
  --radius: 24px;
  --radius-sm: 16px;
  --section-pad: clamp(80px, 10vw, 140px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

.accent { color: var(--accent); }
a { color: inherit; text-decoration: none; }

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.875rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: #c62828; border-color: #c62828; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(229, 57, 53, 0.25); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn--lg { padding: 1.125rem 2.5rem; font-size: 1.1rem; }

/* ═══════════════ PILL NAV ═══════════════ */
.pill-nav {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(246, 248, 244, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(27, 42, 30, 0.08);
  border-radius: 100px;
  padding: 8px 12px;
  display: flex;
  gap: 4px;
  align-items: center;
  box-shadow: 0 4px 30px rgba(27, 42, 30, 0.08);
}
.pill-link {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.3s;
  color: var(--ink-muted);
}
.pill-link:hover, .pill-link.active { color: var(--ink); background: var(--bg-surface); }
.pill-cta { background: var(--accent); color: #fff !important; font-weight: 600; margin-left: 4px; }
.pill-cta:hover { background: #c62828 !important; color: #fff !important; }
@media (max-width: 640px) {
  .pill-link { padding: 6px 10px; font-size: 0.75rem; }
  .pill-cta { padding: 6px 14px; }
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: var(--section-pad) clamp(20px, 5vw, 60px);
  gap: 3rem;
  position: relative;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; gap: 2rem; }
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.hero__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: block;
}
.hero__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: 100px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__stats { display: flex; gap: 2.5rem; }
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat__label { font-size: 0.75rem; color: var(--ink-muted); margin-top: 4px; }

/* Hero phone with real screenshot */
.hero__right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__phone {
  width: 280px;
  height: 560px;
  background: var(--ink);
  border-radius: 44px;
  box-shadow: 0 20px 60px rgba(27, 42, 30, 0.2), 0 0 0 2px rgba(27, 42, 30, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 2;
  padding: 12px;
}
.hero__phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  display: block;
}

/* Floating cards */
.hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(27, 42, 30, 0.1);
  z-index: 3;
  white-space: nowrap;
}
.float-card--import { top: 20%; left: -20px; color: var(--accent); }
.float-card--import svg { color: var(--accent); }
.float-card--ai { bottom: 25%; right: -10px; }
.float-card--ai svg { color: var(--accent); }
@media (max-width: 900px) {
  .hero__float-card { display: none; }
  .hero__phone { width: 240px; height: 480px; }
}

/* ═══════════════ SHOWCASE — Phone Gallery ═══════════════ */
.showcase {
  padding: var(--section-pad) 0;
}
.showcase__header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 clamp(20px, 5vw, 60px);
  text-align: center;
}
.showcase__eyebrow {
  display: block;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.showcase__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.showcase__track-wrapper { position: relative; }
.showcase__track {
  display: flex;
  justify-content: center;
  gap: 28px;
  overflow-x: auto;
  padding: 2rem clamp(20px, 5vw, 60px) 2rem;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.showcase__track::-webkit-scrollbar { display: none; }

.showcase__item {
  flex: 0 0 240px;
  scroll-snap-align: center;
  text-align: center;
}
.showcase__phone-frame {
  width: 240px;
  height: 480px;
  background: var(--ink);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 12px 40px rgba(27, 42, 30, 0.15);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.4s;
}
.showcase__phone-frame:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(27, 42, 30, 0.25);
}
.showcase__phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}
.showcase__label {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.showcase__progress {
  max-width: 1200px;
  margin: 0 auto;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.showcase__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s ease-out;
}

/* ═══════════════ FEATURES ═══════════════ */
.features { padding: var(--section-pad) 0; }
.features__header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 clamp(20px, 5vw, 60px);
}
.features__eyebrow {
  display: block;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.features__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.features__scroll-wrapper { position: relative; }
.features__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 1rem clamp(20px, 5vw, 60px) 2rem;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.features__track::-webkit-scrollbar { display: none; }

.feature-card {
  flex: 0 0 280px;
  min-height: 340px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.3s;
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--accent); }
.feature-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(229, 57, 53, 0.12);
  line-height: 1;
  margin-bottom: auto;
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(229, 57, 53, 0.1);
  color: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.feature-card p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.7; }
.features__progress {
  max-width: 1200px;
  margin: 0 auto;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.features__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s ease-out;
}

/* ═══════════════ HOW IT WORKS ═══════════════ */
.how {
  padding: var(--section-pad) clamp(20px, 5vw, 60px);
  position: relative;
}
.how__header {
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.how__eyebrow {
  display: block;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.how__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.how__timeline {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding-left: 60px;
}
.how__line {
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.how__step {
  position: relative;
  padding-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .how__step { grid-template-columns: 1fr auto; }
}
.how__step:last-child { padding-bottom: 0; }
.how__dot {
  position: absolute;
  left: -60px;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  z-index: 1;
}
.how__content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-top: 10px;
}
.how__content p {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.how__demo {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how__demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  border: 1px solid var(--line);
}
.how__demo-arrow { display: flex; justify-content: center; }
.how__demo-result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}
.how__demo-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.how__demo-list {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how__list-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.85rem;
}
.how__list-cat {
  font-weight: 700;
  color: var(--accent);
  min-width: 40px;
  flex-shrink: 0;
}

/* How step screenshot */
.how__screenshot {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
}
.how__phone-frame {
  width: 180px;
  height: 360px;
  background: var(--ink);
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 8px 30px rgba(27, 42, 30, 0.12);
  overflow: hidden;
}
.how__phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}
@media (max-width: 767px) {
  .how__screenshot { order: -1; }
  .how__phone-frame { width: 160px; height: 320px; }
}

/* ═══════════════ VOICES ═══════════════ */
.voices { padding: var(--section-pad) clamp(20px, 5vw, 60px); }
.voices__header { text-align: center; margin-bottom: 3rem; }
.voices__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}
.voices__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.voice-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.3s;
}
.voice-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.voice-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.voice-card__author { display: flex; align-items: center; gap: 0.75rem; }
.voice-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.voice-card__name { font-weight: 600; font-size: 0.9rem; }
.voice-card__role { font-size: 0.75rem; color: var(--ink-muted); }

/* ═══════════════ CTA ═══════════════ */
.cta {
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 60px);
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -8vw;
}
.cta__glow {
  position: absolute;
  top: 50%;
  left: 20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.cta__headline span { display: block; }
.cta__subtext {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.cta__note { font-size: 0.8rem; color: var(--ink-muted); opacity: 0.6; }

/* ═══════════════ CONTACT ═══════════════ */
.contact {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
  text-align: center;
}
.contact__inner {
  max-width: 600px;
  margin: 0 auto;
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.contact__text {
  color: var(--ink-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}
.contact__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.contact__qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 0 auto 16px;
  width: 100%;
  max-width: 680px;
}
.contact__qr-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}
.contact__qr-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact__qr-card img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.contact__qr-card p {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
}
.contact__more {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.9rem;
}
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.contact__email:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 57, 53, 0.12);
}
.contact__email svg { color: var(--accent); flex-shrink: 0; }
.contact__email--main { margin-top: 8px; }

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  padding: 3rem clamp(20px, 5vw, 60px);
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer__icon { width: 40px; height: 40px; border-radius: 10px; display: block; margin-bottom: 4px; }
.footer__logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; }
.footer__tagline { font-size: 0.8rem; color: var(--ink-muted); }
.footer__links { display: flex; gap: 2rem; }
.footer__links a { font-size: 0.85rem; color: var(--ink-muted); transition: color 0.3s; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { font-size: 0.75rem; color: var(--ink-muted); opacity: 0.5; }

/* ═══════════════ CJK LINE-WRAP FIX ═══════════════ */
.line-wrap { overflow: hidden; padding-top: 0.15em; margin-top: -0.15em; }
.line-inner { display: block; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 640px) {
  .hero__stats { gap: 1.5rem; }
  .how__timeline { padding-left: 50px; }
  .how__dot { left: -50px; width: 40px; height: 40px; font-size: 0.9rem; }
  .how__line { left: 19px; }
  .showcase__item { flex: 0 0 200px; }
  .showcase__phone-frame { width: 200px; height: 400px; }
}
