/* ===== ShortHub landing page ===== */
:root {
  --bg:        #fafbff;
  --surface:   #ffffff;
  --text:      #0f172a;
  --text-soft: #475569;
  --border:    #e2e8f0;
  --accent:    #6366f1;
  --accent2:   #ec4899;
  --accent3:   #06b6d4;
}
[data-theme="dark"] {
  --bg:        #070a1a;
  --surface:   #111634;
  --text:      #e5e7eb;
  --text-soft: #94a3b8;
  --border:    #1f2937;
  --accent:    #818cf8;
  --accent2:   #f472b6;
  --accent3:   #22d3ee;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; }

.lh-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
[data-theme="dark"] .lh-top { background: rgba(7,10,26,0.85); }
.lh-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); }
.lh-brand img { border-radius: 8px; }
.lh-nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.lh-nav a { color: var(--text-soft); font-weight: 500; }
.lh-nav a:hover { color: var(--text); }
.lh-cta { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff !important; padding: 8px 16px; border-radius: 8px; font-weight: 600; }

.lh-hero {
  position: relative;
  padding: 70px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.lh-hero-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 2; }
.lh-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(99,102,241,0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.lh-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 18px 0;
  letter-spacing: -0.02em;
}
.grad { background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lh-sub { font-size: 17px; color: var(--text-soft); max-width: 720px; margin: 0 auto 28px; }
.lh-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lh-btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff !important;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(99,102,241,0.3);
  transition: transform .15s ease;
}
.lh-btn-primary:hover { transform: translateY(-1px); }
.lh-btn-secondary {
  background: var(--surface);
  color: var(--text) !important;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
}
.lh-btn-secondary:hover { border-color: var(--accent); }
.lh-trust { display: flex; gap: 18px; justify-content: center; margin-top: 24px; font-size: 13px; color: var(--text-soft); flex-wrap: wrap; }
.lh-hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 18% 30%, rgba(99,102,241,0.18), transparent 40%),
    radial-gradient(circle at 82% 70%, rgba(236,72,153,0.18), transparent 40%);
}

