/* ==========================================================================
   LABHFORCE - DPDPA Compliance & Field Force Platform
   Full Responsive Design - Red & White Official Brand Theme
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FEF2F2;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-border: rgba(230, 46, 45, 0.15);

  --primary: #E62E2D;
  --primary-hover: #C81E1D;
  --primary-glow: rgba(230, 46, 45, 0.25);

  --accent-indigo: #0F172A;
  --accent-purple: #991B1B;
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-amber: #D97706;
  --accent-rose: #E62E2D;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;
  --border-light: #E2E8F0;
  --border-glow: rgba(230, 46, 45, 0.35);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-family);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
  --glow-cyan: 0 0 25px rgba(230, 46, 45, 0.25);
  --glow-indigo: 0 0 30px rgba(15, 23, 42, 0.08);
  --glow-emerald: 0 0 25px rgba(16, 185, 129, 0.2);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1240px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(230, 46, 45, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(15, 23, 42, 0.03) 0%, transparent 45%);
  background-attachment: fixed;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.75s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal-up.revealed,
.reveal-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   STATUTORY ENFORCEMENT COUNTDOWN BANNER
   ========================================== */
.announcement-bar {
  background: linear-gradient(90deg, #1E1B4B 0%, #31101E 35%, #7F1D1D 70%, #991B1B 100%);
  color: #FFF;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-pulse {
  background: #E62E2D !important;
  color: #FFF !important;
  font-weight: 800;
  font-size: 0.7rem !important;
  padding: 3px 9px !important;
  border-radius: var(--radius-full);
  letter-spacing: 0.6px;
  box-shadow: 0 0 12px rgba(230, 46, 45, 0.7);
  animation: pulse 1.8s infinite;
  display: inline-block;
}

.banner-headline {
  color: #F1F5F9;
  font-size: 0.84rem;
}

.banner-headline strong {
  color: #FFF;
}

.banner-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.countdown-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.countdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #CBD5E1;
}

.countdown-clock {
  display: flex;
  align-items: center;
  gap: 4px;
}

.clock-segment {
  display: inline-flex;
  align-items: baseline;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 5px;
  border-radius: 4px;
}

.clock-segment strong {
  font-size: 0.85rem;
  color: #FEF08A;
  font-weight: 700;
  font-family: monospace;
}

.clock-segment small {
  font-size: 0.65rem;
  color: #E2E8F0;
  margin-left: 2px;
}

