@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

/* Bảng màu chuẩn Umini (Indigo / Sky / Slate) */
:root {
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --sky-500: #0284c7;
  --purple-600: #7c3aed;
  --emerald-500: #10b981;
  --amber-500: #f59e0b;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 16px;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-600);
}

h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

section {
  padding-block: 64px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.lead {
  color: var(--ink-2);
  font-size: 17px;
}

.muted {
  color: var(--ink-3);
  font-size: 14px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--purple-600) 50%, var(--sky-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
header.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.top-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-inline-start: 12px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--brand-600);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

.top-spacer {
  flex: 1;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 44px;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
  transform: translateY(-1px);
}

.btn-telegram {
  background: #229ed9;
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
}

.btn-telegram:hover {
  background: #1e8dbf;
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--card);
  color: var(--ink-2);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-700);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 14px;
  min-height: 38px;
  border-radius: 10px;
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.08);
}

/* Hero Showcase */
.hero {
  padding-block: 56px 40px;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-50), #f3e8ff);
  border: 1px solid var(--brand-200);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 54px);
  max-width: 17ch;
}

.hero .lead {
  margin-top: 18px;
  max-width: 56ch;
  font-size: clamp(16px, 2vw, 19px);
}

.hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.free-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #86efac;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
}

.dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* Dual Interactive Mockup */
.mockup-container {
  margin-top: 40px;
  position: relative;
}

.mockup-window {
  background: #0f172a;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 14px;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green-bar { background: #10b981; }

.mockup-body {
  background: #1e293b;
  border-radius: 12px;
  padding: 20px;
  color: #fff;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .mockup-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.mockup-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
}

.mockup-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.pill-doing { background: rgba(99, 102, 241, 0.2); color: #818cf8; border: 1px solid rgba(129, 140, 248, 0.3); }
.pill-review { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.pill-done { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.3); }

/* Founder Story Section */
.founder-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border-y: 1px solid var(--line);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 28px;
}

@media (min-width: 840px) {
  .founder-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.founder-card {
  background: #ffffff;
  border: 1px solid var(--brand-200);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.12);
  position: relative;
}

.founder-avatar-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-600), var(--purple-600));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.founder-info h4 {
  font-size: 19px;
  color: var(--ink);
}

.founder-info p {
  font-size: 13px;
  color: var(--brand-600);
  font-weight: 600;
}

.founder-quote {
  font-size: 16px;
  font-style: italic;
  color: var(--ink-2);
  border-left: 3px solid var(--brand-500);
  padding-left: 16px;
  margin-top: 16px;
  line-height: 1.6;
}

.founder-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.pillar-item {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 14px;
  padding: 14px;
}

.pillar-item h3,
.pillar-item h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-800);
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 12px;
  color: var(--ink-2);
}

/* Tree Visualizer */
.tree {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.tree li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  transition: transform 0.15s ease;
}

.tree li:hover {
  transform: translateX(4px);
  border-color: var(--brand-300);
}

.tree li[data-depth='1'] { margin-inline-start: clamp(0px, 3vw, 24px); }
.tree li[data-depth='2'] { margin-inline-start: clamp(0px, 6vw, 48px); }
.tree li[data-depth='3'] { margin-inline-start: clamp(0px, 9vw, 72px); }
.tree li[data-depth='4'] { margin-inline-start: clamp(0px, 12vw, 96px); }

.tree .badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 800;
  font-size: 14px;
  flex: none;
}

.tree .name {
  font-weight: 700;
  font-size: 15px;
}

.tree .limit {
  margin-inline-start: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: 999px;
  padding: 3px 12px;
  flex: none;
}

