/* ============================================================
   GROW A GARDEN SCRIPTS — style.css
   Modern Gaming UI/UX  |  Dark Theme  |  Speed Optimised
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --bg-primary: #080b14;
  --bg-secondary: #0d1120;
  --bg-card: #111827;
  --bg-card-hover: #162036;

  --accent: #00e5a0;
  --accent-2: #7c3aed;
  --accent-3: #06b6d4;
  --accent-glow: rgba(0, 229, 160, 0.15);
  --accent-glow-2: rgba(124, 58, 237, 0.15);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(0, 229, 160, 0.3);

  --font-body: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-glow: 0 0 30px rgba(0, 229, 160, 0.12);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-hero: 0 0 80px rgba(0, 229, 160, 0.1), 0 0 160px rgba(124, 58, 237, 0.08);

  --header-h: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}
a:hover { opacity: 0.85; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol { list-style: none; }

/* ===== ANIMATED BACKGROUND ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 229, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 160, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(8, 11, 20, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(8, 11, 20, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo-icon { font-size: 1.5rem; filter: drop-shadow(0 0 8px rgba(0, 229, 160, 0.5)); }
.logo-text .accent { color: var(--accent); }

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

.nav-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(8, 11, 20, 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  gap: 4px;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  pointer-events: none;
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-link {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
  opacity: 1;
}

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

.hero-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.title-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s 0.4s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #00c487 100%);
  color: #080b14;
  box-shadow: 0 4px 20px rgba(0, 229, 160, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 160, 0.45);
  opacity: 1;
}
.btn-ghost {
  border: 1px solid var(--border-accent);
  color: var(--accent);
  background: rgba(0, 229, 160, 0.04);
}
.btn-ghost:hover {
  background: rgba(0, 229, 160, 0.1);
  opacity: 1;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.5s ease both;
}

.stat-item {
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: var(--border);
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(ellipse, rgba(0, 229, 160, 0.07) 0%, rgba(124, 58, 237, 0.05) 40%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* ===== TABLE OF CONTENTS ===== */
.toc-section {
  padding: 48px 0;
  position: relative;
  z-index: 1;
}
.toc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  max-width: 680px;
  margin: 0 auto;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.toc-wrapper:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.toc-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-list {
  counter-reset: toc;
  list-style: none;
  display: grid;
  gap: 2px;
}
.toc-list li { counter-increment: toc; }
.toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.toc-link::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  opacity: 0.7;
  min-width: 24px;
  font-weight: 700;
}
.toc-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  opacity: 1;
}
.toc-link:hover::before { opacity: 1; }

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.content-section.alternate {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 17, 32, 0.6) 50%, transparent 100%);
}

.section-header {
  margin-bottom: 40px;
}
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.section-intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 700px;
}

.prose-block {
  max-width: 740px;
}
.prose-block p {
  color: var(--text-secondary);
  font-size: 1.025rem;
  margin-bottom: 16px;
}
.prose-block p:last-child { margin-bottom: 0; }
.prose-block strong { color: var(--text-primary); font-weight: 600; }

/* ===== TASKS GRID (intro section) ===== */
.tasks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 28px 0;
}
.task-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--transition);
}
.task-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.task-icon { font-size: 1.8rem; }

/* ===== TWO-COL LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ===== INFO CARD ===== */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition);
}
.info-card:hover { border-color: var(--border-accent); }
.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== REASONS GRID ===== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.reason-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.reason-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity var(--transition);
}
.reason-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.reason-card:hover::before { opacity: 1; }
.reason-icon { font-size: 2rem; margin-bottom: 12px; }
.reason-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.reason-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== FEATURES LIST ===== */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all var(--transition);
  margin-bottom: 8px;
}
.feature-item:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}
.feature-icon-wrap {
  text-align: center;
}
.feature-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.fi { font-size: 2rem; }
.feature-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.feature-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}
.feature-content strong { color: var(--text-primary); }

