/* ================================================================
   SmartValueCard — style.css
   Color Theme: Emerald/Gold — premium card & value guide
   ================================================================ */

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

:root {
  --emerald: #059669;
  --emerald-dk: #047857;
  --emerald-lt: #34d399;
  --gold: #f59e0b;
  --gold-lt: #fcd34d;
  --dark: #0c1a14;
  --dark-2: #132218;
  --dark-3: #1a3024;
  --light: #ffffff;
  --light-2: #f0fdf4;
  --light-3: #ecfdf5;
  --text: #0c1a14;
  --text-2: #1f4731;
  --text-muted: #6b7280;
  --border: #d1fae5;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(5, 150, 105, 0.08);
  --shadow-lg: 0 16px 64px rgba(5, 150, 105, 0.14);
  --trans: 0.28s ease;
  --header-h: 70px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  background: var(--light);
  overflow-x: hidden;
}

.hero-content p {
  color: #fff;
  margin-bottom: 30px;
}

a {
  text-decoration: none;
  color: inherit;
}

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

strong {
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== READING PROGRESS BAR ===== */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ===== BACK TO TOP ===== */
#back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--emerald);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--trans);
  z-index: 999;
}

#back-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-top:hover {
  background: var(--emerald-dk);
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 26, 20, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--trans);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.brand strong {
  color: var(--gold);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.brand-icon.sm {
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--trans);
  text-transform: capitalize;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-btn {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dk));
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 50px;
  transition: var(--trans);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
  white-space: nowrap;
}

.nav-btn:hover {
  box-shadow: 0 6px 24px rgba(5, 150, 105, 0.55);
  transform: translateY(-1px);
  color: #fff;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--trans);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu .mobile-cta {
  margin-top: 12px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dk));
  color: #fff;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 64px) 0 64px;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.06) 0%, transparent 70%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(5, 150, 105, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 150, 105, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 72px;
}

.hero-content {
  max-width: 620px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}

#hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--emerald-lt), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dk));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 32px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(5, 150, 105, 0.4);
  transition: var(--trans);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(5, 150, 105, 0.55);
  color: #fff;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 48px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
  transition: var(--trans);
  width: 100%;
  justify-content: center;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(245, 158, 11, 0.55);
  color: #fff;
}

/* chapter sidebar */
.hero-chapters {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  min-width: 240px;
}

.chapters-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.chapter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chapter-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 8px;
  transition: var(--trans);
}

.chapter-list li a:hover {
  color: #fff;
  background: rgba(5, 150, 105, 0.12);
}

.chapter-list li a span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald-lt);
  min-width: 22px;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== INTRO STRIP ===== */
.intro-strip {
  background: linear-gradient(135deg, var(--emerald-dk), #065f46);
  padding: 28px 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.strip-item:last-child {
  border-right: none;
}

.strip-item i {
  font-size: 1.6rem;
  color: var(--gold);
}

.strip-item div {
  display: flex;
  flex-direction: column;
}

.strip-item strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.strip-item span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  margin-top: 3px;
}

/* ===== GUIDE SECTIONS ===== */
.guide-section {
  padding: 100px 0;
}

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

.section-label {
  margin-bottom: 12px;
}

.section-label span {
  display: inline-block;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
}

.guide-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.section-center-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-center-sub {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 56px;
}

/* two-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.col-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.col-text h3 i {
  color: var(--emerald);
}

/* check-list */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-2);
  font-size: 0.95rem;
}

.check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 3px;
}

/* tip box */
.tip-box {
  display: flex;
  gap: 16px;
  background: rgba(5, 150, 105, 0.06);
  border: 1px solid rgba(5, 150, 105, 0.15);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-2);
}

.tip-box.warn {
  background: rgba(245, 158, 11, 0.06);
  border-color: var(--gold);
  border-left-color: var(--gold);
}

.tip-box.gold-tip {
  background: rgba(245, 158, 11, 0.06);
  border-color: var(--gold);
  border-left-color: var(--gold);
}

