/* ============================================
   BASTION LANDING — DESIGN SYSTEM
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --bg-main: #F5F5F5;
  --bg-dark: #1A1A1A;
  --bg-card: #FFFFFF;
  --bg-dark-card: #2A2A2A;
  --accent: #9E0707;
  --accent-dark: #7A0505;
  --text-main: #1A1A1A;
  --text-white: #FFFFFF;
  --text-secondary: #444444;
  --border: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.08);
  --radius-card: 12px;
  --radius-btn: 6px;
  --shadow-card: 0 2px 16px rgba(0,0,0,0.07);
  --max-width: 1160px;
  --transition: 0.25s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  /* Offset for fixed left sidebar — overridden in mobile breakpoint */
  padding-left: 240px;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

p { line-height: 1.6; }

.caption {
  font-size: 13px;
  color: var(--text-secondary);
}

.text-white { color: var(--text-white); }
.text-secondary { color: var(--text-secondary); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 80px 0;
}

/* Section badge */
.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-badge-outline {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}

/* ============================================
   NAVIGATION — LEFT SIDEBAR (DESKTOP)
   ============================================ */

.nav-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  background: #111111;
  z-index: 300;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.nav-sidebar::-webkit-scrollbar {
  width: 3px;
}
.nav-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.nav-sidebar::-webkit-scrollbar-thumb {
  background: rgba(158,7,7,0.4);
  border-radius: 2px;
}

/* Sidebar logo */
.nav-sidebar-logo {
  padding: 24px 20px 20px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.nav-sidebar-logo span {
  color: var(--accent);
}

.nav-sidebar-label {
  padding: 16px 20px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* Nav links list */
.nav-sidebar-links {
  flex: 1;
  padding: 4px 0 24px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border-left: 3px solid transparent;
  position: relative;
}

.nav-link:hover {
  background: rgba(255,255,255,0.04);
}

.nav-link.active {
  background: rgba(158,7,7,0.1);
  border-left-color: var(--accent);
}

.nav-link-num {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  min-width: 20px;
  transition: color var(--transition);
  flex-shrink: 0;
}

.nav-link.active .nav-link-num {
  color: var(--accent);
}

.nav-link:hover .nav-link-num {
  color: rgba(255,255,255,0.4);
}

.nav-link-text {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  line-height: 1.35;
  transition: color var(--transition);
}

.nav-link:hover .nav-link-text {
  color: rgba(255,255,255,0.75);
}

.nav-link.active .nav-link-text {
  color: #fff;
  font-weight: 500;
}

/* ============================================
   MOBILE TOP NAV + HAMBURGER
   ============================================ */

.nav-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 20px;
  height: 56px;
  align-items: center;
  justify-content: space-between;
}

.nav-topbar-logo {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.nav-topbar-logo span {
  color: var(--accent);
}

/* Hamburger button */
.nav-menu-btn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  transition: background var(--transition);
}

.nav-menu-btn:hover {
  background: rgba(255,255,255,0.06);
}

.nav-menu-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-menu-btn.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-menu-btn.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-menu-btn.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111111;
  z-index: 399;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer-inner {
  padding: 8px 0 32px;
}

.nav-drawer-section-label {
  padding: 16px 20px 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.nav-drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all var(--transition);
  min-height: 48px;
}

.nav-drawer a:hover,
.nav-drawer a.active {
  background: rgba(158,7,7,0.1);
  color: #fff;
}

.nav-drawer a.active {
  border-left: 3px solid var(--accent);
  padding-left: 17px;
}

.nav-drawer .d-num {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  min-width: 22px;
}

.nav-drawer a.active .d-num {
  color: var(--accent);
}

/* ============================================
   BLOCK 1: HERO
   ============================================ */
#hero {
  background: var(--bg-dark);
  padding: 100px 0 80px;
  position: relative;
}

.hero-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.hero-logo span {
  color: var(--accent);
}

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

.hero-content h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
}

.hero-badge-icon {
  font-size: 16px;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

.hero-scroll-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  animation: bounce 2s infinite;
}

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

/* ============================================
   BLOCK 2: PROBLEM
   ============================================ */
