/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette - Obsidian Theme */
  --bg-dark: #09090b;
  --bg-card: rgba(18, 18, 22, 0.4);
  --bg-card-hover: rgba(26, 26, 32, 0.65);
  
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  /* Premium Accents & Gradients */
  --accent-color: #6366f1; /* Indigo */
  --accent-glow: #14b8a6;  /* Teal */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.25);
  --border-hover: rgba(255, 255, 255, 0.18);
  
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #14b8a6 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);

  /* Layout */
  --nav-height: 72px;
  --max-width: 1200px;
  --radius-lg: 16px;
  --radius-md: 12px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Typography Selection */
::selection {
  background: var(--accent-color);
  color: #fff;
}

/* Heading hierarchies */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Background Particle Canvas */
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.65;
}

/* ==========================================================================
   COMMON GLASS DESIGN UTILITIES
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(99, 102, 241, 0.12);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-light);
}

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

.btn-glow {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-glow) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-glow:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(20, 184, 166, 0.5);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

/* Navigation blur scrolling state */
.header.scrolled {
  background: rgba(9, 9, 11, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  height: 64px;
}

.nav-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulse 2s infinite alternate;
}

/* Tab Glass Menu */
.nav-menu {
  display: flex;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  padding: 6px;
  border-radius: 40px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  gap: 4px;
  transition: var(--transition-smooth);
}

.nav-link {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 30px;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 8px rgba(0,0,0,0.2);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 24px;
  justify-content: center;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Ambient glow backgrounds */
.hero-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: var(--gradient-glow);
  z-index: -2;
  filter: blur(80px);
}

.badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.badge {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--border-glow);
  color: #818cf8;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
  max-width: 650px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 35px;
  line-height: 1.6;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glass Dashboard Mockup */
.hero-visual {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1000px;
  animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.glass-dashboard {
  background: rgba(18, 18, 22, 0.55);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  transform: rotateX(10deg);
  transition: var(--transition-smooth);
}

.glass-dashboard:hover {
  transform: rotateX(2deg) translateY(-5px);
  border-color: rgba(99, 102, 241, 0.3);
}

.dashboard-header {
  height: 40px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-controls span:nth-child(1) { background: #ff5f56; }
.window-controls span:nth-child(2) { background: #ffbd2e; }
.window-controls span:nth-child(3) { background: #27c93f; }

.dashboard-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.dashboard-body {
  height: 320px;
  display: flex;
}

.db-sidebar {
  width: 60px;
  background: rgba(0, 0, 0, 0.15);
  border-right: 1px solid var(--border-light);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.db-item {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
}

.db-item.active {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--border-glow);
}

.db-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.db-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.db-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 15px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.card-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--val);
  background: var(--gradient-primary);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-color);
}

.card-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.db-chart-container {
  flex: 1;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.db-chart {
  width: 100%;
  height: 100%;
}

.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s ease forwards infinite;
}

.hero-scroll-indicator {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 1.5s infinite;
}

/* ==========================================================================
   SERVICES & PORTFOLIO
   ========================================================================== */
.services-section, .why-us-section, .contact-section {
  padding: 100px 0;
  position: relative;
}

.section-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin: 10px 0 20px;
}

.section-desc {
  color: var(--text-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--border-glow);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .card-icon {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  transform: scale(1.05);
  transition: var(--transition-smooth);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 600;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.card-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.card-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-glow);
}

/* ==========================================================================
   BENTO GRID (WHY CHOOSE US)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  grid-auto-rows: minmax(200px, auto);
}

.bento-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.bento-wide {
  grid-column: span 2;
}

.bento-content h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.bento-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bento-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.bento-metrics-preview {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.val-up {
  color: var(--accent-glow);
  font-weight: 600;
}

.val-down {
  color: #ef4444;
  font-weight: 600;
}

.graphic-tailor {
  width: 100%;
  height: 120px;
}

/* ==========================================================================
   METRICS COUNTER SECTION
   ========================================================================== */
.metrics-section {
  background: rgba(9, 9, 11, 0.4);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 80px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 90%;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ==========================================================================
   CONTACT FORM & WORKSHOPS
   ========================================================================== */
/* ==========================================================================
   CONTACT CARD & WORKSHOPS (REDESIGNED DUAL CARDS)
   ========================================================================== */
.contact-centered-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.contact-panel {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 40px 60px;
}

.contact-panel-col {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.panel-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
  transition: var(--transition-smooth);
}

.panel-icon svg {
  width: 22px;
  height: 22px;
}

.panel-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.panel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.panel-value, .panel-value-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-heading);
  text-decoration: none;
}

.panel-value-link:hover {
  color: var(--accent-glow);
}

.contact-panel:hover .panel-icon {
  border-color: var(--border-hover);
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
}

.panel-divider {
  width: 1px;
  height: 60px;
  background: var(--border-light);
}



/* ==========================================================================
   PREMIUM INTERACTIONS (CURSOR GLOW & SCROLL PROGRESS)
   ========================================================================== */
/* Radial Hover Cursor Glow for Glass Cards */
.glass-card {
  position: relative;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(99, 102, 241, 0.08), transparent 40%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.glass-card > * {
  position: relative;
  z-index: 1;
}

/* Scroll Progress indicator at page top */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-primary);
  z-index: 1000;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px var(--accent-color);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 80px 0 0;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(10px);
}

.footer-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 280px;
}

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

.footer-column h4 {
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

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

.footer-column ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-column ul a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 30px 0;
}

.footer-bottom-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 8px rgba(99, 102, 241, 0.4); }
  100% { transform: scale(1.1); box-shadow: 0 0 16px rgba(99, 102, 241, 0.8); }
}

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

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scrollMouse {
  0% { opacity: 0; transform: translate(-50%, 0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* Scroll reveals (CSS Scroll-Driven Animations) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .scroll-reveal {
      animation: fade-in-up-scroll linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
  }
}

@keyframes fade-in-up-scroll {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-wide {
    grid-column: span 2;
  }
  .contact-panel {
    padding: 30px 40px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .nav-menu {
    display: none; /* Controlled by mobile menu toggle in JS */
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile Active Menu */
  .nav-container.active .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 5%;
    width: 90%;
    background: rgba(9, 9, 11, 0.95);
    border-color: var(--border-hover);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    gap: 10px;
    backdrop-filter: blur(30px);
  }

  .nav-container.active .nav-menu .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

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

  .hero-section {
    padding-top: calc(var(--nav-height) + 20px);
  }

  .dashboard-body {
    height: 240px;
  }

  .db-sidebar {
    width: 45px;
  }

  .db-cards {
    gap: 10px;
  }

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

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-panel {
    flex-direction: column;
    padding: 30px 20px;
    gap: 24px;
  }
  .contact-panel-col {
    width: 100%;
    justify-content: flex-start;
  }
  .panel-divider {
    width: 100%;
    height: 1px;
  }
  .panel-value, .panel-value-link {
    font-size: 1.1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
