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

:root {
  --bg-dark: #07090e;
  --bg-surface: #0f131a;
  --bg-card: #151a24;
  --primary: #ffd166;
  --primary-rgb: 255, 209, 102;
  --secondary: #8ecae6;
  --accent: #ff4d4d;
  --text-main: #f8f9fa;
  --text-muted: #94a3b8;
  --border: rgba(255, 209, 102, 0.15);
  --border-focus: rgba(255, 209, 102, 0.6);
  --shadow-glow: 0 0 20px rgba(255, 209, 102, 0.15);
  --font-display: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Base Container Rules */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Mandatory Disclaimer Bar */
.disclaimer-bar {
  background-color: #000;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 10px 15px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 1001;
  position: relative;
}

/* Slim Premium Header - Updated to be ultra slim and premium */
.main-header {
  background: rgba(15, 19, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-badge {
  background: var(--primary);
  color: var(--bg-dark);
  font-family: var(--font-display);
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 15px;
  letter-spacing: 1px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.logo-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.8px;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
  text-transform: uppercase;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.4);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
  box-shadow: 0 0 8px var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: var(--transition);
}

/* Immersive Hero Section */
.hero-section {
  position: relative;
  padding: 120px 0 80px 0;
  background: linear-gradient(180deg, rgba(15, 19, 26, 0.4) 0%, rgba(7, 9, 14, 1) 100%);
  overflow: hidden;
}

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

.hero-tag {
  display: inline-block;
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(255, 209, 102, 0.3);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
  border: 1px solid var(--primary);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary:hover {
  background: #ffe094;
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

/* Hero Badge Showcase */
.hero-showcase {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-glow);
}

.case-folder {
  border: 2px dashed rgba(255, 209, 102, 0.3);
  border-radius: 8px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.folder-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.folder-stamp {
  font-family: var(--font-display);
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 2px 8px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  transform: rotate(-5deg);
}

.folder-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--primary);
}

.case-fact {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}

.case-fact .label {
  color: var(--text-muted);
}

.case-fact .value {
  font-weight: 600;
}

/* Game Frame / Showcase Area */
.game-integration-section {
  padding: 60px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.game-frame-wrapper {
  background: #000;
  border: 3px solid var(--primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 209, 102, 0.15);
  aspect-ratio: 16 / 9;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.game-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Feature/Grid Systems */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Unique Card Styles */
.detective-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.detective-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.detective-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.detective-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 14px;
}

/* Interactive Category Switcher */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.category-tab {
  background: rgba(15, 19, 26, 0.8);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.category-tab.active, .category-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 209, 102, 0.05);
}

/* Popular Highlights Section */
.highlights-section {
  padding: 80px 0;
}

.highlight-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1c2331 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.highlight-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111;
  overflow: hidden;
}

.highlight-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  opacity: 0.8;
}

.highlight-card:hover .highlight-img-wrapper img {
  transform: scale(1.05);
  opacity: 1;
}

.highlight-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--bg-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}

.highlight-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.highlight-meta {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.highlight-title {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 12px;
}

.highlight-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.highlight-cta {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.highlight-cta:hover {
  text-decoration: underline;
}

/* Statistics Section */
.stats-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}

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

.stat-item .number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .label {
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About / Why Choose Us details */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.about-graphics {
  position: relative;
}

.graphics-frame {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  background: var(--bg-card);
  box-shadow: var(--shadow-glow);
}

.detective-stamp {
  border: 2px solid var(--primary);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--primary);
  transform: rotate(-15deg);
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--bg-surface);
}

/* Testimony section */
.testimony-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.testimony-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.testimony-quote {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

.testimony-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimony-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-family: var(--font-display);
  font-weight: 700;
}

.testimony-name {
  font-weight: 600;
  font-size: 14px;
}

.testimony-title {
  color: var(--primary);
  font-size: 12px;
}

/* FAQ Accordion */
.faq-section {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

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

.faq-trigger:hover {
  background: rgba(255, 209, 102, 0.02);
}

.faq-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  color: var(--text-muted);
  font-size: 14px;
}

.faq-item.active .faq-content {
  padding: 0 24px 20px 24px;
  max-height: 200px;
}

.faq-icon {
  font-size: 18px;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Form Styling */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 4px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

/* Footer & Legal bar */
.main-footer {
  background: #040508;
  border-top: 1px solid var(--border);
  padding: 60px 0 20px 0;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.footer-desc {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 320px;
  margin-bottom: 16px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
}

/* Interactive Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 24px;
  z-index: 2000;
  display: none;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

/* Interactive elements / Dynamic States */
.success-msg {
  display: none;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  color: #2ecc71;
  padding: 16px;
  border-radius: 4px;
  margin-top: 16px;
}

/* Diagnostic Modal Styling */
.diagnostic-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(8px);
}

.modal-window {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 12px;
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 40px rgba(255, 209, 102, 0.25);
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  z-index: 3001;
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
}

.modal-title-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff4d4d; }
.terminal-dot.yellow { background: #ffd166; }
.terminal-dot.green { background: #2ecc71; }

.modal-title {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 1px;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-body {
  padding: 24px;
  flex-grow: 1;
}

/* Diagnostic Common Elements */
.diagnostic-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: center;
}

.diagnostic-logs {
  background: #000;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  font-family: monospace;
  font-size: 11px;
  color: #2ecc71;
  max-height: 120px;
  overflow-y: auto;
  margin-top: 16px;
  text-align: left;
}

.log-entry {
  margin-bottom: 4px;
}

/* Cyber Heist */
.cyber-vault-display {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}

.vault-reel {
  width: 80px;
  height: 100px;
  background: #000;
  border: 2px solid var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
  user-select: none;
}

.vault-reel.spinning {
  animation: reelSpin 0.1s linear infinite;
}

@keyframes reelSpin {
  0% { transform: translateY(-2px); }
  50% { transform: translateY(2px); }
  100% { transform: translateY(-2px); }
}

.control-panel {
  text-align: center;
  margin-bottom: 16px;
}

/* Clue Multiplier Strategy Form */
.form-range {
  width: 100%;
  accent-color: var(--primary);
  background: var(--bg-surface);
  height: 6px;
  border-radius: 4px;
  outline: none;
  margin: 8px 0;
}

.analysis-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 209, 102, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 16px 0;
  display: none;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 0.1s linear;
}

.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-number {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

.results-summary {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* Midnight Patrol Grid */
.patrol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 280px;
  margin: 0 auto;
}

.patrol-node {
  aspect-ratio: 1;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.patrol-node:hover {
  border-color: var(--text-muted);
}

.patrol-node.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary);
}

.patrol-node.success {
  background: #2ecc71;
  border-color: #2ecc71;
  box-shadow: 0 0 15px #2ecc71;
}

.patrol-node.fail {
  background: #ff4d4d;
  border-color: #ff4d4d;
  box-shadow: 0 0 15px #ff4d4d;
}

/* Highlight button alignment */
.highlight-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 55px; /* Adjusted to fit the slimmer header height */
    left: -100%;
    width: 100%;
    height: calc(100vh - 55px);
    background: var(--bg-surface);
    flex-direction: column;
    padding: 40px 24px;
    transition: var(--transition);
    border-top: 1px solid var(--border);
    align-items: flex-start;
  }
  .nav-menu.active {
    left: 0;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .about-split {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}