/* =====================================================
   KeToan Cloud – Refined pink product design system v5
   Keeps the original landing-page composition.
   ===================================================== */

:root {
  --pink: #c72f72;
  --pink-lt: #df5c96;
  --pink-deep: #9f1f59;
  --pink-pale: #fff2f7;
  --purple: #6d3f7f;
  --purple-lt: #8b6299;
  --grad-brand: linear-gradient(135deg, #c72f72 0%, #8d3f83 100%);
  --grad-hero: linear-gradient(180deg, #fff 0%, #fbf8fc 100%);
  --white: #fff;
  --gray-soft: #f6f7fb;
  --gray-border: #e6e7ee;
  --gray-text: #687087;
  --text-dark: #11182d;
  --navy: #11182d;
  --green: #12845d;
  --red: #d6455d;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(17, 24, 45, .05);
  --shadow-md: 0 12px 32px rgba(17, 24, 45, .08);
  --shadow-lg: 0 24px 64px rgba(44, 24, 54, .13);
  --transition: .22s cubic-bezier(.2, .7, .2, 1);
  --container: 1180px;
}

html { background: #fff; }
body {
  font-family: "Plus Jakarta Sans", "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
 button, input, select, textarea { font: inherit; }
 [hidden] { display: none !important; }
svg { display: block; }
[data-lucide] { width: 18px; height: 18px; stroke-width: 1.8; }
.content-container,
.nav-inner,
.footer-inner,
.hero-inner,
.stats-inner,
.cta-inner,
.reg-wrap {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* Typography */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--pink);
}
.section-title {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.section-sub {
  max-width: 650px;
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.75;
}
.section-head { margin-bottom: 48px; }
.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  text-align: left;
}
.section-head-split .section-sub { margin: 0 0 5px; max-width: 510px; }
.section-head-split .section-sub a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pink);
  font-weight: 700;
  text-decoration: none;
}
.section-head-split .section-sub a svg { width: 15px; height: 15px; }
.section-pad { padding: 92px 0; }

/* Buttons */
.btn-brand,
.btn-outline,
.btn-white {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.btn-brand {
  background: var(--pink);
  box-shadow: 0 8px 22px rgba(199, 47, 114, .22);
}
.btn-brand:hover { background: var(--pink-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(199, 47, 114, .28); }
.btn-outline {
  border: 1px solid #cfd3df;
  color: var(--navy);
  background: #fff;
}
.btn-outline:hover { border-color: var(--pink); background: var(--pink-pale); color: var(--pink-deep); }
.btn-white { color: var(--pink-deep); background: #fff; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 24, 45, .16); }
.btn-nav { min-height: 38px; padding: 8px 15px; border-radius: 9px; font-size: 12.5px; }

/* Navbar */
 #navbar {
   height: 70px;
   padding: 0;
   background: transparent;
   backdrop-filter: none;
   -webkit-backdrop-filter: none;
   border-bottom: none;
   box-shadow: none;
   transition: background .25s cubic-bezier(.2, .7, .2, 1), backdrop-filter .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s cubic-bezier(.2, .7, .2, 1);
 }
 #navbar.scrolled {
   background: rgba(255, 255, 255, .95);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   box-shadow: 0 4px 20px rgba(17, 24, 45, .05);
   border-bottom: none;
 }
.nav-inner { height: 100%; display: flex; align-items: center; }
.nav-logo { margin-right: auto; gap: 10px; }
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--pink);
  box-shadow: 0 6px 15px rgba(199, 47, 114, .2);
  font-size: 14px;
  letter-spacing: -.03em;
}
.logo-text { font-size: 15px; font-weight: 800; letter-spacing: -.04em; color: var(--navy); }
.logo-text span { margin-left: 2px; color: var(--pink); }
.logo-sub { margin-top: 0; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { gap: 2px; margin-right: 18px; }
.nav-link { padding: 8px 11px; font-size: 12.5px; font-weight: 650; }
.nav-link:hover, .nav-link.active { background: transparent; color: var(--pink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-hotline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 2px;
  border: 0;
  padding: 8px 9px;
  color: var(--gray-text);
  font-size: 12.5px;
}
.nav-hotline:hover { color: var(--pink); background: transparent; }
.nav-hotline svg { width: 16px; height: 16px; }
.mega-wrap,
.drop-wrap {
  top: calc(100% + 14px);
  border-radius: 16px;
  border-color: #e7e8ef;
  box-shadow: 0 24px 70px rgba(17, 24, 45, .13);
}
.mega-wrap { min-width: 750px; padding: 18px; }
.mega-header {
  min-height: 48px;
  margin-bottom: 14px;
  border-radius: 10px;
  padding: 12px 16px;
  background: #171e33;
}
.mega-header svg { width: 17px; height: 17px; }
.mega-cols { gap: 4px 14px; }
.mega-item,
.drop-item {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  color: #566078;
  font-size: 12.5px;
}
.mega-item::before { display: none; }
.mega-item svg,
.drop-item svg { width: 16px; height: 16px; color: var(--pink); }
.nav-burger { color: var(--navy); }
.mobile-drawer { top: 70px; }
.mobile-reg-btn { width: 100%; margin-top: 10px; border: 0; }

/* Hero – keeps original left/right composition */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  background: linear-gradient(180deg, #fff 0%, #fbf9fc 100%);
  border-bottom: 1px solid var(--gray-border);
  overflow: hidden;
}
.hero::before,
.hero-ray,
#particles { display: none !important; }
.hero-inner {
  flex: 1;
  min-height: 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(460px, 1fr);
  align-items: center;
  gap: 56px;
  padding-block: 36px 28px;
  box-sizing: border-box;
}
.hero .marquee-band {
  position: relative;
  z-index: 3;
  width: 100%;
  border-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(1px); }
.hero-glow-a { width: 420px; height: 420px; top: -220px; right: 8%; background: radial-gradient(circle, rgba(199, 47, 114, .11), transparent 68%); }
.hero-glow-b { width: 340px; height: 340px; bottom: -220px; left: 16%; background: radial-gradient(circle, rgba(109, 63, 127, .08), transparent 70%); }
.hero-content { padding: 0; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px var(--pink-pale); }
.hero-headline {
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(42px, 4.5vw, 62px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.hero-headline span {
  color: var(--pink);
  display: inline-block;
  white-space: nowrap;
}
.hero-description { max-width: 620px; margin-bottom: 28px; color: var(--gray-text); font-size: 16.5px; line-height: 1.7; }
.hero-capabilities { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 36px; }
.hero-capabilities div { display: inline-flex; align-items: center; gap: 8px; color: #384157; font-size: 13px; font-weight: 650; }
.hero-capabilities svg { width: 17px; height: 17px; color: var(--pink); }
.hero-cta { display: flex; align-items: center; gap: 14px; margin-bottom: 0; }
.btn-hero-primary { min-height: 56px; padding-inline: 30px; font-size: 15.5px; border-radius: 12px; }
.btn-hero-secondary { min-height: 56px; padding-inline: 26px; font-size: 15px; border-radius: 12px; }
.hero-visual { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.ledger-shadow-card {
  position: absolute;
  width: 82%;
  height: 82%;
  right: 1%;
  top: 12%;
  border-radius: 17px;
  background: linear-gradient(145deg, #ef6aa3, #9a3b7d);
  transform: rotate(2.8deg);
  opacity: .9;
}
.ledger-card {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 620px;
  overflow: hidden;
  border: 1px solid #cfd2dc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(17, 24, 45, .17);
  transform: rotate(-1deg);
}
.ledger-topbar { display: flex; align-items: center; gap: 12px; min-height: 67px; padding: 13px 16px; border-bottom: 1px solid #dfe1e8; background: #f7f5f8; }
.ledger-brandmark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--pink); color: #fff; font-weight: 800; }
.ledger-topbar > div:nth-child(2) { display: flex; flex-direction: column; }
.ledger-topbar strong { font-size: 13px; }
.ledger-topbar span { color: #7a8194; font-size: 9px; }
.ledger-status { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid rgba(18, 132, 93, .28); border-radius: 7px; background: #effaf6; color: var(--green); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.ledger-status svg { width: 13px; height: 13px; }
.ledger-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #1c2235; }
.ledger-metrics > div { min-height: 106px; display: flex; flex-direction: column; justify-content: center; padding: 17px; border-right: 1px solid #d9dbe3; }
.ledger-metrics > div:last-child { border-right: 0; }
.ledger-metrics span { margin-bottom: 5px; color: #6c7488; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.ledger-metrics strong { font-size: 22px; line-height: 1.2; letter-spacing: -.05em; }
.ledger-metrics small { margin-top: 5px; color: #777f91; font-size: 9px; font-weight: 700; }
.ledger-metrics .positive { color: var(--green); }
.ledger-table-head,
.ledger-row { display: grid; grid-template-columns: 80px 1.5fr 1fr 100px; align-items: center; }
.ledger-table-head { min-height: 32px; padding-inline: 14px; background: #171924; color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ledger-row { min-height: 44px; padding-inline: 14px; border-bottom: 1px solid #e2e3e9; color: #5f687d; font-size: 9px; }
.ledger-row strong { justify-self: end; color: var(--navy); font-size: 9px; }
.ledger-row > span:nth-child(3) { display: flex; align-items: center; gap: 5px; }
.dot { width: 5px; height: 5px; border-radius: 50%; }
.dot-green { background: var(--green); }
.dot-pink { background: var(--pink); }
.ledger-chart { min-height: 115px; display: grid; grid-template-columns: 130px 1fr; align-items: end; gap: 12px; padding: 17px 16px 11px; background: #fff; }
.chart-copy { align-self: center; display: flex; flex-direction: column; }
.chart-copy span { color: #7d8494; font-size: 9px; }
.chart-copy strong { margin-top: 3px; font-size: 18px; letter-spacing: -.04em; }
.ledger-chart svg { width: 100%; height: 84px; }
.chart-line { fill: none; stroke: var(--pink); stroke-width: 4; stroke-linecap: round; }
.chart-area { fill: rgba(199, 47, 114, .1); }
.ledger-float-card { position: absolute; z-index: 4; left: -15px; bottom: 15px; display: flex; align-items: center; gap: 10px; min-width: 220px; padding: 12px 14px; border: 1px solid #181b27; border-radius: 10px; background: var(--pink); color: #fff; box-shadow: 7px 7px 0 #171924; }
.float-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.float-icon svg { width: 16px; height: 16px; }
.ledger-float-card div:last-child { display: flex; flex-direction: column; }
.ledger-float-card strong { font-size: 11px; }
.ledger-float-card span { color: rgba(255,255,255,.75); font-size: 8px; }
.ledger-stamp { position: absolute; z-index: 5; right: -1px; bottom: 3px; width: 70px; height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--navy); border-radius: 50%; background: #fff; color: var(--navy); font-size: 14px; font-weight: 800; transform: rotate(-7deg); }
.ledger-stamp span { margin-top: 1px; color: var(--pink); font-size: 8px; letter-spacing: .12em; }

/* Marquee */
.marquee-band { border-bottom: 1px solid var(--gray-border); background: #171e33; padding: 12px 0; }
.marquee-track span { padding-inline: 32px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 650; letter-spacing: .03em; }
.marquee-track span::after { color: var(--pink-lt); opacity: 1; }

/* About */
.about-section { background: #fff; }
.about-grid { gap: 18px; }
.about-card { min-height: 240px; padding: 28px; border: 1px solid var(--gray-border); border-radius: 16px; background: #fff; }
.about-card::before { height: 2px; }
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { width: 44px; height: 44px; margin-bottom: 22px; border-radius: 11px; background: var(--pink-pale); color: var(--pink); }
.card-icon svg { width: 21px; height: 21px; }
.about-card h3 { margin-bottom: 9px; font-size: 17px; }
.about-card p { font-size: 13px; line-height: 1.75; }

/* Stats */
.stats-band { display: block; padding: 0; background: #f6f7fa; border-block: 1px solid var(--gray-border); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { min-height: 160px; display: grid; grid-template-columns: auto auto 1fr; align-content: center; justify-content: center; padding: 28px 22px; border-right: 1px solid var(--gray-border); color: var(--navy); text-align: left; }
.stat-item:last-child { border-right: 0; }
.stat-num { display: inline; background: none; -webkit-text-fill-color: currentColor; color: var(--navy); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.stat-unit { align-self: end; margin: 0 0 5px 5px; color: var(--pink); font-size: 15px; font-weight: 800; }
.stat-label { grid-column: 1 / -1; margin-top: 9px; color: #727a8e; font-size: 11px; font-weight: 600; }

/* Features */
.features-section { background: #f7f8fb; }
.features-grid { gap: 14px; }
.feat-card { min-height: 185px; padding: 27px; border: 1px solid #e1e3ea; border-radius: 15px; background: #fff; gap: 20px; }
.feat-card:hover { border-color: rgba(199,47,114,.45); transform: translateY(-3px); box-shadow: 0 14px 35px rgba(17,24,45,.08); }
.feat-num { min-width: 48px; color: #d9dce5; font-size: 35px; }
.feat-card:hover .feat-num { color: var(--pink); }
.feat-card h3 { margin-bottom: 8px; font-size: 17px; }
.feat-card p { font-size: 12.5px; line-height: 1.7; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--pink); font-size: 11px; font-weight: 750; }
.card-link svg { width: 14px; height: 14px; }

/* Video section */
.demo-section { background: #fff; }
.demo-section-wrap { gap: 70px; }
.demo-video-block { min-height: 375px; }
.demo-video-inner {
  width: 100%;
  aspect-ratio: 16/10;
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d8dbe4;
  border-radius: 18px;
  background: #f5f6fa;
  box-shadow: 0 22px 55px rgba(17,24,45,.12);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.demo-video-inner:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(17,24,45,.16); }
.demo-window-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #dfe1e8; background: #fff; }
.demo-window-bar span { width: 7px; height: 7px; border-radius: 50%; background: #d5d8e1; }
.demo-window-bar span:first-child { background: #ef6d83; }
.demo-window-bar span:nth-child(2) { background: #e8bd54; }
.demo-window-bar span:nth-child(3) { background: #62bd83; }
.demo-window-bar b { margin-left: 6px; color: #7c8497; font-size: 8px; font-weight: 650; }
.demo-dashboard { height: calc(100% - 34px); display: grid; grid-template-columns: 58px 1fr; }
.demo-sidebar { padding: 17px 13px; background: #161d30; }
.demo-sidebar span { display: block; width: 100%; height: 7px; margin-bottom: 14px; border-radius: 4px; background: rgba(255,255,255,.16); }
.demo-sidebar span.active { background: var(--pink); }
.demo-main { padding: 18px; background: #f4f6fa; }
.demo-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.demo-title-row span { width: 40%; height: 10px; border-radius: 5px; background: #283046; }
.demo-title-row b { width: 22%; height: 24px; border-radius: 7px; background: #fff; border: 1px solid #dde0e8; }
.demo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 12px; }
.demo-kpis i { height: 57px; border: 1px solid #dfe2e9; border-radius: 9px; background: #fff; }
.demo-chart-card { height: 150px; padding: 18px; border: 1px solid #dfe2e9; border-radius: 10px; background: #fff; }
.demo-chart-card svg { width: 100%; height: 100%; }
.demo-chart-card path { fill: none; stroke: var(--pink); stroke-width: 4; stroke-linecap: round; }
.demo-play-btn { position: absolute; left: 50%; top: 51%; width: 72px; height: 72px; display: grid; place-items: center; border: 8px solid rgba(255,255,255,.85); border-radius: 50%; background: var(--pink); color: #fff; transform: translate(-50%, -50%); box-shadow: 0 12px 30px rgba(199,47,114,.28); }
.demo-play-btn svg { width: 24px; height: 24px; fill: currentColor; }
.demo-play-label { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 7px 11px; border-radius: 7px; background: rgba(17,24,45,.86); color: #fff; font-size: 10px; font-weight: 700; }
.demo-iframe { display: none; width: 100%; aspect-ratio: 16/10; border: 0; border-radius: 18px; }
.demo-iframe.show { display: block; }
.demo-feature-list { margin-top: 26px; }
.demo-feature-list li { gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--gray-border); }
.demo-feat-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--pink-pale); color: var(--pink); }
.demo-feat-icon svg { width: 19px; height: 19px; }
.demo-feature-list li strong { font-size: 14px; }
.demo-feature-list li span { font-size: 12.5px; }

/* Registration – original 2-column composition, toned down */
.reg-section { position: relative; overflow: hidden; padding: 90px 0; background: linear-gradient(145deg, #a92462 0%, #d24382 58%, #a13a7b 100%); }
.reg-section::before { display: none; }
.reg-decoration { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.reg-decoration-a { width: 430px; height: 430px; left: -230px; top: -240px; }
.reg-decoration-b { width: 560px; height: 560px; right: -320px; bottom: -390px; }
.reg-wrap { position: relative; z-index: 2; grid-template-columns: minmax(0, 1fr) 440px; gap: 74px; }
.reg-kicker { margin-bottom: 17px; color: rgba(255,255,255,.75); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.reg-title { max-width: 650px; margin-bottom: 18px; font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -.05em; line-height: 1.08; }
.reg-intro { max-width: 650px; margin-bottom: 24px; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.75; }
.reg-benefits { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.reg-benefits li { padding: 10px 0; color: rgba(255,255,255,.9); font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.14); }
.reg-check { width: 20px; height: 20px; background: rgba(255,255,255,.15); }
.reg-check svg { width: 13px; height: 13px; }
.reg-card { padding: 28px; border: 1px solid rgba(255,255,255,.45); border-radius: 18px; box-shadow: 0 28px 70px rgba(63,17,48,.28); }
.reg-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 6px; }
.reg-card-kicker { color: var(--pink); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.reg-card-title { margin: 2px 0 0; text-align: left; color: var(--navy); font-size: 21px; letter-spacing: -.035em; }
.reg-card-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--pink-pale); color: var(--pink); }
.reg-card-icon svg { width: 18px; height: 18px; }
.reg-card-sub { margin-bottom: 20px; color: var(--gray-text); font-size: 11.5px; }
.reg-form { gap: 11px; }
.reg-field label { display: block; color: #4d566c; font-size: 10px; font-weight: 700; }
.reg-field input,
.reg-field select { margin-top: 5px; padding: 11px 13px; border: 1px solid #dfe1e8; border-radius: 9px; color: var(--navy); font-size: 12.5px; background: #fff; }
.reg-field input:focus,
.reg-field select:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(199,47,114,.09); }
.reg-submit { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; background: var(--pink); box-shadow: 0 8px 22px rgba(199,47,114,.22); text-transform: none; letter-spacing: 0; }
.reg-submit:hover { background: var(--pink-deep); }
.reg-submit svg { width: 17px; height: 17px; }
.reg-success-icon { color: var(--pink); }
.reg-success-icon svg { width: 52px; height: 52px; }

/* CTA */
.cta-band { display: block; padding: 0; background: #171e33; }
.cta-inner { min-height: 250px; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-block: 60px; }
.cta-kicker { margin-bottom: 9px; color: #e987b3; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.cta-band h2 { max-width: 660px; margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; }
.cta-band p { max-width: 650px; color: rgba(255,255,255,.63); }
.cta-band .btn-white { flex-shrink: 0; }

/* Footer */
footer { padding: 0; background: #0f1526; }
.footer-inner { padding-block: 60px 25px; }
.footer-grid { grid-template-columns: 1.8fr 1.3fr 1fr; gap: 48px; margin-bottom: 45px; }
.footer-logo { margin: 0 0 17px; }
.footer-logo .logo-text { color: #fff; }
.footer-brand p { max-width: 360px; margin: 0 0 20px; color: rgba(255,255,255,.5); }
.footer-contact-list { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-list a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72); }
.footer-contact-list svg { width: 15px; height: 15px; color: var(--pink-lt); }
footer h4 { margin-bottom: 16px; color: rgba(255,255,255,.92); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
footer a { color: rgba(255,255,255,.5); }
.footer-bottom a { font-size: 11px; }
.footer-bottom > div:last-child { display: flex; align-items: center; gap: 10px; }

/* Modal */
.reg-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(10,15,29,.64); backdrop-filter: blur(8px); }
.reg-modal.open { display: flex; }
.reg-modal-card { position: relative; width: min(510px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 32px; border-radius: 18px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.reg-modal-close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px; background: #f4f5f8; color: #626a7d; cursor: pointer; }
.modal-kicker { color: var(--pink); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.reg-modal-card h3 { margin: 5px 0 8px; font-size: 26px; letter-spacing: -.04em; }
.modal-sub { margin-bottom: 20px; color: var(--gray-text); font-size: 12.5px; }
.modal-reg-form { display: grid; gap: 12px; }
.modal-reg-form label { display: grid; gap: 6px; color: #4e576d; font-size: 10px; font-weight: 700; }
.modal-reg-form input,
.modal-reg-form select { width: 100%; padding: 12px 13px; border: 1px solid #dfe2e9; border-radius: 9px; outline: none; color: var(--navy); background: #fff; }
.modal-reg-form input:focus,
.modal-reg-form select:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(199,47,114,.09); }
.modal-submit { width: 100%; border: 0; margin-top: 3px; }
.modal-success { padding: 30px 0 10px; text-align: center; }
.success-icon { display: grid; place-items: center; color: var(--pink); }
.success-icon svg { width: 52px; height: 52px; }
.modal-success h4 { margin: 12px 0 5px; font-size: 20px; }
.modal-success p { color: var(--gray-text); font-size: 13px; }

/* Inner pages */
.page-hero { padding: 75px 0 65px; background: linear-gradient(145deg, #151c30 0%, #24223c 65%, #4e2345 100%); }
.page-hero .section-title { font-size: clamp(34px, 4vw, 48px); }
.page-hero-icon { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(255,255,255,.08); color: #fff; }
.page-hero-icon svg { width: 26px; height: 26px; }
.tn-card-icon,
.benefit-dot,
.section-heading-icon { color: var(--pink); background: var(--pink-pale); }
.tn-card-icon svg { width: 21px; height: 21px; }
.benefit-dot svg { width: 16px; height: 16px; }
.detail-visual { border: 1px solid var(--gray-border); background: #f5f6fa; }
.detail-visual-inner { background: linear-gradient(145deg, #1b2237, #5a294f); color: #fff; }
.detail-visual-inner svg { width: 78px; height: 78px; }
.tn-sidebar { border: 1px solid var(--gray-border); background: #fff; }
.tn-sidebar a { gap: 9px; }
.tn-sidebar a svg { width: 16px; height: 16px; color: var(--pink); }
.section-heading-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.section-heading-icon svg { width: 16px; height: 16px; }
.news-card-img svg { width: 46px; height: 46px; color: #fff; }

/* Responsive */
@media (max-width: 1120px) {
  .hero-inner { grid-template-columns: 1fr 500px; gap: 38px; }
  .nav-hotline { display: none; }
  .reg-wrap { gap: 42px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; place-items: center; margin-left: 8px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; padding-top: 65px; }
  .hero-content { max-width: 760px; }
  .hero-visual { width: min(700px, 100%); margin-inline: auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--gray-border); }
  .demo-section-wrap { grid-template-columns: 1fr; }
  .reg-wrap { grid-template-columns: 1fr; }
  .reg-left { max-width: 800px; }
  .reg-card { width: min(560px, 100%); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 768px) {
  .content-container,
  .nav-inner,
  .footer-inner,
  .hero-inner,
  .stats-inner,
  .cta-inner,
  .reg-wrap { width: min(100% - 36px, var(--container)); }
  #navbar { height: 64px; }
  .nav-actions .btn-outline { display: none; }
  .nav-actions .btn-brand { display: none; }
  .mobile-drawer { top: 64px; }
  .hero { min-height: auto; }
  .hero-inner { min-height: 0; padding-block: 56px 50px; gap: 38px; }
  .hero-headline { font-size: clamp(30px, 7.5vw, 42px); }
  .hero-description { font-size: 14px; }
  .hero-capabilities { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-cta { align-items: stretch; }
  .hero-cta > * { flex: 1; }
  .hero-note { align-items: flex-start; }
  .hero-visual { min-height: 370px; }
  .ledger-card { width: 96%; }
  .ledger-metrics strong { font-size: 17px; }
  .ledger-table-head,
  .ledger-row { grid-template-columns: 58px 1.3fr .9fr 76px; }
  .ledger-row { font-size: 7px; }
  .ledger-row strong { font-size: 7px; }
  .ledger-float-card { left: -4px; bottom: -1px; min-width: 180px; }
  .ledger-stamp { right: -2px; bottom: -8px; width: 58px; height: 58px; font-size: 11px; }
  .section-pad { padding: 68px 0; }
  .section-head-split { display: block; }
  .section-head-split .section-sub { margin-top: 14px; }
  .section-title { font-size: 32px; }
  .about-grid,
  .features-grid { grid-template-columns: 1fr; }
  .about-card { min-height: 0; }
  .stats-inner { width: 100%; }
  .stat-item { min-height: 135px; padding: 22px; }
  .stat-num { font-size: 38px; }
  .demo-section-wrap { gap: 40px; }
  .reg-section { padding: 68px 0; }
  .reg-title { font-size: 38px; }
  .reg-benefits { grid-template-columns: 1fr; }
  .reg-card { padding: 23px; }
  .cta-inner { min-height: 0; flex-direction: column; align-items: flex-start; padding-block: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 520px) {
  .hero-cta { flex-direction: column; }
  .hero-visual { min-height: 330px; margin-top: 2px; }
  .ledger-card { transform: none; }
  .ledger-topbar { min-height: 55px; padding: 10px; }
  .ledger-brandmark { width: 28px; height: 28px; }
  .ledger-status { padding: 4px 6px; font-size: 7px; }
  .ledger-metrics > div { min-height: 85px; padding: 10px; }
  .ledger-metrics strong { font-size: 14px; }
  .ledger-table-head,
  .ledger-row { grid-template-columns: 48px 1fr 70px; }
  .ledger-table-head span:nth-child(3),
  .ledger-row span:nth-child(3) { display: none; }
  .ledger-table-head span:last-child,
  .ledger-row strong { display: block; }
  .ledger-table-head span:last-child { justify-self: end; }
  .ledger-chart { min-height: 90px; grid-template-columns: 85px 1fr; padding: 10px; }
  .ledger-chart svg { height: 65px; }
  .ledger-float-card { min-width: 165px; padding: 9px 10px; }
  .float-icon { width: 28px; height: 28px; }
  .ledger-stamp { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 18px 13px; }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 9px; }
  .feat-card { padding: 22px 18px; }
  .demo-play-btn { width: 58px; height: 58px; border-width: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .reg-modal-card { padding: 25px 20px; }
}

/* Local Font Awesome icon sizing */
i.fa-solid,
i.fa-regular,
i.fa-brands { display: inline-block; line-height: 1; }
.btn-brand i,
.btn-outline i,
.btn-white i { font-size: 13px; }
.mega-header i { font-size: 13px; }
.mega-item i,
.drop-item i { width: 16px; color: var(--pink); text-align: center; font-size: 14px; }
.nav-hotline i { font-size: 13px; }
.page-hero-icon i { font-size: 25px; }
.card-icon i,
.tn-card-icon i { font-size: 20px; }
.benefit-dot i,
.section-heading-icon i { font-size: 14px; }
.hero-capabilities i { width: 18px; color: var(--pink); text-align: center; font-size: 15px; }
.hero-note i { color: var(--green); font-size: 14px; }
.ledger-status i { font-size: 11px; }
.float-icon i { font-size: 14px; }
.card-link i { font-size: 11px; }
.demo-play-btn i { font-size: 22px; }
.demo-feat-icon i { font-size: 17px; }
.reg-check i { font-size: 11px; }
.reg-card-icon i { font-size: 15px; }
.reg-submit i { font-size: 12px; }
.footer-contact-list i { width: 15px; color: var(--pink-lt); text-align: center; }
.reg-modal-close i { font-size: 15px; }
.success-icon i,
.reg-success-icon i { font-size: 48px; }

/* Content remains visible when animation CDNs are blocked. */
[data-gsap] { opacity: 1; }

/* Structural rules formerly embedded in the old index page */
.demo-section-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
.demo-feature-list { list-style: none; padding: 0; }
.demo-feat-icon { flex: 0 0 auto; display: grid; place-items: center; }
.reg-wrap {
  display: grid;
  align-items: center;
}
.reg-benefits { list-style: none; padding: 0; }
.reg-card {
  width: 100%;
  background: #fff;
  color: var(--navy);
}
.reg-form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}
.reg-field,
.reg-field label,
.reg-field input,
.reg-field select { width: 100%; }
.reg-field input,
.reg-field select { display: block; }
.reg-submit { width: 100%; border: 0; color: #fff; cursor: pointer; }
.reg-success { text-align: center; padding: 25px 0; }

@media (max-width: 960px) {
  .demo-section-wrap { grid-template-columns: 1fr; }
}

/* Limit width for legacy inner-page layouts that do not have a wrapper. */
.section-pad > .tn-layout,
.section-pad > .detail-layout,
.section-pad > .news-layout,
.section-pad > .related-grid,
.section-pad > .section-head {
  width: min(var(--container), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}
.page-hero > .breadcrumb,
.page-hero > .page-hero-icon,
.page-hero > .section-label,
.page-hero > .section-title,
.page-hero > .section-sub,
.page-hero > div[data-gsap]:last-child {
  position: relative;
  z-index: 1;
}
.page-hero > .section-sub { width: min(650px, calc(100% - 48px)); }

@media (max-width: 768px) {
  .section-pad > .tn-layout,
  .section-pad > .detail-layout,
  .section-pad > .news-layout,
  .section-pad > .related-grid,
  .section-pad > .section-head {
    width: min(100% - 36px, var(--container));
  }
}

.page-hero .btn-outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.55) !important;
}
.page-hero .btn-outline:hover {
  background: rgba(255,255,255,.1);
  color: #fff !important;
}
/* 1) Tin tức: tăng tương phản nền/chữ */
.news-hero-bg {
  background:
    radial-gradient(
      circle at 72% 55%,
      rgba(223, 92, 150, 0.24),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #151a2d 0%,
      #242038 52%,
      #702348 100%
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.news-hero-bg::before {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );
  background-size: 44px 44px;
  opacity: 0.55;
}

.news-hero-bg .breadcrumb,
.news-hero-bg .breadcrumb a {
  color: rgba(255, 255, 255, 0.68);
}

.news-hero-bg .breadcrumb a:hover {
  color: #fff;
}

.news-hero-bg .section-title {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.16);
}

.news-hero-bg p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.news-hero-bg .search-bar {
  width: min(380px, 100%);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.news-hero-bg .search-bar:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.58);
}

.news-hero-bg .search-bar input {
  color: #fff;
}

.news-hero-bg .search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.news-hero-bg .search-bar button {
  color: #fff;
}


/* 2) Dropdown: nối vùng hover giữa link và menu */
.nav-group {
  position: relative;
}

.nav-group::after {
  content: "";
  position: absolute;
  z-index: 598;
  top: 100%;
  left: -6px;
  right: -6px;
  height: 16px;
}

.mega-wrap,
.drop-wrap {
  top: calc(100% + 8px);
  z-index: 600;
}

.nav-group:hover .mega-wrap,
.nav-group:focus-within .mega-wrap,
.nav-group:hover .drop-wrap,
.nav-group:focus-within .drop-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Logo & Brand Styling */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-logo-text {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: uppercase;
}
.brand-logo-text span {
  color: var(--pink);
  font-weight: 900;
}
.footer-logo .brand-logo-text {
  color: #ffffff;
}
.footer-company-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 14px 16px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.4;
}
.company-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-company-info strong {
  display: block;
  color: #ffffff;
  font-weight: 750;
  font-size: 12px;
  margin-bottom: 2px;
}

/* Floating Zalo Chat & QR Popover */
.zalo-float-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.zalo-qr-popover {
  display: none;
  width: 210px;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .18);
  border: 1px solid var(--gray-border);
  text-align: center;
  margin-bottom: 12px;
  transform-origin: bottom right;
  animation: zaloPopIn .2s cubic-bezier(.2, .7, .2, 1);
}
@keyframes zaloPopIn {
  from { opacity: 0; transform: scale(.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.zalo-float-container:hover .zalo-qr-popover {
  display: block;
}
.zalo-qr-popover h5 {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
}
.zalo-qr-img {
  width: 150px;
  height: 150px;
  margin: 0 auto 8px;
  display: block;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.zalo-qr-popover p {
  margin: 0 0 10px;
  font-size: 11px;
  color: var(--gray-text);
  line-height: 1.4;
}
.zalo-qr-btn {
  display: block;
  padding: 7px 12px;
  border-radius: 8px;
  background: #0068ff;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease;
}
.zalo-qr-btn:hover { background: #0056d6; color: #fff; }

.zalo-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 99px;
  background: #0068ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 104, 255, .35);
  transition: transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .22s cubic-bezier(.2, .7, .2, 1);
}
.zalo-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 104, 255, .48);
  color: #ffffff;
}
.zalo-float-btn i {
  font-size: 16px;
}

.nav-zalo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 9px;
  background: #eef5ff;
  color: #0068ff;
  font-size: 12.5px;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.nav-zalo-btn:hover {
  background: #0068ff;
  color: #ffffff;
}

