:root {
  --bg: #070b18;
  --surface: #121a2e;
  --surface-2: #1a2440;
  --text: #e8edf7;
  --muted: #94a3b8;
  --accent: #7c3aed;
  --accent-2: #a855f7;
  --accent-bright: #8b5cf6;
  --cyan-glow: #22d3ee;
  --success: #10b981;
  --border: rgba(148, 163, 184, 0.16);
  --radius: 1rem;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --gradient-cta: linear-gradient(135deg, #7c3aed 0%, #6366f1 45%, #a855f7 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Noto Sans', 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(1200px 600px at 15% -5%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(900px 500px at 85% 5%, rgba(168, 85, 247, 0.22), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(99, 102, 241, 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

.landing-stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 16, 32, 0.82);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow);
}

.nav-links {
  display: none;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.85rem;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 10px 32px rgba(124, 58, 237, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn-lg {
  padding: 0.85rem 1.35rem;
  font-size: 0.98rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 2.5rem;
}

.hero-kicker {
  margin: 0 0 0.35rem;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  margin: 0 0 1rem;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.hero-glow-band {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 0.65rem;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.2), 0 0 48px rgba(124, 58, 237, 0.25);
  background: rgba(15, 23, 42, 0.45);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 0.85rem;
  padding: 0.85rem;
  backdrop-filter: blur(8px);
}

.stat-card strong {
  display: block;
  font-size: 1.15rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-visual--glow {
  position: relative;
}

.hero-visual-ring {
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius) + 0.45rem);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(34, 211, 238, 0.25));
  filter: blur(12px);
  opacity: 0.65;
  z-index: 0;
  pointer-events: none;
}

.hero-visual--glow img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  width: 100%;
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid,
.testimonial-grid,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.testimonial-card,
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.feature-card i {
  color: #a5b4fc;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card h3,
.pricing-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p,
.testimonial-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.testimonial-card .quote {
  font-style: italic;
  margin-bottom: 0.85rem;
}

.testimonial-card .author {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.testimonial-card .author span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.pricing-card.featured {
  border-color: rgba(99, 102, 241, 0.55);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), var(--surface));
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -0.65rem;
  right: 1rem;
  background: var(--success);
  color: #052e1a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

.price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.pricing-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: #dbe4f3;
}

.pricing-list i {
  color: var(--success);
  margin-top: 0.15rem;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 1rem 1.1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-a {
  display: none;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-item.open .faq-a { display: block; }

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.contact-card h3 {
  margin: 0 0 0.5rem;
}

.contact-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: #fff;
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.contact-form textarea { min-height: 110px; resize: vertical; }

.contact-grid--support {
  grid-template-columns: 1fr;
}

.contact-card--zalo {
  text-align: center;
}

.contact-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-qr {
  width: min(240px, 100%);
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.65rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.contact-qr-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.65rem 0 0;
}

.contact-social-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.contact-card--facebook .contact-social-actions {
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a:hover { color: #fff; }

.policy-page {
  padding: 2.5rem 0 3rem;
}

.policy-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.policy-page .updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.policy-page h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.15rem;
}

.policy-page p,
.policy-page li {
  color: #cbd5e1;
}

.policy-page ul {
  padding-left: 1.2rem;
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.section-showcase {
  padding-top: 1rem;
}

.showcase-grid {
  display: grid;
  gap: 1.25rem;
}

.showcase-card {
  background: rgba(18, 26, 46, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.15rem;
  padding: 1.15rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.showcase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.08);
}

.showcase-card--featured {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.12), 0 0 60px rgba(124, 58, 237, 0.15);
}

.showcase-card h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.05rem;
}

.showcase-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #c4b5fd;
}

.showcase-link:hover {
  color: #fff;
}

.showcase-visual {
  border-radius: 0.85rem;
  min-height: 130px;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-mini-days {
  display: flex;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.showcase-mini-days span {
  padding: 0.35rem 0.55rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.showcase-mini-days span.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
}

.showcase-bar {
  margin-top: 1rem;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.showcase-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, #22d3ee);
}

.showcase-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.showcase-checklist i {
  color: #34d399;
  margin-right: 0.4rem;
}

.showcase-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 72px;
}

.showcase-chart span {
  flex: 1;
  border-radius: 0.35rem 0.35rem 0 0;
  background: rgba(99, 102, 241, 0.35);
  min-height: 28%;
}

.showcase-chart span.hi {
  background: linear-gradient(180deg, #f59e0b, #f97316);
  min-height: 88%;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

.showcase-streak {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fcd34d;
}

.outro-cta {
  padding: 4rem 0 4.5rem;
  text-align: center;
}

.outro-inner {
  max-width: 36rem;
  padding: 2.5rem 1.5rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.35), transparent 55%),
    rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(124, 58, 237, 0.15);
}

.outro-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1.1rem;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  background: var(--gradient-cta);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.45);
}

.outro-brand {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.outro-tagline {
  margin: 0.5rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #e2e8f0;
}

.outro-url {
  margin: 0.35rem 0 1.25rem;
  font-size: 0.9rem;
  color: #a5b4fc;
  letter-spacing: 0.02em;
}

.outro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid--support { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
}
