/* ==========================================================================
   Sổ Giặt Là — Landing Page
   Brand: #00ab55 (green) + white
   ========================================================================== */

:root {
  --brand: #00ab55;
  --brand-dark: #008f47;
  --brand-light: #06d973;
  --brand-50: #e6f7ee;
  --brand-100: #c2eed7;
  --brand-soft: #f0fbf6;

  --ink: #0e1f17;
  --ink-2: #2a3e34;
  --muted: #5a6a62;
  --muted-2: #8a9690;
  --line: #e6ecea;
  --bg: #ffffff;
  --bg-soft: #f6faf8;
  --bg-dark: #0d1f17;

  --shadow-sm: 0 2px 8px rgba(0, 60, 30, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 80, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 80, 40, 0.12);
  --shadow-xl: 0 40px 80px rgba(0, 80, 40, 0.16);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.2; color: var(--ink); letter-spacing: -0.02em; }
p { margin: 0; }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; }
.section { padding: 96px 0; position: relative; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-icon { width: 18px; height: 18px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 171, 85, 0.3);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 171, 85, 0.4); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: var(--brand);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15); color: var(--brand-dark); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.25); color: #fff; transform: translateY(-2px); }

.btn-text {
  background: transparent;
  color: var(--ink-2);
  border-color: transparent;
  padding: 9px 14px;
}
.btn-text:hover { color: var(--brand); background: var(--brand-soft); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo img { width: 40px; height: 40px; }
.logo:hover { color: var(--brand); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink-2);
  font-size: 15px;
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: var(--brand-soft); color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #fcfffd 0%, var(--bg-soft) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.blob-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(0, 171, 85, 0.4), transparent 70%);
}
.blob-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(6, 217, 115, 0.25), transparent 70%);
}
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 171, 85, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 171, 85, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 171, 85, 0.15);
}
.badge-icon { width: 14px; height: 14px; color: var(--brand); }

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points svg { width: 16px; height: 16px; color: var(--brand); }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 600px;
}
.phone {
  position: absolute;
  width: 280px;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 8px #1a1a1a, 0 0 0 10px #2a2a2a;
  background: #1a1a1a;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}
.phone-back {
  top: 20px;
  right: 20px;
  transform: rotate(6deg);
  z-index: 1;
  opacity: 0.95;
}
.phone-front {
  top: 60px;
  left: 20px;
  transform: rotate(-4deg);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-12px); }
}

.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.float-card strong { display: block; font-size: 16px; color: var(--ink); }
.float-card span { color: var(--muted); font-size: 12px; }
.float-card-1 {
  top: 40px;
  left: -20px;
  animation: float-up 5s ease-in-out infinite;
}
.float-card-2 {
  bottom: 80px;
  right: -10px;
  animation: float-up 5s ease-in-out infinite 2s;
}
@keyframes float-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-icon svg { width: 22px; height: 22px; }

/* Trust strip */
.trust {
  background: var(--bg-soft);
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.trust-item span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* Section head */
.section-head {
  max-width: 700px;
  margin-bottom: 60px;
}
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.section-head h2 em {
  font-style: italic;
  color: var(--brand);
}
.section-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}
.section-head p strong { color: var(--ink); }

/* Platforms */
.platforms { background: var(--bg); padding-bottom: 80px; }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.platform-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--platform-color, var(--brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--platform-color, var(--brand));
}
.platform-card:hover::before { transform: scaleX(1); }

.platform-web    { --platform-color: #00ab55; }
.platform-ios    { --platform-color: #1a1a1a; }
.platform-android{ --platform-color: #3ddc84; }

.platform-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--platform-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.platform-icon svg { width: 30px; height: 30px; }

.platform-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.platform-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.platform-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
  min-height: 44px;
}
.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--platform-color, var(--brand));
}
.platform-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.platform-link:hover svg { transform: translateX(4px); }
.platform-link:hover { color: var(--platform-color, var(--brand)); }

