/* ==========================================================================
   NEXOVA Premium Stylesheet
   ========================================================================== */

/* Design Tokens & CSS Custom Variables */
:root {
  --color-bg: #050508;
  --color-bg-alt: #08080c;
  --color-bg-darker: #030305;
  --color-text-primary: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-text-very-muted: rgba(255, 255, 255, 0.4);
  --color-electric-blue: #3C78FF;
  --color-electric-blue-glow: rgba(60, 120, 255, 0.35);
  --color-border: #1a1a2e;
  --font-family: 'Space Grotesk', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Global Reset & Base Elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-family);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

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

/* Fixed Navigation Bar */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background-color: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
}

.brand-n {
  font-weight: 700;
  color: var(--color-text-primary);
}

.brand-rest {
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 4px;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-very-muted);
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.nav-item:hover {
  color: var(--color-text-primary);
}

.btn-start {
  display: inline-block;
  border: 1px solid rgba(60, 120, 255, 0.6);
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-electric-blue);
  background-color: transparent;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.btn-start:hover {
  background-color: rgba(60, 120, 255, 0.1);
  box-shadow: 0 0 15px rgba(60, 120, 255, 0.25);
  color: var(--color-text-primary);
}

/* Hero Sticky Container & Scene */
.hero-wrapper {
  position: relative;
  width: 100%;
}

.hero-sticky-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.hero-spacer {
  height: 100vh;
  pointer-events: none;
}

/* Background canvas particles */
.background-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Dynamic SVG line connectors layer */
.connectors-svg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Central Area: Logo & Tagline */
.hero-central-area {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none; /* Mouse moves transparent to central wrapper */
  transform: translateY(-4vh);
}

.logo-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto; /* Let mouse interact directly if needed */
}

.logo-n {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(60, 120, 255, 0.15));
  transition: transform 0.3s ease;
}

.logo-glow-backer {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: var(--color-electric-blue);
  filter: blur(45px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.hero-tagline {
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--color-text-primary);
  margin-top: 40px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  max-width: 90vw;
  line-height: 1.5;
}

/* Logo pulse and flash keys */
@keyframes electric-flash {
  0% {
    filter: drop-shadow(0 0 15px rgba(60, 120, 255, 0.4)) brightness(1);
    transform: scale(1);
  }
  20% {
    filter: drop-shadow(0 0 45px rgba(60, 120, 255, 1)) brightness(1.8);
    transform: scale(1.12);
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(60, 120, 255, 0.2)) brightness(1);
    transform: scale(1);
  }
}

.logo-n.flash {
  animation: electric-flash 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating Orbital Nodes */
.nodes-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  pointer-events: none;
}

.orbital-node {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
}

.node-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(60, 120, 255, 0.25);
  background: rgba(10, 10, 18, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-text-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s, background-color 0.3s, transform 0.2s;
  overflow: hidden;
}

.orbital-node:hover .node-inner {
  border-color: var(--color-electric-blue);
  background-color: rgba(60, 120, 255, 0.15);
  transform: scale(1.05);
}

.node-icon {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--color-electric-blue);
  margin-bottom: 2px;
}