/* ===== HUBS GRID ===== */
.hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}
.hub-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 160, 0.04), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.hub-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 20px rgba(0, 229, 160, 0.08);
}
.hub-card:hover::after { opacity: 1; }
.hub-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.hub-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.hub-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* ===== HIDDEN FEATURES GRID ===== */
.hidden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.hidden-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(17, 24, 39, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.hidden-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.1);
}
.hc-icon { font-size: 2.2rem; margin-bottom: 14px; }
.hidden-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.hidden-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== STEPS CARD ===== */
.steps-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.steps-card h3 { font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.steps-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.step-n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ===== BREAK GRID (why stop section) ===== */
.break-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.break-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.break-icon { font-size: 1.2rem; }

.callout {
  background: rgba(0, 229, 160, 0.06);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.callout strong { color: var(--text-primary); }

/* ===== EXECUTOR GRID ===== */
.executor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.executor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all var(--transition);
}
.executor-card.featured {
  border-color: rgba(0, 229, 160, 0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 229, 160, 0.04) 100%);
}
.executor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: var(--border-accent);
}
.exec-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.exec-icon { font-size: 2rem; margin-bottom: 12px; }
.executor-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.executor-card p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 16px; }
.executor-card p strong { color: var(--text-secondary); }
.exec-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.exec-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-3);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 3px 8px;
  border-radius: 10px;
}

/* ===== ERRORS ===== */
.errors-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.error-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.error-item[open] { border-color: var(--border-accent); }
.error-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition), color var(--transition);
  color: var(--text-primary);
}
.error-summary::-webkit-details-marker { display: none; }
.error-summary:hover { background: rgba(255,255,255,0.03); }
.err-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 229, 160, 0.5);
}
.error-body {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.error-body strong { color: var(--accent); }

/* ===== COMPARISON TABLE ===== */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.compare-table thead th {
  background: rgba(0, 229, 160, 0.06);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius-lg) 0 0; }
.compare-table tbody tr {
  transition: background var(--transition);
}
.compare-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.compare-table tbody td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.good { color: var(--accent); }
.compare-table td.neutral { color: #f59e0b; }
.compare-table td.bad { color: #f87171; }
.mt-1 { margin-top: 24px; }

/* ===== SAFETY CHECKLIST ===== */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.check-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.check-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.check-card.green:hover { border-color: rgba(0, 229, 160, 0.4); box-shadow: 0 0 20px rgba(0, 229, 160, 0.1); }
.check-card.yellow:hover { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 20px rgba(245, 158, 11, 0.1); }
.check-card.blue:hover { border-color: rgba(6, 182, 212, 0.4); box-shadow: 0 0 20px rgba(6, 182, 212, 0.1); }
.check-card.purple:hover { border-color: rgba(124, 58, 237, 0.4); box-shadow: 0 0 20px rgba(124, 58, 237, 0.1); }
.check-card.red:hover { border-color: rgba(248, 113, 113, 0.4); box-shadow: 0 0 20px rgba(248, 113, 113, 0.1); }
.cc-icon { font-size: 2rem; margin-bottom: 12px; }
.check-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.check-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.check-card strong { color: var(--text-primary); }

/* ===== FUTURE LIST ===== */
.future-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.fl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.fl-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ===== CONCLUSION ===== */
.conclusion-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 229, 160, 0.03) 100%);
  border: 1px solid rgba(0, 229, 160, 0.25);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 740px;
}
.conclusion-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
.conclusion-card p:last-child { margin-bottom: 0; }
.conclusion-card strong { color: var(--text-primary); font-weight: 600; }

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-accent); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: background var(--transition);
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-arrow {
  min-width: 20px;
  transition: transform var(--transition);
  color: var(--accent);
  opacity: 0.7;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); opacity: 1; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(8, 11, 20, 0.8);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(148,163,184,0.3);
}
.footer-links a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
  opacity: 1;
}
.footer-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}
.footer-bottom a { color: var(--accent); }
.footer-brand-link {
  color: var(--accent) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: rgba(0, 229, 160, 0.2);
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.3);
  transform: translateY(-2px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: calc(var(--header-h) + 40px) 0 60px; }
  .hero-stats { gap: 24px; }
  .stat-item + .stat-item::before { left: -12px; height: 24px; }

  .toc-wrapper { padding: 24px 20px; }

  .feature-item { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .feature-icon-wrap { display: flex; align-items: center; gap: 10px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 280px; }
  .hero-stats { gap: 16px; }
  .tasks-grid { grid-template-columns: repeat(2, 1fr); }
  .hubs-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .checklist-grid { grid-template-columns: 1fr; }
  .back-to-top { bottom: 16px; right: 16px; }
}

