/* ==========================================================================
   Exam Frame - Premium White-Label Self-Hosted Exam System Stylesheet
   Company: Bharat Exam Engine Pvt Ltd.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0b1120;
  --bg-dark-card: #111a2e;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-dark: rgba(148, 163, 184, 0.18);

  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --accent: #0ea5e9;
  --emerald: #10b981;
  --emerald-soft: #ecfdf5;
  --amber: #f59e0b;
  --amber-soft: #fffbeb;
  --rose: #ef4444;
  --rose-soft: #fef2f2;
  --purple: #7c3aed;
  --purple-soft: #f5f3ff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px -15px rgba(15, 23, 42, 0.16);
  --shadow-primary: 0 12px 28px -8px rgba(37, 99, 235, 0.45);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: min(1220px, 92%);
  margin-inline: auto;
}

/* Top Announcement Bar */
.top-bar {
  background: var(--bg-dark);
  color: #cbd5e1;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: wrap;
}

.top-bar p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.top-bar strong {
  color: #ffffff;
}

.top-bar-link {
  color: #60a5fa;
  font-weight: 600;
  transition: color 0.2s ease;
}

.top-bar-link:hover {
  color: #93c5fd;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-fallback {
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.88rem 1.55rem;
  font-size: 0.96rem;
}

.btn-full {
  width: 100%;
  padding: 0.88rem 1.4rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(37, 99, 235, 0.55);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-white {
  background: #ffffff;
  color: var(--bg-dark);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-cta {
  margin-top: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at top, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
  pointer-events: none;
}

.hero-glow-1 {
  top: -180px;
  left: -120px;
  background: #60a5fa;
}

.hero-glow-2 {
  top: -100px;
  right: -140px;
  background: #818cf8;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1.12fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.35rem;
}

.badge-tag {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.1vw, 3.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 55%, #4f46e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item svg {
  color: var(--emerald);
  flex-shrink: 0;
}

/* Interactive CBT Simulator Mockup */
.cbt-mockup {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  box-shadow: 0 28px 70px -20px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  font-size: 0.85rem;
}

.cbt-topbar {
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cbt-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.cbt-exam-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cbt-meta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cbt-student {
  font-size: 0.76rem;
  color: #94a3b8;
}

.cbt-student strong {
  color: #ffffff;
}

.cbt-timer {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.84rem;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.cbt-sections {
  display: flex;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.cbt-sec-tab {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.32rem 0.7rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cbt-sec-tab.active {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.cbt-body {
  display: grid;
  grid-template-columns: 1.45fr 0.82fr;
}

.cbt-question-area {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border);
}

.cbt-q-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--border);
}

.cbt-q-num {
  font-weight: 700;
  color: var(--text);
  font-size: 0.82rem;
}

.cbt-q-badges {
  display: flex;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.q-lang {
  background: #f1f5f9;
  color: var(--text-secondary);
  padding: 0.14rem 0.42rem;
  border-radius: 4px;
}

.q-mark-pos {
  background: var(--emerald-soft);
  color: #059669;
  padding: 0.14rem 0.42rem;
  border-radius: 4px;
}

.q-mark-neg {
  background: var(--rose-soft);
  color: #dc2626;
  padding: 0.14rem 0.42rem;
  border-radius: 4px;
}

.cbt-q-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.48;
  margin-bottom: 0.85rem;
}

.cbt-options {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  margin-bottom: 1rem;
}

.cbt-opt-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cbt-opt-btn:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}

.cbt-opt-btn.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: #1e3a8a;
  font-weight: 600;
}

.opt-letter {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cbt-opt-btn.selected .opt-letter {
  background: var(--primary);
  color: #ffffff;
}

.cbt-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.cbt-ctrl-left,
.cbt-ctrl-right {
  display: flex;
  gap: 0.35rem;
}

.sim-btn {
  padding: 0.36rem 0.65rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
}

.sim-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.sim-btn-review {
  color: var(--purple);
  border-color: #ddd6fe;
  background: var(--purple-soft);
}

.sim-btn-save {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.sim-btn-save:hover {
  background: var(--primary-dark);
}

/* CBT Sidebar */
.cbt-sidebar {
  background: #f8fafc;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.proctor-box {
  background: #0f172a;
  border-radius: 10px;
  padding: 0.65rem;
  color: #ffffff;
}

.proctor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.66rem;
  margin-bottom: 0.5rem;
}

.proctor-live {
  color: #f87171;
  font-weight: 700;
}

.focus-tag {
  background: rgba(37, 99, 235, 0.3);
  color: #93c5fd;
  padding: 0.12rem 0.38rem;
  border-radius: 4px;
  font-weight: 600;
}

.proctor-feed {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  padding: 0.65rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.proctor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  display: grid;
  place-items: center;
}

.proctor-status {
  font-size: 0.68rem;
  color: #34d399;
  font-weight: 600;
}

.palette-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem;
}

.palette-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.pal-item {
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #f1f5f9;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.pal-item.current {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.pal-item.answered {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #ffffff;
}

.pal-item.review {
  background: var(--purple);
  border-color: var(--purple);
  color: #ffffff;
}

.pal-item.unanswered {
  background: var(--rose);
  border-color: var(--rose);
  color: #ffffff;
}

.palette-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  font-size: 0.67rem;
  color: var(--text-muted);
}

.palette-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  display: inline-block;
}

