/* landing.css — ReplyNow Landing Page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Khóa dark mode — không bị ảnh hưởng bởi chế độ sáng/tối của trình duyệt */
:root { color-scheme: dark only; }

:root {
  --accent: #f5c542;
  --accent2: #ffd35a;
  --bg: #080810;
  --bg2: #0f0f1a;
  --bg3: #14141f;
  --card: rgba(20,20,32,.9);
  --border: rgba(245,197,66,.15);
  --text: #f0ead6;
  --text2: #a09070;
  --text3: #6b6040;
  --green: #3ecf8e;
  --red: #ef4444;
  --font: 'Be Vietnam Pro', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1100px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; overflow-x: hidden; }

/* ── CONTAINERS ───────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── ANIMATIONS ───────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:none; } }
@keyframes glow     { 0%,100%{opacity:.4;transform:scale(1);} 50%{opacity:.7;transform:scale(1.05);} }
@keyframes float    { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
@keyframes pulse    { 0%,100%{box-shadow:0 0 0 0 rgba(245,197,66,.4);} 70%{box-shadow:0 0 0 10px rgba(245,197,66,0);} }

/* Animate nhẹ khi scroll vào — KHÔNG ẩn nội dung mặc định */
.will-animate { transition: opacity .5s ease, transform .5s ease; }
.will-animate.visible { opacity:1 !important; transform:none !important; }

/* ── NAV ──────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px 0;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(8,8,16,.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(245,197,66,.12);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
}
.nav-logo { font-size: 18px; font-weight: 800; color: var(--accent); flex: 1; }
.nav-logo span { color: var(--text); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--text2); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.btn-nav-cta {
  background: var(--accent); color: #111; font-weight: 700; font-size: 13px;
  padding: 8px 18px; border-radius: 8px; text-decoration: none;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }
@media(max-width:600px){ .nav-links{display:none;} }

/* ── BUTTONS ──────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), #e6a800);
  color: #0a0a10; font-weight: 800; font-size: 15px;
  padding: 14px 28px; border-radius: 12px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  animation: pulse 2.5s infinite;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(245,197,66,.4); animation: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text2); font-weight: 600; font-size: 14px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  text-decoration: none; transition: all .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.07); color: var(--text); }

/* ── SECTION COMMON ───────────── */
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--accent); text-transform: uppercase;
  background: rgba(245,197,66,.1); border: 1px solid rgba(245,197,66,.25);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 16px;
}
.section-title { font-size: clamp(24px,4vw,38px); font-weight: 800; margin-bottom: 48px; line-height: 1.25; }

