:root {
  --color-bg: #ffffff;
  --color-text: #ffffff; /* Set to white for mix-blend-mode difference to work correctly (White diff White = Black) */
  --color-accent: #000000;
  --color-accent-dim: #cccccc;
  --font-main: 'Outfit', sans-serif;
  --spacing-container: 1200px;
  --z-canvas: 0;
  --z-content: 10;
  --z-nav: 100;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

#app {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Allow content to grow */
  overflow-x: hidden; /* Prevent horizontal scroll only */
  overflow-y: visible; /* Allow vertical scroll */
}

/* Canvas Background */
#blackhole-canvas {
  position: fixed; /* Fixed so it stays as the permanent background */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-canvas);
  pointer-events: none;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: var(--z-nav);
  mix-blend-mode: difference; /* Ensures nav is visible against everything */
  color: white;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-links a {
  color: white; /* White for difference mode */
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* Buttons */
.btn-primary {
  background: black; /* Inverted for difference mode -> Becomes White */
  color: white; /* Inverted -> Becomes Black */
  padding: 0.8rem 1.5rem;
  border-radius: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid black; /* Inverted -> Becomes White border (invisible on white bg) or Black on black? */
  /* Actually, border: 1px solid white (becomes black) is better for visibility */
  border: 1px solid white; 
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Sections & Layout */
.section-padding {
  padding: 8rem 2rem;
  background: white;
  position: relative;
  z-index: 20; /* Above hero */
  min-height: 100vh; /* Ensure it covers the previous section fully */
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1); /* Shadow to emphasize the stacking */
}

.btn-primary:hover {
  background: white; /* Becomes Black */
  color: black; /* Becomes White */
  border-color: white;
}

.btn-secondary {
  background: transparent;
  color: black; /* Visible on white bg */
  padding: 0.8rem 1.5rem;
  border-radius: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid black; /* Strong border */
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: black;
  color: white;
  border-color: black;
}

.footer-section {
  background: transparent !important;
  color: white;
  min-height: 50vh;
  text-align: center;
  position: relative;
  z-index: 20;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* The Singularity Vignette: A void in the center of the warp */
.footer-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  /* Radial gradient: Solid black in center, fading to transparent at edges */
  background: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 30%, rgba(0,0,0,0) 70%);
  z-index: -1; /* Behind text, above canvas */
  pointer-events: none;
}

.footer-content {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  /* Removed the box */
  background: transparent;
  border: none;
  backdrop-filter: none;
  padding: 0;
}

.footer-content .section-title {
  color: white;
  font-size: 4rem; /* Massive text */
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(255,255,255,0.5);
}

.footer-content .section-subtitle {
  color: #888;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}
/* Hero Section */
.hero {
  position: sticky; /* Stacks underneath the next section */
  top: 0;
  z-index: var(--z-content);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.hero-content {
  pointer-events: auto;
  width: 100%;
  max-width: 1000px; /* Wider to allow title to breathe */
  height: 75vh; /* Occupy vertical space to frame the center */
  padding: 2rem;
  /* Removed mix-blend-mode for better control over readability */
  color: black;
  position: relative; /* Ensure z-index works */
  
  /* Flexbox for Framing Layout */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes title to top, content to bottom */
  align-items: center;
}

.hero-title {
  font-size: 6rem;
  line-height: 0.9;
  font-weight: 800;
  margin-bottom: 0; /* Spacing handled by flex container */
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: black;
  /* Strong white glow to separate from black hole */
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.9);
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #111;
  margin-bottom: 2rem; /* Space between subtitle and buttons */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500; /* Increased weight for readability */
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.9);
}

.suck-target {
  display: inline-block;
  animation: instability 4s ease-in-out infinite;
}

@keyframes instability {
  0%, 100% { transform: translate(0, 0) scale(1); filter: blur(0px); }
  33% { transform: translate(1px, 1px) scale(1.01); filter: blur(0.5px); }
  66% { transform: translate(-1px, 0) scale(0.99); filter: blur(0px); }
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Utilities */
.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Sections & Layout */
.section-padding {
  padding: 8rem 2rem;
  /* Glassmorphism: Semi-transparent white to let the "void" feel present underneath */
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px); /* Blurs the black hole behind it */
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  z-index: 20; /* Above hero */
  min-height: 100vh; /* Ensure it covers the previous section fully */
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1); /* Shadow to emphasize the stacking */
  color: black; /* Force black text on white background */
}

.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: black;
  letter-spacing: -0.02em;
}