/* Grid & Cards */
.grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.four { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(79, 70, 229, 0.12);
  border-color: var(--brand-200);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: 16px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

/* Attendance & GPS Showcase */
.geo-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.map-placeholder {
  height: 180px;
  background: #e2e8f0;
  border-radius: 14px;
  display: flex;
  flex-col;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 16px 16px;
}

.map-pin-pulse {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin {
  width: 32px;
  height: 32px;
  background: var(--brand-600);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
}

/* Score Review Preview */
.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
}

/* Roles Matrix Table */
.roles {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

thead th {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 700;
  background: #fafbfc;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td.yes {
  color: #15803d;
  font-weight: 700;
}

td.no {
  color: var(--ink-3);
}

/* Band CTA Banner */
.band {
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--purple-600) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.25);
}

.band h2 {
  font-size: clamp(24px, 4.5vw, 36px);
  color: #ffffff;
}

.band p {
  color: #e0e7ff;
  margin-top: 14px;
  max-width: 52ch;
  margin-inline: auto;
  font-size: 16px;
}

.band .cta {
  justify-content: center;
  margin-top: 28px;
}

.band .btn-primary {
  background: #ffffff;
  color: var(--brand-700);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.band .btn-primary:hover {
  background: var(--brand-50);
}

/* FAQ Details */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 12px;
  transition: border-color 0.2s ease;
}

details:hover {
  border-color: var(--brand-300);
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  margin-inline-start: auto;
  font-size: 22px;
  color: var(--brand-600);
  font-weight: 400;
}

details[open] summary::after {
  content: '−';
}

details p {
  color: var(--ink-2);
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding-block: 36px 48px;
  margin-top: 40px;
  background: #ffffff;
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-inline-start: auto;
  font-size: 14px;
}

.foot-links a {
  color: var(--ink-2);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--brand-600);
}

/* Channel Combo Grid */
.combo {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 760px) {
  .combo { grid-template-columns: repeat(4, 1fr); }
}

.combo li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.15s ease;
}

.combo li:hover {
  transform: translateY(-2px);
  border-color: var(--brand-300);
}

.combo .ch-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  background: var(--brand-50);
  color: var(--brand-600);
}

.combo .ch-icon svg { width: 24px; height: 24px; }
.combo .ch-name { display: block; font-weight: 700; font-size: 16px; }
.combo .ch-note { display: block; color: var(--ink-3); font-size: 13px; margin-top: 4px; }

.combo .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}

.combo .tag.live { background: #dcfce7; color: #14532d; }
.combo .tag.soon { background: var(--bg); color: var(--ink-3); border: 1px dashed var(--line); }

/* Founder Section & Storytelling Styling */
.founder-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border-y: 1px solid var(--line);
}

.founder-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .founder-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.founder-pillars {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 540px) {
  .founder-pillars {
    grid-template-columns: 1fr;
  }
}

.pillar-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.05);
}

.pillar-item h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-700);
}

.pillar-item p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.founder-card-box {
  position: relative;
}

.founder-card {
  background: #ffffff;
  border: 1px solid var(--brand-200);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 45px -15px rgba(79, 70, 229, 0.15);
  position: relative;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-500), var(--sky-500), var(--purple-600));
  border-radius: 20px 20px 0 0;
}

.founder-avatar-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.founder-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-600), var(--sky-500));
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.founder-info h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.founder-info p {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-600);
}

.founder-quote {
  margin: 0;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  border-left: 3px solid var(--brand-500);
  padding-left: 14px;
  background: var(--brand-50);
  padding: 12px 14px;
  border-radius: 0 12px 12px 0;
}

.founder-commitment {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--brand-700);
  font-weight: 600;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 10px 14px;
  border-radius: 12px;
}

/* Card Tech Enhancement */
.card-tech {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-tech:hover {
  transform: translateY(-4px);
  border-color: var(--brand-400);
  box-shadow: 0 16px 36px -12px rgba(79, 70, 229, 0.15);
}

.icon-box-tech {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.pulse-sparkle {
  display: inline-block;
  animation: pulseSparkle 2s ease-in-out infinite;
}

@keyframes pulseSparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.25) rotate(15deg); opacity: 0.8; }
}

