/* ===== DPTW3 Shop — Tra cứu thông tin thuốc ===== */

:root {
  /* Teal / Blue-green palette */
  --teal-50: #F0FDFA;
  --teal-100: #CCFBF1;
  --teal-200: #99F6E4;
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;
  --teal-600: #0D9488;
  --teal-700: #0F766E;
  --teal-800: #115E59;
  --teal-900: #134E4A;

  /* Emerald accent */
  --emerald-50: #ECFDF5;
  --emerald-100: #D1FAE5;
  --emerald-400: #34D399;
  --emerald-500: #10B981;
  --emerald-600: #059669;
  --emerald-700: #047857;

  /* Cyan */
  --cyan-50: #ECFEFF;
  --cyan-100: #CFFAFE;
  --cyan-500: #06B6D4;
  --cyan-600: #0891B2;

  /* Ink */
  --ink-900: #042F2E;
  --ink-800: #0F3D3A;
  --ink-700: #134E4A;
  --ink-600: #1E5E5A;
  --ink-500: #475569;
  --ink-400: #64748B;
  --ink-300: #94A3B8;
  --ink-200: #CBD5E1;
  --ink-100: #E2E8F0;
  --ink-50: #F1F5F9;

  /* Surface */
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0F766E 0%, #14B8A6 50%, #10B981 100%);
  --gradient-soft: linear-gradient(135deg, #CCFBF1 0%, #D1FAE5 100%);
  --gradient-hero: linear-gradient(160deg, #F0FDFA 0%, #FFFFFF 40%, #ECFDF5 100%);
  --gradient-card: linear-gradient(135deg, #F0FDFA 0%, #FFFFFF 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 118, 110, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 118, 110, 0.12);
  --shadow-xl: 0 32px 64px rgba(15, 118, 110, 0.16);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.18);
  flex-shrink: 0;
  overflow: hidden;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand__name {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand__name span {
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
  text-transform: none;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s;
}

.nav a:not(.btn):hover { color: var(--teal-700); }

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.4);
}

.btn--ghost {
  background: white;
  color: var(--teal-700);
  border: 1.5px solid var(--teal-200);
}

.btn--ghost:hover {
  background: var(--teal-50);
  border-color: var(--teal-500);
}

.btn--lg {
  padding: 16px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* ============ HERO ============ */

.hero {
  background: var(--gradient-hero);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--teal-200);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-700);
  box-shadow: var(--shadow-sm);
}

.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--ink-900);
  margin-top: 24px;
  letter-spacing: -0.025em;
}

.hero h1 .accent-teal {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero h1 .accent-emerald {
  color: var(--emerald-600);
  position: relative;
}

.hero__lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-500);
  max-width: 540px;
}

.hero__cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__meta {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-500);
}

.hero__meta strong {
  color: var(--ink-800);
  font-weight: 700;
}

/* ============ PHONE MOCKUP ============ */

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}

.hero__phone {
  width: 300px;
  height: 600px;
  background: linear-gradient(180deg, #1F2937 0%, #0F172A 100%);
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(15, 118, 110, 0.1);
  position: relative;
  z-index: 2;
}

.hero__phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #0F172A;
  border-radius: 12px;
  z-index: 3;
}

.hero__screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  background: white;
  border-bottom: 1px solid var(--ink-100);
}

.greet {
  padding: 12px 20px 4px;
  font-size: 13px;
  color: var(--ink-500);
}

.hero__screen h3 {
  padding: 0 20px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
}

.search-box {
  margin: 0 16px 12px;
  padding: 10px 14px;
  background: var(--teal-50);
  border: 1.5px solid var(--teal-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--teal-700);
  font-weight: 600;
}

.search-box svg {
  width: 16px;
  height: 16px;
  color: var(--teal-600);
}

.search-results {
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}

.med-card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.med-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.med-info {
  flex: 1;
  min-width: 0;
}

.med-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.med-meta {
  font-size: 10px;
  color: var(--ink-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.med-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.med-badge.teal { background: var(--teal-100); color: var(--teal-700); }
.med-badge.emerald { background: var(--emerald-100); color: var(--emerald-700); }

.med-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-600);
  white-space: nowrap;
}

.float-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  font-size: 13px;
  border: 1px solid var(--ink-100);
}

.float-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--gradient-soft);
}

.float-card .text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: var(--ink-500);
}

.float-card .text strong {
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 800;
  margin-top: 2px;
}

.float-card--top { top: 60px; left: -10px; }
.float-card--bottom { bottom: 80px; right: -10px; }

/* ============ SECTIONS ============ */

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section__head h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

.section__head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* ============ FEATURES ============ */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.feature:hover::before { opacity: 1; }

.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature--teal .feature__icon {
  background: var(--teal-100);
}

.feature--emerald .feature__icon {
  background: var(--emerald-100);
}

.feature h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* ============ WHY ============ */

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why__list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.why__list li > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why__list strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
}

.why__list span {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

.dashboard-card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.dashboard-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 8px;
}

.dashboard-card h4 {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 160px;
  padding: 0 8px;
}

.bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  min-height: 8px;
  transition: opacity 0.3s;
}

.bar.teal { background: var(--teal-500); }
.bar.emerald { background: var(--emerald-500); }

.legend {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 500;
}

.legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ============ STATS ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  padding: 32px 16px;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.stat:hover {
  transform: translateY(-2px);
  border-color: var(--teal-200);
  box-shadow: var(--shadow-md);
}