.contact-link {
  display: inline-block;
  font-size: 2rem;
  color: white;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.contact-link:hover {
  text-shadow: 0 0 40px rgba(255, 255, 255, 1);
  transform: scale(1.05);
  letter-spacing: 1px;
}

.copyright {
  color: #888; /* Visible against black vignette */
  font-size: 0.9rem;
  opacity: 0.8;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 4rem;
  max-width: 500px;
}

/* Featured Work (Spotlight Layout - Dark Glass) */
.featured-work {
  display: flex;
  flex-direction: column;
  /* Dark Glass to match Singularity Theme */
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  color: white;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .featured-work {
    flex-direction: row;
    align-items: stretch;
    min-height: 450px;
  }
}

.featured-content {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.featured-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.featured-header h3 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  color: white;
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.project-tag {
  background: white;
  color: black;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.featured-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 3rem;
  max-width: 500px;
}

.featured-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

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

.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
}

/* Quantum Core (3D Gyroscope) */
/* Quantum Core (3D Gyroscope) */
.featured-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px; /* Enable 3D space */
  overflow: visible; /* Let the glow spill out */
  min-height: 400px; /* Ensure height */
}

.quantum-core {
  position: relative;
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
}

/* Ring 1: Outer, Slow */
.ring-1 {
  width: 280px;
  height: 280px;
  border-color: rgba(255, 255, 255, 0.6);
  animation: spin3D-1 12s linear infinite;
}

/* Ring 2: Middle, Medium */
.ring-2 {
  width: 220px;
  height: 220px;
  border-color: rgba(255, 255, 255, 0.4);
  border-left-color: transparent; /* Gap in the ring */
  border-right-color: transparent;
  animation: spin3D-2 8s linear infinite;
}

/* Ring 3: Inner, Fast */
.ring-3 {
  width: 160px;
  height: 160px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: spin3D-3 4s linear infinite;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* Nucleus: The Energy Source */
.core-nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.8), 
              0 0 100px rgba(0, 242, 255, 0.5); /* Cyan tint */
  animation: pulse-core 2s ease-in-out infinite alternate;
}

/* 3D Animations */
@keyframes spin3D-1 {
  0% { transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg); }
  100% { transform: translate(-50%, -50%) rotateX(360deg) rotateY(180deg); }
}

@keyframes spin3D-2 {
  0% { transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg); }
  100% { transform: translate(-50%, -50%) rotateX(-360deg) rotateY(90deg); }
}

@keyframes spin3D-3 {
  0% { transform: translate(-50%, -50%) rotateX(60deg) rotateY(0deg); }
  100% { transform: translate(-50%, -50%) rotateX(60deg) rotateY(360deg); }
}

@keyframes pulse-core {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* More Work Indicator */
.more-work {
  text-align: center;
  margin-top: 4rem;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.03);
  border-radius: 50px;
  display: inline-block;
  margin-left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(0,0,0,0.05);
}

.more-work p {
  font-family: 'Courier New', monospace;
  color: #444;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.blink {
  animation: blink-animation 1s step-end infinite;
  font-weight: bold;
}

@keyframes blink-animation {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Process Steps (Kinetic Accordion) */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
  min-height: 400px;
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    gap: 0;
    border: 1px solid #eee;
    background: white;
  }
}

.step {
  position: relative;
  padding: 3rem 2rem;
  border: 1px solid #eee;
  background: white;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: default;
}

@media (min-width: 768px) {
  .step {
    flex: 1;
    border: none;
    border-right: 1px solid #eee;
  }
  
  .step:last-child {
    border-right: none;
  }

  /* Kinetic Hover Effect */
  .process-steps:hover .step {
    flex: 1;
    opacity: 0.5; /* Dim others */
    filter: grayscale(100%);
  }

  .process-steps .step:hover {
    flex: 3; /* Expand active */
    opacity: 1;
    filter: grayscale(0%);
    background: black;
    color: white;
  }
}

.step-number {
  position: absolute;
  top: -1rem;
  right: -1rem;
  font-size: 8rem;
  font-weight: 800;
  color: #f5f5f5;
  z-index: 0;
  line-height: 1;
  transition: all 0.5s ease;
}

.step:hover .step-number {
  color: #222; /* Dark grey on black bg */
  transform: translate(-10px, 10px);
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  font-weight: 800;
}

.step p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
  max-width: 300px;
}

.step:hover p {
  color: #aaa;
}

/* Services Grid (Swiss Minimalist) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 3rem;
  border: 1px solid #eee;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

/* Gatekeeper (Loading Screen) */
/* Gatekeeper (Rich Brand Loader) */
#gatekeeper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Allow clicks to pass through after it vanishes */
}

/* The Panels (Background) */
.gate-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%; /* Overlap slightly to prevent gap */
  background: #000;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

