/* ============================================================
   Canyon — marketing site
   Neumorphism-lite: near-white surface, soft dual shadows,
   generous radii, bright orange + WhatsApp green accents.
   Text stays high-contrast (accessibility > style).
   ============================================================ */

:root {
  --bg: #f0f3f8;
  --bg-deep: #e7ebf2;
  --text: #17222e;
  --muted: #57677a;
  --accent: #ff6a3d;
  --accent-deep: #f14e1c;
  --green: #34e065;
  --green-deep: #12c653;
  --blue: #2fb9f5;
  --sh-dark: rgba(163, 177, 198, 0.55);
  --sh-light: rgba(255, 255, 255, 0.95);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

/* ---------- neumorphic primitives ---------- */
.neu {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 9px 9px 20px var(--sh-dark), -9px -9px 20px var(--sh-light);
}
.neu-inset {
  background: var(--bg);
  border-radius: 999px;
  box-shadow: inset 5px 5px 10px var(--sh-dark), inset -5px -5px 10px var(--sh-light);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff7d50, var(--accent-deep));
  box-shadow: 0 10px 24px rgba(255, 90, 40, 0.38), -4px -4px 12px var(--sh-light);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 90, 40, 0.45), -4px -4px 12px var(--sh-light); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 5px 12px rgba(255, 90, 40, 0.35); }
.btn-neu {
  color: var(--text);
  background: var(--bg);
  box-shadow: 7px 7px 16px var(--sh-dark), -7px -7px 16px var(--sh-light);
}
.btn-neu:hover { transform: translateY(-2px); }
.btn-neu:active { box-shadow: inset 5px 5px 10px var(--sh-dark), inset -5px -5px 10px var(--sh-light); transform: none; }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-wide { width: 100%; text-align: center; }

/* ---------- nav ---------- */
.nav-wrap {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding: 0 24px;
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(240, 243, 248, 0.92);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { display: flex; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent-deep); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; }