.stat .num {
  font-size: 44px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat .label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 500;
}

/* ============ FAQ ============ */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: all 0.2s;
  cursor: pointer;
}

.faq details:hover { border-color: var(--teal-200); }

.faq details[open] {
  border-color: var(--teal-300, var(--teal-200));
  box-shadow: var(--shadow-sm);
}

.faq summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 600;
  color: var(--teal-600);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ============ CTA FINAL ============ */

.cta-final {
  text-align: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 72px 32px;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-final h2 {
  position: relative;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 0 auto;
}

.cta-final p {
  position: relative;
  margin-top: 16px;
  font-size: 17px;
  opacity: 0.9;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final__buttons {
  position: relative;
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-final .btn--primary {
  background: white;
  color: var(--teal-700);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cta-final .btn--primary:hover {
  background: var(--teal-50);
  color: var(--teal-800);
}

.cta-final .btn--ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: rgba(255,255,255,0.3);
}

.cta-final .btn--ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
}

.cta-final small {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  opacity: 0.85;
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 64px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-300);
  max-width: 320px;
}

.footer__col h5 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 14px;
  color: var(--ink-300);
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--teal-400); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-400);
}

/* ============ POLICY/GUIDE PAGES ============ */

.policy-page {
  background: var(--bg-alt);
  min-height: 100vh;
  padding: 64px 0 96px;
}

.policy-page__inner {
  max-width: 860px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 64px 64px;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 24px;
  transition: gap 0.2s;
}

.back:hover { gap: 10px; }

.policy-page__inner h1 {
  font-size: 38px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.policy-page__inner .meta {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-100);
}

.policy-page__inner h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  padding-top: 8px;
}

.policy-page__inner h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--teal-800);
}

.policy-page__inner p {
  margin-bottom: 14px;
  font-size: 15.5px;
  color: var(--ink-700);
  line-height: 1.75;
}

.policy-page__inner ul,
.policy-page__inner ol {
  margin: 12px 0 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-page__inner ul li,
.policy-page__inner ol li {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.7;
  position: relative;
  padding-left: 4px;
}

.policy-page__inner ul li::marker {
  color: var(--teal-500);
  font-weight: 700;
}

.policy-page__inner ol li::marker {
  color: var(--teal-700);
  font-weight: 700;
}

.policy-page__inner strong {
  color: var(--ink-900);
  font-weight: 700;
}

.policy-page__inner a {
  color: var(--teal-700);
  text-decoration: underline;
  text-decoration-color: var(--teal-300, var(--teal-200));
  text-underline-offset: 3px;
}

.policy-page__inner a:hover {
  color: var(--teal-800);
}

/* ============ GUIDE LAYOUT ============ */

.guide-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: flex-start;
}

.guide-toc {
  position: sticky;
  top: 96px;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 20px;
  align-self: flex-start;
}

.guide-toc h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.guide-toc ol {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  counter-reset: toc;
}

.guide-toc ol li {
  list-style: none;
  counter-increment: toc;
}

.guide-toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-600);
  margin-right: 8px;
  display: inline-block;
}

.guide-toc ol a {
  display: block;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: 8px;
  transition: all 0.15s;
  line-height: 1.3;
}

.guide-toc ol a:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}

.guide-content {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  box-shadow: var(--shadow-sm);
}

.guide-content h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.guide-content .meta {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-100);
}

.guide-content h2 {
  margin-top: 48px;
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  padding-top: 16px;
  scroll-margin-top: 96px;
}

.guide-content h2:first-of-type {
  margin-top: 16px;
}

.guide-content h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--teal-800);
}

.guide-content p {
  margin-bottom: 14px;
  font-size: 15.5px;
  color: var(--ink-700);
  line-height: 1.75;
}

.guide-content ul,
.guide-content ol {
  margin: 12px 0 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-content ul li,
.guide-content ol li {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.7;
}

.guide-content ul li::marker {
  color: var(--teal-500);
  font-weight: 700;
}

.guide-content ol li::marker {
  color: var(--teal-700);
  font-weight: 700;
}

.guide-content strong {
  color: var(--ink-900);
  font-weight: 700;
}

.step-card {
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 16px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-card .step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.step-card .step-body {
  flex: 1;
}

.step-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.step-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.6;
}

.callout {
  background: var(--emerald-50);
  border-left: 4px solid var(--emerald-500);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}

.callout p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-800);
  line-height: 1.6;
}

.callout strong { color: var(--emerald-700); }

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
}

@media (max-width: 768px) {
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .site-header__inner { height: 64px; }
  .brand__name { font-size: 15px; }
  .brand__name span { font-size: 10px; }

  .hero { padding: 48px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 36px; }
  .hero__lede { font-size: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__visual { min-height: 460px; transform: scale(0.85); }

  .section { padding: 64px 0; }
  .section__head h2 { font-size: 30px; }
  .features { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat .num { font-size: 36px; }
  .stat .label { font-size: 13px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .policy-page { padding: 32px 0 64px; }
  .policy-page__inner { padding: 32px 24px; }
  .policy-page__inner h1 { font-size: 28px; }
  .guide-content { padding: 32px 24px; }
  .guide-content h1 { font-size: 28px; }
  .guide-content h2 { font-size: 20px; }
  .cta-final { padding: 48px 24px; }
  .cta-final h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .container { padding: 0 16px; }
  .float-card { display: none; }
  .hero__phone { width: 260px; height: 520px; }
  .stat .num { font-size: 30px; }
}
