:root {
  --brand: #1d8d81;
  --brand-dark: #0d5f57;
  --brand-soft: #e4f5f2;
  --accent: #f5a623;
  --accent-soft: #fff5e6;
  --ink: #10201e;
  --muted: #657371;
  --line: rgba(29, 141, 129, 0.18);
  --paper: #fbfefd;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(12, 61, 55, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; width: min(100% - 48px, 1220px); height: 76px; margin: 18px auto 0; padding: 0 18px 0 22px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.74); box-shadow: 0 18px 48px rgba(20,72,66,.09); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; justify-content: flex-start; width: 150px; height: 54px; }
.brand img { width: 150px; height: 54px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: clamp(18px,2.4vw,34px); font-size: 14px; font-weight: 700; color: #47615e; }
.nav-links a, .secondary-action, .store-badge, .header-cta { transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.nav-links a:hover { color: var(--brand); }
.header-cta { justify-self: end; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; color: var(--white); background: var(--brand); font-size: 14px; font-weight: 800; box-shadow: 0 12px 24px rgba(29,141,129,.24); }
.header-cta:hover, .secondary-action:hover, .store-badge:hover { transform: translateY(-2px); }
.header-cta:hover { background: var(--brand-dark); box-shadow: 0 18px 34px rgba(29,141,129,.28); }
.hero { position: relative; display: grid; grid-template-columns: minmax(320px,.82fr) minmax(520px,1.18fr); align-items: center; gap: clamp(28px,5vw,84px); min-height: 100svh; padding: 120px max(32px, calc((100vw - 1220px) / 2)) 54px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 78% 22%, rgba(29,141,129,.16), transparent 31%), linear-gradient(116deg,#fbfefd 0%,#f3fbf8 45%,#eaf7f4 100%); }
.hero-copy { max-width: 560px; padding-top: 24px; animation: copyIn 720ms cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 11ch; margin: 0; color: #0d2421; font-size: clamp(46px,6vw,82px); line-height: .98; font-weight: 800; letter-spacing: -0.03em; }
.hero-lede { max-width: 520px; margin: 26px 0 0; color: var(--muted); font-size: clamp(16px,1.45vw,19px); line-height: 1.75; }
.hero-actions { display: grid; grid-template-columns: max-content 1fr; align-items: center; gap: 14px; margin-top: 34px; }
.secondary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 25px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand-dark); background: rgba(255,255,255,.62); font-size: 15px; font-weight: 800; }
.secondary-action:hover { border-color: rgba(29,141,129,.38); background: var(--white); }
.store-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.store-badge { display: inline-flex; align-items: center; justify-content: center; width: 154px; height: 48px; border-radius: 12px; overflow: hidden; filter: drop-shadow(0 14px 24px rgba(9,50,46,.12)); }
.store-badge img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.store-badge:first-child img { height: 124%; }
.hero-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; max-width: 520px; margin: 44px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.hero-metrics dt { color: var(--brand-dark); font-size: clamp(20px,2vw,30px); font-weight: 800; line-height: 1; }
.hero-metrics dd { margin: 8px 0 0; color: #6c7b79; font-size: 12px; line-height: 1.45; }
.hero-visual { position: relative; min-width: 0; perspective: 1400px; animation: visualIn 860ms 120ms cubic-bezier(.2,.8,.2,1) both; }
.visual-field { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; gap: clamp(16px,1.9vw,28px); width: min(54vw,760px); min-height: clamp(470px,55vw,620px); margin-left: auto; transform-style: preserve-3d; transition: transform 220ms ease-out; }
.visual-field::before { content: ""; position: absolute; right: 2%; bottom: 2%; z-index: -2; width: 82%; height: 34%; border-radius: 999px; background: radial-gradient(ellipse, rgba(29,141,129,.22), rgba(29,141,129,.08) 48%, transparent 72%); filter: blur(20px); }
.mockup-img { position: relative; z-index: 2; filter: drop-shadow(0 30px 70px rgba(9,50,46,.18)); transition: transform 0.4s ease; }
.mockup-1-wrapper { flex: 0 1 500px; width: min(66%,500px); height: auto; transform: rotate(-3deg) translateY(6px); z-index: 2; }
.mockup-1-wrapper:hover { transform: rotate(-1deg) translateY(0); }
.mockup-1 { width: 100%; height: auto; display: block; object-fit: contain; border-radius: 12px; }
.tablet-overlay-widget { position: absolute; top: 15%; right: 5%; width: 220px; padding: 14px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 16px; box-shadow: 0 20px 40px rgba(13, 95, 87, 0.12); z-index: 5; display: flex; flex-direction: column; gap: 10px; animation: widget-float 5s ease-in-out infinite alternate; }
@keyframes widget-float { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } }
.widget-avatar { width: 36px; height: 36px; background: var(--brand-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--brand); margin-bottom: 4px; }
.widget-info strong { display: block; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.widget-info span { display: block; font-size: 11px; color: var(--muted); }
.widget-action { align-self: flex-start; padding: 6px 12px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; border-radius: 8px; margin-top: 4px; }

.mockup-2-wrapper { flex: 0 0 clamp(190px,17vw,230px); width: clamp(190px,17vw,230px); height: auto; transform: rotate(4deg) translateY(-16px); z-index: 3; }
.mockup-2-wrapper:hover { transform: rotate(2deg) translateY(-20px); }
.mockup-2 { width: 100%; height: auto; display: block; object-fit: contain; }

.feature-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 20px; box-shadow: 0 16px 32px rgba(13, 95, 87, 0.12); z-index: 4; animation: card-float 6s ease-in-out infinite; }
.feature-card span { font-size: 13px; font-weight: 600; color: #0d5f57; line-height: 1.3; white-space: nowrap; }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #e4f5f2; border-radius: 50%; font-size: 16px; }
.feature-1 { top: 12%; right: -2%; animation-delay: 0s; }
.feature-2 { bottom: 12%; left: -6%; animation-delay: -2s; z-index: 5; }
.feature-3 { top: 45%; left: -10%; animation-delay: -4s; }

@keyframes card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.chart-widget { position: absolute; top: 55%; left: -30%; width: 150px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 16px; padding: 14px; box-shadow: 0 20px 40px rgba(13, 95, 87, 0.15); z-index: 4; }
.chart-header { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.chart-title { font-size: 11px; font-weight: 700; color: #657371; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1; }
.chart-value { font-size: 18px; font-weight: 800; color: var(--brand); line-height: 1; }
.chart-bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; height: 42px; }
.chart-bars .bar { flex: 1; background: var(--brand); border-radius: 3px 3px 0 0; height: var(--h); transform-origin: bottom; animation: bar-grow 1.5s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes bar-grow { 0% { transform: scaleY(0.25); opacity: 0.6; } 100% { transform: scaleY(1); opacity: 1; } }
.placeholder-section { min-height: 1px; }

/* Features Section */
.features-section { padding: 160px max(24px, calc((100vw - 1200px) / 2)); background: var(--white); position: relative; overflow: hidden; }
.features-header { text-align: center; max-width: 680px; margin: 0 auto 100px; }
.features-header .eyebrow { display: block; margin-bottom: 16px; color: var(--brand); font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.features-title { margin: 0 0 24px; font-size: clamp(36px, 4vw, 48px); font-weight: 800; color: #0d2421; line-height: 1.1; letter-spacing: -0.02em; }
.features-subtitle { margin: 0; font-size: 18px; color: var(--muted); line-height: 1.6; }

.features-list { display: flex; flex-direction: column; gap: 140px; }
.feature-block { display: flex; align-items: center; gap: clamp(40px, 8vw, 100px); }
.feature-block.reverse { flex-direction: row-reverse; }

/* Dark Mode & Layout Variance */
.feature-block.dark-mode { background: #071a17; padding: 60px 40px; border-radius: 40px; box-shadow: 0 40px 100px rgba(0,0,0,0.2); }
.feature-block.dark-mode .feature-heading { color: #fff; }
.feature-block.dark-mode .feature-desc { color: #a4b5b3; }
.feature-block.dark-mode .feature-bullets li { color: #d1e0de; }
.feature-block.dark-mode .feature-bullets li::before { background: rgba(255,255,255,0.05) url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23f5a623" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center / 12px; }
.feature-block.dark-mode .feature-icon-box { background: rgba(255, 255, 255, 0.05); color: var(--accent); border: 1px solid rgba(255, 255, 255, 0.05); }

.feature-block.full-center { flex-direction: column; text-align: center; }
.feature-block.full-center .feature-content { max-width: 680px; display: flex; flex-direction: column; align-items: center; }
.feature-block.full-center .feature-bullets { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 24px; }
.feature-block.full-center .feature-visual { width: 100%; max-width: 900px; display: flex; justify-content: center; margin-top: 20px; }

/* Full Width Dark Section for App Khach Hang */
.feature-full-width.dark-mode { background: #071a17; padding: 120px 24px 0; color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; }
.feature-full-width.dark-mode .feature-heading { color: #fff; }
.feature-full-width.dark-mode .feature-desc { color: #a4b5b3; max-width: 680px; margin-left: auto; margin-right: auto; }
.feature-full-width.dark-mode .feature-bullets li { color: #d1e0de; }
.feature-full-width.dark-mode .feature-bullets li::before { background: rgba(255,255,255,0.05) url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23f5a623" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center / 12px; }
.feature-full-width.dark-mode .feature-icon-box { background: rgba(255, 255, 255, 0.05); color: var(--accent); border: 1px solid rgba(255, 255, 255, 0.05); margin: 0 auto 24px; }

.feature-content-centered { width: 100%; max-width: 800px; }
.feature-content-centered .feature-bullets { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.feature-visual-centered { margin-top: 60px; width: 100%; display: flex; justify-content: center; }
.app-mockup-img { max-width: 100%; height: auto; max-height: 860px; filter: drop-shadow(0 40px 100px rgba(0,0,0,0.4)); object-fit: contain; }

.feature-content { flex: 1; max-width: 480px; }
.feature-icon-box { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); }
.feature-heading { margin: 0 0 16px; font-size: 36px; font-weight: 800; color: #0d2421; line-height: 1.15; letter-spacing: -0.025em; }
.feature-desc { margin: 0 0 32px; font-size: 16px; color: var(--muted); line-height: 1.65; }

.highlight-text { color: #0d2421; font-weight: 700; position: relative; display: inline-block; z-index: 1; white-space: nowrap; }
.highlight-text::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 2px; height: 10px; background: var(--accent-soft); z-index: -1; border-radius: 2px; transform: rotate(-1deg); transition: background 0.3s ease; }
.feature-block.dark-mode .highlight-text { color: #fff; }
.feature-block.dark-mode .highlight-text::after { background: rgba(245, 166, 35, 0.3); }

.feature-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.feature-bullets li { position: relative; padding-left: 32px; font-size: 16px; font-weight: 600; color: #344a47; }
.feature-bullets li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft) url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%231d8d81" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center / 12px; }

.feature-visual { flex: 1; position: relative; min-width: 0; }
.feature-visual .visual-glow { position: absolute; inset: -10%; z-index: 0; background: radial-gradient(circle at center, rgba(29, 141, 129, 0.12) 0%, transparent 60%); filter: blur(30px); border-radius: 50%; }
.feature-visual img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid rgba(29, 141, 129, 0.08); transition: transform 0.5s ease; }
.feature-visual img:hover { transform: translateY(-8px); }

/* Custom Widget for Features */
.custom-widget-container { position: relative; z-index: 1; width: 100%; max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.custom-card { background: var(--white); border: 1px solid #eef2f1; border-radius: 16px; padding: 20px 24px; box-shadow: 0 16px 48px rgba(13,95,87,0.12); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.custom-card:hover { transform: translateY(-4px); box-shadow: 0 24px 64px rgba(13,95,87,0.16); }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.grid-item { padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.grid-item.bb { border-bottom: 1px solid #eef2f1; }
.grid-item.br { border-right: 1px solid #eef2f1; }
.grid-label { font-size: 13px; font-weight: 500; color: #8a9997; }
.grid-val { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.c-green { color: #1d8d81; }
.c-blue { color: #2f6aef; }
.c-orange { color: #eb7c2a; }
.c-purple { color: #7b51c8; }

.chart-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.chart-card-header h4 { margin: 0; font-size: 16px; font-weight: 700; color: #344a47; }
.chart-card-header span { font-size: 13px; color: #8a9997; }

.chart-rows { display: flex; flex-direction: column; gap: 16px; }
.chart-row { display: flex; align-items: center; gap: 12px; }
.row-label { width: 70px; font-size: 13px; font-weight: 600; color: #4a5c5a; }
.row-bar-track { flex: 1; height: 10px; background: #f0f3f2; border-radius: 5px; overflow: hidden; }
.row-bar-fill { height: 100%; width: 0; border-radius: 5px; transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bg-green { background: #1d8d81; }
.bg-blue { background: #2f6aef; }
.bg-purple { background: #7b51c8; }
.bg-orange { background: #eb7c2a; }
.row-val { width: 40px; text-align: right; font-size: 13px; font-weight: 700; color: #344a47; }

/* CRM Widget */
.crm-metrics { display: flex; padding: 16px 0; }
.crm-metric { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.crm-metric.br { border-right: 1px solid #eef2f1; }
.crm-val { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.crm-label { font-size: 13px; color: #8a9997; font-weight: 500; }
.c-red { color: #e04153; }
.c-dark { color: #344a47; }

.crm-search input { width: 100%; border: 1px solid #eef2f1; border-radius: 8px; padding: 14px 16px; font-size: 14px; color: #344a47; outline: none; background: var(--white); box-shadow: 0 4px 12px rgba(13,95,87,0.02); transition: border-color 0.2s; }
.crm-search input:focus { border-color: var(--brand); }

.crm-filters { display: flex; gap: 8px; }
.crm-filter { flex: 1; padding: 10px 0; border: 1px solid #eef2f1; border-radius: 8px; background: var(--white); color: #344a47; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: center; }
.crm-filter.active { background: var(--brand); color: var(--white); border-color: var(--brand); }

.crm-list-header { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 4px; }
.crm-list-header h4 { margin: 0; font-size: 16px; font-weight: 800; color: #0d2421; }
.btn-add { background: var(--brand); color: var(--white); border: none; border-radius: 6px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(29, 141, 129, 0.2); }

.crm-list { display: flex; flex-direction: column; gap: 16px; }
.crm-customer-card { border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 16px; opacity: 0; transform: translateY(24px); box-shadow: 0 16px 48px rgba(13,95,87,0.12); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease; }
.crm-customer-card.animate-in { opacity: 1; transform: translateY(0); }
.crm-customer-card.animate-in:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(13,95,87,0.16); z-index: 2; position: relative; }

/* Finance Widget */
.finance-widget { max-width: 440px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.finance-list { display: flex; flex-direction: column; gap: 16px; }
.finance-card { background: var(--white); border: 1px solid #eef2f1; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(24px); box-shadow: 0 16px 48px rgba(13,95,87,0.12); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease; }
.finance-card.animate-in { opacity: 1; transform: translateY(0); }
.finance-card.animate-in:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(13,95,87,0.16); z-index: 2; position: relative; }

.finance-card.fc-partial { background: #fffcf5; border-color: #fce7c6; }
.finance-card.fc-paid { background: #eff8f4; border-color: #c9e9d9; }

.fc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.fc-mid { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; margin-bottom: 4px; }
.fc-id-main { font-size: 16px; font-weight: 800; color: #0d2421; }
.fc-name { font-size: 15px; color: #344a47; font-weight: 600; }
.fc-note-val { font-size: 13px; color: #8a9997; }

.fc-amount { display: flex; flex-direction: column; gap: 2px; }
.fc-label { font-size: 12px; color: #8a9997; font-weight: 500; }
.fc-val { font-size: 18px; font-weight: 800; color: #0d2421; white-space: nowrap; }
.fc-val.c-green { color: #15825d; }

.fc-bot { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 4px; }
.fc-badge { font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 20px; white-space: nowrap; text-align: center; }
.badge-orange-outline { color: #d97706; border: 1px solid #fcd34d; background: #fff8eb; }
.badge-blue-fill { background: #eef2ff; color: #4f46e5; }
.badge-green-fill { background: #e3f5ec; color: #15825d; }

.fc-actions { display: flex; flex-direction: row; gap: 8px; align-items: center; }
.fc-btn { padding: 8px 16px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.fc-btn-white { background: var(--white); border: 1px solid #eef2f1; color: #4b5563; }
.fc-btn-white:hover { border-color: #d1d5db; }
.fc-btn-green { background: var(--brand); border: 1px solid var(--brand); color: var(--white); }
.fc-btn-green:hover { background: #156d63; }

/* Schedule Widget */
.schedule-widget { max-width: 100%; border-radius: 16px; box-shadow: 0 12px 40px rgba(13,95,87,0.1); background: var(--white); overflow: hidden; border: 1px solid #eef2f1; padding: 0; transition: box-shadow 0.3s ease; }
.schedule-widget:hover { box-shadow: 0 20px 60px rgba(13,95,87,0.14); }
.schedule-wrapper { padding: 8px; }
.schedule-table { width: 100%; min-width: 0; border-collapse: collapse; text-align: left; table-layout: fixed; }
.schedule-table th, .schedule-table td { padding: 6px 2px; border: 1px solid #eef2f1; vertical-align: top; word-break: break-word; }
.schedule-table th { text-align: center; font-size: 11px; font-weight: 700; color: #344a47; border-top: none; }
.schedule-table th:first-child { width: 13%; border-left: none; text-align: left; padding-left: 8px; }
.schedule-table th:last-child { border-right: none; }
.schedule-table th span { font-size: 9px; font-weight: 500; color: #8a9997; display: block; margin-top: 1px; }
.schedule-table th.current-day, .schedule-table th.current-day span { color: var(--brand); }

.schedule-table td { border-bottom: none; }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td:first-child { border-left: none; padding-left: 8px; }
.schedule-table td:last-child { border-right: none; }
.shift-name { font-size: 11px; font-weight: 700; color: #0d2421; padding-top: 10px !important; white-space: normal; }
.shift-name span { font-size: 9px; font-weight: 500; color: #8a9997; display: block; margin-top: 2px; }

.sc-card { border-radius: 6px; padding: 6px 4px; display: flex; flex-direction: column; gap: 4px; opacity: 0; transform: scale(0.9) translateY(10px); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease; height: 100%; min-width: 0; }
.sc-card.animate-in { opacity: 1; transform: scale(1) translateY(0); }
.sc-card.animate-in:hover { transform: scale(1.05) translateY(-4px); box-shadow: 0 16px 32px rgba(13,95,87,0.15); z-index: 2; position: relative; }

.sc-green { background: #e8f5f3; border: 1px solid #d1eae6; }
.sc-green .sc-status { color: var(--brand); }
.sc-purple { background: #f5f3ff; border: 1px solid #ede9fe; }
.sc-purple .status-orange { color: #e85d04; }
.sc-orange { background: #fff8f0; border: 1px solid #ffcc99; }
.sc-orange .status-orange { color: #e85d04; }
.sc-blue { background: #f0f7ff; border: 1px solid #dcebfe; }
.sc-blue .status-blue { color: #2563eb; }

.sc-status { font-size: 9px; font-weight: 800; margin-bottom: 0px; white-space: nowrap; letter-spacing: -0.2px; }
.sc-names { font-size: 10px; color: #344a47; line-height: 1.3; font-weight: 600; white-space: normal; letter-spacing: -0.2px; }
.sc-alert { font-size: 9px; font-weight: 700; color: #e85d04; margin-top: 1px; white-space: nowrap; }

/* Promo Widget */
.promo-widget { max-width: 440px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.promo-summary { background: #e8f5f3; border: 1px solid #d1eae6; border-radius: 16px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(24px); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.promo-summary.animate-in { opacity: 1; transform: translateY(0); }
.ps-left { display: flex; flex-direction: column; gap: 4px; }
.ps-title { font-size: 16px; font-weight: 800; color: var(--brand); }
.ps-sub { font-size: 13px; color: #6b7a78; font-weight: 500; }
.ps-right { text-align: right; }
.ps-val { font-size: 28px; font-weight: 800; color: var(--brand); line-height: 1; }
.ps-label { font-size: 12px; color: #6b7a78; font-weight: 500; margin-top: 4px; }

.promo-list { display: flex; flex-direction: column; gap: 16px; }
.promo-card { background: var(--white); border: 1px solid #eef2f1; border-radius: 16px; padding: 20px; box-shadow: 0 16px 48px rgba(13,95,87,0.12); display: flex; flex-direction: column; gap: 16px; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease; position: relative; overflow: hidden; opacity: 0; transform: translateY(24px); }
.promo-card.animate-in { opacity: 1; transform: translateY(0); }
.promo-card.animate-in:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(13,95,87,0.16); z-index: 2; position: relative; }

.pc-header { display: flex; justify-content: space-between; align-items: flex-start; }
.pc-title { font-size: 16px; font-weight: 800; color: #0d2421; margin-bottom: 2px; }
.pc-sub { font-size: 13px; color: #8a9997; }

.pc-details { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #f0f3f2; gap: 8px; }
.pc-percent { font-size: 24px; font-weight: 800; color: var(--brand); text-align: left; }
.pc-type { font-size: 13px; font-weight: 700; color: #0d2421; text-align: center; }
.pc-max { font-size: 12px; color: #8a9997; text-align: right; line-height: 1.4; }

.pc-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.pc-dates { font-size: 12px; color: #8a9997; line-height: 1.5; font-weight: 500; text-align: left; }
.pc-dates span { color: #b0bcbb; font-weight: 600; }
.pc-usage { font-size: 13px; font-weight: 700; color: var(--brand); text-align: center; }
.pc-btn-stop { justify-self: end; background: #e04153; color: white; border: none; border-radius: 8px; padding: 6px 14px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; cursor: pointer; transition: background 0.2s; box-shadow: 0 4px 12px rgba(224, 65, 83, 0.2); }
.pc-btn-stop:hover { background: #c83242; transform: scale(1.02); }

/* Scroll Reveal & Decorations */
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }

.bg-pattern-dots { position: absolute; inset: -20px; background-image: radial-gradient(var(--brand) 1.5px, transparent 1.5px); background-size: 24px 24px; opacity: 0.04; z-index: 0; pointer-events: none; mask-image: radial-gradient(circle at center, black 30%, transparent 70%); -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%); }

.promo-card { position: relative; overflow: hidden; }
.promo-card::before { content: ""; position: absolute; left: -8px; top: 50%; width: 16px; height: 16px; background: #fff; border-radius: 50%; border-right: 1px solid #eef2f1; transform: translateY(-50%); z-index: 10; box-shadow: inset -3px 0 6px rgba(0,0,0,0.02); }
.promo-card::after { content: ""; position: absolute; right: -8px; top: 50%; width: 16px; height: 16px; background: #fff; border-radius: 50%; border-left: 1px solid #eef2f1; transform: translateY(-50%); z-index: 10; box-shadow: inset 3px 0 6px rgba(0,0,0,0.02); }

/* Aura Image Mockup */
  .app-aura-wrapper { position: relative; display: flex; justify-content: center; align-items: center; padding: 0; margin-top: 10px; }
  .app-aura-glow { 
    display: none; /* Removed glow to prevent white background of mockup from being exposed */
    position: absolute; 
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%); 
    width: 280px; height: 560px; 
    background: linear-gradient(45deg, #1d8d81, #f5a623, #0d5f57, #ff6b6b);
    background-size: 300% 300%;
    filter: blur(40px); 
    border-radius: 40px; 
    z-index: 0; 
    opacity: 0.6;
    animation: aura-spin 8s ease infinite;
    transition: all 0.5s ease;
  }
  @keyframes aura-spin {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  .app-aura-img { 
    position: relative; 
    z-index: 2; 
    max-width: 100%; 
    height: auto; 
    max-height: 700px; 
    margin-bottom: -40px; 
    object-fit: contain; 
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 30px 60px rgba(13, 36, 33, 0.2)); /* Áp dụng bóng đổ uốn theo viền cong của điện thoại trong suốt */
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .app-aura-wrapper:hover .app-aura-img {
    transform: translateY(-10px) scale(1.02);
  }
  .app-aura-wrapper:hover .app-aura-glow {
    opacity: 0.8;
    filter: blur(60px);
  }

@media (max-width: 600px) {
  .feature-block.dark-mode { padding: 40px 20px; border-radius: 24px; }
  .feature-full-width.dark-mode { padding: 60px 16px 0; }
  .app-mockup-img { max-height: 500px; }
  
  /* Aura Mobile Optimization */
  .app-aura-img { max-height: 500px; margin-bottom: -20px; }
  .app-aura-glow { display: none; }
  
  /* Scale all widgets to preserve exact PC layout and proportions on mobile */
  .custom-widget-container,
  .finance-widget,
  .promo-widget {
    width: 440px !important;
    max-width: none !important;
    zoom: 0.8; /* 440px * 0.8 = 352px */
    margin: 0 auto;
  }
  
  /* Schedule Widget Mobile Optimization */
  .schedule-wrapper { overflow: hidden; padding: 12px; zoom: 0.4; }
  .schedule-table { min-width: 800px; }
}

.crm-customer-card.debt { border: 1px solid #f9dbe1; background: #fff8f9; }
.crm-customer-card.paid { border: 1px solid #d4f2e5; background: #f2fbf7; }

.crm-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.crm-date-col { display: flex; flex-direction: column; gap: 2px; }
.crm-tiny-label { font-size: 11px; color: #8a9997; font-weight: 500; }
.crm-date { font-size: 14px; font-weight: 700; color: #344a47; }

.crm-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-red { background: #fde8eb; color: #e04153; }
.badge-green { background: #e3f5ec; color: #15825d; }
.badge-blue { background: #e6efff; color: #2f6aef; padding: 2px 8px; font-size: 11px; }
.badge-orange { background: #ffede0; color: #eb7c2a; padding: 2px 8px; font-size: 11px; }

.crm-user { display: flex; flex-direction: column; gap: 4px; }
.crm-name-row { display: flex; align-items: center; gap: 8px; }
.crm-name { font-size: 16px; font-weight: 800; color: #0d2421; }
.crm-sub { font-size: 12px; color: #8a9997; }

.crm-amounts { display: flex; align-items: center; }
.crm-amt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.crm-amt-val { font-size: 15px; font-weight: 700; color: #344a47; }

.crm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.btn-action { padding: 8px 0; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; text-align: center; border: 1px solid #eef2f1; background: var(--white); color: #344a47; transition: all 0.2s; }
.btn-action.primary { background: var(--brand); color: var(--white); border-color: var(--brand); }

@keyframes copyIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes visualIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 1040px) { .site-header { width: min(100% - 28px,920px); grid-template-columns: 1fr auto; } .nav-links { display:none; } .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 126px; } .hero-copy { max-width:760px; padding-top:0; } .hero h1 { max-width:13ch; } .visual-field { width:min(100%,840px); min-height:500px; margin:12px auto 0; } .mockup-1 { flex-basis:500px; width:min(66%,500px); } .feature-block, .feature-block.reverse { flex-direction: column; text-align: center; gap: 40px; } .feature-content { max-width: 600px; display: flex; flex-direction: column; align-items: center; } .feature-bullets { align-items: flex-start; text-align: left; } .features-list { gap: 100px; } }
@media (max-width: 700px) { .site-header { height:64px; margin-top:10px; padding:0 10px 0 14px; } .brand { width:120px; height:46px; } .brand img { width:120px; height:46px; } .header-cta { min-height:40px; padding:0 14px; font-size:12px; } .hero { gap:18px; padding:100px 18px 36px; } .eyebrow { margin-bottom:14px; font-size:11px; text-align:center; } .hero h1 { max-width:12ch; font-size:clamp(40px,12vw,56px); text-align:center; margin:0 auto; } .hero-lede { margin:20px auto 0; font-size:15px; line-height:1.68; text-align:center; } .hero-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; margin-top:26px; } .secondary-action { min-height:38px; padding:0 14px; font-size:12px; } .store-actions { gap:8px; } .store-badge { width:110px; height:34px; border-radius:8px; } .hero-metrics { display:none; } .visual-field { display:flex; flex-direction:column; align-items:center; width:100%; min-height:0; margin:32px auto 0; padding:0; } .visual-field::before { display: none; } .mockup-1-wrapper { display:none; } .tablet-overlay-widget { display: none; } .mockup-2-wrapper { position:relative; width: 230px; transform:rotate(1.5deg) translateY(0); margin: 0 auto; z-index: 10; } .feature-card { display: none; } .chart-widget { width: 120px; top: 40%; left: -30%; padding: 10px; border-radius: 12px; } .chart-title { font-size: 9px; } .chart-value { font-size: 14px; } .chart-bars { height: 30px; } .features-section { padding: 80px 18px; } .features-header { margin-bottom: 60px; } .features-title { font-size: 32px; margin-bottom: 16px; } .feature-heading { font-size: 24px; } .feature-icon-box { width: 48px; height: 48px; margin-bottom: 16px; } .feature-icon-box svg { width: 20px; height: 20px; } .features-list { gap: 80px; } .feature-desc { font-size: 15px; margin-bottom: 24px; } }
@media (max-width: 420px) { .hero h1 { font-size:38px; } .secondary-action { min-height:34px; padding:0 10px; font-size:11px; } .store-badge { width:96px; height:30px; border-radius:6px; } .mockup-2-wrapper { width: 200px; } .feature-card, .chart-widget { display:none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior:auto !important; animation-duration:1ms !important; transition-duration:1ms !important; } }

/* --- PRICING SECTION --- */
.pricing-section { padding: 120px 18px; background: #fff; }
.pricing-container { max-width: 1200px; margin: 0 auto; }
.pricing-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-title { font-size: clamp(32px, 4vw, 44px); font-weight: 800; color: #0d2421; margin: 0 0 16px; letter-spacing: -0.02em; }
.section-desc { font-size: 17px; color: var(--muted); line-height: 1.6; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-card { position: relative; background: #fff; border: 1px solid rgba(29, 141, 129, 0.15); border-radius: 24px; padding: 40px 32px; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(13, 95, 87, 0.08); }
.pricing-card.popular { border: 2px solid var(--accent); box-shadow: 0 24px 60px rgba(13, 95, 87, 0.08); transform: scale(1.02); z-index: 2; }
.pricing-card.popular:hover { transform: scale(1.02) translateY(-8px); }

.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 6px 16px; border-radius: 20px; white-space: nowrap; }

.pc-name { font-size: 22px; font-weight: 800; color: #0d2421; margin: 0 0 8px; }
.pc-desc { font-size: 14px; color: var(--muted); margin: 0 0 24px; min-height: 42px; }
.pc-price { display: flex; align-items: baseline; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(29, 141, 129, 0.1); }
.pc-price .currency { font-size: 20px; font-weight: 700; color: #0d2421; margin-right: 4px; }
.pc-price .amount { font-size: 48px; font-weight: 800; color: #0d2421; letter-spacing: -0.03em; line-height: 1; }
.pc-price .period { font-size: 15px; color: var(--muted); margin-left: 6px; }

.pc-features { list-style: none; padding: 0; margin: 0 0 40px; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.pc-features li { position: relative; padding-left: 28px; font-size: 15px; color: #344a47; line-height: 1.5; }
.pc-features li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%231d8d81" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center / 12px; }
.pricing-card.popular .pc-features li::before { background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23f5a623" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center / 12px; }

.pc-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft); transition: all 0.2s ease; }
.pc-btn:hover { background: #d0f0eb; color: var(--brand-dark); }
.pc-btn.primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(29, 141, 129, 0.25); }
.pc-btn.primary:hover { background: var(--brand-dark); box-shadow: 0 12px 32px rgba(29, 141, 129, 0.3); transform: translateY(-2px); }

/* --- CTA SECTION --- */
.cta-section { padding: 40px 18px 120px; }
.cta-box { position: relative; max-width: 1200px; margin: 0 auto; background: #091f1c; border-radius: 32px; padding: 80px 40px; text-align: center; overflow: hidden; isolation: isolate; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 80%; background: radial-gradient(ellipse at center, rgba(29, 141, 129, 0.3) 0%, transparent 70%); z-index: -1; filter: blur(40px); pointer-events: none; }
.cta-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-title { font-size: clamp(32px, 5vw, 48px); font-weight: 800; color: #fff; margin: 0 0 20px; letter-spacing: -0.02em; line-height: 1.1; }
.cta-desc { font-size: 18px; color: #a4b5b3; margin: 0 0 40px; line-height: 1.6; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

.cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 32px; border-radius: 999px; font-size: 16px; font-weight: 800; transition: all 0.2s ease; }
.btn-zalo { background: #0068ff; color: #fff; box-shadow: 0 12px 24px rgba(0, 104, 255, 0.3); }
.btn-zalo:hover { background: #0056d6; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0, 104, 255, 0.4); }
.btn-hotline { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.btn-hotline:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

/* --- FOOTER --- */
.site-footer { background: #f3fbf8; padding: 80px 18px 40px; border-top: 1px solid rgba(29, 141, 129, 0.1); }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { margin-bottom: 20px; }
.footer-desc { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 300px; }
.link-title { font-size: 14px; font-weight: 800; color: #0d2421; margin: 0 0 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: #526664; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(29, 141, 129, 0.1); text-align: center; }
.footer-bottom p { font-size: 13px; color: #8a9997; margin: 0; }

/* Responsive Overrides */
@media (max-width: 1040px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 32px; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-8px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .pricing-section { padding: 80px 18px; }
  .cta-box { padding: 60px 24px; border-radius: 24px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-desc { margin: 0 auto; }
  .footer-logo { justify-content: center; }
}

/* Xóa viền cho khối chứa App Khách hàng để tránh hiểu lầm là viền của ảnh */
.no-border-block { border: none !important; background: transparent !important; box-shadow: none !important; }

/* Scale up Google Play badge as requested */
a[aria-label*="Google Play"] { transform: scale(1.1); }
a[aria-label*="Google Play"]:hover { transform: scale(1.1) translateY(-2px) !important; }
