@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap");

:root {
  --primary: #0052FF;
  --primary-dark: #003ECC;
  --primary-deep: #002B99;
  --primary-light: #38BDF8;
  --primary-soft: #EFF6FF;
  --primary-gradient: linear-gradient(135deg, #0052FF 0%, #0066FF 45%, #00D2FF 100%);
  --brand-gradient: linear-gradient(135deg, #0052FF 0%, #0066FF 50%, #0EA5E9 100%);
  --electric-glow: radial-gradient(circle at 50% 0%, rgba(0, 82, 255, 0.14) 0%, rgba(0, 210, 255, 0.04) 50%, transparent 80%);

  --secondary: #00D2FF;
  --secondary-dark: #0284C7;
  --accent: #10B981;
  --accent-soft: #ECFDF5;
  --accent-glow: #34D399;

  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-deep: #075E54;
  --whatsapp-soft: #E7FCE8;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);

  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-glass: rgba(255, 255, 255, 0.88);
  --bg-blue-tint: #EFF6FF;
  --bg-blue-light: #F0F7FF;

  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --text-main: #0B132B;
  --text-heading: #0F172A;
  --text-muted: #334155;
  --text-light: #64748B;
  --border: #E2E8F0;
  --border-focus: #0052FF;
  --border-blue: rgba(0, 82, 255, 0.14);
  --border-card: rgba(0, 82, 255, 0.08);

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 14px 34px -4px rgba(0, 82, 255, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 8px 25px -3px rgba(0, 82, 255, 0.35);
  --shadow-wa: 0 6px 22px -3px rgba(37, 211, 102, 0.38);
  --shadow-card: 0 4px 20px rgba(0, 82, 255, 0.06), 0 1px 4px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 18px 40px -6px rgba(0, 82, 255, 0.16), 0 6px 16px -2px rgba(15, 23, 42, 0.05);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
}

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

html {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section[id], div[id], article[id] {
  scroll-margin-top: 86px;
}

body {
  line-height: 1.6;
  background-color: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 600px;
  background: var(--electric-glow);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

p.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

.sg-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 82, 255, 0.08);
  transition: all 0.3s ease;
}

.sg-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(0, 82, 255, 0.08);
}

.sg-bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-heading);
  text-decoration: none;
  flex-shrink: 0;
}

.sg-brand:hover {
  color: var(--primary);
}

.sg-brand img {
  width: 36px;
  height: 36px;
}

.sg-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-heading);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.sg-toggle:hover {
  background: var(--primary-soft);
}

.sg-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.sg-links > a,
.sg-links > details > summary {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.sg-links > a:hover,
.sg-links > details > summary:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.sg-links > details {
  position: relative;
}

.sg-links > details > summary::after {
  content: "▾";
  font-size: 0.7rem;
  margin-left: 4px;
  opacity: 0.6;
}

.sg-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #FFFFFF;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 82, 255, 0.12);
  padding: 8px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}

.sg-links > details:hover .sg-menu,
.sg-links > details:focus-within .sg-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sg-menu a {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.sg-menu a:hover {
  background: var(--primary-soft);
}

.sg-menu a small {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}

.sg-primary {
  background: var(--primary-gradient) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.3);
  transition: all 0.25s ease !important;
}

.sg-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 82, 255, 0.4);
  color: #FFFFFF !important;
}

.sg-hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.sg-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.sg-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.sg-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.sg-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding: 6px 14px;
  background: var(--primary-soft);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 82, 255, 0.12);
}

.sg-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.sg-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 82, 255, 0.4);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 82, 255, 0.25);
}

.pg-trust-row {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.pg-trust-row li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pg-trust-row li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}