#problem {
  background: var(--bg-main);
}

.problem-text {
  max-width: 760px;
  margin-bottom: 40px;
}

.problem-text p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.card-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.problem-conclusion {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  padding-top: 8px;
}

/* ============================================
   BLOCK 3: APPROACH
   ============================================ */
#approach {
  background: var(--bg-dark);
}

#approach h2 {
  color: #fff;
  margin-bottom: 16px;
}

.principles-list {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
}

.principle-check {
  color: #4CAF50;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.principle-text strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.principle-text span {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.quote-block {
  border-left: 3px solid var(--accent);
  padding: 18px 24px;
  background: rgba(158,7,7,0.08);
  border-radius: 0 8px 8px 0;
  margin-top: 32px;
}

.quote-block p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  font-style: italic;
  line-height: 1.55;
}

/* ============================================
   BLOCK 4: SEGMENTS
   ============================================ */
#segments {
  background: var(--bg-main);
}

.segment-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.segment-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.segment-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.segment-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.segment-fear {
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

.refuse-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.refuse-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.refuse-icon {
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   BLOCK 5: STAGES
   ============================================ */
#stages {
  background: var(--bg-dark);
}

#stages h2 {
  color: #fff;
  margin-bottom: 8px;
}

#stages .section-badge {
  margin-bottom: 8px;
}

.stages-intro {
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  font-size: 15px;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stage-card {
  background: var(--bg-dark-card);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.06);
}

.stage-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.stage-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.stage-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

/* ============================================
   BLOCK 6: SHIELD
   ============================================ */
#shield {
  background: var(--bg-main);
}

.shield-intro {
  max-width: 680px;
  margin-bottom: 36px;
}

.shield-intro p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.shield-groups {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 32px;
}

.shield-row {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

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

.shield-row-icon {
  font-size: 22px;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.shield-row-name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
}

.shield-row-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(158,7,7,0.08);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.shield-statuses {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.shield-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-card);
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.shield-footer {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

/* ============================================
   BLOCK 7: MARKETING
   ============================================ */
#marketing {
  background: var(--bg-dark);
}

#marketing h2 {
  color: #fff;
  margin-bottom: 8px;
}

.marketing-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.marketing-card {
  background: var(--bg-dark-card);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  border: 1px solid rgba(255,255,255,0.06);
}

.marketing-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.marketing-card-icon {
  font-size: 22px;
}

.marketing-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.marketing-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--accent);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: auto;
  flex-shrink: 0;
}

.marketing-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.marketing-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px;
  background: rgba(158,7,7,0.1);
  border: 1px solid rgba(158,7,7,0.2);
  border-radius: 10px;
}

.marketing-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.marketing-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.marketing-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   BLOCK 8: REPORTING
   ============================================ */
#reporting {
  background: var(--bg-main);
}

.reporting-intro {
  max-width: 680px;
  margin-bottom: 36px;
}

.reporting-intro p {
  color: var(--text-secondary);
}

.reporting-rule {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.reporting-rule p {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.reporting-rule p:last-child {
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 0;
}

/* ============================================
   BLOCK 9: CONTRACT
   ============================================ */
#contract {
  background: var(--bg-dark);
}

#contract h2 {
  color: #fff;
  margin-bottom: 32px;
}

