:root {
  /* Colors */
  --bg-color: #050505;
  --bg-darker: #000000;
  --bg-card: #121214;
  --bg-card-hover: #1a1a1d;
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.2);
  
  --border-color: rgba(255, 255, 255, 0.08);
  
  /* Typography */
  --font-heading: 'Goldman', system-ui, sans-serif;
  --font-body: 'Quicksand', sans-serif;
  
  /* Spacing */
  --container-width: 1200px;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: center top;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
}

/* Ambient Glows */
.glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}
.glow-1 {
  top: -100px;
  left: -200px;
}
.glow-2 {
  top: 50%;
  right: -200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
}

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

.section-padding {
  padding: var(--spacing-xl) 0;
}

.dark-bg {
  /* Removed background color and grid so it inherits from .content-wrapper and blends perfectly */
}

.accent {
  color: var(--accent-purple);
}
.text-gradient {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  color: white;
  box-shadow: 0 4px 14px 0 var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(139, 92, 246, 0.4);
}
.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.2);
}
.btn-outline {
  border-color: var(--border-color);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--text-primary);
}
.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h2 {
  font-size: 5rem;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
}
h3 {
  font-size: 1.5rem;
}
p {
  color: var(--text-secondary);
  font-weight: 400;
}
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
  margin-bottom: 0.5rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(5, 5, 5, 0.8);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: white;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: var(--spacing-xl);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
  overflow: hidden;
}

/* Content Wrapper for Parallax Effect */
.content-wrapper {
  position: relative;
  z-index: 2;
  background-color: var(--bg-color);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: center top;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -20px 50px rgba(0,0,0,0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
  pointer-events: none;
}
.hero-title, .hero-subtitle, .hero-ctas {
  pointer-events: auto;
}
.hero-title {
  font-size: 4.5rem;
  max-width: 900px;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.9));
}
.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 4px 30px rgba(0,0,0,1);
  font-family: var(--font-body);
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* Spline Canvas Background */
#canvas3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: calc(100% + 100px) !important;
  display: block;
  z-index: 1;
  pointer-events: auto;
}

/* Social Proof */
.social-proof {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-color); /* solid background covers the parent vertical grid */
  position: relative;
  z-index: 1;
  text-align: center;
}
.proof-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}
.proof-metrics {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.metric h3 {
  font-size: 2.5rem;
  margin-bottom: 0.2rem;
  color: white;
}
.metric p {
  font-size: 0.9rem;
}

/* Services Section Re-design */
.services {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  transition: background-color 0.4s ease;
}

.services-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.05);
  z-index: 0;
}

.services-bg-1 { background-image: url('Website%20%26%20Landing%20Page.png'); }
.services-bg-2 { background-image: url('Growth%20%26%20Optimization.png'); }
.services-bg-3 { background-image: url('Smart%20Content%20%26%20Automation.png'); }
.services-bg-4 { background-image: url('Branding%20%26%20Visual%20Design.png'); }

.services-bg-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 5, 5, 0.85);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

/* Use :has() to change background based on card hover */
.services:has(.service-card-new[data-index="1"]:hover) .services-bg-1 { opacity: 1; transform: scale(1); }
.services:has(.service-card-new[data-index="2"]:hover) .services-bg-2 { opacity: 1; transform: scale(1); }
.services:has(.service-card-new[data-index="3"]:hover) .services-bg-3 { opacity: 1; transform: scale(1); }
.services:has(.service-card-new[data-index="4"]:hover) .services-bg-4 { opacity: 1; transform: scale(1); }
.services:has(.service-card-new:hover) .services-bg-overlay { opacity: 1; }

.services-container {
  position: relative;
  z-index: 1;
}

.services-intro {
  margin-bottom: 5rem;
  max-width: 100%;
}
.services-intro-text {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0;
  letter-spacing: -1px;
}
.services-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  display: inline-block;
  width: 100%;
}

.services-content {
  display: flex;
  gap: 4rem;
  justify-content: space-between;
}

.services-left {
  flex: 3;
}

.services-right {
  flex: 1;
  min-width: 300px;
}

.services-right-text p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.services-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  height: 380px;
}

.service-card-new {
  position: relative;
  background-color: rgba(25, 25, 29, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, background-color 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card-new:hover {
  transform: translateY(-8px);
  background-color: rgba(25, 25, 29, 0.9);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  border-color: rgba(139, 92, 246, 0.4);
}

.card-content {
  position: relative;
  z-index: 3;
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  font-family: var(--font-heading);
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.card-body {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card-new:hover .card-body {
  opacity: 1;
  transform: translateY(0);
}

.card-body p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
}

/* Process Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}
.step {
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.5s ease-out, border-color 0.3s, box-shadow 0.3s;
  
  /* 3D Tilt properties */
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  --hover-y: 0px;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --pointer-x: 50%;
  --pointer-y: 50%;
  transform: perspective(1000px) translateY(calc(var(--translate-y, 0px) + var(--hover-y))) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)) !important;
}
.step.is-tilting {
  transition: border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.step:hover {
  --hover-y: -5px;
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.step > *:not(.step-number) {
  position: relative;
  z-index: 3;
  transform: translateZ(20px);
}
.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.05);
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--font-heading);
  z-index: 3;
  transform: translateZ(20px);
}
.step h3 {
  margin-top: 1rem;
}