.clock-colon {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.banner-action-link {
  color: #FFF;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.banner-action-link:hover {
  background: #FFF;
  color: var(--primary);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.header.scrolled {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  position: relative;
}

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

.logo-img {
  height: 56px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: 8px;
  height: 46px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-badge {
  font-size: 0.65rem;
  background: rgba(230, 46, 45, 0.08);
  color: var(--primary);
  border: 1px solid rgba(230, 46, 45, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(230, 46, 45, 0.07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.desktop-only {
  display: inline-flex;
}

/* ==========================================
   HAMBURGER BUTTON
   ========================================== */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  transition: var(--transition-fast);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   BUTTON COMPONENTS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #FFF;
  box-shadow: 0 4px 15px rgba(230, 46, 45, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 46, 45, 0.45);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--accent-emerald), #059669);
  color: #FFF;
  box-shadow: var(--glow-emerald);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-outline {
  background: #FFF;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: rgba(230, 46, 45, 0.05);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-xs {
  padding: 5px 12px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-checklist {
  background: #0F172A;
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-checklist:hover {
  background: #1E293B;
  color: #FFF;
  border-color: rgba(230, 46, 45, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
}

/* ==========================================
   FLOATING WHATSAPP COMPLIANCE DESK
   ========================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 900;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FFF;
  text-decoration: none;
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: var(--font-body);
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  color: #FFF;
}

.whatsapp-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.whatsapp-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #DCFCE7;
}

.whatsapp-dot {
  width: 6px;
  height: 6px;
  background: #FFF;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.whatsapp-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFF;
  white-space: nowrap;
}

/* ==========================================
   FLOATING STICKY CTA
   ========================================== */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta-btn {
  padding: 14px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(230, 46, 45, 0.45), 0 4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.floating-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(230, 46, 45, 0.55);
}

.floating-cta-icon {
  font-size: 1.1rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 46, 45, 0.07);
  border: 1px solid rgba(230, 46, 45, 0.2);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #B91C1C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 28px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 4px;
  line-height: 1.4;
}

/* Hero Game Card */
.hero-visual {
  position: relative;
}

.game-metrics-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-secondary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(230, 46, 45, 0.08);
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #B91C1C, var(--accent-indigo));
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 10px;
}

.dash-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.dash-status {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.dash-log-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.dash-log-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-main);
  gap: 8px;
}

.log-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.log-left span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.log-tag {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.tag-consent { background: rgba(230, 46, 45, 0.12); color: var(--primary); }
.tag-sfa { background: rgba(15, 23, 42, 0.1); color: var(--accent-indigo); }
.tag-audit { background: rgba(16, 185, 129, 0.12); color: var(--accent-emerald); }

/* Game Specific */
.game-card {
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top right, rgba(230, 46, 45, 0.04), var(--bg-card) 60%);
  border-color: rgba(230, 46, 45, 0.25);
}

.game-score-pill {
  background: rgba(230, 46, 45, 0.08);
  border: 1px solid rgba(230, 46, 45, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  display: flex;
  gap: 5px;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
}

.game-shield-meter { margin-bottom: 0; }

.meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.meter-track {
  width: 100%;
  height: 8px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-amber), var(--accent-emerald));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.threat-target-box {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.threat-target-box.shake {
  animation: shakeAnim 0.3s ease;
}

@keyframes shakeAnim {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

.threat-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
  flex-wrap: wrap;
}

.threat-alert-tag {
  background: rgba(230, 46, 45, 0.15);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
}

.threat-sec-badge {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

.threat-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.threat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.game-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.game-action-btn {
  background: #FFF;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 8px 6px;
  border-radius: var(--radius-md);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.game-action-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-token:hover { background: rgba(230, 46, 45, 0.06); border-color: var(--primary); color: var(--primary); }
.btn-consent:hover { background: rgba(16, 185, 129, 0.06); border-color: var(--accent-emerald); color: var(--accent-emerald); }
.btn-erase:hover { background: rgba(217, 119, 6, 0.06); border-color: var(--accent-amber); color: var(--accent-amber); }

.game-feedback {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  min-height: 22px;
  padding: 3px;
  font-weight: 600;
}

.game-victory-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 10;
  border-radius: var(--radius-lg);
}

.game-howto-overlay {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  color: #fff;
  z-index: 20;
}

.howto-content-box {
  width: 100%;
  max-width: 460px;
  background: #1E293B;
  border: 1px solid rgba(230, 46, 45, 0.35);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.howto-rules-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.howto-rule-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.howto-rule-card .rule-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 3px;
}

.howto-rule-card .rule-desc {
  font-size: 0.76rem;
  color: #94A3B8;
  line-height: 1.35;
}

/* ==========================================
   TRUSTED BY STRIP
   ========================================== */
.trusted-by-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}

.trusted-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trusted-logo-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.trusted-logo-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230, 46, 45, 0.03);
  transform: translateY(-2px);
}

/* ==========================================
   SECTION COMMON LAYOUT
   ========================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.82rem;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-badge {
  display: inline-block;
  background: rgba(230, 46, 45, 0.08);
  color: var(--primary);
  border: 1px solid rgba(230, 46, 45, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */
.how-it-works-section {
  background: linear-gradient(135deg, rgba(230, 46, 45, 0.03) 0%, rgba(248, 250, 252, 0.8) 100%);
}

.how-it-works-grid {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.hiw-card {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
}

.hiw-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(230, 46, 45, 0.12);
}

.hiw-step-num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(230, 46, 45, 0.07);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.hiw-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hiw-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.hiw-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.hiw-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.hiw-connector {
  font-size: 1.8rem;
  color: var(--border-light);
  flex-shrink: 0;
  padding: 0 16px;
  font-weight: 300;
}

/* ==========================================
   PENALTY CALCULATOR
   ========================================== */
.calc-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(230, 46, 45, 0.06);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.calc-group {
  margin-bottom: 28px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--text-main);
  gap: 12px;
}

.calc-val-badge {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 15px rgba(230, 46, 45, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 15px rgba(230, 46, 45, 0.5);
  cursor: pointer;
  border: none;
}

.calc-sensitive-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.calc-result-box {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-result-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 46, 45, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.penalty-amount {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--primary);
  margin: 16px 0 8px;
  line-height: 1;
}

.score-meter {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #FECDD3;
}

.score-bar-bg {
  width: 100%;
  height: 10px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 10px;
}

.score-bar-fill {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-amber), var(--accent-emerald));
  transition: width 0.4s ease;
}

/* ==========================================
   MODULES & LABSHIELD TABS
   ========================================== */
.tabs-header {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #FFF;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFF;
}

.module-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.feature-list {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Simulator */
.simulator-container {
  background: #0F172A;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #FFF;
}

.sim-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  gap: 12px;
}

.sim-toggle-row span {
  font-size: 0.88rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #475569;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider { background-color: var(--accent-emerald); }
input:checked + .slider:before { transform: translateX(22px); }

.sim-output-log {
  background: #030712;
  color: #38BDF8;
  font-family: monospace;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  max-height: 140px;
  overflow-y: auto;
  border: 1px solid rgba(56, 189, 248, 0.2);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ==========================================
   DPDP ACT MATRIX
   ========================================== */
.matrix-search {
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}

.matrix-search input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-main);
  outline: none;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
}

.matrix-search input:focus { border-color: var(--primary); }

.matrix-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.matrix-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(230, 46, 45, 0.12);
}

.matrix-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.matrix-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.6;
}

