/* ===========================
   TrọApp – Landing Page Styles
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* --- Design Tokens --- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #7c3aed;
  --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --surface: #f8fafc;
  --border: #e2e8f0;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(37,99,235,.12), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 50px rgba(37,99,235,.2), 0 8px 22px rgba(0,0,0,.08);
  --radius: 12px;
  --radius-lg: 20px;
}

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

/* --- LP Buttons --- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
  padding: 14px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  text-decoration: none;
  min-width: 180px;
  justify-content: center;
}
.lp-btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,99,235,.4);
}
.lp-btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(37,99,235,.45); }
.lp-btn-secondary {
  background: #fff;
  color: #0f172a;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.lp-btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lp-btn-icon { font-size: 1.2rem; }
.lp-btn span { display: flex; flex-direction: column; text-align: left; }
.lp-btn small { font-size: .6875rem; font-weight: 400; opacity: .75; line-height: 1; margin-bottom: 1px; }

/* ===== HERO ===== */
.lp-hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, #0c1445 0%, #1a237e 40%, #1565c0 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}
.lp-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(99,179,237,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(167,139,250,.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Scroll-down button */
.lp-scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
  z-index: 10;
}
.lp-scroll-down:hover { color: rgba(255,255,255,.95); }
.lp-scroll-label { line-height: 1; }
.lp-scroll-arrow {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
  transition: border-color .2s, background .2s;
  animation: scrollBounce 2s ease-in-out infinite;
}
.lp-scroll-down:hover .lp-scroll-arrow {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.12);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}
.lp-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  color: #bfdbfe;
  font-size: .8125rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.15);
  margin-bottom: 22px;
}
.lp-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}
.lp-hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.lp-hero-desc strong { color: #fff; }
.lp-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.lp-trust { font-size: .875rem; color: rgba(255,255,255,.5); }

.lp-app-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lp-app-badges a {
  display: inline-block;
  line-height: 0;
  transition: transform .18s ease;
}
.lp-app-badges a:hover { transform: translateY(-2px) scale(1.03); }
.lp-app-badges img {
  width: 200px;
  height: auto;
  display: block;
}
.lp-app-badges-hero { margin-bottom: 24px; }

/* Phone showcase */
.lp-hero-visual { display: flex; justify-content: center; align-items: flex-end; }
.lp-phone-showcase {
  position: relative;
  width: 320px;
  height: 450px;
}
.lp-phone-main {
  position: absolute;
  right: 0; bottom: 0;
  width: 220px;
  aspect-ratio: 9/18;
  object-fit: cover;
  border-radius: 24px;
  border: 3px solid rgba(255,255,255,.2);
  box-shadow: 0 30px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08);
  z-index: 2;
  transition: transform .3s ease;
}
.lp-phone-side {
  position: absolute;
  left: 0; bottom: 40px;
  width: 190px;
  aspect-ratio: 9/18;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  z-index: 1;
  transform: rotate(-6deg);
  filter: brightness(.85);
  transition: transform .3s ease;
}
.lp-phone-showcase:hover .lp-phone-main { transform: translateY(-10px); }
.lp-phone-showcase:hover .lp-phone-side { transform: rotate(-8deg) translateX(-4px); }

