/* ============================================================
   CFC HOMECARE STUDIO — dark violet/blue theme
   Layout inspired by thietke.cobay.vn (panel + stage),
   tone màu tím/xanh Homecare giữ nguyên.
   ============================================================ */

:root {
  --purple: #8419a3;
  --purple-bright: #c04df0;
  --purple-soft: #d9a7ef;
  --blue: #1a5fd4;
  --cyan: #00c4e8;
  --pink: #e84c8b;

  --bg: #0c0612;
  --panel: #170d20;
  --panel-2: #1e1229;
  --line: #2e1f3c;
  --line-soft: #241631;
  --ink: #f1e9f7;
  --muted: #9d8bae;

  --disp: "Montserrat", system-ui, "Segoe UI", sans-serif;
  --body: "Be Vietnam Pro", system-ui, "Segoe UI", sans-serif;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --glow: 0 0 24px rgba(192, 77, 240, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

/* ---------- atmosphere ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(132, 25, 163, 0.35), transparent 60%),
    radial-gradient(700px 480px at -10% 40%, rgba(26, 95, 212, 0.22), transparent 60%),
    radial-gradient(600px 420px at 60% 110%, rgba(0, 196, 232, 0.12), transparent 60%);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2%, 2%, 0) scale(1.06); }
}

/* ---------- shell ---------- */
.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 100vh;
}

/* ---------- sidebar ---------- */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 26px 20px;
  background: linear-gradient(180deg, rgba(23, 13, 32, 0.92), rgba(14, 7, 20, 0.96));
  border-right: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-lockup img {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(192, 77, 240, 0.45));
}
.brand-lockup strong {
  display: block;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
}
.brand-lockup span {
  font-size: 12px;
  color: var(--muted);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  text-align: left;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.2s;
}
.nav-item svg { width: 20px; height: 20px; flex: 0 0 20px; }
.nav-item:hover { color: var(--ink); background: rgba(192, 77, 240, 0.07); transform: translateX(2px); }
.nav-item.active {
  color: var(--ink);
  background: linear-gradient(120deg, rgba(132, 25, 163, 0.35), rgba(26, 95, 212, 0.22));
  border-color: rgba(192, 77, 240, 0.35);
  box-shadow: var(--glow);
}