/* ── HERO ─────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 0 60px; position: relative; overflow: hidden;
  opacity: 1 !important; transform: none !important;
}
.hero-bg-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,66,.08) 0%, transparent 70%);
  animation: glow 6s ease-in-out infinite;
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media(max-width:800px){ .hero-inner{ grid-template-columns:1fr; } .hero-visual{ order:-1; } }

.hero-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--green); background: rgba(62,207,142,.1); border: 1px solid rgba(62,207,142,.3);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px,4.5vw,52px); font-weight: 900; line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 16px; color: var(--text2); margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-hero { font-size: 16px; padding: 16px 32px; }
.hero-proof { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-proof span { font-size: 12px; color: var(--text3); }

/* ── MOCKUP ───────────────────── */
.hero-visual { display:flex; justify-content:center; animation: float 4s ease-in-out infinite; }
.mockup-frame {
  width: 100%; max-width: 360px;
  background: #12121e; border: 1px solid rgba(245,197,66,.2);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05);
}
.mockup-bar {
  background: #1a1a28; padding: 10px 14px; display: flex; gap: 6px; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mockup-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.mockup-screen { padding: 16px; }
.mockup-app-header {
  font-size: 13px; font-weight: 800; color: var(--accent);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.mock-badge {
  background: rgba(245,197,66,.2); color: var(--accent);
  font-size: 9px; padding: 2px 6px; border-radius: 4px; border: 1px solid rgba(245,197,66,.3);
}
.mockup-reply-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.mock-reply {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: 8px 10px; font-size: 11px; color: var(--text2);
}
.mock-reply.active { background: rgba(245,197,66,.08); border-color: rgba(245,197,66,.25); color: var(--text); }
.mock-num {
  background: rgba(245,197,66,.15); color: var(--accent);
  border-radius: 4px; padding: 1px 6px; font-weight: 700; font-size: 10px; flex-shrink: 0;
}
.mockup-quickmode {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.mock-qm-badge {
  font-size: 10px; font-weight: 700; color: var(--accent);
  background: rgba(245,197,66,.12); border: 1px solid rgba(245,197,66,.3);
  padding: 3px 8px; border-radius: 6px;
}
.mock-paste-badge {
  font-size: 10px; font-weight: 700; color: var(--green);
  background: rgba(62,207,142,.1); border: 1px solid rgba(62,207,142,.3);
  padding: 3px 8px; border-radius: 6px;
}

/* ── PAIN ─────────────────────── */
.pain { padding: 80px 0; background: var(--bg2); }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; }
.pain-card {
  background: var(--card); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 28px; transition: transform .2s, border-color .2s;
}
.pain-card:hover { transform: translateY(-4px); border-color: rgba(239,68,68,.3); }
.pain-icon { font-size: 36px; margin-bottom: 14px; }
.pain-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pain-card p { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ── TRUST STRIP ─────────────────────────────────────── */
.trust-strip { padding: 28px 0; border-top: 1px solid rgba(245,197,66,.1); border-bottom: 1px solid rgba(245,197,66,.1); background: rgba(245,197,66,.03); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 12px; transition: background .2s; }
.trust-item:hover { background: rgba(245,197,66,.05); }
.trust-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.trust-item b { display: block; font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.trust-item p { font-size: 12px; color: var(--text2); line-height: 1.5; margin: 0; }
@media(max-width:700px) { .trust-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ── FEATURES (new) ─────────────────────────────────────── */
.features { padding: 80px 0; }

/* Hero Feature Row */
.feat-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  margin-bottom: 80px; background: rgba(245,197,66,.03);
  border: 1px solid rgba(245,197,66,.1); border-radius: 24px; padding: 40px;
}
.feat-hero-reverse { direction: rtl; }
.feat-hero-reverse > * { direction: ltr; }
@media(max-width:750px){ .feat-hero,.feat-hero-reverse { grid-template-columns:1fr; direction:ltr; padding:24px; } }

.feat-hero-demo-inner {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.fh-label { font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; }
.fh-label-bad  { color: #ef4444 !important; background: rgba(239,68,68,.08); border-radius:5px; padding:4px 8px; border:1px solid rgba(239,68,68,.2); }
.fh-label-good { color: #3ecf8e !important; background: rgba(62,207,142,.08); border-radius:5px; padding:4px 8px; border:1px solid rgba(62,207,142,.25); }

.fh-slow, .fh-fast { display: flex; flex-direction: column; gap: 6px; }
.fh-type, .fh-copy, .fh-paste {
  font-size: 12px; color: var(--text2);
  background: rgba(255,255,255,.04); border-radius: 6px; padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.06);
}
.fh-time { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 6px; text-align: right; }
.fh-time.bad { color: var(--red); background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2); }
.fh-time.good { color: var(--green); background: rgba(62,207,142,.1); border: 1px solid rgba(62,207,142,.25); }
.fh-divider {
  text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .15em;
  color: var(--accent); background: rgba(245,197,66,.1); border-radius: 6px; padding: 5px;
}
.fh-key {
  font-size: 12px; color: var(--text2);
  background: rgba(255,255,255,.04); border-radius: 6px; padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.06);
}
.fh-key.highlight {
  color: var(--accent); background: rgba(245,197,66,.1);
  border-color: rgba(245,197,66,.3); font-weight: 700;
}
.feat-hero-text h3 { font-size: 26px; font-weight: 800; margin: 10px 0 12px; line-height: 1.25; }
.feat-hero-text p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.feat-hero-stats { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.fh-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fh-stat b { font-size: 24px; font-weight: 900; color: var(--accent); }
.fh-stat span { font-size: 11px; color: var(--text3); }

/* Variant Demo */
.variant-demo { gap: 14px; }
.variant-list { display: flex; flex-direction: column; gap: 6px; }
.variant-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 11px; color: var(--text2);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: 8px 10px; opacity: .5;
}
.variant-item.active-variant {
  opacity: 1; background: rgba(245,197,66,.08);
  border-color: rgba(245,197,66,.3); color: var(--text);
}
.variant-item.dim { opacity: .3; }
.v-num {
  font-size: 10px; font-weight: 700; color: var(--text3);
  background: rgba(255,255,255,.07); border-radius: 4px;
  padding: 1px 5px; flex-shrink: 0; margin-top: 1px;
}
.v-num.active { color: var(--accent); background: rgba(245,197,66,.15); }
.variant-badge {
  font-size: 11px; font-weight: 700; color: var(--green);
  background: rgba(62,207,142,.1); border: 1px solid rgba(62,207,142,.25);
  border-radius: 8px; padding: 7px 12px; text-align: center;
}

/* Feature Grid */
.feat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 16px; margin-top: 20px;
}
.feat-card {
  background: var(--card); border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 24px;
  transition: transform .2s, border-color .2s;
}
.feat-card:hover { transform: translateY(-4px); border-color: rgba(245,197,66,.25); }
.feat-icon { font-size: 32px; margin-bottom: 12px; }
.feat-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 14px; }
.feat-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.feat-badge.free { color: var(--green); background: rgba(62,207,142,.1); border: 1px solid rgba(62,207,142,.25); }
.feat-badge.pro  { color: var(--accent); background: rgba(245,197,66,.1); border: 1px solid rgba(245,197,66,.25); }

/* ── FEATURES ─────────────────────── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  margin-bottom: 80px;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media(max-width:700px){ .feature-row,.feature-row.reverse{ grid-template-columns:1fr; direction:ltr; } }

.feature-demo-box {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.demo-step {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--text2);
}
.demo-step.active {
  background: rgba(245,197,66,.1); border-color: rgba(245,197,66,.3); color: var(--text);
}
.demo-timer {
  font-size: 11px; color: var(--accent); font-weight: 700;
  text-align: right; letter-spacing: .05em;
}
kbd {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px; padding: 2px 7px; font-size: 11px; font-family: monospace;
}

.feature-tag {
  font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .1em;
  margin-bottom: 10px;
}
.feature-text h3 { font-size: 26px; font-weight: 800; margin-bottom: 14px; line-height: 1.25; }
.feature-text p { font-size: 14px; color: var(--text2); margin-bottom: 20px; line-height: 1.7; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { font-size: 13px; color: var(--text2); }

/* ── PRICING ─────────────────── */
.pricing { padding: 80px 0; background: var(--bg2); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 24px; max-width: 700px; margin: 0 auto;
}
.pricing-card {
  background: var(--card); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 32px; text-align: center; position: relative;
  transition: transform .2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--accent); background: rgba(245,197,66,.06);
  box-shadow: 0 0 0 1px rgba(245,197,66,.3), 0 30px 80px rgba(245,197,66,.1);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #e6a800);
  color: #111; font-size: 11px; font-weight: 800; padding: 4px 16px; border-radius: 20px;
  white-space: nowrap; letter-spacing: .05em;
}
.plan-name { font-size: 14px; font-weight: 700; color: var(--text2); margin-bottom: 12px; }
.plan-price { font-size: 38px; font-weight: 900; color: var(--text); }
.plan-price span { font-size: 16px; font-weight: 400; color: var(--text2); }
.plan-period { font-size: 13px; color: var(--text3); margin-bottom: 24px; }
.plan-features { list-style: none; text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: 13px; color: var(--text2); }
.plan-features li.off { color: var(--text3); }
.btn-plan-free {
  display: block; text-align: center; text-decoration: none;
  border: 1px solid rgba(255,255,255,.15); color: var(--text2);
  padding: 12px; border-radius: 10px; font-weight: 600; font-size: 14px;
  transition: all .2s;
}
.btn-plan-free:hover { background: rgba(255,255,255,.07); color: var(--text); }
.btn-plan-pro {
  display: block; text-align: center; text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #e6a800);
  color: #0a0a10; padding: 14px; border-radius: 10px;
  font-weight: 800; font-size: 15px; transition: all .2s;
}
.btn-plan-pro:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,197,66,.4); }
.pricing-note { text-align: center; color: var(--text3); font-size: 13px; margin-top: 24px; }