.panel-top {
  top: 0;
  /* Rounded corner for the wipe effect */
  border-bottom-right-radius: 0; 
  transition: border-radius 0.5s ease, transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

.panel-bottom {
  bottom: 0;
  /* Rounded corner for the wipe effect */
  border-top-left-radius: 0;
  transition: border-radius 0.5s ease, transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

/* Brand Logo (SVG) */
.brand-logo {
  position: relative;
  z-index: 2;
  width: 300px; /* Adjust based on screen size */
  max-width: 80%;
  overflow: visible;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: white;
  text-decoration: none;
  cursor: pointer;
  /* Ensure it sits above other elements if needed */
  position: relative;
  z-index: 100;
  /* Fix width to prevent glitch loop when text shrinks */
  display: inline-block;
  min-width: 120px; 
  text-align: left;
}
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 80px;
  fill: transparent;
  stroke: white;
  stroke-width: 2px;
  /* Dash properties handled by JS for precision */
  transition: fill 0.5s ease, stroke 0.5s ease;
}

/* Animation States */

/* 1. Draw Text - Handled via JS transition now */

/* 2. Fill Text */
.gate-filled .logo-text {
  fill: white;
  stroke: transparent;
}

/* 3. Wipe Out (Restored) */
.gate-wiping .panel-top {
  transform: translateY(-100%);
  border-bottom-right-radius: 50%; /* Smooth rounded wipe */
}

.gate-wiping .panel-bottom {
  transform: translateY(100%);
  border-top-left-radius: 50%; /* Smooth rounded wipe */
}

.gate-wiping .brand-logo {
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.5s ease;
}

/* Hide main content initially */
.navbar, .hero, .section-padding, .footer-section {
  opacity: 0;
  transition: opacity 1s ease-out 0.5s; /* Delay reveal slightly */
}

.content-visible {
  opacity: 1 !important;
}

.service-card:hover {
  transform: translateY(-10px);
  background: black;
  border-color: black;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-glyph {
  width: 60px;
  height: 60px;
  margin-bottom: 2rem;
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.glyph-square {
  border: 4px solid black;
}

.glyph-triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 60px solid black;
}

.glyph-circle {
  border: 4px solid black;
  border-radius: 50%;
}

.service-card:hover .glyph-square {
  border-color: white;
  transform: rotate(90deg);
}

.service-card:hover .glyph-triangle {
  border-bottom-color: white;
  transform: rotateY(180deg);
}

.service-card:hover .glyph-circle {
  border-color: white;
  transform: scale(1.2);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 800;
  color: black;
  transition: color 0.4s ease;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  transition: color 0.4s ease;
}

.service-card:hover h3 {
  color: white;
}

.service-card:hover p {
  color: #ccc;
}

.hamburger {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: white; 
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
  left: 0;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.navbar.active .hamburger span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.navbar.active .hamburger span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px); 
}

.navbar.active .hamburger span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
  
  .section-padding {
    padding: 6rem 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-container: 100%;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem); 
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
    background: transparent;
    backdrop-filter: none;
    color: #111;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.9);
    box-shadow: none;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .footer-content .section-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .navbar {
    padding: 1.5rem;
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;
    background: transparent; 
    mix-blend-mode: normal; 
  }

  .logo {
    color: black; 
    transition: color 0.3s ease;
    z-index: 102; 
  }

  .navbar.active .logo {
    color: white; 
  }

  .hamburger {
    display: block; 
    z-index: 102; 
  }

  .hamburger span {
    background-color: black; 
  }

  .navbar.active .hamburger span {
    background-color: white; 
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem; 
    
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 90; 
  }

  .navbar.active .nav-links {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 2.5rem; 
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    position: relative;
    overflow: hidden;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    transform: translateX(-101%);
    transition: transform 0.3s ease;
  }
  
  .nav-links a:hover::after {
    transform: translateX(0);
  }
  
  .nav-links .btn-primary {
    background: white;
    color: black;
    border-color: white;
    margin-top: 2rem;
    width: 80%; 
    max-width: 300px;
    font-size: 1rem;
    padding: 1.2rem;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    padding: 1rem;
    padding-top: 7rem; 
    padding-bottom: 3rem; 
    height: auto;
    min-height: 100vh; 
    justify-content: space-between; 
    gap: 1rem;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem); 
    line-height: 1.1;
    margin-bottom: 0;
  }

  .hero-subtitle {
    font-size: 1rem; 
    line-height: 1.5;
    margin: 0; 
    max-width: 90%;
    color: black;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6); 
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .hero-bottom {
    margin-top: 0;
    width: 100%;
    margin-bottom: 2rem; 
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 100%; 
    padding: 1rem;
    font-size: 1rem;
  }
  
  .btn-secondary {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: black;
    border: 1px solid white;
  }

  .section-padding {
    padding: 4rem 1.5rem;
  }

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

  .service-card {
    padding: 2rem;
  }

  .featured-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .featured-header h3 {
    font-size: 2rem;
  }

  .featured-stats {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .featured-visual {
    min-height: 300px;
    transform: scale(0.8); 
  }

  .brand-logo {
    width: 80vw; 
  }

  .logo-text {
    font-size: 60px; 
  }
  
  .step-number {
    font-size: 5rem;
    top: 0;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    font-size: 0.75rem;
  }
}