.sg-note {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.sg-home-search {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.sg-home-search input {
  flex: 1;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  outline: none;
  transition: all 0.2s ease;
}

.sg-home-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
}

.join3d-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.join3d {
  position: relative;
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 18px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 4px solid rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.join3d:hover {
  transform: translateY(-3px);
  filter: brightness(1.07);
}

.join3d:active {
  transform: translateY(1px);
  border-bottom-width: 2px;
}

.join3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

.join3d::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.join3d:hover::after {
  left: 130%;
}

.join3d-wa {
  background: linear-gradient(180deg, #34e07a, #1eb956 55%, #128a43);
  box-shadow: 0 10px 24px rgba(20, 154, 72, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.join3d-tg {
  background: linear-gradient(180deg, #45b8f0, #229ED9 55%, #0b6fa8);
  box-shadow: 0 10px 24px rgba(11, 124, 184, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.join3d-badge {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), inset 0 -2px 4px rgba(0, 0, 0, 0.08);
}

.join3d-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.join3d-text strong {
  font-size: 1.02rem;
}

.join3d-text small {
  font-size: 0.78rem;
  opacity: 0.92;
  font-weight: 600;
}

.sg-example {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.sg-example-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.sg-example-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.sg-bubble {
  background: var(--primary-soft);
  border: 1px solid rgba(0, 82, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.sg-answer {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.sg-equation {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  margin: 8px 0;
  text-align: center;
}

.sg-example-tag {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
}

.pg-float-chip {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading);
  animation: floatChip 4s ease-in-out infinite;
}

.pg-float-chip small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 500;
}

.pg-chip-a {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.pg-chip-b {
  bottom: 15%;
  left: -30px;
  animation-delay: 2s;
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.pg-wave {
  display: block;
  width: 100%;
  height: 64px;
  margin-top: 56px;
}

.pg-stats {
  padding: 3rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.pg-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pg-stat span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.sg-section {
  padding: 5rem 0;
  position: relative;
}

.sg-section-soft {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sg-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.sg-section-head h2 {
  margin-bottom: 0.5rem;
}

.sg-section-head p {
  color: var(--text-muted);
  max-width: 520px;
}

.sg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.sg-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

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

.sg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 82, 255, 0.2);
}

.sg-card:hover::before {
  opacity: 1;
}

.sg-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.sg-card:hover .sg-icon {
  background: var(--primary-gradient);
  color: #FFFFFF;
  transform: scale(1.05);
}

.sg-result-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.8rem;
  border: 1px solid rgba(0, 82, 255, 0.1);
}

.sg-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.sg-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.sg-card a {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sg-card a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.sg-card a:hover::after {
  transform: translateX(4px);
}

.sg-paths {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.sg-paths a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 1.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.sg-paths a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 82, 255, 0.2);
}

.sg-paths a strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-heading);
}

.sg-paths a span {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
}

.sg-paths a span:last-child {
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

.sg-shortcuts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sg-shortcuts a {
  padding: 10px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.sg-shortcuts a:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.25);
}

.sg-band {
  background: var(--primary-gradient);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0, 82, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.sg-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sg-band h2 {
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.sg-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 520px;
}

.sg-band .sg-actions {
  margin-bottom: 0;
}

.sg-band .btn-outline {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.sg-band .btn-outline:hover {
  background: #FFFFFF;
  color: var(--primary);
}

.sg-band .join3d-row {
  margin-top: 1rem;
}

.pg-final {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.pg-final h2 {
  margin-bottom: 0.8rem;
}

.pg-final p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.pg-final-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.sg-footer {
  background: #0B132B;
  color: #CBD5E1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sg-footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.sg-footer h2 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.sg-footer h3 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.sg-footer p {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sg-footer a {
  color: #94A3B8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  margin-bottom: 8px;
}

.sg-footer a:hover {
  color: #38BDF8;
}

.sg-footer > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #38BDF8;
}

.sg-footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: #64748B;
  text-align: center;
}

details {
  margin-bottom: 0.8rem;
}

details summary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.2s ease;
}

details[open] summary {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 1rem 1.6rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-top: -8px;
  padding-top: 1.4rem;
}

.pg-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--pg-delay, 0ms);
}

.pg-reveal.pg-in {
  opacity: 1;
  transform: translateY(0);
}

.pg-tilt {
  transition: transform 0.15s ease, box-shadow 0.3s ease;
}

.pg-tilt-active {
  transition: transform 0.05s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (max-width: 1024px) {
  .sg-toggle {
    display: block;
  }

  .sg-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-blue);
    box-shadow: 0 16px 36px rgba(0, 82, 255, 0.12);
    gap: 0.3rem;
  }

  .sg-links.open {
    display: flex;
  }

  .sg-links > a,
  .sg-links > details > summary {
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .sg-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(0, 82, 255, 0.2);
    border-radius: 0;
    margin: 4px 0 4px 12px;
    padding: 4px 0 4px 8px;
    min-width: auto;
    display: none;
  }

  .sg-links > details.open .sg-menu {
    display: block;
  }

  .sg-primary {
    text-align: center;
    margin-top: 8px;
  }

  .sg-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sg-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sg-paths {
    grid-template-columns: repeat(3, 1fr);
  }

  .pg-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .sg-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .sg-band {
    padding: 2.5rem 2rem;
    flex-direction: column;
    text-align: center;
  }

  .sg-band p {
    max-width: 100%;
  }

  .sg-band .sg-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .sg-hero {
    padding: 3rem 0 2.5rem;
  }

  .sg-grid {
    grid-template-columns: 1fr;
  }

  .sg-paths {
    grid-template-columns: 1fr 1fr;
  }

  .pg-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .pg-stat strong {
    font-size: 2rem;
  }

  .sg-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sg-home-search {
    flex-direction: column;
  }

  .sg-home-search .btn {
    width: 100%;
  }

  .join3d-row {
    flex-direction: column;
  }

  .join3d {
    flex: 1 1 auto;
  }

  .sg-section {
    padding: 3rem 0;
  }

  .sg-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pg-float-chip {
    display: none;
  }

  .sg-band {
    padding: 2rem 1.5rem;
  }

  .sg-band .join3d-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pg-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .join3d,
  .join3d::after {
    transition: none;
  }
  .pg-float-chip {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   AI STUDY GURU — COMPREHENSIVE HOMEPAGE V4 ENGINES & STYLING
   (Updated 2026-10-14 for Web & Telegram Leadership)
   ═══════════════════════════════════════════════════════════════ */

/* 1. Telegram Hero Button & Action Enhancements */
.btn-tg-hero {
  background: linear-gradient(135deg, #0088cc, #00b4d8) !important;
  color: #FFFFFF !important;
  font-weight: 800;
  padding: 13px 24px;
  font-size: 0.95rem;
  border-radius: var(--radius-pill, 9999px);
  box-shadow: 0 6px 18px rgba(0, 136, 204, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-tg-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 136, 204, 0.6);
  color: #FFFFFF !important;
}

/* 2. Web & Telegram 3D Buttons */
.join3d-web {
  background: linear-gradient(180deg, #2563eb, #0052ff 55%, #1d4ed8) !important;
  box-shadow: 0 10px 24px rgba(0, 82, 255, 0.45), inset 0 1px 0 rgba(255,255,255,.4) !important;
}
.join3d-web:hover {
  box-shadow: 0 14px 30px rgba(0, 82, 255, 0.65) !important;
}
.join3d-tg-featured {
  border: 2px solid #67e8f9 !important;
  box-shadow: 0 12px 28px rgba(0, 136, 204, 0.55), inset 0 1px 0 rgba(255,255,255,.5) !important;
}
.join3d-tg-featured:hover {
  box-shadow: 0 16px 36px rgba(0, 136, 204, 0.7) !important;
}

/* 3. Interactive AI Doubt Solver Form */
.sg-home-solver {
  margin: 1.5rem 0 1rem;
  max-width: 580px;
}
.solver-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #0052ff;
  border-radius: var(--radius-pill, 9999px);
  padding: 5px 6px 5px 16px;
  box-shadow: 0 8px 24px rgba(0, 82, 255, 0.15);
  transition: all 0.25s ease;
}
.solver-input-wrap:focus-within {
  box-shadow: 0 10px 30px rgba(0, 82, 255, 0.25);
  border-color: #003ecc;
}
.solver-icon {
  font-size: 1.2rem;
  margin-right: 8px;
  color: #0052ff;
  flex: none;
}
.solver-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0f172a;
  min-width: 0;
  background: transparent;
}
.solver-input-wrap input::placeholder {
  color: #94a3b8;
}
.btn-solver-submit {
  background: linear-gradient(135deg, #0052ff, #2563eb);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  padding: 11px 20px;
  border-radius: var(--radius-pill, 9999px);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.3);
  flex: none;
}
.btn-solver-submit:hover {
  background: linear-gradient(135deg, #003ecc, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 82, 255, 0.45);
}
.solver-sub-hints {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 6px;
  padding-left: 14px;
}

/* 4. Hero Interactive Question Launcher Chips */
.hero-prompt-strip {
  margin: 14px 0 18px;
  text-align: left;
}
.hero-prompt-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light, #64748b);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary, #0052ff);
  background: var(--bg-blue-tint, #eff6ff);
  border: 1px solid rgba(0, 82, 255, 0.2);
  text-decoration: none;
  transition: all 0.18s ease;
}
.hero-chip-btn:hover {
  background: var(--primary, #0052ff);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.3);
}

/* 5. Hero Interactive AI Demo Simulator Card */
.hero-ai-demo-card {
  background: #ffffff;
  border: 1px solid rgba(0, 82, 255, 0.15) !important;
  border-radius: 24px !important;
  padding: 22px !important;
  box-shadow: 0 20px 48px -8px rgba(0, 82, 255, 0.18), 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}
.demo-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.demo-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.demo-tab-strip {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
}
.demo-tab-btn {
  flex: 1;
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #475569;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.demo-tab-btn:hover {
  color: #0052ff;
}
.demo-tab-btn.active {
  background: #ffffff;
  color: #0052ff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.demo-tab-panel {
  display: none;
}
.demo-tab-panel.active {
  display: block;
  animation: fadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.user-avatar-tiny {
  display: inline-flex;
  width: 22px;
  height: 22px;
  background: #dbeafe;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-right: 6px;
  flex: none;
}

.step-mark-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #cbd5e1;
}
.marks-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
}
.step-item {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 6px;
}
.step-num {
  font-weight: 800;
  color: #0052ff;
  margin-right: 4px;
}
.demo-action-bar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.btn-demo-try {
  flex: 1;
  background: #0052ff;
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.25);
  transition: all 0.2s ease;
}
.btn-demo-try:hover {
  background: #003ecc;
  transform: translateY(-1px);
}
.btn-demo-tg {
  background: #f0f9ff;
  color: #0284c7 !important;
  border: 1px solid rgba(2, 132, 199, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-demo-tg:hover {
  background: #e0f2fe;
}

/* 6. Channel Comparison Showcase */
.channel-comp-wrap {
  margin: 32px auto 0;
  max-width: 980px;
}
.channel-comp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 34px 26px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

/* Allowance Comparison Meter */
.allowance-comparison-meter {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.acm-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin-bottom: 10px;
}
.acm-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
.acm-channel {
  width: 130px;
  font-weight: 700;
  color: #0f172a;
  flex: none;
}
.acm-bar-bg {
  flex: 1;
  background: #e2e8f0;
  height: 22px;
  border-radius: 11px;
  overflow: hidden;
  position: relative;
}
.acm-bar-fill {
  height: 100%;
  border-radius: 11px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  transition: width 0.8s ease;
}
.wa-bar { background: #94a3b8; }
.web-bar { background: linear-gradient(90deg, #0052ff, #3b82f6); }
.tg-bar { background: linear-gradient(90deg, #0284c7, #00d2ff); }
.acm-note {
  font-size: 0.8rem;
  color: #64748b;
  width: 170px;
  flex: none;
  text-align: right;
}

.channel-comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.channel-pill-card {
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: transform 0.25s, box-shadow 0.25s;
}
.channel-pill-card.featured-web {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border: 2px solid #0052ff;
  box-shadow: 0 12px 32px rgba(0, 82, 255, 0.15);
  transform: translateY(-4px);
}
.channel-pill-card.featured-tg {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border: 2px solid #0284c7;
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.15);
  transform: translateY(-4px);
}
.channel-pill-card.muted-wa {
  opacity: 0.88;
}
.channel-badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 12px;
  margin-bottom: 8px;
  align-self: center;
}
.tag-gold { background: #fef3c7; color: #b45309; }
.tag-blue { background: #dbeafe; color: #1d4ed8; }
.tag-gray { background: #f1f5f9; color: #64748b; }
.channel-pill-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 4px 0 8px;
  color: #0f172a;
}
.channel-pill-allowance {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0052ff;
  margin-bottom: 4px;
}
.channel-pill-card.featured-tg .channel-pill-allowance {
  color: #0284c7;
}
.channel-pill-card.muted-wa .channel-pill-allowance {
  color: #64748b;
}
.channel-pill-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  text-align: left;
  font-size: 0.82rem;
  line-height: 1.8;
  color: #334155;
}

/* 7. Two Doubt Superpowers Section */
.superpowers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.superpower-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.superpower-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}
.sp-badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 12px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.sp-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}
.sp-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}
.sp-highlights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 20px;
}
.sp-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 8. Live Activity Pulse Ticker */
.live-activity-bar {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 82, 255, 0.15);
  border-radius: 30px;
  padding: 8px 20px;
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.08);
  font-size: 0.85rem;
  color: #334155;
}
.live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 1.8s infinite;
  flex: none;
}
.live-activity-text {
  transition: opacity 0.25s ease;
}

/* 9. Board & Standard Filter Tabs */
.board-filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.board-filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.board-filter-btn:hover {
  border-color: #0052ff;
  color: #0052ff;
}
.board-filter-btn.active {
  background: #0052ff;
  color: #ffffff;
  border-color: #0052ff;
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.25);
}

.boards-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.board-card-home {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.board-card-home:hover {
  transform: translateY(-3px);
  border-color: #0052ff;
  box-shadow: 0 10px 26px rgba(0, 82, 255, 0.12);
}
.board-card-home .bch-icon { font-size: 1.8rem; margin-bottom: 10px; }
.board-card-home .bch-title { font-size: 1.05rem; font-weight: 800; color: #0f172a; }
.board-card-home .bch-desc { font-size: 0.82rem; color: #64748b; margin-top: 6px; line-height: 1.5; }
.board-card-home .bch-link { font-size: 0.82rem; font-weight: 700; color: #0052ff; margin-top: 14px; }

/* 10. 6 AI Topper Engines */
.topper-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.topper-card-home {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s ease;
}
.topper-card-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}
.topper-card-home .tch-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.topper-card-home .tch-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex: none;
}
.topper-card-home .tch-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}
.topper-card-home .tch-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}
.topper-card-home .tch-cta {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0052ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topper-card-home .tch-cta:hover { text-decoration: underline; }

/* 11. Student Testimonials */
.testim-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.testim-card-home {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testim-card-home .testim-stars { color: #f59e0b; margin-bottom: 10px; font-size: 1rem; }
.testim-card-home .testim-quote { font-size: 0.9rem; color: #1e293b; line-height: 1.65; font-style: italic; margin-bottom: 18px; }
.testim-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testim-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.testim-card-home .testim-author { font-size: 0.88rem; font-weight: 800; color: #0f172a; }
.verified-tick {
  font-size: 0.72rem;
  color: #166534;
  background: #dcfce7;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 700;
  margin-left: 4px;
}
.testim-card-home .testim-meta { font-size: 0.76rem; color: #64748b; margin-top: 3px; }

/* 12. Final CTA & Responsive Tweaks */
.pg-final {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  border-radius: 24px !important;
  padding: 3rem 2rem !important;
  color: #ffffff !important;
  text-align: center;
  border: 2px solid rgba(0, 82, 255, 0.3) !important;
  box-shadow: 0 20px 50px rgba(0, 82, 255, 0.15) !important;
}
.pg-final h2 {
  color: #ffffff !important;
  font-size: 2rem !important;
  margin-bottom: 10px;
}
.pg-final p {
  color: #cbd5e1 !important;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}
.pg-final-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .channel-comp-grid { grid-template-columns: 1fr; }
  .channel-pill-card.featured-web,
  .channel-pill-card.featured-tg { transform: none; }
  .acm-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .acm-channel, .acm-note { width: 100%; text-align: left; }
  .superpowers-grid { grid-template-columns: 1fr; }
  .sg-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-chips-wrap { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .hero-chip-btn { flex: none; }
  .demo-tab-btn { font-size: 0.74rem; padding: 6px 8px; }
}

/* WhatsApp Brand Buttons & Chips (2026-10-14) */
.btn-wa-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-pill, 9999px);
  text-decoration: none;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-wa-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  background: #20ba59;
  color: #ffffff !important;
}
.btn-demo-wa {
  background: #ecfdf5;
  color: #15803d !important;
  border: 1px solid rgba(22, 101, 52, 0.25);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-demo-wa:hover {
  background: #dcfce7;
  color: #166534 !important;
}


/* ==========================================================================
   Mobile Sticky Action Bar for Mobile Visitors
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 82, 255, 0.15);
  padding: 8px 12px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.btn-nav-tg {
  background: linear-gradient(135deg, #0088cc, #00c6ff) !important;
  color: #FFFFFF !important;
  font-weight: 800;
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px;
  }
  .mobile-sticky-bar {
    display: flex;
  }
}

/* ==========================================================================
   GURU PREMIUM V2 — Aurora Studio Theme for Homepage
   Loaded AFTER guru.css (line ~2190) via guru-test.css link.
   Cascade order: site.css → guru.css → THIS FILE
   ========================================================================== */

/* ── TOKENS ── */
:root {
  --g2-ink: #0b1220;
  --g2-ink-soft: #1a2436;
  --g2-mid: #3b4660;
  --g2-mute: #64748b;
  --g2-faint: #94a3b8;
  --g2-line: #e3e9f2;
  --g2-line-soft: #eef2f8;
  --g2-paper: #ffffff;
  --g2-paper-tint: #f6f8fc;
  --g2-paper-deep: #eef2f8;
  --g2-blue: #0052ff;
  --g2-blue-deep: #0038b3;
  --g2-blue-soft: #e8effe;
  --g2-blue-tint: #f2f6ff;
  --g2-cyan: #00c2ff;
  --g2-teal: #06b6d4;
  --g2-violet: #7c3aed;
  --g2-green: #10b981;
  --g2-green-soft: #ecfdf5;
  --g2-amber: #f59e0b;
  --g2-red: #ef4444;
  --g2-radius-lg: 22px;
  --g2-radius-md: 16px;
  --g2-radius-sm: 10px;
  --g2-radius-pill: 999px;
  --g2-shadow-soft: 0 1px 2px rgba(15,23,42,0.04), 0 4px 16px rgba(15,23,42,0.06);
  --g2-shadow-mid: 0 2px 4px rgba(15,23,42,0.04), 0 12px 32px rgba(15,23,42,0.10);
  --g2-shadow-lift: 0 2px 4px rgba(15,23,42,0.04), 0 20px 48px rgba(15,23,42,0.14);
  --g2-shadow-blue: 0 2px 4px rgba(0,82,255,0.08), 0 12px 32px rgba(0,82,255,0.14);
  --g2-blur: 16px;
}

/* ── 1. PAGE CANVAS & TYPOGRAPHY ── */
body {
  background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 280px) !important;
  color: var(--g2-ink) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
}

html {
  overflow-x: hidden !important;
}

/* Sections stay full-bleed so their background bands span the viewport.
   The inner .sg-wrap / .container is what constrains and centres content. */
.sg-section, .section-block, section {
  max-width: none;
}

/* ── 2. SECTION HEADERS — eyebrow + title + sub ── */
.sg-section-header, .section-header, .sg-hero-eyebrow, .pg-section-eyebrow,
.eyebrow, .section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--g2-blue);
  margin-bottom: 8px !important;
}

.sg-section-title, .section-title, .pg-section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  color: var(--g2-ink) !important;
  margin-bottom: 10px !important;
}

.sg-section-sub, .section-sub, .pg-section-sub {
  font-size: 0.98rem !important;
  color: var(--g2-mute) !important;
  line-height: 1.6 !important;
  max-width: 640px;
}

/* ── 3. HERO ── */
.sg-hero, .hero-section {
  padding: 3.5rem 0 4rem !important;
  position: relative;
  overflow: hidden;
}

.sg-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0,82,255,0.14) 0%, rgba(0,194,255,0.08) 42%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.sg-hero::after {
  content: '';
  position: absolute;
  bottom: -140px;
  left: -200px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0,194,255,0.10) 0%, rgba(124,58,237,0.06) 44%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.sg-hero-grid {
  position: relative;
  z-index: 1;
}

.sg-hero-eyebrow {
  background: var(--g2-blue-tint) !important;
  border: 1px solid var(--g2-blue-soft) !important;
  color: var(--g2-blue) !important;
  padding: 5px 14px !important;
  border-radius: var(--g2-radius-pill) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 18px !important;
  display: inline-flex !important;
}

.sg-hero-title, .hero-title, .sg-hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  color: var(--g2-ink) !important;
  margin-bottom: 16px !important;
}

.sg-hero-title .accent, .hero-title .accent, .sg-hero h1 .accent,
.sg-hero-title em, .hero-title em {
  background: linear-gradient(135deg, var(--g2-blue) 0%, var(--g2-cyan) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-style: normal !important;
}

.sg-hero-sub, .hero-sub {
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  color: var(--g2-mute) !important;
  margin-bottom: 24px !important;
  max-width: 540px;
}

/* ── 4. HERO SEARCH / SOLVER BAR ── */
.sg-home-solver, .hero-solver, .solver-bar {
  background: var(--g2-paper) !important;
  border: 1.5px solid var(--g2-line) !important;
  border-radius: var(--g2-radius-pill) !important;
  box-shadow: var(--g2-shadow-mid) !important;
  padding: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  max-width: 540px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.sg-home-solver:focus-within, .hero-solver:focus-within, .solver-bar:focus-within {
  border-color: var(--g2-blue) !important;
  box-shadow: var(--g2-shadow-blue) !important;
}

.sg-home-solver input, .hero-solver input, .solver-bar input {
  flex: 1 1 auto;
  min-width: 0;
  width: 0;
  border: none !important;
  background: transparent !important;
  padding: 10px 16px !important;
  font-size: 0.95rem !important;
  color: var(--g2-ink) !important;
  outline: none !important;
}

.sg-home-solver input::placeholder, .hero-solver input::placeholder, .solver-bar input::placeholder {
  color: var(--g2-faint) !important;
}

.sg-home-solver .solver-submit, .sg-home-solver .btn-solver-submit, .hero-solver button, .solver-bar .btn-solve,
.sg-home-solver button[type="submit"], .solver-bar button {
  background: linear-gradient(135deg, var(--g2-blue) 0%, var(--g2-blue-deep) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 10px 22px !important;
  border-radius: var(--g2-radius-pill) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0,82,255,0.30) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.sg-home-solver .solver-submit:hover, .sg-home-solver .btn-solver-submit:hover, .hero-solver button:hover, .solver-bar button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0,82,255,0.40) !important;
}

/* ── 5. HERO CHIPS ── */
.hero-chips-wrap, .sg-hero-chips, .quick-doubts-wrap {
  margin-top: 18px !important;
}

.hero-chip-btn, .chip-btn, .quick-doubt-chip {
  background: var(--g2-paper) !important;
  border: 1px solid var(--g2-line) !important;
  color: var(--g2-mid) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 7px 14px !important;
  border-radius: var(--g2-radius-pill) !important;
  transition: all 0.2s ease !important;
}

.hero-chip-btn:hover, .chip-btn:hover, .quick-doubt-chip:hover {
  background: var(--g2-blue-tint) !important;
  border-color: var(--g2-blue-soft) !important;
  color: var(--g2-blue) !important;
  transform: translateY(-1px) !important;
}

/* ── 6. HERO CHANNEL BUTTONS ROW ── */
.hero-channel-btns, .sg-hero-ctas, .hero-ctas {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

.btn-web-teacher, .btn-primary-hero, .btn-hero-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, var(--g2-blue) 0%, var(--g2-blue-deep) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 11px 24px !important;
  border-radius: var(--g2-radius-pill) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0,82,255,0.32) !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

.btn-web-teacher:hover, .btn-primary-hero:hover, .btn-hero-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0,82,255,0.42) !important;
  color: #ffffff !important;
}

.btn-telegram-hero, .btn-tg-hero {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #0088cc 0%, #00c6ff 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 11px 24px !important;
  border-radius: var(--g2-radius-pill) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0,136,204,0.30) !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

.btn-telegram-hero:hover, .btn-tg-hero:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0,136,204,0.40) !important;
  color: #ffffff !important;
}

.btn-wa-hero {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 11px 24px !important;
  border-radius: var(--g2-radius-pill) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37,211,102,0.32) !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

.btn-wa-hero:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(37,211,102,0.42) !important;
  color: #ffffff !important;
}

/* ── 7. TRUST RIBBON ── */
.trust-ribbon, .hero-trust, .sg-trust-ribbon {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 20px !important;
  margin-top: 20px !important;
  font-size: 0.8rem !important;
  color: var(--g2-mute) !important;
  align-items: center !important;
}

.trust-ribbon span, .hero-trust span, .sg-trust-ribbon span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

/* ── 8. AI DEMO CARD (hero right) ── */
.hero-ai-demo-card, .sg-hero-demo-card, .ai-demo-card {
  background: var(--g2-paper) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: var(--g2-radius-lg) !important;
  box-shadow: var(--g2-shadow-lift) !important;
  padding: 24px !important;
}

.demo-live-badge {
  background: var(--g2-green-soft) !important;
  border: 1px solid rgba(16,185,129,0.25) !important;
  color: #065f46 !important;
}

.demo-tab-strip {
  background: var(--g2-paper-deep) !important;
  border-radius: 12px !important;
  padding: 4px !important;
}

.demo-tab-btn {
  border-radius: 8px !important;
  font-weight: 700 !important;
  color: var(--g2-mute) !important;
}

.demo-tab-btn.active {
  background: var(--g2-paper) !important;
  color: var(--g2-blue) !important;
  box-shadow: 0 2px 8px rgba(15,23,42,0.08) !important;
}

.btn-demo-try {
  background: linear-gradient(135deg, var(--g2-blue) 0%, var(--g2-blue-deep) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0,82,255,0.28) !important;
}

.btn-demo-tg {
  background: #f0f9ff !important;
  color: #0284c7 !important;
  border: 1px solid rgba(2,132,199,0.25) !important;
}

.btn-demo-wa {
  background: #ecfdf5 !important;
  color: #15803d !important;
  border: 1px solid rgba(22,101,52,0.20) !important;
}

/* ── 9. CHANNEL COMPARISON SECTION ── */
.channel-comp-wrap {
  margin-top: 48px !important;
  max-width: 1000px !important;
}

.channel-comp-card {
  background: var(--g2-paper) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: var(--g2-radius-lg) !important;
  box-shadow: var(--g2-shadow-mid) !important;
  padding: 36px 32px !important;
}

.channel-comp-card .section-eyebrow,
.channel-comp-card .eyebrow {
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
}

.allowance-comparison-meter {
  background: var(--g2-paper-tint) !important;
  border: 1px solid var(--g2-line-soft) !important;
  border-radius: 14px !important;
}

.acm-bar-bg {
  background: var(--g2-paper-deep) !important;
  border-radius: 11px !important;
}

.acm-bar-fill.web-bar {
  background: linear-gradient(90deg, var(--g2-blue), var(--g2-cyan)) !important;
}

.acm-bar-fill.tg-bar {
  background: linear-gradient(90deg, #0284c7, #00d2ff) !important;
}

.channel-pill-card {
  border-radius: 18px !important;
  border: 1px solid var(--g2-line) !important;
  background: var(--g2-paper-tint) !important;
}

.channel-pill-card.featured-web {
  background: linear-gradient(180deg, var(--g2-blue-tint) 0%, #ffffff 100%) !important;
  border: 2px solid var(--g2-blue) !important;
  box-shadow: 0 12px 32px rgba(0,82,255,0.12) !important;
}

.channel-pill-card.featured-tg {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%) !important;
  border: 2px solid #0284c7 !important;
  box-shadow: 0 12px 32px rgba(2,132,199,0.12) !important;
}

.channel-pill-allowance {
  font-size: 1.7rem !important;
  font-weight: 900 !important;
}

/* ── 10. SUPERPOWERS GRID ── */
.superpowers-grid {
  gap: 22px !important;
}

.superpower-card {
  background: var(--g2-paper) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: var(--g2-radius-lg) !important;
  box-shadow: var(--g2-shadow-soft) !important;
  padding: 30px !important;
  transition: all 0.25s ease !important;
}

.superpower-card:hover {
  border-color: var(--g2-blue-soft) !important;
  box-shadow: var(--g2-shadow-lift) !important;
  transform: translateY(-3px) !important;
}

.sp-badge-tag {
  background: var(--g2-blue-tint) !important;
  color: var(--g2-blue) !important;
  border: 1px solid var(--g2-blue-soft) !important;
}

.sp-title {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: var(--g2-ink) !important;
}

.sp-desc {
  color: var(--g2-mute) !important;
}

.sp-highlights {
  color: #065f46 !important;
}

/* ── 11. LIVE ACTIVITY BAR ── */
.live-activity-bar {
  background: var(--g2-paper) !important;
  border: 1px solid var(--g2-line) !important;
  box-shadow: var(--g2-shadow-soft) !important;
  border-radius: var(--g2-radius-pill) !important;
}

/* ── 12. STATS BAND ── */
.stats-band, .sg-stats, .home-stats {
  background: linear-gradient(135deg, #0b1220 0%, #101c33 100%) !important;
  border-radius: var(--g2-radius-lg) !important;
  box-shadow: 0 20px 48px rgba(11,18,32,0.28) !important;
}

/* ── 13. BOARD FILTER TABS ── */
.board-filter-btn {
  background: var(--g2-paper) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: var(--g2-radius-pill) !important;
  color: var(--g2-mute) !important;
  font-weight: 700 !important;
}

.board-filter-btn.active {
  background: linear-gradient(135deg, var(--g2-blue) 0%, var(--g2-blue-deep) 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(0,82,255,0.28) !important;
}

/* ── 14. BOARD CARDS ── */
.board-card-home {
  background: var(--g2-paper) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: var(--g2-radius-md) !important;
  box-shadow: var(--g2-shadow-soft) !important;
  transition: all 0.22s ease !important;
}

.board-card-home:hover {
  border-color: var(--g2-blue-soft) !important;
  box-shadow: var(--g2-shadow-mid) !important;
  transform: translateY(-3px) !important;
}

.board-card-home .bch-link {
  color: var(--g2-blue) !important;
  font-weight: 700 !important;
}

/* ── 15. TOPPER CARDS ── */
.topper-card-home {
  background: var(--g2-paper) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: var(--g2-radius-md) !important;
  box-shadow: var(--g2-shadow-soft) !important;
  transition: all 0.22s ease !important;
}

.topper-card-home:hover {
  border-color: var(--g2-blue-soft) !important;
  box-shadow: var(--g2-shadow-mid) !important;
  transform: translateY(-3px) !important;
}

.topper-card-home .tch-icon {
  background: var(--g2-blue-tint) !important;
  border-radius: 14px !important;
}

.topper-card-home .tch-cta {
  color: var(--g2-blue) !important;
}

/* ── 16. TESTIMONIALS ── */
.testim-card-home {
  background: var(--g2-paper) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: var(--g2-radius-md) !important;
  box-shadow: var(--g2-shadow-soft) !important;
}

.testim-card-home .testim-quote {
  color: var(--g2-ink-soft) !important;
  font-style: normal !important;
}

/* ── 17. FINAL CTA ── */
.pg-final {
  background: linear-gradient(135deg, #0b1220 0%, #101c33 50%, #0b1e3a 100%) !important;
  border-radius: var(--g2-radius-lg) !important;
  box-shadow: 0 24px 60px rgba(11,18,32,0.30) !important;
  border: 1px solid rgba(0,82,255,0.20) !important;
  position: relative;
  overflow: hidden;
}

.pg-final::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0,82,255,0.22) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.pg-final h2 {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.pg-final p {
  color: #b0bdd0 !important;
}

/* ── 18. GLOBAL BUTTON POLISH ── */
.btn-nav-tg {
  background: linear-gradient(135deg, #0088cc, #00c6ff) !important;
  color: #ffffff !important;
}

/* ── 19. HEADER / NAV (from site.css) ── */
.site-header, .main-header, header.site-nav {
  background: rgba(255,255,255,0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--g2-line-soft) !important;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04) !important;
}

/* ── 20. FOOTER ── */
.site-footer, footer.site-footer {
  background: #0b1220 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  color: #b0bdd0 !important;
}

.site-footer a, footer.site-footer a {
  color: #b0bdd0 !important;
  transition: color 0.15s ease !important;
}

.site-footer a:hover, footer.site-footer a:hover {
  color: #ffffff !important;
}

/* ── 21. MOBILE STICKY BAR ── */
.mobile-sticky-bar {
  background: rgba(255,255,255,0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-top: 1px solid var(--g2-line-soft) !important;
}



/* ==========================================================================
   22. RESPONSIVE — real markup selectors
   markup: .sg-hero > .sg-wrap.sg-hero-grid > div | .sg-home-solver >
           .solver-input-wrap > (icon, input, .btn-solver-submit)
   ========================================================================== */
@media (max-width: 768px) {
  .sg-hero {
    padding: 2.25rem 0 3rem !important;
  }

  .sg-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .sg-hero-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .hero-headline {
    font-size: clamp(1.7rem, 7vw, 2.2rem) !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .sg-lead {
    font-size: 1rem !important;
    max-width: 100% !important;
  }

  /* solver: icon + input on row 1, button full width row 2 */
  .sg-home-solver {
    max-width: 100% !important;
  }

  .solver-input-wrap {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .solver-input-wrap input {
    min-width: 0 !important;
    flex: 1 1 60% !important;
    width: auto !important;
  }

  .btn-solver-submit {
    flex: 1 1 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-channel-actions {
    flex-direction: column !important;
  }

  .hero-channel-actions .channel-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .channel-comp-card {
    padding: 24px 16px !important;
  }

  .superpower-card {
    padding: 22px !important;
  }

  .boards-grid-home, .topper-grid-home, .testim-grid-home {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   23. GLOBAL GUARDS
   html-only: propagates to viewport; body kept out so .sg-header
   position:sticky is not trapped in a non-scrolling body scrollport.
   ========================================================================== */
html {
  overflow-x: hidden !important;
}