.sol-badge {
  background: #FEF2F2;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  border: 1px solid rgba(230, 46, 45, 0.15);
}

/* ==========================================
   INDUSTRIES SECTION
   ========================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.industry-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(230, 46, 45, 0.12);
}

.industry-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.industry-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.industry-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.industry-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry-features li {
  font-size: 0.88rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFF;
}

.testimonials-section .section-subtitle {
  color: rgba(230, 46, 45, 0.9);
}

.testimonials-section .section-title {
  color: #FFF;
}

.testimonials-section .section-desc {
  color: #94A3B8;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(230, 46, 45, 0.4);
  transform: translateY(-4px);
}

.featured-testimonial {
  background: rgba(230, 46, 45, 0.08);
  border-color: rgba(230, 46, 45, 0.35);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.975rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #B91C1C);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: #FFF;
  font-size: 0.95rem;
}

.testimonial-role {
  color: #64748B;
  font-size: 0.82rem;
  margin-top: 2px;
}

.testimonial-highlight-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ==========================================
   PRICING GRID
   ========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

.price-card.featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(230, 46, 45, 0.15);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), #B91C1C);
  color: #FFF;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin: 18px 0 8px;
  color: var(--text-main);
}

.price-amount span {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 400;
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: rgba(230, 46, 45, 0.3);
  box-shadow: 0 4px 20px rgba(230, 46, 45, 0.08);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-item.active .faq-question { color: var(--primary); }

/* ==========================================
   DEMO MODAL — PREMIUM TWO-PANEL LAYOUT
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-overlay.active { display: flex; }

/* Backward-compatible base box (used by checklist modal) */
.modal-box {
  background: #FFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(230, 46, 45, 0.12);
  color: var(--text-main);
  animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Premium two-panel override */
.modal-box-premium {
  display: flex;
  max-width: 860px;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  max-height: 92vh;
}

/* ---- LEFT BRAND PANEL ---- */
.modal-brand-panel {
  flex: 0 0 300px;
  background: linear-gradient(155deg, #C81E1D 0%, #E62E2D 45%, #991B1B 100%);
  color: white;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.modal-brand-panel::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.modal-brand-panel::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.modal-close-light {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  cursor: pointer;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.modal-brand-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  position: relative;
  z-index: 1;
}

.modal-brand-logo {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  align-self: flex-start;
}

.modal-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.modal-brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
  color: white;
  letter-spacing: -0.02em;
}

.modal-brand-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.modal-trust-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.modal-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.modal-trust-icon {
  font-size: 1rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.modal-trust-item strong { color: white; }

.modal-brand-clients {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-client-avatars {
  display: flex;
  margin-bottom: 8px;
}

.modal-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(198, 30, 29, 0.9);
  margin-left: -6px;
}
.modal-avatar:first-child { margin-left: 0; }

.modal-clients-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}
.modal-clients-label strong { color: white; }

/* ---- RIGHT FORM PANEL ---- */
.modal-form-panel {
  flex: 1;
  padding: 36px 36px 32px;
  overflow-y: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.modal-form-header { margin-bottom: 24px; }

.modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.modal-form-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- FLOATING LABEL FIELDS ---- */
.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group { margin-bottom: 16px; }

.form-group-float {
  position: relative;
  margin-bottom: 18px;
}

.form-input-float {
  width: 100%;
  padding: 18px 42px 8px 16px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  color: var(--text-main);
  outline: none;
  font-size: 0.92rem;
  font-family: var(--font-family);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input-float:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(230, 46, 45, 0.1);
}

.form-input-float:valid:not(:placeholder-shown),
.form-input-float:focus {
  /* triggers label float */
}

/* Floating label */
.form-label-float {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94A3B8;
  pointer-events: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left top;
  background: transparent;
}

.form-input-float:focus ~ .form-label-float,
.form-input-float:not(:placeholder-shown) ~ .form-label-float {
  top: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
}

.form-required { color: var(--primary); margin-left: 1px; }

/* Field icon */
.form-field-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: color 0.2s ease;
}

.form-group-float:focus-within .form-field-icon { color: var(--primary); }

/* Select specific */
.form-select-styled {
  cursor: pointer;
}

.form-select-arrow {
  pointer-events: none;
}

/* Old form styles (kept for compatibility) */
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 11px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(230, 46, 45, 0.1);
}

/* Submit button */
.btn-modal-submit {
  width: 100%;
  margin-top: 8px;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.btn-modal-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-modal-submit:hover::before { transform: translateX(100%); }

.btn-submit-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.btn-modal-submit:hover .btn-submit-arrow { transform: translateX(4px); }

/* Privacy note */
.modal-form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 12px;
  line-height: 1.4;
}

/* ---- SUCCESS STATE ---- */
.modal-success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 10px;
}