/* Glow & Shine Effects */
.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--pointer-x) var(--pointer-y), 
    rgba(139, 92, 246, 0.1), 
    transparent 40%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover::before {
  opacity: 1;
}

.step::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(
    0deg, 
    var(--accent-purple),
    var(--accent-blue),
    var(--accent-purple)
  );
  mix-blend-mode: color-dodge;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
  mask-image: radial-gradient(
    300px circle at var(--pointer-x) var(--pointer-y), 
    black, 
    transparent 50%
  );
  -webkit-mask-image: radial-gradient(
    300px circle at var(--pointer-x) var(--pointer-y), 
    black, 
    transparent 50%
  );
}

.step:hover::after {
  opacity: 0.15;
}

/* Value Section */
.value {
  background-color: var(--bg-color); /* Restored solid background so sticky hero doesn't show through */
  background-image: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg-color) 0%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0.4) 80%, var(--bg-color) 100%), 
    url('Why Choose Eija Inspire BG.png');
  background-size: 100px 100px, cover, cover;
  background-position: center top, center, center;
  background-repeat: repeat, no-repeat, no-repeat;
}
.value-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.value-list {
  list-style: none;
  margin-top: 2rem;
}
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}
.value-list strong {
  color: white;
}
.check-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.value-visual {
  position: relative;
  height: 600px;
  background: transparent;
  overflow: hidden;
}
#canvas-value {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: calc(100% + 80px) !important;
  display: block;
  pointer-events: auto;
  outline: none;
}

/* Portfolio Section */
.portfolio-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 450px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
}
.portfolio-carousel:active {
  cursor: grabbing;
}
.carousel-scene {
  width: 320px;
  height: 400px;
  position: relative;
  perspective: 800px;
}
.carousel-cylinder {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}
.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  backface-visibility: hidden; /* Hide cards facing backwards if desired, but 3d carousel usually shows backs if transparent, though here cards are opaque. */
}
.portfolio-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}
.portfolio-card:hover {
  transform: translateY(-5px);
}
.portfolio-img {
  height: 200px;
  width: 100%;
}
.bg-grad-1 { background: linear-gradient(135deg, #2c3e50, #3498db); }
.bg-grad-2 { background: linear-gradient(135deg, #141e30, #243b55); }
.bg-grad-3 { background: linear-gradient(135deg, #23074d, #cc5333); }
.portfolio-info {
  padding: 1.5rem;
}
.portfolio-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.portfolio-info p {
  font-size: 0.9rem;
}

/* About Section */
.about-container {
  text-align: center;
  max-width: 800px;
}
.large-text {
  font-size: 1.5rem;
  line-height: 1.8;
  color: white;
  margin-top: 1.5rem;
}

/* CTA Section */
.cta-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.cta-box p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-purple);
  transition: transform 0.3s;
}
.faq-question.active::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.faq-answer p {
  padding-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}
.footer-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  margin-top: 1rem;
  max-width: 300px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.link-group h4 {
  color: white;
  margin-bottom: 1.5rem;
}
.link-group a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.link-group a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
}

.fade-in-up {
  opacity: 0;
  --translate-y: 30px;
  transform: translateY(var(--translate-y));
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  --translate-y: 0px;
  transform: translateY(var(--translate-y));
}

/* --- DARKNODE ADAPTATION STYLES --- */
.container-fluid {
  width: 100%;
  padding: 0 4vw;
  margin: 0 auto;
}

.red-dot-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.red-dot-header.justify-center {
  justify-content: center;
}

.red-dot {
  width: 12px;
  height: 12px;
  background-color: var(--accent-blue);
}

/* Services / Designation Section */
.darknode-section {
  padding: var(--spacing-xl) 0;
  position: relative;
  background-color: var(--bg-color);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
}

/* --- SCROLL-PINNED SERVICES SECTION --- */
.services-pin-wrapper {
  height: 400vh; /* 4 items */
  position: relative;
}

.services-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-color);
  padding: 0; /* Remove padding to avoid gaps */
}

/* Background Image Layers */
.services-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}
.services-bg-layer.active {
  opacity: 1;
}

.services-bg-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
}

/* Split Layout */
.services-split-container {
  display: flex;
  height: 100vh;
  position: relative;
  z-index: 3;
  padding: 0; /* Override fluid padding for split screen */
}

.services-left-split {
  flex: 1;
  position: relative;
  padding: 4vw;
  display: flex;
  align-items: flex-end;
}

.services-right-split {
  flex: 1;
  position: relative;
  padding: 4vw;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Right Side Blur Backdrop */
.services-right-backdrop {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: rgba(5, 5, 5, 0.4);
}

/* Tracker Circle SVG */
.tracker-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  opacity: 0.8;
  pointer-events: none;
}
.tracker-indicator {
  transition: stroke-dashoffset 0.1s ease-out;
}