.product-stack {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(30, 18, 41, 0.6);
}
.product-stack p {
  margin: 0 0 10px;
  font-family: var(--disp);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-stack div {
  display: grid;
  grid-template-columns: 14px auto 1fr;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  font-size: 13.5px;
}
.product-stack small { color: var(--muted); font-size: 11.5px; text-align: right; }

.swatch {
  width: 12px; height: 12px;
  border-radius: 4px;
  display: inline-block;
  align-self: center;
}
.swatch.purple { background: linear-gradient(135deg, var(--purple-bright), var(--purple)); }
.swatch.blue   { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.swatch.pink   { background: linear-gradient(135deg, #ff8fb6, var(--pink)); }

.side-footer {
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.2s;
}
.side-footer:hover { color: var(--purple-soft); }

/* ---------- main / topbar ---------- */
main {
  padding: 30px 36px 60px;
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.topbar h1 {
  margin: 0;
  font-family: var(--disp);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, #fff 30%, var(--purple-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.topbar p { margin: 6px 0 0; color: var(--muted); max-width: 640px; font-size: 14.5px; }

.support-link {
  flex: none;
  padding: 9px 18px;
  border: 1px solid rgba(192, 77, 240, 0.4);
  border-radius: 999px;
  color: var(--purple-soft);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.support-link:hover { background: rgba(132, 25, 163, 0.25); color: #fff; box-shadow: var(--glow); }

/* ---------- tab panels ---------- */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tab-in 0.45s cubic-bezier(0.22, 0.8, 0.3, 1); }
@keyframes tab-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* generic panel */
.panel {
  background: linear-gradient(180deg, var(--panel), rgba(20, 11, 29, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.eyebrow {
  font-family: var(--disp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-bright);
}

.lead { color: var(--muted); font-size: clamp(14.5px, 1.6vw, 16.5px); }

.hint { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }

/* ============================================================
   TAB 1 — CREATOR
   ============================================================ */
.creator-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: start;
}

.control-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.ctl {
  background: linear-gradient(180deg, var(--panel), rgba(20, 11, 29, 0.85));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 18px;
}
.ctl h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--disp);
  font-size: 14.5px;
  font-weight: 700;
}
.ctl h2 i {
  font-style: normal;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  font-size: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
}

.ratio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ratio-option {
  padding: 10px 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(30, 18, 41, 0.5);
  display: grid;
  gap: 2px;
  justify-items: center;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.ratio-option b { font-family: var(--disp); font-size: 13.5px; }
.ratio-option small { color: var(--muted); font-size: 10.5px; }
.ratio-option:hover { transform: translateY(-2px); border-color: rgba(192, 77, 240, 0.4); }
.ratio-option.active {
  border-color: var(--purple-bright);
  background: linear-gradient(135deg, rgba(132, 25, 163, 0.4), rgba(26, 95, 212, 0.25));
  box-shadow: var(--glow);
}

.frame-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.frame-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(30, 18, 41, 0.5);
  font-weight: 600;
  font-size: 13.5px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.frame-option:hover { transform: translateY(-2px); }
.frame-option.active { border-color: var(--purple-bright); box-shadow: var(--glow); }
.frame-label { display: grid; gap: 1px; text-align: left; }
.frame-label b { font-size: 13.5px; }
.frame-label small { color: var(--muted); font-size: 11px; font-weight: 500; }
.chip-grad { width: 22px; height: 22px; border-radius: 7px; flex: none; }
.chip-grad.purple { background: linear-gradient(135deg, #c04df0, #8419a3 55%, #140018); }
.chip-grad.blue   { background: linear-gradient(135deg, #00c4e8, #1a5fd4 55%, #0d2c6e); }

.file-control {
  display: block;
  margin-bottom: 10px;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.file-control:hover { border-color: var(--purple-bright); background: rgba(132, 25, 163, 0.08); }
.file-control input { display: none; }
.file-label b { display: block; font-size: 13.5px; }
.file-label small { color: var(--muted); font-size: 11.5px; }
.file-control.has-file { border-style: solid; border-color: var(--cyan); }
.file-control.has-file .file-label b::after { content: " ✓"; color: var(--cyan); }

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px 0;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
}
.check-row b { color: var(--ink); font-weight: 600; }
.check-row input { display: none; }
.switch {
  flex: none;
  width: 36px; height: 20px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  transition: background 0.25s;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.3, 1.3);
}
.check-row input:checked + .switch { background: linear-gradient(90deg, var(--purple), var(--blue)); }
.check-row input:checked + .switch::after { transform: translateX(16px); }

.ctl label:not(.file-control):not(.check-row) {
  display: block;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.ctl input[type="text"],
.ctl input:not([type]),
.ctl textarea {
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(12, 6, 18, 0.6);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ctl input:focus, .ctl textarea:focus {
  outline: none;
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(192, 77, 240, 0.18);
}
.ctl textarea { resize: vertical; font-size: 13px; line-height: 1.6; }

.button-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.primary, .secondary {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.25s, background 0.25s;
}
.primary {
  background: linear-gradient(100deg, var(--purple), var(--blue));
  color: #fff;
  box-shadow: 0 8px 24px rgba(132, 25, 163, 0.4);
}
.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(132, 25, 163, 0.55); }
.primary:active { transform: translateY(0); }
.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.secondary:hover { border-color: var(--purple-bright); background: rgba(132, 25, 163, 0.12); }

/* preview */
.preview-panel {
  position: sticky;
  top: 24px;
  background: linear-gradient(180deg, var(--panel), rgba(20, 11, 29, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.preview-toolbar h2 { margin: 0; font-family: var(--disp); font-size: 17px; }
.preview-toolbar p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }

.canvas-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  background:
    repeating-conic-gradient(rgba(255,255,255,0.04) 0% 25%, transparent 0% 50%) 0 0 / 22px 22px,
    #120a1b;
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  padding: 14px;
}
#brandCanvas {
  max-width: 100%;
  max-height: 62vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.batch-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.batch-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--panel-2);
  animation: tab-in 0.4s ease both;
}
.batch-card img { width: 100%; }
.batch-card button {
  width: 100%;
  padding: 8px;
  border: none;
  background: rgba(132, 25, 163, 0.25);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}
.batch-card button:hover { background: rgba(132, 25, 163, 0.5); }

/* ============================================================
   TAB 2 — PROFIT CALCULATOR
   ============================================================ */
.calc-hero { max-width: 720px; margin-bottom: 28px; }
.calc-hero h2 {
  margin: 10px 0 12px;
  font-family: var(--disp);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}
.calc-hero h2 em { font-style: normal; color: var(--purple-bright); }

.calc-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.calc-controls h3 {
  margin: 0 0 14px;
  font-family: var(--disp);
  font-size: 15px;
}

.product-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(30, 18, 41, 0.5);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.pick b { font-family: var(--disp); font-size: 15px; }
.pick small { color: var(--muted); font-size: 11px; text-align: center; }
.pick:hover { transform: translateY(-2px); }
.pick.active {
  border-color: var(--purple-bright);
  background: linear-gradient(160deg, rgba(132, 25, 163, 0.35), rgba(26, 95, 212, 0.2));
  box-shadow: var(--glow);
}

.slider-block { padding: 6px 2px 0; }
.slider-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.slider-value span {
  font-family: var(--disp);
  font-size: 44px;
  font-weight: 900;
  color: var(--purple-bright);
  line-height: 1;
}
.slider-value small { color: var(--muted); font-size: 14px; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple) var(--fill, 30%), var(--line) var(--fill, 30%));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--purple-bright);
  border: 4px solid #2a1438;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 16px rgba(192, 77, 240, 0.5);
  cursor: pointer;
  transition: transform 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--purple-bright);
  border: 4px solid #2a1438;
  cursor: pointer;
}
.ticks { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 11.5px; }

.calc-result.accent {
  border-color: rgba(192, 77, 240, 0.35);
  background:
    radial-gradient(400px 220px at 90% -10%, rgba(132, 25, 163, 0.35), transparent 65%),
    linear-gradient(180deg, var(--panel), rgba(20, 11, 29, 0.9));
}
.biglbl {
  font-family: var(--disp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.bignum {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 20px;
}
.bignum span {
  font-family: var(--disp);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(100deg, var(--purple-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bignum small { color: var(--muted); font-size: 20px; font-weight: 700; }

.cost-bars { display: grid; gap: 14px; margin-bottom: 18px; }
.cbar-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.cbar-head b { color: var(--ink); }
.cbar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.cbar-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  width: 0;
  transition: width 0.7s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.cbar-track i.cfc { background: linear-gradient(90deg, var(--purple-bright), var(--cyan)); }
.cbar-track i.mkt { background: rgba(232, 76, 139, 0.75); }

.calc-rows { display: grid; gap: 8px; }
.calc-rows .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
  color: var(--muted);
}
.calc-rows .row b { color: var(--ink); white-space: nowrap; }
.calc-rows .row b.good { color: var(--cyan); }

.disclaimer { margin: 16px 0 0; color: var(--muted); font-size: 11.5px; }

/* ============================================================
   TAB 3 — PARTNER
   ============================================================ */
.partner-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(26, 95, 212, 0.2), transparent 60%),
    linear-gradient(180deg, var(--panel), rgba(20, 11, 29, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.partner-copy h2 {
  margin: 10px 0 14px;
  font-family: var(--disp);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.08;
}
.partner-copy h2 em { font-style: normal; color: var(--purple-bright); }

.partner-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.benefit {
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.2s, border-color 0.2s;
}
.benefit:hover { transform: translateY(-3px); border-color: rgba(192, 77, 240, 0.4); }
.benefit b { display: block; font-size: 14px; margin-bottom: 3px; }
.benefit small { color: var(--muted); font-size: 12px; }

.partner-map { text-align: center; }
#vnMap {
  width: min(100%, 250px);
  max-height: 480px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(132, 25, 163, 0.3));
}
#vnMap .dot { fill: rgba(192, 77, 240, 0.4); }
#vnMap .hub {
  fill: var(--cyan);
  transform-box: fill-box;
  transform-origin: center;
  animation: hub-pulse 2.4s ease-in-out infinite;
}
#vnMap .halo {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 0.6;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: halo-pulse 2.4s ease-out infinite;
}
@keyframes hub-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}
@keyframes halo-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  70%, 100% { transform: scale(2.4); opacity: 0; }
}
.map-caption { margin-top: 12px; color: var(--muted); font-size: 12.5px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel), rgba(20, 11, 29, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(192, 77, 240, 0.45); }
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-bright), var(--blue), transparent);
}
.contact-card .region {
  font-family: var(--disp);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.contact-card h3 { margin: 10px 0 4px; font-family: var(--disp); font-size: 22px; }
.contact-card .phone {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 800;
  color: var(--purple-bright);
  text-decoration: none;
}
.contact-card p { color: var(--muted); font-size: 13.5px; margin: 10px 0 18px; }
.contact-card .cta {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--purple), var(--blue));
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(132, 25, 163, 0.4);
  transition: transform 0.15s, box-shadow 0.25s;
}
.contact-card .cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(132, 25, 163, 0.55); }

/* ============================================================
   TAB 4 — ABOUT
   ============================================================ */
.about-hero { max-width: 760px; margin-bottom: 26px; }
.about-hero h2 {
  margin: 10px 0 12px;
  font-family: var(--disp);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}
.about-hero h2 em { font-style: normal; color: var(--purple-bright); }

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.channel-card {
  display: grid;
  gap: 4px;
  padding: 24px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel), rgba(20, 11, 29, 0.9));
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.channel-card:hover { transform: translateY(-5px); }
.channel-card svg { width: 32px; height: 32px; margin-bottom: 8px; }
.channel-card b { font-family: var(--disp); font-size: 17px; }
.channel-card span { font-size: 13px; color: var(--purple-soft); }
.channel-card small { color: var(--muted); font-size: 12px; margin-top: 6px; }
.channel-card.tiktok:hover  { border-color: rgba(0, 196, 232, 0.5); box-shadow: 0 18px 50px rgba(0, 196, 232, 0.12); }
.channel-card.tiktok svg    { color: var(--cyan); }
.channel-card.youtube:hover { border-color: rgba(232, 76, 139, 0.5); box-shadow: 0 18px 50px rgba(232, 76, 139, 0.12); }
.channel-card.youtube svg   { color: var(--pink); }
.channel-card.shopee:hover  { border-color: rgba(255, 145, 0, 0.5); box-shadow: 0 18px 50px rgba(255, 145, 0, 0.12); }
.channel-card.shopee svg    { color: #ff9100; }

.lineup {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: center;
  background:
    radial-gradient(500px 300px at 0% 100%, rgba(132, 25, 163, 0.22), transparent 60%),
    linear-gradient(180deg, var(--panel), rgba(20, 11, 29, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.lineup-copy h3 { margin: 0 0 10px; font-family: var(--disp); font-size: clamp(20px, 2.4vw, 26px); }
.lineup-copy p { color: var(--muted); font-size: 14.5px; margin: 0; }

.lineup-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: end;
}
.lineup-shelf figure { margin: 0; text-align: center; }
.lineup-shelf img {
  height: 170px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.lineup-shelf figure:hover img { transform: translateY(-8px) scale(1.04); }
.lineup-shelf figcaption {
  margin-top: 10px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 13px;
  color: var(--purple-soft);
}

.compare-head h3 { margin: 8px 0 18px; font-family: var(--disp); font-size: clamp(20px, 2.4vw, 26px); }

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.compare-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel), rgba(20, 11, 29, 0.9));
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.compare-card:hover { transform: translateY(-4px); border-color: rgba(192, 77, 240, 0.4); }
.compare-card b { font-family: var(--disp); font-size: 15.5px; }
.compare-card p { color: var(--muted); font-size: 13px; margin: 0; flex: 1; }
.compare-card a, .compare-card button {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: none;
  color: var(--cyan);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.compare-card a:hover, .compare-card button:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .creator-layout { grid-template-columns: 1fr; }
  .preview-panel { position: static; }
  .calc-layout { grid-template-columns: 1fr; }
  .partner-hero { grid-template-columns: 1fr; }
  .lineup { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 16px;
  }
  .side-nav {
    order: 3;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .nav-item { flex: 1 1 40%; font-size: 13px; padding: 10px; justify-content: center; }
  .product-stack { display: none; }
  .side-footer { margin-left: auto; }
  main { padding: 22px 16px 50px; }
  .channel-grid, .compare-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .partner-benefits { grid-template-columns: 1fr; }
  .ratio-grid { grid-template-columns: repeat(4, 1fr); }
  .product-pick { grid-template-columns: 1fr; }
  .lineup-shelf img { height: 120px; }
}