.tip-icon {
  font-size: 1.2rem;
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.tip-box.warn .tip-icon,
.tip-box.gold-tip .tip-icon {
  color: var(--gold);
}

.mt-16 {
  margin-top: 16px;
}

/* step-cards */
.step-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.step-card {
  background: var(--light-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

.step-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(5, 150, 105, 0.12);
  position: absolute;
  top: 12px;
  right: 14px;
  line-height: 1;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* visual card */
.visual-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.visual-card.emerald {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border: 1px solid rgba(5, 150, 105, 0.2);
  box-shadow: 0 20px 60px rgba(5, 150, 105, 0.15);
}

.visual-icon-lg {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto 20px;
}

.visual-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.visual-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.visual-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.visual-list li i {
  color: var(--emerald-lt);
}

.visual-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== COMPARE CARDS ===== */
.compare-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compare-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.cc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.compare-card.good .cc-header { color: var(--emerald-dk); }
.compare-card.good { border-color: rgba(5, 150, 105, 0.25); }

.compare-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.compare-card ul li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-2); }
.compare-card ul li i.fa-check { color: var(--emerald); font-size: 0.8rem; }
.compare-card ul li i.fa-xmark { color: #94a3b8; font-size: 0.8rem; }

/* ===== TABLE CARD ===== */
.table-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table-card th {
  background: var(--emerald-dk);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

.table-card td {
  padding: 12px 16px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.table-card tr:last-child td {
  border-bottom: none;
}

.table-card tr:nth-child(even) td {
  background: var(--light-3);
}

/* ===== CABLE GRID (reimagined as Card Types) ===== */
.cable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.cable-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: var(--trans);
}

.cable-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 150, 105, 0.25);
}

.cable-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 16px;
}

.cable-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.cable-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cable-tip {
  background: var(--light-3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--emerald-dk);
  font-weight: 600;
  margin-top: 12px;
}

/* ===== HDMI style reimagined as Top-Up Method Guide ===== */
.hdmi-guide {
  background: var(--light-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
}

.hdmi-guide h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdmi-guide h3 i { color: var(--emerald); }

.hdmi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hdmi-item {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: var(--trans);
}

.hdmi-item.good {
  border-color: var(--emerald);
  background: rgba(5, 150, 105, 0.04);
}

.hdmi-label {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 6px;
}

.hdmi-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== NUMBERED STEPS ===== */
.numbered-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ns-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.ns-item:last-child {
  border-bottom: none;
}

.ns-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dk));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ns-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.ns-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== OS CARDS (reimagined as Platform Cards) ===== */
.os-cards {
  background: var(--dark);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.os-cards h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.os-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.os-item:last-child { border-bottom: none; }

.os-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.os-item div {
  display: flex;
  flex-direction: column;
}

.os-item strong {
  color: #fff;
  font-size: 0.9rem;
}

.os-item span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

/* ===== SETTINGS GRID ===== */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.settings-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sb-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.sb-header.emerald { background: var(--emerald-dk); }
.sb-header.gold { background: linear-gradient(135deg, #d97706, #b45309); }

.sb-body { background: var(--light); }

.setting-row {
  display: flex;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
}

.setting-row:last-child { border-bottom: none; }

.sr-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  min-width: 120px;
  flex-shrink: 0;
}

.sr-rec {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== TIPS GRID ===== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tip-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--trans);
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tc-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(245, 158, 11, 0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--emerald);
  margin-bottom: 16px;
}

.tip-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.tip-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== MOUNT BENEFITS ===== */
.mount-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.mb-item {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.mb-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(245, 158, 11, 0.08));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--emerald);
}

.mb-item strong { font-size: 0.9rem; color: var(--text); display: block; }
.mb-item span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== TOOLS BLOCK ===== */
.mount-tools-block {
  background: var(--light-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
}

.tools-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.tools-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.tools-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.tools-header p { font-size: 0.9rem; color: var(--text-muted); }

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

.tool-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.tool-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.tool-info strong { font-size: 0.9rem; color: var(--text); display: block; margin-bottom: 3px; }
.tool-info span { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ===== MOUNT STEPS TIMELINE ===== */
.mount-steps-header {
  text-align: center;
  margin-bottom: 32px;
}

.mount-steps-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.mount-steps-header h3 i { color: var(--emerald); }
.mount-steps-header p { font-size: 0.9rem; color: var(--text-muted); }

.mount-timeline {
  max-width: 720px;
  margin: 0 auto 48px;
}

.mt-step {
  display: flex;
  gap: 20px;
}

.mt-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.mt-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dk));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  flex-shrink: 0;
  z-index: 1;
}

.mt-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--emerald), rgba(5, 150, 105, 0.1));
  margin: 4px 0;
  min-height: 40px;
}

.mt-body {
  display: flex;
  gap: 16px;
  padding-bottom: 32px;
  flex: 1;
}

.mt-step.last .mt-body { padding-bottom: 0; }

.mt-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.mt-content h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.mt-content p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.mt-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--light-2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-2);
  margin-top: 10px;
}