.lh-section { padding: 64px 24px; max-width: 1140px; margin: 0 auto; }
.lh-section h2 { text-align: center; font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin: 0 0 10px 0; letter-spacing: -0.02em; }
.lh-sec-sub { text-align: center; color: var(--text-soft); font-size: 16px; max-width: 640px; margin: 0 auto 38px; }
.lh-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: none; padding-left: 0; padding-right: 0; }
/* All children of .lh-section share the same horizontal track */
.lh-section > * { max-width: 1140px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.lh-section.lh-alt > * { max-width: 1140px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

.lh-source-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.lh-src { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.lh-src.lh-on { border-color: var(--accent); box-shadow: 0 8px 24px rgba(99,102,241,0.18); }
.lh-src img { width: 36px; height: 36px; border-radius: 8px; }
.lh-src > div { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: 16px; }
.lh-src p { margin: 6px 0 0 0; font-size: 13px; color: var(--text-soft); }
.lh-tag { padding: 2px 8px; border-radius: 99px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.lh-tag-live { background: #10b981; color: #fff; }
.lh-tag-soon { background: var(--border); color: var(--text-soft); }

/* ----- Tabs (5 nguồn phim) ----- */
.lh-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  padding: 6px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px;
  max-width: 720px; margin: 0 auto 28px;
}
.lh-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 9px;
  background: transparent; color: var(--text-soft);
  border: 1px solid transparent;
  font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .15s ease;
  position: relative;
}
.lh-tab img { width: 18px; height: 18px; border-radius: 5px; }
.lh-tab:hover { color: var(--text); background: rgba(99,102,241,0.06); }
.lh-tab.is-active {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.lh-tab-dot {
  width: 7px; height: 7px; border-radius: 50%;
  display: inline-block; font-style: normal;
}
.lh-dot-live { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,0.18); }
.lh-dot-soon { background: #cbd5e1; }
[data-theme="dark"] .lh-dot-soon { background: #475569; }

.lh-panels { display: grid; gap: 18px; }
.lh-panel {
  display: none;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.lh-panel.is-active { display: grid; }
.lh-status {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
  margin-bottom: 14px;
}
.lh-status-live { background: rgba(16,185,129,0.12); color: #047857; }
.lh-status-soon { background: var(--border); color: var(--text-soft); }
.lh-panel h3 { margin: 0 0 10px 0; font-size: 26px; letter-spacing: -0.01em; }
.lh-panel-desc { color: var(--text-soft); margin: 0 0 18px 0; font-size: 15px; line-height: 1.6; }
.lh-panel-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lh-panel-list li {
  position: relative; padding-left: 22px; font-size: 14px; color: var(--text);
}
.lh-panel-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(99,102,241,0.12);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.lh-panel-side {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.lh-metric {
  text-align: center; padding: 10px 6px;
  border-right: 1px solid var(--border);
}
.lh-metric:last-child { border-right: none; }
.lh-metric b { display: block; font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.lh-metric span { font-size: 11px; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 720px) {
  .lh-tab { padding: 7px 10px; font-size: 12px; }
  .lh-tab img { width: 16px; height: 16px; }
  .lh-panel { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
  .lh-panel-side { grid-template-columns: 1fr; }
  .lh-metric { border-right: none; border-bottom: 1px solid var(--border); }
  .lh-metric:last-child { border-bottom: none; }
}

/* ----- Features header (centered, balanced) ----- */
.lh-feat-head {
  width: 100%;
  text-align: center;
  margin-bottom: 48px;
}
.lh-feat-head h2 {
  font-size: 30px;           /* text-3xl */
  line-height: 1.2;
  font-weight: 800;          /* font-extrabold */
  letter-spacing: -0.025em;  /* tracking-tight */
  color: #0f172a;            /* slate-900 */
  margin: 0 0 16px;          /* mb-4 */
}
.lh-feat-head p {
  font-size: 16px;           /* text-base */
  line-height: 1.625;        /* leading-relaxed */
  font-weight: 400;
  color: #475569;            /* slate-600 */
  margin: 0 auto;
  max-width: 640px;
}
@media (min-width: 1024px) {
  .lh-feat-head { margin-bottom: 64px; }   /* sm:mb-16 */
  .lh-feat-head h2 { font-size: 36px; }    /* sm:text-4xl */
  .lh-feat-head p { font-size: 18px; }     /* sm:text-lg */
}

/* ----- Features grid (sleek SaaS cards) ----- */
.lh-feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
@media (min-width: 768px) {
  .lh-feat-grid { grid-template-columns: repeat(2, 1fr); }   /* md:grid-cols-2 */
}
@media (min-width: 1024px) {
  .lh-feat-grid {
    grid-template-columns: repeat(3, 1fr);                   /* lg:grid-cols-3 */
    gap: 32px;                                               /* lg:gap-8 */
  }
}

.lh-feat {
  background: var(--surface);                /* bg-white */
  border: 1px solid #f1f5f9;                 /* border-slate-100 */
  border-radius: 16px;                       /* rounded-2xl */
  padding: 24px;                             /* p-6 */
  box-shadow: 0 1px 2px rgba(15,23,42,0.04); /* shadow-sm */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
@media (min-width: 640px) {
  .lh-feat { padding: 32px; }                /* sm:p-8 */
}
.lh-feat:hover {
  transform: translateY(-4px);               /* hover:-translate-y-1 */
  box-shadow: 0 20px 40px rgba(15,23,42,0.08); /* hover:shadow-xl */
  border-color: #e2e8f0;
}
.lh-feat-body { display: flex; flex-direction: column; }
.lh-fi {
  width: 48px; height: 48px;                 /* w-12 h-12 */
  border-radius: 12px;                       /* rounded-xl */
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;                           /* text-xl */
  background: #f8fafc;                       /* bg-slate-50 */
  color: #475569;
  margin-bottom: 24px;                       /* mb-6 */
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.lh-feat:hover .lh-fi { transform: scale(1.1); background: #eef2ff; color: var(--accent); }
.lh-fi-accent { background: #f8fafc; color: var(--accent); }
.lh-fi-warn   { background: #f8fafc; color: #d97706; }
.lh-fi-ok     { background: #f8fafc; color: #059669; }
.lh-fi-cool   { background: #f8fafc; color: #0891b2; }
.lh-fi-rose   { background: #f8fafc; color: #db2777; }
.lh-fi-cyan   { background: #f8fafc; color: #0d9488; }
.lh-feat:hover .lh-fi-accent,
.lh-feat:hover .lh-fi-warn,
.lh-feat:hover .lh-fi-ok,
.lh-feat:hover .lh-fi-cool,
.lh-feat:hover .lh-fi-rose,
.lh-feat:hover .lh-fi-cyan {
  background: #eef2ff; color: var(--accent);
}
.lh-feat h3 {
  margin: 0 0 8px;                           /* mb-2 */
  font-size: 18px;                           /* text-lg */
  font-weight: 700;                          /* font-bold */
  color: #0f172a;                            /* slate-900 */
  letter-spacing: -0.01em;
  transition: color .3s ease;
}
.lh-feat:hover h3 { color: var(--accent); }  /* group-hover:text-indigo-600 */
.lh-feat p {
  color: #64748b;                            /* slate-500 */
  font-size: 14px;                           /* text-sm */
  font-weight: 400;
  line-height: 1.625;                        /* leading-relaxed */
  margin: 0;
}

.lh-plans { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1152px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .lh-plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 32px; } }
.lh-plan { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; position: relative; text-align: center; display: flex; flex-direction: column; justify-content: space-between; height: 100%; transition: box-shadow .3s ease, transform .3s ease; }
.lh-plan:hover { box-shadow: 0 12px 32px rgba(15,23,42,0.08); }
.lh-plan-pro { border-color: var(--accent); box-shadow: 0 12px 32px rgba(99,102,241,0.22); }
@media (min-width: 768px) { .lh-plan-pro { transform: scale(1.03); } }
.lh-plan h3 { font-size: 20px; font-weight: 700; margin: 0 0 16px 0; color: var(--text); }
.lh-plan-header { margin-bottom: 32px; }
.lh-price { font-size: 36px; font-weight: 800; margin-bottom: 32px; letter-spacing: -0.02em; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.lh-price span { font-size: 14px; color: var(--text-soft); font-weight: 500; }
.lh-plan-body { flex: 1 1 auto; }
.lh-plan ul { list-style: none; padding: 0; margin: 0 0 32px 0; text-align: left; }
.lh-plan li { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.5; }
.lh-plan li:last-child { border-bottom: none; }
.lh-plan-cta { margin-top: auto; display: block; width: 100%; text-align: center; padding: 14px 24px; border-radius: 16px; font-weight: 600; font-size: 15px; }
.lh-plan-cta.lh-btn-primary { display: block; }
.lh-plan-cta.lh-btn-secondary { display: block; }
.lh-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 99px; letter-spacing: 0.04em; }

.lh-cta-final { padding: 64px 24px; text-align: center; background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(236,72,153,0.08)); }
.lh-cta-final h2 { font-size: 32px; margin: 0 0 8px 0; }
.lh-cta-final p { color: var(--text-soft); margin: 0 0 24px 0; }

.lh-foot { text-align: center; padding: 32px 16px 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-soft); }
.lh-foot a { color: var(--text-soft); margin: 0 4px; }
.lh-foot a:hover { color: var(--text); }
.lh-foot > div + div { margin-top: 6px; }
.lh-foot-disclaimer { margin-top: 10px; font-size: 12px; max-width: 720px; margin-left: auto; margin-right: auto; }

@media (max-width: 720px) {
  .lh-top { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .lh-nav { gap: 12px; font-size: 13px; }
  .lh-plan-pro { transform: none; }
}