/* ===== GET SCRIPT BUTTONS ===== */
.btn-get-script {
  background: linear-gradient(135deg, #ff6b35 0%, #f7c948 60%, #ff6b35 100%);
  background-size: 200% auto;
  color: #0d0d0d;
  font-weight: 800;
  border-radius: 40px;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.45), 0 0 0 0 rgba(255, 107, 53, 0.4);
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  animation: scriptBtnPulse 2.5s ease infinite;
}
.btn-get-script::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}
.btn-get-script:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 36px rgba(255, 107, 53, 0.6), 0 0 0 6px rgba(255, 107, 53, 0.15);
  opacity: 1;
}
.btn-get-script:hover::before { opacity: 1; }
.btn-get-script-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn-exec-get {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.875rem;
}
@keyframes scriptBtnPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(255, 107, 53, 0.45), 0 0 0 0 rgba(255, 107, 53, 0.35); }
  50% { box-shadow: 0 4px 30px rgba(255, 107, 53, 0.55), 0 0 0 8px rgba(255, 107, 53, 0); }
}
.btn-script-icon {
  font-style: normal;
  font-size: 1.1em;
}

/* ===== CTA BANNER SECTION ===== */
.cta-banner-section {
  padding: 0 0 16px;
  position: relative;
  z-index: 1;
}
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(255,107,53,0.12) 0%, rgba(247,201,72,0.08) 50%, rgba(124,58,237,0.12) 100%);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  overflow: hidden;
}
.cta-banner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,107,53,0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease infinite;
}
.cta-banner-content {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-banner-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 0 12px rgba(255,107,53,0.5));
  flex-shrink: 0;
}
.cta-banner-text {
  flex: 1;
  min-width: 200px;
}
.cta-banner-text h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ff6b35, #f7c948);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-banner-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== CONCLUSION CTA ===== */
.conclusion-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* ===== STICKY GET SCRIPT BUTTON ===== */
.sticky-get-script {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6b35, #f7c948);
  color: #0d0d0d;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 13px 22px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.sticky-get-script:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.65);
  opacity: 1;
}
.sticky-pulse {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  border: 2px solid rgba(255, 107, 53, 0.6);
  animation: stickyRing 2s ease infinite;
  pointer-events: none;
}
@keyframes stickyRing {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1.2); opacity: 0; }
}
/* Force GPU compositing for animated elements to avoid non-composited animation warnings */
.sticky-pulse, .hero-glow, .badge-dot, .particle {
  will-change: transform, opacity;
}
.sticky-icon { font-size: 1.1rem; }
.sticky-label { font-family: var(--font-body); }

/* ===== RESPONSIVE (get-script) ===== */
@media (max-width: 768px) {
  .cta-banner { padding: 28px 24px; }
  .cta-banner-content { gap: 20px; }
  .cta-banner-icon { font-size: 2.5rem; }
  .sticky-get-script { bottom: 16px; left: 16px; padding: 11px 18px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .cta-banner-content { flex-direction: column; text-align: center; }
  .btn-get-script { width: 100%; justify-content: center; max-width: 280px; }
}

/* ===== PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