.dot-ans { background: var(--emerald); }
.dot-rev { background: var(--purple); }
.dot-unans { background: var(--rose); }
.dot-new { background: #cbd5e1; }

.mockup-caption {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Metrics Strip */
.metrics-strip {
  background: var(--bg-dark);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* General Sections */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--bg-dark);
  color: #ffffff;
}

.section-header {
  max-width: 720px;
  margin-bottom: 3.2rem;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  margin-bottom: 0.95rem;
}

.kicker-light {
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.1vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.text-white {
  color: #ffffff !important;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
}

.text-muted-light {
  color: #94a3b8;
}

/* Value Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
}

.icon-indigo { background: var(--primary-soft); color: var(--primary); }
.icon-emerald { background: var(--emerald-soft); color: var(--emerald); }
.icon-amber { background: var(--amber-soft); color: var(--amber); }
.icon-rose { background: var(--rose-soft); color: var(--rose); }

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* 7-Module Interactive Tabs */
.module-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.module-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0.85rem 0.9rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.module-tab:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
}

.module-tab.active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #ffffff;
  box-shadow: 0 14px 28px -12px rgba(15, 23, 42, 0.45);
}

.tab-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.module-tab.active .tab-code {
  color: #60a5fa;
}

.tab-name {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
}

.module-panel {
  display: none;
  animation: fadeSlide 0.32s ease;
}

.module-panel.active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 2rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  align-items: start;
}

.panel-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.panel-info h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.panel-lead {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mini-feature {
  background: var(--bg-alt);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.1rem;
}

.mini-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.mini-feature p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.mini-feature code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: #e2e8f0;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--text);
}

/* Module Visual UI Cards */
.ui-card {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 40px -18px rgba(15, 23, 42, 0.5);
}

.ui-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
}

.status-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}