/* ── REVIEWS ─────────────────── */
.reviews { padding: 80px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }
.review-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: transform .2s;
}
.review-card:hover { transform: translateY(-4px); }
.review-stars { font-size: 14px; margin-bottom: 10px; }
.review-card p { font-size: 13px; color: var(--text2); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.reviewer { font-size: 12px; color: var(--text3); }
.reviewer b { color: var(--accent); }

/* ── FAQ ─────────────────────── */
.faq { padding: 80px 0; background: var(--bg2); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(245,197,66,.3); }
.faq-q {
  padding: 18px 20px; font-size: 14px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  user-select: none; transition: color .15s;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow { font-size: 10px; color: var(--text3); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  font-size: 13px; color: var(--text2); line-height: 1.7; padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }

/* ── CTA SECTION ─────────────── */
.cta-section {
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(245,197,66,.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-section h2 {
  font-size: clamp(26px,4vw,44px); font-weight: 900; margin-bottom: 14px;
  background: linear-gradient(135deg,#fff,var(--accent));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.cta-section p { font-size: 16px; color: var(--text2); margin-bottom: 32px; }
.btn-cta-big { font-size: 18px; padding: 18px 40px; border-radius: 14px; }
.cta-fine { font-size: 12px; color: var(--text3); margin-top: 14px; }
.cta-contacts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.cta-contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .2s;
}
.zalo-btn { background: rgba(62,207,142,.12); color: var(--green); border: 1px solid rgba(62,207,142,.3); }
.zalo-btn:hover { background: rgba(62,207,142,.22); transform: translateY(-2px); }
.email-btn { background: rgba(255,255,255,.06); color: var(--text2); border: 1px solid rgba(255,255,255,.12); }
.email-btn:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ── FOOTER ──────────────────── */
.footer { padding: 40px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { text-align: center; }
.footer-logo { font-size: 18px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: var(--text3); margin-bottom: 20px; }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { font-size: 13px; color: var(--text3); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.15); }

/* ── RESPONSIVE ──────────────── */
@media(max-width:500px){
  .hero { padding: 80px 0 50px; }
  .hero-btns { flex-direction: column; }
  .btn-hero,.btn-ghost { text-align: center; justify-content: center; }
  .hero-proof { flex-direction: column; gap: 6px; }
  .cta-contacts { flex-direction: column; align-items: center; }
}