.node-label {
  font-size: 0.55rem;
  letter-spacing: 0.5px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Customize sizes for smaller nodes */
.orbital-node[data-radius="22"] .node-icon,
.orbital-node[data-radius="20"] .node-icon {
  font-size: 0.95rem;
  margin-bottom: 0px;
}

.orbital-node[data-radius="22"] .node-label,
.orbital-node[data-radius="20"] .node-label {
  font-size: 0.45rem;
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: 0.6;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 4px;
  font-weight: 300;
  color: var(--color-text-very-muted);
  margin-bottom: 10px;
}

.scroll-line-container {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.scroll-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-electric-blue);
  animation: scroll-slide 2.2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scroll-slide {
  0% { transform: translateY(-100%); }
  60% { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* Universal Section Layouts */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
  position: relative;
  z-index: 20;
}

.section-header {
  margin-bottom: 64px;
}

.section-tag {
  color: var(--color-electric-blue);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
  line-height: 1.3;
  max-width: 700px;
}

/* Section 2: Social Proof / Metrics */
.metrics-section {
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg);
}

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

.metric-card {
  padding: 48px 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.metric-number-wrapper {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 16px;
  line-height: 1;
  letter-spacing: -2px;
}

.metric-prefix,
.metric-suffix {
  color: var(--color-electric-blue);
  font-size: 3rem;
  font-weight: 400;
  margin: 0 4px;
}

.metric-label {
  color: var(--color-text-very-muted);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 2px;
  font-weight: 300;
  margin: 0;
}

/* Section 3: Services (Cards Grid) */
.services-section {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

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

.service-card {
  position: relative;
  background-color: rgba(10, 10, 18, 0.4);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 56px 48px;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  cursor: pointer;
}

.service-card:hover {
  border-color: rgba(60, 120, 255, 0.4);
  transform: translateY(-4px);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(60, 120, 255, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none;
}

.service-card:hover .card-glow {
  opacity: 1;
}

.card-icon-wrapper {
  font-size: 2rem;
  color: var(--color-electric-blue);
  margin-bottom: 28px;
  line-height: 1;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.card-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 36px;
}

.card-footer {
  margin-top: auto;
}

.card-action {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-electric-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.service-card:hover .card-action {
  color: var(--color-text-primary);
}

/* Section 4: How it works (Timeline) */
.process-section {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.process-timeline-container {
  position: relative;
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-svg {
  position: absolute;
  left: 36px;
  top: 0;
  width: 4px;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 90px;
  position: relative;
  z-index: 2;
}

.process-step {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.step-node-wrapper {
  width: 76px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.step-node {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.step-number {
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-very-muted);
  transition: color 0.6s ease;
}

.node-radar {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(60, 120, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: scale(1);
}

/* Active Step Styling */
.process-step.active .step-node {
  border-color: var(--color-electric-blue);
  box-shadow: 0 0 15px rgba(60, 120, 255, 0.2);
}

.process-step.active .step-number {
  color: var(--color-text-primary);
}

.process-step.active .node-radar {
  animation: radar-pulse 2.2s infinite ease-out;
}

@keyframes radar-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

.step-content {
  padding-top: 14px;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 300;
  max-width: 600px;
}

/* Section 5: Real Cases (Green Haven Spa) */
.cases-section {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.case-study-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.case-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-client {
  color: var(--color-electric-blue);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.case-title-text {
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  line-height: 1.25;
}

.case-description {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 48px;
}

.case-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--color-border);
  padding-top: 36px;
}

.case-stat {
  display: flex;
  flex-direction: column;
}

.case-stat-value {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  line-height: 1;
}

.case-stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-very-muted);
  font-weight: 300;
}

/* Simulated Browser Mockup of Spa */
.case-preview-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.browser-mockup {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background-color: #0c0c14;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease;
}

.browser-mockup:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(60, 120, 255, 0.25);
}

.browser-header {
  height: 38px;
  background-color: rgba(15, 15, 25, 0.95);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 18px;
  position: relative;
  flex-shrink: 0;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dot.red { background-color: #ff5f56; }
.browser-dot.yellow { background-color: #ffbd2e; }
.browser-dot.green { background-color: #27c93f; }

.browser-address {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(5, 5, 8, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 4px 24px;
  font-size: 0.6rem;
  color: var(--color-text-very-muted);
  letter-spacing: 0.5px;
  font-family: monospace;
}

.browser-body {
  flex: 1;
  overflow: hidden;
  background-color: #faf9f6;
  position: relative;
}

/* Green Haven Spa Website Simulation Styles */
.spa-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #2c3e2b;
}

.spa-header {
  height: 48px;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e0d8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  flex-shrink: 0;
}

.spa-logo {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: #1e3a1e;
}

.spa-nav {
  display: flex;
  gap: 16px;
  font-size: 9px;
  font-weight: 500;
  color: #6a7c6a;
}

.spa-nav span.active {
  color: #1e3a1e;
  border-bottom: 1px solid #1e3a1e;
  padding-bottom: 2px;
}

.spa-hero {
  flex: 1;
  background-color: #faf9f6;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spa-hero-content {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}

.spa-subtitle {
  font-size: 8px;
  letter-spacing: 2px;
  color: #8fa08f;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.spa-headline {
  font-family: var(--font-family);
  font-size: 1.45rem;
  font-weight: 400;
  color: #1e3a1e;
  margin-bottom: 8px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.spa-text {
  font-size: 9px;
  line-height: 1.45;
  color: #5a6a5a;
  margin-bottom: 16px;
  max-width: 90%;
}

.spa-form-container {
  background-color: #ffffff;
  border: 1px solid #eae6df;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(40, 50, 40, 0.05);
}

.spa-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.spa-form-group label {
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  color: #8fa08f;
  letter-spacing: 0.5px;
}

.spa-input {
  height: 26px;
  padding: 0 10px;
  font-size: 8px;
  border: 1px solid #e0dbd3;
  border-radius: 4px;
  color: #2c3e2b;
  background-color: #ffffff;
  outline: none;
  font-family: inherit;
}

.spa-form-row {
  display: flex;
  gap: 10px;
}

.spa-form-group.half {
  flex: 1;
}

.spa-btn {
  height: 30px;
  background-color: #1e3a1e;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  margin-top: 6px;
  transition: background-color 0.2s ease;
}

.spa-btn:hover {
  background-color: #2f4d2f;
}

/* Section 6: Final CTA */
.cta-section {
  position: relative;
  min-height: 75vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
  background-color: var(--color-bg);
}

.cta-background-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 120, 255, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
}

.cta-logo-wrapper {
  margin-bottom: 36px;
}

.logo-n-small {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 15px rgba(60, 120, 255, 0.25));
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--color-text-primary);
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 650px;
  line-height: 1.2;
}

.cta-tagline {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  font-weight: 300;
  margin-bottom: 48px;
  max-width: 550px;
}

.btn-cta-main {
  display: inline-block;
  background-color: transparent;
  border: 1px solid var(--color-electric-blue);
  border-radius: 4px;
  padding: 16px 40px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 25px rgba(60, 120, 255, 0.15);
}

.btn-cta-main:hover {
  background-color: rgba(60, 120, 255, 0.1);
  box-shadow: 0 0 35px rgba(60, 120, 255, 0.35);
  transform: translateY(-2px);
}

.cta-footer-info {
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--color-text-very-muted);
  font-weight: 300;
}

/* Page Footer */
.main-footer {
  background-color: var(--color-bg-darker);
  border-top: 1px solid var(--color-border);
  padding: 48px 24px;
  position: relative;
  z-index: 20;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 2px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-text-very-muted);
  font-weight: 300;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  font-size: 0.75rem;
  color: var(--color-text-very-muted);
  font-weight: 300;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .services-grid {
    gap: 24px;
  }
  .case-study-split {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .nav-links {
    display: none; /* simple hidden for mobile, focus on primary flow */
  }
  
  .grid-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .case-study-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .browser-mockup {
    margin: 0 auto;
  }
  
  .metric-number-wrapper {
    font-size: 3.5rem;
  }
  
  .cta-title {
    font-size: 2.2rem;
  }
  
  /* Shrink hero central logo slightly on small mobile screens */
  .logo-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .hero-tagline {
    font-size: 0.95rem;
    letter-spacing: 4px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .case-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .case-stat-value {
    font-size: 2rem;
  }
}