.chip-green { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.chip-amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.chip-blue { background: rgba(59, 130, 246, 0.22); color: #60a5fa; }
.chip-rose { background: rgba(239, 68, 68, 0.2); color: #f87171; }

.ui-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ui-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
}

.ui-toggle-row strong {
  display: block;
  font-size: 0.83rem;
  color: #ffffff;
}

.ui-toggle-row small {
  font-size: 0.73rem;
  color: #94a3b8;
}

.pill-on, .pill-blue, .code-chip, .risk-pill, .warn-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}

.pill-on { background: rgba(16, 185, 129, 0.18); color: #34d399; }
.pill-blue { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.code-chip { font-family: var(--font-mono); background: rgba(255, 255, 255, 0.1); color: #f8fafc; }
.risk-pill { background: rgba(239, 68, 68, 0.22); color: #fca5a5; }
.warn-pill { background: rgba(245, 158, 11, 0.22); color: #fcd34d; }

.ui-stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.ui-stat-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.ui-stat-box small {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
}

.ui-stat-box strong {
  font-size: 0.88rem;
  color: #ffffff;
}

.ui-list-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ui-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem;
  border-radius: 10px;
}

.ui-list-item p {
  font-size: 0.79rem;
  color: #cbd5e1;
  margin-top: 0.35rem;
}

.tag-mini {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 0.14rem 0.45rem;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.22);
  color: #93c5fd;
  margin-right: 0.25rem;
}

.tag-soft { background: rgba(255, 255, 255, 0.1); color: #e2e8f0; }
.tag-purple { background: rgba(139, 92, 246, 0.24); color: #c4b5fd; }
.tag-green { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.tag-rose { background: rgba(239, 68, 68, 0.22); color: #fca5a5; }

.marks-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #34d399;
  white-space: nowrap;
}

.pending-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* Matrix Widget */
.matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.matrix-cell {
  border-radius: 10px;
  padding: 0.85rem;
  border: 1px solid transparent;
}

.m-pct {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.matrix-cell strong {
  display: block;
  font-size: 0.82rem;
  color: #ffffff;
}

.matrix-cell small {
  font-size: 0.72rem;
  color: #cbd5e1;
}

.m-green { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.3); }
.m-green .m-pct { color: #34d399; }
.m-blue { background: rgba(59, 130, 246, 0.14); border-color: rgba(59, 130, 246, 0.3); }
.m-blue .m-pct { color: #60a5fa; }
.m-amber { background: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.3); }
.m-amber .m-pct { color: #fbbf24; }
.m-rose { background: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.3); }
.m-rose .m-pct { color: #f87171; }

.alert-insight {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font-size: 0.8rem;
  color: #fecaca;
}

.alert-insight strong {
  color: #ffffff;
}

/* Admin Intelligence Widget */
.intel-block {
  margin-bottom: 0.9rem;
}

.intel-block:last-child {
  margin-bottom: 0;
}

.intel-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.45rem;
}

.intel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.latex-preview {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
}

.latex-preview p {
  margin-top: 0.4rem;
  color: #e2e8f0;
}

.latex-preview code {
  font-family: var(--font-mono);
  color: #93c5fd;
}

/* Bundle & Commerce Widgets */
.bundle-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bundle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.8rem;
  border-radius: 10px;
}

.bundle-row strong {
  display: block;
  font-size: 0.84rem;
  color: #ffffff;
}

.bundle-row small {
  font-size: 0.73rem;
  color: #94a3b8;
}

.bundle-price {
  text-align: right;
  white-space: nowrap;
}

.bundle-price del {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
}

.bundle-price strong {
  color: #34d399;
  font-size: 0.95rem;
}

.gw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.gw-pills span {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.order-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.order-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.62rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
}

.order-row code {
  font-family: var(--font-mono);
  color: #93c5fd;
  font-size: 0.72rem;
}

.coupon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.16);
  border: 1px dashed rgba(96, 165, 250, 0.45);
  padding: 0.65rem 0.8rem;
  border-radius: 9px;
  font-size: 0.78rem;
}

.theme-swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.swatch-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.65rem;
  border-radius: 10px;
}

.swatch-color {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.swatch-item small {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
}

.swatch-item strong {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #ffffff;
}

/* Steps Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* Pricing Section */
.currency-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem;
  border-radius: 999px;
  margin-top: 1.5rem;
  border: 1px solid var(--border-dark);
}

.curr-btn {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.curr-btn.active {
  background: var(--primary);
  color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.45);
}

.pricing-featured {
  background: linear-gradient(180deg, #162340 0%, #111a2e 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 28px 60px -20px rgba(37, 99, 235, 0.4);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
}

.plan-head h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.plan-head p {
  font-size: 0.9rem;
  color: #94a3b8;
  min-height: 44px;
}

.plan-price {
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.price-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.price-term {
  font-size: 0.84rem;
  color: #60a5fa;
  font-weight: 600;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.9rem;
  color: #cbd5e1;
  padding-left: 1.5rem;
  position: relative;
}

.plan-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.65rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #f59e0b;
  letter-spacing: 0.1em;
  font-size: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.author-row strong {
  display: block;
  font-size: 0.93rem;
  color: var(--text);
}

.author-row span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 260px;
}

.faq-answer p {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #2563eb 100%);
  padding: 4rem 0;
  color: #ffffff;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: #dbeafe;
  max-width: 580px;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-lead {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-item a {
  color: var(--primary);
  font-weight: 600;
}

.contact-form-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.form-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.74rem 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.form-feedback {
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  min-height: 20px;
}

.form-feedback.error {
  color: var(--rose);
}

.form-feedback.success {
  color: #059669;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.9fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-wrap {
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

.footer-desc strong {
  color: #ffffff;
}

.footer-domain {
  font-size: 0.86rem;
}

.footer-domain a {
  color: #60a5fa;
  font-weight: 600;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.84rem;
}

/* Floating WhatsApp Widget */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #16a34a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.42);
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #15803d;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .module-tabs {
    grid-template-columns: repeat(4, 1fr);
  }

  .panel-layout {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid,
  .testimonials-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cbt-body {
    grid-template-columns: 1fr;
  }

  .cbt-question-area {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .module-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-cards-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 4rem 0;
  }

  .pillars-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .panel-layout,
  .contact-form-wrap {
    padding: 1.4rem;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 0.85rem;
  }
}