.mt-tip i { color: var(--emerald); font-size: 0.85rem; margin-top: 1px; }
.mt-tip.warn i { color: var(--gold); }
.mt-tip.good i { color: #16a34a; }

/* ===== MOUNT BOTTOM GRID ===== */
.mount-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mount-info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mic-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.mic-header.teal { background: var(--emerald-dk); }
.mic-header.red { background: #b45309; }

.mic-body { padding: 20px; background: var(--light); }
.mic-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px; }

/* ===== FAQ / ACCORDION ===== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--trans);
}

.faq-item.open {
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--light);
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: var(--trans);
  gap: 16px;
}

.faq-q:hover { background: var(--light-2); }
.faq-item.open .faq-q { background: rgba(5, 150, 105, 0.04); color: var(--emerald-dk); }

.faq-q span { display: flex; align-items: center; gap: 10px; }
.faq-q span i { color: var(--emerald); }

.faq-arrow {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--trans);
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(45deg);
  color: var(--emerald);
}

.faq-a {
  display: none;
  padding: 0 24px 20px;
  background: rgba(5, 150, 105, 0.02);
}

.faq-item.open .faq-a { display: block; }

.cf-group input,
.cf-group textarea {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  background: #f9fafb;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.cf-group input:focus,
.cf-group textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
  background: #fff;
}

.cf-group textarea { resize: vertical; min-height: 140px; }

/* ===== CTA SECTION ===== */
#cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(5,150,105,0.15) 0%, transparent 65%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cta-ask-form {
  display: flex;
  gap: 12px;
}

.cta-ask-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.cta-ask-form input::placeholder { color: rgba(255,255,255,0.35); }

.cta-ask-form input:focus {
  border-color: rgba(5,150,105,0.5);
  background: rgba(255,255,255,0.12);
}

.cta-ask-form button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--emerald);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
}

.cta-ask-form button:hover {
  background: var(--emerald-dk);
  transform: translateY(-1px);
}

/* ===== ABOUT SECTION ===== */
.about-hero-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.about-mission { flex: 1; }

.about-mission-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.about-mission h3 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }

.about-mission p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }

.about-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.about-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  font-weight: 500;
}

.about-badge i { color: var(--emerald); }

.about-stats-panel {
  min-width: 230px;
}

.asp-inner {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.asp-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto 14px;
}

.asp-inner h4 { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; }
.asp-inner p { color: rgba(255, 255, 255, 0.5); font-size: 0.82rem; margin-bottom: 20px; }

.asp-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.asp-stat { text-align: center; }
.asp-num { font-size: 1.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.asp-label { font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); margin-top: 3px; }

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.av-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.av-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.av-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.av-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.about-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(5, 150, 105, 0.04);
  border: 1px solid rgba(5, 150, 105, 0.12);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-disclaimer i { color: var(--emerald); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* sticky visual */
.sticky-visual { position: sticky; top: 100px; }

/* ===== FOOTER ===== */
#site-footer {
  background: var(--dark);
  padding: 60px 0 0;
  border-top: 1px solid rgba(5, 150, 105, 0.15);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.footer-logo span strong { color: var(--gold); }

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer-nav h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.footer-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: var(--trans);
}

.footer-nav a:hover { color: var(--emerald-lt); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== SCROLL REVEAL ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PAGE HERO (inner pages: about, contact, TV guide, policy pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0d2218 60%, #0c2214 100%);
  padding: calc(var(--header-h) + 56px) 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 60%, rgba(5,150,105,0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(245,158,11,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.ph-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 620px;
}

/* ===== POLICY PAGES ===== */
.policy-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0d2218 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.policy-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.policy-hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
}

.policy-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.policy-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 12px;
}

.policy-body p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.policy-body ul {
  padding-left: 20px;
  color: #475569;
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.policy-date {
  display: inline-block;
  background: rgba(5, 150, 105, 0.08);
  color: var(--emerald);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 32px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 80px 0 100px;
  background: var(--light-2);
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: #cbd5e1;
}

.contact-intro {
  font-size: 1.05rem;
  color: #475569;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.contact-form-wrap {
    width: 48%;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 48%;
}

.ci-item {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
}

.ci-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.ci-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.ci-item p,
.ci-item a {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  text-decoration: none;
}

.ci-item a {
  color: var(--emerald);
}

.ci-item a:hover { text-decoration: underline; }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text);
  background: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dk));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 4px;
}

.form-submit:hover { opacity: 0.92; transform: translateY(-1px); }
.form-submit i { margin-right: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-chapters { display: none; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: none; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; direction: ltr; }
  .two-col > *, .two-col.reverse > * { direction: ltr; }
  .settings-grid, .mount-bottom-grid { grid-template-columns: 1fr; }
  .about-hero-row { grid-template-columns: 1fr; }
  .hdmi-row { grid-template-columns: 1fr 1fr; }
  .mount-benefits { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-btn { display: none; }
  .burger { display: flex; }
  .cable-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .step-cards { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .hdmi-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-ask-form { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: unset; }
  .guide-section { padding: 64px 0; }
  .mount-benefits { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .strip-item:last-child { border-bottom: none; }
  .mount-benefits { grid-template-columns: 1fr; }
  .two-col { gap: 40px; }
}