.contract-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 36px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.contract-table th {
  background: rgba(158,7,7,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contract-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  background: var(--bg-dark-card);
}

.contract-table td:first-child {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  width: 220px;
}

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

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

.tariff-card {
  background: var(--bg-dark-card);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.tariff-card.featured {
  border-color: var(--accent);
  position: relative;
}

.tariff-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.tariff-price-range {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.tariff-commission {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.tariff-commission span {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================
   BLOCK 10: INCOME
   ============================================ */
#income {
  background: var(--bg-main);
}

.income-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.income-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.income-type {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.income-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.income-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.income-row:last-child {
  border-bottom: none;
  font-weight: 700;
  color: var(--text-main);
  font-size: 15px;
}

.income-row .amount {
  font-weight: 600;
  color: var(--accent);
}

.income-row:last-child .amount {
  color: var(--accent);
  font-size: 18px;
}

.income-note {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 16px;
}

.income-highlight {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

/* ============================================
   BLOCK 11: CALL SCRIPT
   ============================================ */
#call-script {
  background: var(--bg-dark);
}

#call-script h2 {
  color: #fff;
  margin-bottom: 8px;
}

.script-goal {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  margin-bottom: 32px;
  font-style: italic;
}

.script-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.script-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-dark-card);
  border-radius: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

.step-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
}

.step-content {}

.step-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.step-text {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.step-text em {
  color: rgba(255,255,255,0.8);
  font-style: italic;
}

.script-forbidden {
  background: rgba(158,7,7,0.12);
  border: 1px solid rgba(158,7,7,0.25);
  border-radius: 10px;
  padding: 20px 24px;
}

.script-forbidden-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.script-forbidden-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.script-forbidden-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.forbidden-x {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   BLOCK 12: MEETING SCRIPT
   ============================================ */
#meeting-script {
  background: var(--bg-main);
}

.meeting-rule {
  margin-top: 28px;
  padding: 18px 24px;
  background: var(--bg-card);
  border-radius: 10px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-card);
}

.meeting-rule p {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.meeting-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.meeting-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.meeting-step-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.meeting-step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.meeting-step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}

.meeting-step-phrase {
  font-size: 14px;
  color: var(--text-main);
  font-style: italic;
  padding: 10px 14px;
  background: var(--bg-main);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}

/* ============================================
   BLOCK 13: OBJECTIONS
   ============================================ */
#objections {
  background: var(--bg-dark);
}

#objections h2 {
  color: #fff;
  margin-bottom: 8px;
}

.objection-principle {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  padding: 14px 20px;
  background: rgba(158,7,7,0.1);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
}

.objection-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.obj-tab {
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.obj-tab:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.obj-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.obj-category {
  display: none;
}

.obj-category.active {
  display: block;
}

.accordion-item {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-dark-card);
  cursor: pointer;
  text-align: left;
  min-height: 56px;
  transition: background var(--transition);
}

.accordion-header:hover {
  background: #333;
}

.accordion-header.open {
  background: #333;
}

.accordion-title {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  flex: 1;
}

.accordion-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  transition: all var(--transition);
}

.accordion-header.open .accordion-arrow {
  color: var(--accent);
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #1F1F1F;
}

.accordion-body.open {
  max-height: 600px;
}

.accordion-content {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.acc-field {
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}

.acc-field:last-child {
  grid-column: 1 / -1;
}

.acc-field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.acc-field-text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}

.acc-field.answer {
  background: rgba(158,7,7,0.08);
  border-color: rgba(158,7,7,0.15);
}

/* ============================================
   BLOCK 14: STOPLIST
   ============================================ */
#stoplist {
  background: var(--bg-main);
}

.stoplist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stoplist-col-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.stoplist-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stoplist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.stop-x {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   BLOCK 15: CHECKLISTS
   ============================================ */
#checklists {
  background: var(--bg-dark);
}

#checklists h2 {
  color: #fff;
  margin-bottom: 36px;
}

.checklist-accordions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-dark-card);
  border-radius: 10px;
  cursor: pointer;
  min-height: 64px;
  transition: background var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}

.checklist-accordion-header.open {
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.checklist-accordion-header:hover {
  background: #333;
}

.checklist-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checklist-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(158,7,7,0.15);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.checklist-count {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.checklist-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #1F1F1F;
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
}

.checklist-body.open {
  max-height: 800px;
}

.checklist-items {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.checklist-task {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.checklist-task:last-child {
  border-bottom: none;
}

.checklist-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(158,7,7,0.4);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-task-text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* ============================================
   BLOCK 16: ROP
   ============================================ */
#rop {
  background: var(--bg-main);
}

.rop-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.rop-table th {
  background: var(--text-main);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
}

.rop-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  background: var(--bg-card);
}

.rop-table td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
  width: 260px;
}

.rop-table td:last-child {
  color: var(--text-main);
}

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

.training-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.training-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.training-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  min-width: 28px;
  line-height: 1.3;
}

.training-text {
  font-size: 15px;
  color: var(--text-main);
}