/* ===== SECTION base ===== */
.lp-section { padding: 90px 0; }
.lp-section-tag {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lp-section-title { font-size: clamp(1.75rem, 3.5vw, 2.375rem); font-weight: 800; color: #0f172a; letter-spacing: -.3px; margin-bottom: 14px; }
.lp-section-header { text-align: center; margin-bottom: 56px; }

/* ===== SOCIAL PROOF ===== */
.lp-proof { background: var(--surface); }
.lp-proof-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.lp-proof-item { text-align: center; }
.lp-proof-num { font-size: 2.5rem; font-weight: 900; color: #0f172a; line-height: 1; }
.lp-proof-num span { color: var(--primary); }
.lp-proof-label { font-size: .875rem; color: var(--text-muted); margin-top: 6px; }
.lp-proof-divider { width: 1px; height: 56px; background: var(--border); flex-shrink: 0; }
.lp-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.lp-testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.lp-testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.lp-testimonial-card p { font-size: .9375rem; color: #374151; line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.lp-testimonial-author { display: flex; align-items: center; gap: 12px; }
.lp-author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: .9375rem;
  flex-shrink: 0;
}
.lp-testimonial-author strong { font-size: .9375rem; color: #0f172a; display: block; }
.lp-testimonial-author span { font-size: .8125rem; color: var(--text-muted); }

/* ===== DEMO ===== */
.lp-demo { background: linear-gradient(160deg, #f0f7ff 0%, #faf5ff 100%); }
.lp-section-desc { font-size: 1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* Slider */
.lp-slider-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto 48px;
}
.lp-slider-track {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-slide {
  position: absolute;
  transition: all .52s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer;
  user-select: none;
}
.lp-slide img {
  width: 100%;
  aspect-ratio: 9/18;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,.9);
  display: block;
}
.lp-slide.slide-active { width: 280px; z-index: 3; transform: translateX(0) scale(1); opacity: 1; }
.lp-slide.slide-prev  { width: 210px; z-index: 2; transform: translateX(-310px); opacity: .55; filter: brightness(.72) blur(1px); }
.lp-slide.slide-next  { width: 210px; z-index: 2; transform: translateX(310px);  opacity: .55; filter: brightness(.72) blur(1px); }
.lp-slide.slide-prev:hover, .lp-slide.slide-next:hover { opacity: .8; filter: brightness(.88) blur(0px); }
.lp-slide.slide-hidden { width: 140px; z-index: 1; transform: translateX(0); opacity: 0; pointer-events: none; }

.lp-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid var(--border);
  color: #0f172a;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: all .2s ease;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  padding: 0;
}
.lp-slider-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-50%) scale(1.08); }
.lp-slider-prev { left: 8px; }
.lp-slider-next { right: 8px; }

.lp-slide-caption {
  text-align: center;
  font-size: .9375rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 18px;
  min-height: 1.5em;
  transition: opacity .3s;
}
.lp-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.lp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  padding: 0;
}
.lp-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

.lp-demo-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.lp-demo-list li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; color: #374151; }
.lp-demo-list-grid {
  max-width: 640px;
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 56px;
}
.lp-check {
  width: 24px; height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  font-weight: 700;
}

/* ===== COMPARISON SECTION ===== */
.lp-comparison { background: #fff; }
.lp-comparison-wrapper {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.lp-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 600px;
}
.lp-comparison-table th, 
.lp-comparison-table td {
  padding: 18px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: .9375rem;
}
.lp-comparison-table th {
  background: var(--surface);
  font-weight: 800;
  color: #0f172a;
}
.lp-comparison-table th:first-child,
.lp-comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #0f172a;
  background: var(--surface);
  width: 25%;
}
.lp-comparison-table tbody td:first-child {
  font-weight: 700;
  color: #0b1f5b;
  background: linear-gradient(90deg, #e8f0ff 0%, #f5f9ff 100%);
  border-left: 4px solid var(--primary);
}
.lp-comparison-table tbody tr:hover td:first-child {
  background: linear-gradient(90deg, #dbeafe 0%, #eef5ff 100%);
}
.lp-comparison-table td { color: var(--text-muted); }
.lp-comparison-table .highlight {
  background: rgba(37,99,235,0.04);
  color: var(--primary);
  font-weight: 600;
  position: relative;
}
.lp-comparison-table th.highlight {
  background: var(--primary);
  color: #fff;
}

.lp-comparison-cta {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.lp-comparison-cta p {
  font-size: 1.125rem;
  color: #374151;
}

/* ===== FEATURES GRID ===== */
.lp-features { background: #fff; }
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-feature {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.lp-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: #fff; }
.lp-feature-icon { font-size: 2rem; margin-bottom: 16px; }
.lp-feature h3 { font-size: .9375rem; font-weight: 700; margin-bottom: 8px; color: #0f172a; }
.lp-feature p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== FINAL CTA ===== */
.lp-cta-final { background: var(--surface); }
.lp-cta-final-card {
  background: var(--gradient);
  border-radius: 28px;
  padding: 80px 48px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(37,99,235,.3);
  position: relative;
  overflow: hidden;
}
.lp-cta-final-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 350px; height: 350px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  pointer-events: none;
}
.lp-cta-emoji { font-size: 3rem; margin-bottom: 16px; }
.lp-cta-final-card h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 12px; }
.lp-cta-final-card p { font-size: 1.0625rem; opacity: .85; margin-bottom: 40px; }
.lp-app-badges-final {
  justify-content: center;
  margin-top: 6px;
}

/* ===== FOOTER ENHANCED ===== */
.lp-footer {
  background: #080e1e;
  padding: 64px 0 0;
  border-top: 3px solid transparent;
  background-image: linear-gradient(#080e1e, #080e1e), var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.lp-footer-brand .lp-logo {
  font-size: 1.25rem;
  margin-bottom: 16px;
  display: inline-flex;
}
.lp-footer-tagline {
  font-size: .875rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}
.lp-footer-social { display: flex; gap: 10px; }
.lp-social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  transition: all .2s;
  border: 1px solid rgba(255,255,255,.1);
}
.lp-social-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.lp-footer-col h4 {
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.lp-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.lp-footer-col ul li { font-size: .875rem; color: #94a3b8; line-height: 1.5; }
.lp-footer-col ul li a { color: #94a3b8; transition: color .15s; }
.lp-footer-col ul li a:hover { color: #fff; }
.lp-footer-apps { margin-top: 24px; }
.lp-footer-apps p { font-size: .8125rem; color: #64748b; margin-bottom: 10px; }
.lp-footer-app-btns { display: flex; flex-direction: column; gap: 8px; }
.lp-footer-app-btn {
  font-size: .8125rem;
  color: #94a3b8;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-footer-app-btn:hover { border-color: var(--primary); color: #fff; background: rgba(37,99,235,.12); }
.lp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-footer-bottom p { font-size: .8125rem; color: #475569; }
.lp-footer-legal { display: flex; align-items: center; gap: 10px; }
.lp-footer-legal a { font-size: .8125rem; color: #475569; transition: color .15s; }
.lp-footer-legal a:hover { color: #94a3b8; }
.lp-footer-legal span { color: #334155; }
.lp-logo { font-size: 1.125rem; color: #fff; display: flex; align-items: center; gap: 6px; }
.lp-logo strong { color: #fff; }

/* Footer layout for current HTML structure */
.lp-footer-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.lp-footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 60%;
  min-width: 0;
}
.lp-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
}
.lp-footer-main .lp-logo {
  font-size: 1.5rem;
  font-weight: 800;
}
.lp-footer-tagline {
  font-size: 1.03rem;
  color: #c6d3ea;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 8px;
}
.lp-footer-note {
  font-size: .92rem;
  color: #a5b4cf;
  text-align: right;
  max-width: 320px;
}
.lp-footer-mini-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(147,197,253,.5);
  background: rgba(59,130,246,.14);
  color: #dbeafe;
  font-size: .86rem;
  font-weight: 700;
  transition: all .2s ease;
}
.lp-footer-mini-btn:hover {
  background: rgba(59,130,246,.25);
  border-color: #bfdbfe;
  color: #fff;
}
.lp-footer-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.lp-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s ease;
  text-decoration: none;
}
.lp-contact-email {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.lp-contact-email:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.lp-contact-zalo {
  background: #0068FF;
  color: #fff;
  border: 1px solid #0068FF;
}
.lp-contact-zalo:hover {
  background: #0056d6;
  border-color: #0056d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.35);
}
.lp-footer-bottom {
  padding: 20px 0 26px;
  align-items: flex-start;
  gap: 6px;
}
.lp-footer-bottom p {
  margin: 0;
  font-size: .98rem;
  color: #cbd5e1;
}
.lp-footer-sub {
  font-size: .95rem;
  color: #93a7c7;
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.delay-1 { transition-delay: .1s; }
.fade-in.delay-2 { transition-delay: .2s; }
.fade-in.delay-3 { transition-delay: .3s; }
.fade-in.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .lp-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lp-hero-desc { margin: 0 auto 36px; }
  .lp-cta-group { justify-content: center; }
  .lp-app-badges { justify-content: center; }
  .lp-hero-visual { justify-content: center; margin-top: 40px; }
  .lp-testimonials { grid-template-columns: 1fr 1fr; }
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-footer-brand { grid-column: 1 / -1; }
  .lp-footer-main { flex-direction: column; align-items: center; text-align: center; }
  .lp-footer-left { align-items: center; }
  .lp-logo { justify-content: center; }
  .lp-footer-contact-actions { justify-content: center; }
  .lp-footer-right { align-items: center; justify-content: center; text-align: center; }
  .lp-footer-note { text-align: center; }
}
@media (max-width: 640px) {
  .lp-hero { min-height: auto; padding: 100px 0 60px; }
  .lp-scroll-down { display: none; }
  .lp-phone-showcase { width: 260px; height: 360px; }
  .lp-phone-main { width: 180px; }
  .lp-phone-side { width: 155px; }
  .lp-proof-numbers { gap: 28px; }
  .lp-proof-divider { display: none; }
  .lp-testimonials { grid-template-columns: 1fr; }
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-cta-final-card { padding: 50px 24px; }
  .lp-cta-group { flex-direction: column; align-items: center; }
  .lp-app-badges img { width: 180px; }
  .lp-slide.slide-prev, .lp-slide.slide-next { display: none; }
  .lp-slider-track { height: 460px; }
  .lp-slider-prev { left: 4px; }
  .lp-slider-next { right: 4px; }
  .lp-demo-list-grid { grid-template-columns: 1fr; gap: 12px; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lp-footer-brand { grid-column: 1 / -1; }
  .lp-footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .lp-footer-legal {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .lp-footer-legal p {
    width: 100%;
    text-align: center;
  }
  .lp-logo { flex-direction: column; justify-content: center; gap: 8px; }
  .lp-btn { min-width: 160px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .lp-section { padding: 72px 0; }
  .lp-hero { padding: 84px 0 52px; }
  .lp-hero-title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .lp-phone-showcase {
    width: min(100%, 280px);
    height: 320px;
  }
  .lp-phone-main {
    width: min(68%, 180px);
    right: 8px;
  }
  .lp-phone-side {
    width: min(58%, 150px);
    left: 0;
    bottom: 28px;
  }

  .lp-slider-track { height: 480px; }
  .lp-slide.slide-active { width: 240px; }
  .lp-slide.slide-prev, .lp-slide.slide-next { display: none; }
  .lp-demo-list-grid { grid-template-columns: 1fr; gap: 10px; max-width: 320px; }
  .lp-app-badges img { width: 165px; }

  .lp-comparison-wrapper {
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .lp-comparison-table {
    min-width: 0;
    display: block;
    background: transparent;
  }
  .lp-comparison-table thead {
    display: none;
  }
  .lp-comparison-table tbody {
    display: grid;
    gap: 14px;
  }
  .lp-comparison-table tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
  }
  .lp-comparison-table td {
    display: grid;
    grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
    text-align: left;
    font-size: .875rem;
  }
  .lp-comparison-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #0f172a;
  }
  .lp-comparison-table td:first-child {
    width: auto;
    background: var(--surface);
  }
  .lp-comparison-table td.highlight {
    background: rgba(37,99,235,0.06);
  }
  .lp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lp-footer-brand { grid-column: auto; }
}