/* Left Bottom Text */
.services-bottom-left {
  position: relative;
  z-index: 4;
  padding-bottom: 1.5rem;
}

.services-bottom-left .red-dot-header {
  margin-bottom: 0.5rem;
}

.services-hero-text {
  font-size: 5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -2px;
}

/* Right Scroll List Items */
.services-scroll-list {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.service-scroll-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.service-scroll-item.active {
  opacity: 1;
}

.service-scroll-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--accent-blue);
  font-weight: 700;
  padding-top: 0.5rem;
}

.service-scroll-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
  transition: font-size 0.5s ease, color 0.5s ease;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.service-scroll-item.active .service-scroll-content h3 {
  font-size: 2.5rem;
  color: white;
  line-height: 1;
  margin-bottom: 1rem;
}

.service-scroll-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.service-scroll-item.active .service-scroll-desc {
  max-height: 300px; /* arbitrary max height for transition */
  opacity: 1;
}

.service-scroll-desc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-scroll-desc ul li {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-scroll-desc ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
}

/* About Us Section */
.about-massive-text {
  margin-top: 1rem;
  margin-bottom: 4rem;
}

.uppercase-massive {
  font-size: 8vw;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  letter-spacing: -2px;
  color: var(--text-primary);
}

.about-text-content {
  max-width: 800px;
  margin-left: auto;
}

.about-text-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* --- CTA Parallax Section --- */
.cta-pin-wrapper {
  height: 200vh;
  position: relative;
  background-color: var(--bg-color);
}

.darknode-parallax-cta {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cta-moving-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: var(--accent-blue);
  z-index: 1;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

.cta-container {
  pointer-events: none; /* Let clicks pass to background if needed */
}

.cta-content {
  max-width: 1400px;
  pointer-events: auto; /* Re-enable clicks for content */
}

.massive-bold-text.blend-difference {
  font-size: 8vw;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  color: var(--accent-blue); /* The text color */
  mix-blend-mode: difference; /* Inverts color over the moving block */
  position: relative;
  z-index: 3;
}

.cta-footer {
  margin-top: 4rem;
  position: relative;
  z-index: 4;
}

.cta-desc {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  background: linear-gradient(to right, #000000 0%, #a0a0a0 0%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-btn {
  background: white;
  color: black;
  box-shadow: none;
}
.cta-btn:hover {
  background: var(--accent-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.cta-btn.is-blue-bg:hover {
  background: #000000;
}
.darknode-transform-section.is-active .cta-btn:hover {
  background: #222;
}


/* FAQ Section */
.faq-hero-header {
  margin-bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-hero-header .red-dot-header {
  margin-bottom: 1rem;
}

.faq-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: justify;
  text-align-last: center;
  letter-spacing: 1px;
  line-height: 1.6;
}

.uppercase-massive.text-center {
  text-align: center;
  font-size: 18vw;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: white;
}

.darknode-faq-wrapper {
  width: 100%;
}

.darknode-faq-item {
  border-bottom: 1px solid var(--border-color);
}

.darknode-faq-item:first-child {
  border-top: 1px solid var(--border-color);
}

.darknode-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.darknode-faq-question:hover {
  color: var(--text-secondary);
}

.faq-num {
  width: 50%; /* Takes up left half */
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.faq-text {
  flex: 1; /* Takes up right half */
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-heading);
}

.faq-toggle {
  margin-left: auto;
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-family: monospace;
  transition: transform 0.3s;
}

.darknode-faq-question.active .faq-toggle {
  transform: rotate(45deg);
}

.darknode-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease;
}

.darknode-faq-answer p {
  padding-bottom: 2.5rem;
  padding-left: 50%; /* Align with question text */
  font-size: 1rem;
  max-width: 100%;
  color: var(--text-secondary);
}

/* Text Reveal Animation */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* preserve spaces between words */
  margin-right: 0.25em; 
}
.word span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.text-reveal-split.visible .word span {
  transform: translateY(0);
}

/* Responsive Overrides */
@media (min-width: 1800px) {
  html {
    font-size: 18px; /* Slightly larger, but prevents text from becoming massive on 4k */
  }
  .container {
    max-width: 1600px; /* Let layout stretch wider without breaking text */
  }
}
@media (max-width: 1400px) {
  .services-content {
    flex-direction: column;
    gap: 2rem;
  }
  .darknode-services-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-right {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 1200px) {
  .services-grid-new {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
  .service-card-new {
    height: 380px;
  }
}
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .value-container { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .uppercase-massive { font-size: 15vw; }
  .massive-bold-text { font-size: 10vw; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .nav-links, .nav-cta { display: none; }
  .section-padding { padding: var(--spacing-lg) 0; }
  .footer-links { grid-template-columns: 1fr; }
  
  .services-hero-text { font-size: 2.2rem; }
  .services-grid-new { grid-template-columns: 1fr; }
  .service-card-new { height: 350px; }
  
  .faq-header-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .faq-title { font-size: 3.5rem; }
  .darknode-faq-question { font-size: 1.5rem; }
}