.lang-toggle { display: flex; padding: 4px; }
.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--bg);
  color: var(--accent-deep);
  box-shadow: 4px 4px 8px var(--sh-dark), -4px -4px 8px var(--sh-light);
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 24px;
}
.badge {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 26px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h1 .accent {
  display: block;
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
}
.cta-row { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.trust-line { margin-top: 18px; font-size: 0.9rem; color: var(--muted); font-weight: 600; }

.hero-fact {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 40px;
  padding-bottom: 8px;
  max-width: 620px;
}

/* ---------- phone mockup ---------- */
.phone {
  width: 340px;
  max-width: 100%;
  padding: 14px;
  border-radius: 42px;
  margin: 0 auto;
}
.phone-screen {
  text-align: left;
  background: var(--bg-deep);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 460px;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(163, 177, 198, 0.35);
  position: relative;
  z-index: 2;
}
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.chat-name { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.chat-sub { font-size: 0.78rem; color: var(--muted); }
.chat-body {
  flex: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

/* chat pieces */
.bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.bubble-in {
  background: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  box-shadow: 0 2px 6px rgba(163, 177, 198, 0.3);
}
.bubble-out {
  background: #d9fdd3;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  box-shadow: 0 2px 6px rgba(163, 177, 198, 0.3);
}
.bubble .gloss {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(87, 103, 122, 0.3);
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}
.bubble .ticks { display: block; text-align: right; font-size: 0.7rem; color: #34b7f1; margin-top: 2px; }

.event-card {
  align-self: center;
  background: var(--bg);
  border-radius: 14px;
  padding: 9px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  box-shadow: 4px 4px 10px var(--sh-dark), -4px -4px 10px var(--sh-light);
  text-align: center;
}
.event-card.success { color: var(--green-deep); }
.event-card.demo-hint { margin-top: auto; margin-bottom: auto; max-width: 240px; line-height: 1.5; }

.analysis-card {
  align-self: stretch;
  background: var(--bg);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.82rem;
  box-shadow: 4px 4px 10px var(--sh-dark), -4px -4px 10px var(--sh-light);
}
.analysis-card .a-title { font-weight: 800; font-size: 0.78rem; color: var(--blue); margin-bottom: 6px; }
.analysis-card ul { list-style: none; }
.analysis-card li { padding: 2px 0; color: var(--muted); }
.analysis-card li::before { content: "· "; color: var(--blue); font-weight: 800; }

.draft-card {
  align-self: stretch;
  background: var(--bg);
  border-radius: 16px;
  padding: 13px 14px;
  font-size: 0.86rem;
  box-shadow: 4px 4px 10px var(--sh-dark), -4px -4px 10px var(--sh-light);
  border-left: 3px solid var(--green);
}
.draft-label { font-weight: 800; font-size: 0.76rem; color: var(--green-deep); margin-bottom: 6px; letter-spacing: 0.02em; }
.draft-card p { line-height: 1.45; }
.draft-card .gloss {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(87, 103, 122, 0.3);
  font-size: 0.79rem;
  color: var(--muted);
  font-style: italic;
}
.draft-actions { display: flex; gap: 8px; margin-top: 10px; }
.chip {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg);
  box-shadow: 3px 3px 7px var(--sh-dark), -3px -3px 7px var(--sh-light);
  color: var(--muted);
  transition: all 0.2s;
}
.chip-send { background: linear-gradient(135deg, #43f27d, var(--green-deep)); color: #fff; box-shadow: 0 6px 14px rgba(52, 224, 101, 0.45); }
.chip-send.pressed { transform: scale(0.93); box-shadow: 0 2px 6px rgba(37, 211, 102, 0.4); }

.typing {
  align-self: flex-start;
  background: #fff;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  padding: 12px 16px;
  display: flex;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(163, 177, 198, 0.3);
}
.typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #9aa8b8;
  animation: blink 1.2s infinite both;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

.msg-enter { animation: msgIn 0.35s ease both; }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* ---------- sections ---------- */
.section { padding: 72px 24px; }
.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  letter-spacing: -0.025em;
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 14px auto 0;
  max-width: 40em;
  font-size: 1.08rem;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 46px;
}
.step { padding: 30px 26px; }
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent-deep);
  box-shadow: inset 4px 4px 8px var(--sh-dark), inset -4px -4px 8px var(--sh-light);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 46px;
}
.bento-card { padding: 28px 26px; transition: transform 0.2s ease; }
.bento-card:hover { transform: translateY(-4px); }
.bento-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  box-shadow: inset 4px 4px 8px var(--sh-dark), inset -4px -4px 8px var(--sh-light);
}
.icon-green, .icon-blue, .icon-orange { background: transparent; }
.bento-card h3 { font-size: 1.1rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.bento-card p { color: var(--muted); font-size: 0.95rem; }

/* band */
.band {
  margin: 40px 24px;
}
.band-inner {
  background: linear-gradient(135deg, #ff7d50, var(--accent-deep));
  border-radius: 32px;
  color: #fff;
  text-align: center;
  padding: 64px 40px;
  box-shadow: 0 20px 44px rgba(255, 90, 40, 0.35);
}
.band-inner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 24em;
  margin: 0 auto;
}
.band-inner p { margin-top: 14px; opacity: 0.9; font-size: 1.05rem; }

/* demo */
.demo-wrap { margin-top: 42px; display: flex; flex-direction: column; align-items: center; }
.demo-tabs { display: flex; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; justify-content: center; }
.demo-tab {
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.demo-tab.active {
  color: var(--accent-deep);
  box-shadow: inset 5px 5px 10px var(--sh-dark), inset -5px -5px 10px var(--sh-light);
}
.phone-demo { width: 380px; }
.phone-demo .phone-screen { min-height: 560px; max-height: 620px; }
.demo-controls {
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  box-shadow: 0 -2px 8px rgba(163, 177, 198, 0.25);
  position: relative;
  z-index: 2;
}
.btn-play { flex: 1; max-width: 280px; padding: 13px 18px; font-size: 0.95rem; }
.voice-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
}
.voice-btn[aria-pressed="false"] { opacity: 0.45; box-shadow: inset 4px 4px 8px var(--sh-dark), inset -4px -4px 8px var(--sh-light); }

/* compare table */
.compare { margin-top: 44px; padding: 12px 20px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 14px; text-align: center; font-size: 0.97rem; }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 600; max-width: 300px; }
.compare thead th { font-size: 1.02rem; font-weight: 800; border-bottom: 2px solid rgba(163, 177, 198, 0.35); }
.compare tbody tr + tr td { border-top: 1px solid rgba(163, 177, 198, 0.25); }
.col-canyon { color: var(--green-deep); font-weight: 800; }
.compare thead .col-canyon { color: var(--accent-deep); }
.compare .no { color: #b0475a; font-weight: 700; }

/* pricing */
.price-card {
  max-width: 480px;
  margin: 44px auto 0;
  padding: 44px 40px;
  text-align: center;
}
.price-main { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.price-num {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-per { font-size: 1.3rem; color: var(--muted); font-weight: 700; }
.price-plus { color: var(--muted); font-weight: 600; margin-top: 4px; }
.price-list { list-style: none; margin: 28px 0; text-align: left; }
.price-list li { padding: 9px 0 9px 34px; position: relative; font-weight: 600; }
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(47, 185, 245, 0.12);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.price-note { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }

/* final cta */
.final-cta { text-align: center; padding-bottom: 100px; }
.final-cta h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 22em;
  margin: 0 auto;
}
.final-cta p { color: var(--muted); font-size: 1.12rem; margin: 18px 0 30px; }

/* footer */
.footer { background: var(--bg-deep); padding: 48px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; justify-content: space-between; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; max-width: 26em; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.footer-links a:hover { color: var(--accent-deep); }
.footer-legal { width: 100%; color: var(--muted); font-size: 0.84rem; opacity: 0.8; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .steps, .bento { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav { gap: 12px; }
}
@media (max-width: 560px) {
  .nav .btn { display: none; }
  .section { padding: 56px 20px; }
  .phone-demo { width: 100%; }
  .band { margin: 24px 16px; }
  .band-inner { padding: 48px 24px; }
  .price-card { padding: 36px 24px; }
}