.rop-footer {
  padding: 20px 24px;
  background: var(--text-main);
  border-radius: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--bg-dark);
  padding: 48px 0;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

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

.footer-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-line {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   UTILITIES
   ============================================ */
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ============================================
   RESPONSIVE — WIDE (sidebar always visible)
   ============================================ */
@media (max-width: 1400px) {
  .nav-sidebar { width: 220px; }
  body { padding-left: 220px; }
}

@media (max-width: 1200px) {
  .nav-sidebar { width: 200px; }
  body { padding-left: 200px; }
  .container { padding: 0 28px; }
  .marketing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE — MOBILE (sidebar hidden, topbar shown)
   ============================================ */
@media (max-width: 900px) {
  /* Hide desktop sidebar, show mobile topbar */
  .nav-sidebar { display: none; }
  .nav-topbar { display: flex; }

  /* Reset body offset — sidebar gone */
  body {
    padding-left: 0 !important;
    padding-top: 56px;
    font-size: 15px;
  }

  section { padding: 48px 0; }
  .container { padding: 0 20px; }

  h1 { font-size: 32px; letter-spacing: -0.3px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }

  /* Hero */
  #hero { padding: 40px 0 48px; }
  .hero-logo { margin-bottom: 24px; }
  .hero-subtitle { font-size: 16px; }
  .hero-badges {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
  }
  .hero-badge { width: 100%; }

  /* All 3-col grids become 1-col */
  .cards-grid-3,
  .stages-grid,
  .tariff-grid,
  .income-grid,
  .stoplist-grid {
    grid-template-columns: 1fr;
  }

  /* Marketing: 2-col on tablet, 1-col on small */
  .marketing-grid { grid-template-columns: repeat(2, 1fr); }

  /* Accordion content: single column */
  .accordion-content {
    grid-template-columns: 1fr;
  }
  .acc-field:last-child { grid-column: 1; }

  /* Shield */
  .shield-statuses {
    flex-direction: column;
    gap: 10px;
  }
  .shield-row-name { font-size: 14px; }

  /* Marketing stats */
  .marketing-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Tables — horizontal scroll */
  .contract-table,
  .rop-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
  }
  .contract-table td:first-child,
  .rop-table td:first-child { width: auto; min-width: 140px; }

  /* Objection tabs */
  .objection-tabs { flex-direction: column; }
  .obj-tab { width: 100%; justify-content: flex-start; }

  /* Income cards */
  .income-row { font-size: 13px; }

  /* Checklist */
  .checklist-accordion-header { padding: 16px 18px; }
  .checklist-title { font-size: 14px; }

  /* Script steps */
  .script-step { padding: 14px 16px; }
  .step-num { font-size: 20px; min-width: 28px; }

  /* Meeting cards */
  .meeting-step-title { font-size: 15px; }

  /* Stoplist */
  .stoplist-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Tariff cards */
  .tariff-commission { font-size: 22px; }

  /* ROP training */
  .training-item { padding: 12px 16px; }
}

@media (max-width: 600px) {
  .marketing-grid { grid-template-columns: 1fr; }
  .marketing-stats { grid-template-columns: 1fr 1fr; }

  .hero-badges .hero-badge { font-size: 13px; padding: 9px 14px; }

  h1 { font-size: 28px; }
  h2 { font-size: 22px; }

  .container { padding: 0 16px; }

  /* Shield rows stack */
  .shield-row { flex-wrap: wrap; gap: 8px; }
  .shield-row-count { margin-left: auto; }

  /* Nav drawer links */
  .nav-drawer a { font-size: 14px; padding: 11px 16px; }

  /* Section padding reduce */
  section { padding: 40px 0; }

  /* Quote block */
  .quote-block p { font-size: 15px; }

  /* Script forbidden */
  .script-forbidden { padding: 16px; }

  /* Stage cards */
  .stage-card { padding: 20px 18px; }
  .stage-num { font-size: 24px; }

  /* Contract table cells */
  .contract-table th,
  .contract-table td { padding: 12px 14px; }
  .rop-table th,
  .rop-table td { padding: 12px 14px; }
}