.sync-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 100%);
  border: 1px solid var(--brand-100);
  margin-top: 32px;
}
.sync-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 171, 85, 0.25);
}
.sync-icon svg { width: 28px; height: 28px; animation: spin 6s linear infinite; }
@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.sync-banner strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 2px;
}
.sync-banner span {
  color: var(--muted);
  font-size: 14px;
}

/* Features */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-soft), transparent);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-100);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: 700;
}
.feature-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.feature-card em { font-style: normal; color: var(--brand); font-weight: 600; }

/* Showcase */
.showcase { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.showcase-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.showcase-large {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  background: linear-gradient(135deg, #f3fbf6 0%, #e8f7ef 100%);
  color: var(--ink);
  border: 1px solid var(--brand-100);
  padding: 56px;
}
.showcase-large h3 { font-size: 32px; margin-bottom: 14px; letter-spacing: -0.02em; color: var(--ink); }
.showcase-large p { color: var(--ink-2); font-size: 17px; max-width: 480px; }
.showcase-large .showcase-text { flex: 1; }
.showcase-large .showcase-image { flex: 0 0 320px; }
.showcase-large .showcase-tag { background: #fff; color: var(--brand-dark); box-shadow: 0 2px 6px rgba(0, 80, 40, 0.05); }

.showcase-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.showcase-text h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.showcase-text p {
  color: var(--muted);
  font-size: 14px;
}

.showcase-image {
  position: relative;
  background: linear-gradient(135deg, var(--brand-soft), #fff);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}
.showcase-image img {
  max-height: 380px;
  width: auto;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 80, 40, 0.18);
  transition: transform .35s ease;
}
.showcase-card:hover .showcase-image img {
  transform: translateY(-6px) scale(1.02);
}
.showcase-large .showcase-image {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  min-height: 420px;
}

/* 3D mockup variant — same light bg as regular cards, but tweak img styling
   since the screenshot already includes a phone bezel + ambient shadow */
.showcase-image--mockup {
  padding: 12px;
  min-height: 340px;
}
.showcase-image--mockup img {
  max-height: 340px;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 12px 24px rgba(0, 80, 40, 0.18));
}
.showcase-card--mockup:hover .showcase-image--mockup img {
  transform: translateY(-4px) scale(1.03);
}
.showcase-large .showcase-image img {
  max-height: 460px;
}

/* Why */
.why { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  padding: 36px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.why-num {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.why-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.why-card p {
  color: var(--muted);
  font-size: 15px;
}
.why-card em { font-style: normal; color: var(--brand-dark); font-weight: 600; }

/* Testimonials */
.testimonials { background: var(--bg-soft); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #fbbf24;
}
.stars svg { width: 18px; height: 18px; }
.testimonial p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.testimonial-user strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}
.testimonial-user span {
  color: var(--muted);
  font-size: 13px;
}

/* CTA banner */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-banner::before {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.15);
  top: -100px;
  right: -100px;
}
.cta-banner::after {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  bottom: -100px;
  left: -50px;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-text h2 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* FAQ */
.faq { background: #fff; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.faq-item[open] {
  border-color: var(--brand-100);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ab55' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--brand); }
.faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.faq-body a { color: var(--brand); font-weight: 600; }
.faq-body a:hover { text-decoration: underline; }

/* Contact */
.contact { background: var(--bg-soft); padding-bottom: 120px; }
.contact-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--brand-50), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.contact-content { position: relative; z-index: 2; }
.contact-content h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.contact-content p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
  color: #fff;
}
.contact-link svg { width: 20px; height: 20px; }
.contact-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.contact-messenger { background: linear-gradient(135deg, #006AFF, #0099FF); }
.contact-zalo { background: linear-gradient(135deg, #0068FF, #00C6FF); }
.contact-phone { background: linear-gradient(135deg, var(--brand), var(--brand-light)); }

.contact-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-visual img {
  width: 260px;
  height: 260px;
  border-radius: 60px;
  box-shadow: var(--shadow-xl);
  animation: float 5s ease-in-out infinite;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}
.logo-light { color: #fff; }
.logo-light:hover { color: var(--brand-light); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}
.footer-col a:hover { color: var(--brand-light); }
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}

/* Floating Action Button (FAB) */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.fab-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 171, 85, 0.4);
  cursor: pointer;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.fab-toggle:hover { transform: scale(1.06); box-shadow: 0 16px 36px rgba(0, 171, 85, 0.5); }
.fab-toggle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(0, 171, 85, 0.4);
  animation: fab-pulse 2.2s ease infinite;
  pointer-events: none;
}
.fab.open .fab-toggle::after { animation: none; opacity: 0; }
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.fab-toggle svg {
  width: 26px;
  height: 26px;
  position: absolute;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .25s ease;
}
.fab-toggle .fab-icon-open { transform: rotate(0) scale(1); opacity: 1; }
.fab-toggle .fab-icon-close { transform: rotate(-90deg) scale(.4); opacity: 0; }
.fab.open .fab-toggle .fab-icon-open { transform: rotate(90deg) scale(.4); opacity: 0; }
.fab.open .fab-toggle .fab-icon-close { transform: rotate(0) scale(1); opacity: 1; }
.fab.open .fab-toggle { transform: rotate(0); }

.fab-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.fab-options li {
  opacity: 0;
  transform: translateY(12px) scale(.85);
  transition: opacity .25s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
  transform-origin: bottom right;
}
.fab.open .fab-options { pointer-events: auto; }
.fab.open .fab-options li {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fab.open .fab-options li:nth-child(1) { transition-delay: .12s; }
.fab.open .fab-options li:nth-child(2) { transition-delay: .07s; }
.fab.open .fab-options li:nth-child(3) { transition-delay: .02s; }

.fab-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 0;
}
.fab-option:hover { color: #fff; }
.fab-option-label {
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.fab-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.fab-option:hover .fab-option-icon { transform: scale(1.08); }
.fab-option-icon svg { width: 22px; height: 22px; }

.fab-messenger .fab-option-icon { background: linear-gradient(135deg, #006AFF, #0099FF); color: #fff; }
.fab-zalo      .fab-option-icon { background: linear-gradient(135deg, #0068FF, #00C6FF); color: #fff; }
.fab-phone     .fab-option-icon { background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; }

.fab-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 23, 0);
  z-index: 49;
  pointer-events: none;
  transition: background .25s ease;
}
.fab-backdrop.show {
  background: rgba(13, 31, 23, 0.18);
  pointer-events: auto;
}

@media (max-width: 480px) {
  .fab { bottom: 16px; right: 16px; }
  .fab-toggle { width: 54px; height: 54px; }
  .fab-option-icon { width: 44px; height: 44px; }
  .fab-option-label { font-size: 12px; padding: 7px 12px; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid, .showcase-grid, .why-grid, .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-large { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .platforms-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .header-inner { height: 64px; }
  .hide-on-mobile { display: none !important; }
  .sync-banner { flex-direction: column; text-align: center; padding: 24px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav a { padding: 12px 16px; }
  .nav-toggle { display: flex; }

  .hero { padding: 56px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-points { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { height: 540px; max-width: 420px; margin: 0 auto; }
  .float-card-1 { left: -10px; }
  .float-card-2 { right: -10px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-item strong { font-size: 30px; }

  .section-head { margin-bottom: 40px; }
  .features-grid, .showcase-grid, .why-grid, .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .showcase-large { grid-column: span 1; flex-direction: column; padding: 32px; text-align: center; }
  .showcase-large .showcase-image { flex: 1; min-height: 280px; }
  .showcase-large p { margin: 0 auto; }

  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { justify-content: center; }

  .contact-card { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .contact-options { justify-content: center; }
  .contact-visual img { width: 200px; height: 200px; border-radius: 48px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: 1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .float-contact { bottom: 16px; right: 16px; }
  .float-btn { width: 50px; height: 50px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .header-actions .btn-sm { padding: 8px 14px; font-size: 13px; }
  .logo { font-size: 16px; }
  .logo img { width: 36px; height: 36px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .phone { width: 230px; }
  .hero-visual { height: 480px; }
  .feature-card, .why-card { padding: 28px 22px; }
  .contact-card { padding: 36px 22px; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