.modal-success-icon {
  margin-bottom: 20px;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.modal-success-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 24px;
}

.modal-success-body strong { color: var(--text-main); }

.modal-success-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: left;
}

.modal-success-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 14px;
}

.step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Close button (base — for checklist modal) */
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: #FEF2F2;
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================
   CHECKLIST BANNER SECTION
   ========================================== */
.checklist-banner-section {
  padding: 48px 0;
  background: #0F172A;
}

.checklist-cta-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.checklist-cta-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 46, 45, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.checklist-badge {
  background: rgba(230, 46, 45, 0.2);
  color: #FF8080;
  border: 1px solid rgba(230, 46, 45, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  display: inline-block;
  margin-bottom: 12px;
}

.checklist-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #FFF;
  margin-bottom: 12px;
}

.checklist-desc {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 20px;
}

.checklist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checklist-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E8F0;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.checklist-cta-actions {
  flex-shrink: 0;
}

/* ==========================================
   CHECKLIST MODAL STYLES
   ========================================== */
.checklist-modal-box {
  max-width: 680px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.modal-score-banner {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.score-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.score-risk-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.score-risk-pill.risk-low {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.score-risk-pill.risk-medium {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
}

.score-risk-pill.risk-high {
  background: rgba(230, 46, 45, 0.15);
  color: var(--primary);
}

.checklist-items-scroll {
  overflow-y: auto;
  max-height: 48vh;
  padding-right: 8px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checklist-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-light);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.check-item:hover {
  background: var(--bg-secondary);
}

.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-top: 2px;
  cursor: pointer;
}

.check-text {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.45;
}

.checklist-modal-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================
   DYNAMIC SIMULATOR PANEL STYLES
   ========================================== */
.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.sim-badge {
  font-size: 0.7rem;
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.btn-clear-log {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.btn-clear-log:hover {
  color: #94A3B8;
}

.sim-action-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.breach-clock-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(230, 46, 45, 0.12);
  border: 1px solid rgba(230, 46, 45, 0.3);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.breach-clock-val {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: #FF6B6B;
}

.btn-sim-action {
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-sim-breach {
  background: linear-gradient(135deg, #E62E2D, #B91C1C);
  color: #FFF;
  box-shadow: 0 4px 14px rgba(230, 46, 45, 0.4);
}

.btn-sim-breach:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-sim-primary {
  background: #38BDF8;
  color: #0F172A;
  font-weight: 700;
}

.btn-sim-primary:hover {
  background: #7DD3FC;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 72px 0 40px;
  color: #FFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.footer-desc {
  color: #94A3B8;
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 340px;
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-link:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748B;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS (COMPLETE SUITE)
   ========================================== */

/* Medium Desktop (1080px) */
@media (max-width: 1080px) {
  .nav-link { font-size: 0.82rem; padding: 6px 8px; }
  .nav-menu { gap: 2px; }
  .logo-badge { display: none; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
}

/* Tablet Landscape (900px) */
@media (max-width: 900px) {
  :root { --container-width: 100%; }

  .desktop-only { display: none !important; }
  .mobile-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 4px;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
    align-items: flex-start;
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: slideDown 0.25s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-menu.active { display: flex; }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.98rem;
    border-radius: var(--radius-md);
  }

  /* Hero */
  .hero { padding: 56px 0 64px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-description { max-width: 100%; }
  .hero-visual { order: -1; }
  .dashboard-card { min-height: auto; }

  /* How It Works */
  .how-it-works-grid {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .hiw-connector {
    transform: rotate(90deg);
    padding: 12px 0;
    font-size: 1.4rem;
  }
  .hiw-card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Calculator */
  .calc-card { padding: 28px 24px; }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Modules */
  .module-content-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 24px;
  }

  /* Industries */
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Tablet Portrait & Universal Mobile Base (768px) */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: 1.85rem; }
  .section-desc { font-size: 0.95rem; }

  /* Input fields 16px to prevent iOS Safari auto-zoom */
  input, select, textarea, .form-input, .matrix-search input {
    font-size: 16px !important;
  }

  /* Floating Buttons: Sleek 50px Circular FABs on Mobile */
  .floating-whatsapp {
    bottom: 20px;
    left: 16px;
    z-index: 950;
  }
  .whatsapp-text-wrap {
    display: none !important;
  }
  .whatsapp-btn {
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  }
  .whatsapp-icon-box svg {
    width: 26px;
    height: 26px;
  }

  .floating-cta {
    bottom: 20px;
    right: 16px;
    z-index: 950;
  }
  .floating-cta-text {
    display: none !important;
  }
  .floating-cta-btn {
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(230, 46, 45, 0.45);
  }
  .floating-cta-icon {
    font-size: 1.35rem;
    margin: 0;
  }

  /* Horizontal swipeable tabs on mobile */
  .tabs-header {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 4px 6px 14px;
    margin-bottom: 24px;
    scrollbar-width: none;
  }
  .tabs-header::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 9px 15px;
    font-size: 0.85rem;
  }

  /* Checklist Lead Magnet Banner */
  .checklist-banner-section {
    padding: 32px 0;
  }
  .checklist-cta-card {
    flex-direction: column;
    padding: 24px 18px;
    gap: 18px;
    align-items: flex-start;
  }
  .checklist-cta-actions {
    width: 100%;
  }
  .checklist-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Modals */
  .modal-overlay {
    padding: 12px;
  }
  .modal-box {
    padding: 24px 16px;
    max-height: 90vh;
  }
  /* Premium modal: stack vertically on tablet */
  .modal-box-premium {
    flex-direction: column;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 16px;
  }
  .modal-brand-panel {
    flex: none;
    padding: 28px 24px 24px;
  }
  .modal-brand-title { font-size: 1.2rem; }
  .modal-trust-list { display: none; }
  .modal-brand-clients { display: none; }
  .modal-brand-sub { display: none; }
  .modal-form-panel {
    padding: 24px 20px 28px;
  }
  .modal-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .checklist-modal-box {
    padding: 22px 14px;
    max-height: 92vh;
  }
  .checklist-items-scroll {
    max-height: 40vh;
  }
  .checklist-modal-actions {
    flex-direction: column;
    gap: 8px;
  }
  .checklist-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }

} /* end @media (max-width: 768px) */

/* Mobile Large & Standard Phones (640px) */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  /* Statutory Top Banner */
  .announcement-bar {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  .banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .banner-left {
    justify-content: center;
    gap: 6px;
  }
  .banner-headline {
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .banner-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .countdown-wrap {
    padding: 3px 8px;
  }
  .countdown-label {
    font-size: 0.68rem;
  }
  .clock-segment strong {
    font-size: 0.8rem;
  }
  .banner-action-link {
    font-size: 0.72rem;
    padding: 3px 10px;
  }

  /* Header */
  .header-container {
    height: 60px;
    padding: 0 8px;
  }
  .header-actions .btn-primary {
    display: none !important;
  }
  .logo-img {
    height: 46px;
    max-width: 160px;
  }

  /* Hero */
  .hero { padding: 36px 0 48px; }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 32px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding-top: 18px;
  }
  .stat-number { font-size: 1.15rem; }
  .stat-label { font-size: 0.68rem; }

  /* Hero Playable Game View */
  .dashboard-card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
    min-height: auto;
  }
  .dash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .dash-header > div:last-child {
    width: 100%;
    justify-content: space-between;
  }
  .game-metrics-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
  }
  .game-score-pill {
    align-self: flex-start;
  }
  .threat-badge-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .game-controls {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .game-action-btn {
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 14px;
    gap: 10px;
    text-align: left;
    font-size: 0.82rem;
  }

  /* How It Works Card */
  .hiw-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  /* Calculator */
  .calc-card {
    padding: 20px 14px;
    border-radius: var(--radius-lg);
  }
  .calc-label {
    flex-wrap: wrap;
    gap: 4px;
  }
  .calc-result-box {
    padding: 20px 14px;
  }
  .penalty-amount {
    font-size: 2rem;
  }

  /* Modules & Simulator */
  .module-content-card {
    padding: 20px 14px;
    border-radius: var(--radius-lg);
  }
  .simulator-container {
    padding: 16px 10px;
  }
  .sim-title {
    font-size: 0.74rem;
  }
  .sim-toggle-row {
    padding: 10px 12px;
  }
  .sim-output-log {
    font-size: 0.72rem;
    padding: 8px 10px;
  }

  /* DPDP Act Matrix */
  .matrix-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .matrix-card {
    padding: 18px 14px;
  }
  .matrix-card-header {
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 20px 16px;
  }
  .testimonial-highlight-badge {
    position: static;
    display: inline-block;
    margin-top: 12px;
  }

  /* Pricing */
  .price-card {
    padding: 28px 20px;
  }

  /* FAQ */
  .faq-question {
    padding: 14px 14px;
    font-size: 0.9rem;
  }
  .faq-answer {
    padding: 0 14px 14px;
    font-size: 0.88rem;
  }

  /* Footer */
  .footer {
    padding: 48px 0 88px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-bottom > div:last-child {
    text-align: center;
  }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {
  .container { padding: 0 12px; }

  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.55rem; }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero-stats .stat-item:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .trusted-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .trusted-logo-item {
    padding: 6px 10px;
    font-size: 0.76rem;
    text-align: center;
  }

  .howto-content-box {
    padding: 14px;
  }
}

/* Very Small Phones (360px) */
@media (max-width: 360px) {
  .hero-title { font-size: 1.55rem; }
  .hero-ctas .btn-lg { padding: 12px 16px; font-size: 0.88rem; }
  .btn-sm { padding: 7px 12px; font-size: 0.8rem; }
}
