/* index.css - Nexus Digital Studios Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@500;700;800;900&display=swap');

:root {
  /* Colors */
  --bg-dark: #080B14;
  --bg-card: rgba(15, 21, 38, 0.4);
  --bg-card-hover: rgba(22, 31, 56, 0.6);
  --border-light: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 210, 255, 0.25);
  
  --accent-cyan: #00d2ff;
  --accent-blue: #0066ff;
  --accent-cyan-rgb: 0, 210, 255;
  --accent-blue-rgb: 0, 102, 255;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Custom Cursor Coordinate Properties */
  --cursor-x: 0px;
  --cursor-y: 0px;
  --trail-x: 0px;
  --trail-y: 0px;
}

/* Reset & Core Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none; /* Hide default cursor to enable custom cursor */
}

/* Fallback: Allow normal cursor on mobile/touch devices */
@media (hover: none) {
  * {
    cursor: auto !important;
  }
  .custom-cursor, .custom-cursor-trail {
    display: none !important;
  }
}

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

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Subtle Noise Texture Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 210, 255, 0.4);
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  top: var(--cursor-y);
  left: var(--cursor-x);
}

.custom-cursor-trail {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 210, 255, 0.3);
  background-color: rgba(0, 210, 255, 0.02);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
  top: var(--trail-y);
  left: var(--trail-x);
}

/* Cursor states on hover */
body.cursor-hover .custom-cursor {
  width: 12px;
  height: 12px;
  background-color: var(--accent-blue);
}
body.cursor-hover .custom-cursor-trail {
  width: 48px;
  height: 48px;
  border-color: rgba(0, 102, 255, 0.6);
  background-color: rgba(0, 102, 255, 0.05);
}

/* Background Ambient Glows */
.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(0, 210, 255, 0.05) 50%, rgba(8, 11, 20, 0) 100%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
.glow-top {
  top: -10%;
  right: -5%;
  animation: floatAmbient 12s ease-in-out infinite alternate;
}
.glow-middle {
  top: 45%;
  left: -10%;
  animation: floatAmbient 15s ease-in-out infinite alternate-reverse;
}
.glow-bottom {
  bottom: 5%;
  right: -10%;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

@keyframes floatAmbient {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(50px, 30px, 0) scale(1.1); }
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

p {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan-blue {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(8, 11, 20, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: 110px;
  display: flex;
  align-items: center;
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s, height 0.4s;
}

/* Native CSS Scroll-driven header animation */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  header {
    animation: darkenHeader auto linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 80px;
  }
}

/* JS Fallback class */
header.header-scrolled {
  background-color: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  height: 90px;
}

@keyframes darkenHeader {
  to {
    background-color: rgba(8, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    height: 90px;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
}

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

@keyframes pulseLogo {
  0% { transform: scale(1); box-shadow: 0 0 8px rgba(0, 210, 255, 0.6); }
  50% { transform: scale(1.2); box-shadow: 0 0 15px rgba(0, 210, 255, 1); }
  100% { transform: scale(1); box-shadow: 0 0 8px rgba(0, 210, 255, 0.6); }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

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

.nav-btn {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
}

/* Glassmorphism Panel base */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.4s, background-color 0.4s, box-shadow 0.4s, transform 0.4s;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #04060b;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.4);
}

/* Shimmer Animation on Hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn:hover::after {
  left: 125%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Hero Tag */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 210, 255, 0.07);
  border: 1px solid rgba(0, 210, 255, 0.15);
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Word-by-word fade-blur hero headline */
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.word-reveal span {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
  animation: blurFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes blurFadeIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

/* Background floating geometry */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.orb-geometry {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 210, 255, 0.3) 0%, rgba(0, 102, 255, 0.08) 50%, rgba(8, 11, 20, 0) 80%);
  box-shadow: inset -10px -10px 40px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 210, 255, 0.05);
  top: 25%;
  right: 12%;
  animation: rotateOrb 30s linear infinite;
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes rotateOrb {
  0% { transform: rotate(0deg) translate(0, 0); }
  50% { transform: rotate(180deg) translate(-20px, 30px); }
  100% { transform: rotate(360deg) translate(0, 0); }
}

/* Trusted By Ticker */
.ticker-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(8, 11, 20, 0.5) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.ticker-title {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.ticker-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 6rem;
  animation: scrollTicker 35s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0.45;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-item:hover {
  opacity: 0.85;
}

.ticker-logo-symbol {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent-cyan);
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 3rem)); }
}

/* Services Section */
.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 210, 255, 0.08), transparent 45%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 40px rgba(0, 210, 255, 0.05);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  transition: transform 0.4s, background-color 0.4s;
  z-index: 2;
  position: relative;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--accent-cyan);
  color: #04060b;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  z-index: 2;
  position: relative;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  z-index: 2;
  position: relative;
}

/* The Nexus Process Section */
.process-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.timeline {
  position: relative;
  margin-top: 4rem;
}

/* Connector Line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-cyan) 0%, var(--accent-blue) 50%, rgba(255, 255, 255, 0.05) 100%);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  display: flex;
  margin-bottom: 6rem;
  position: relative;
  z-index: 2;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: 3;
}

.timeline-item:nth-child(even) .timeline-badge {
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
  color: var(--accent-blue);
}

.timeline-panel {
  width: 45%;
  padding: 2.5rem;
}

.timeline-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timeline-item:nth-child(even) .timeline-panel {
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-panel h3 {
  justify-content: flex-end;
}

/* Portfolio Section */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
}

.portfolio-header-content {
  max-width: 600px;
}

/* Featured Project with 3D Tilt Mockup */
.featured-project {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.featured-visual-wrapper {
  perspective: 1000px;
}

.featured-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(0, 102, 255, 0.1));
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.featured-image-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.mockup-ui {
  position: absolute;
  width: 80%;
  height: 75%;
  background: rgba(10, 14, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  top: 15%;
  left: 10%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateZ(50px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-header {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f56;
}
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #27c93f; }

.mockup-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  width: 60%;
}

.mockup-body {
  flex: 1;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}

.mockup-chart-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
  filter: blur(15px);
  top: 20%;
  left: 30%;
  animation: floatAmbient 5s infinite alternate;
}

.featured-details h4 {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.featured-details h3 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.featured-details p {
  margin-bottom: 2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.portfolio-card {
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
}

.portfolio-card-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.portfolio-card-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background-size: cover !important;
}

.portfolio-card:hover .portfolio-card-bg {
  transform: scale(1.05);
}

.portfolio-card-content {
  position: relative;
  width: 100%;
  padding: 2.5rem;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-card-content {
  transform: translateY(-5px);
}

.portfolio-card-tag {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.portfolio-card-title {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.portfolio-card-link {
  font-size: 0.9rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
  transform: translateY(10px);
}

.portfolio-card:hover .portfolio-card-link {
  opacity: 1;
  transform: translateY(0);
}

/* Results & Stats Section */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 7rem;
}

.stat-card {
  padding: 3rem 2rem;
  text-align: center;
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1;
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--border-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-weight: 700;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  height: 450px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-glow-core {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.4) 0%, rgba(0, 102, 255, 0.1) 70%, transparent 100%);
  filter: blur(20px);
  animation: floatAmbient 6s infinite alternate;
}

.about-glass-cube {
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  transform: rotate(15deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.about-glass-cube::after {
  content: 'N';
  position: absolute;
  color: rgba(0, 210, 255, 0.15);
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.about-content h2 {
  margin-bottom: 2rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

/* Pricing/Consultation Teaser */
.pricing-section {
  text-align: center;
}

.pricing-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 4.5rem;
  position: relative;
  overflow: hidden;
}

.pricing-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
  filter: blur(30px);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.pricing-card p {
  max-width: 500px;
  margin: 0 auto 3rem auto;
}

/* CTA Banner */
.cta-banner {
  padding: 10rem 0;
  overflow: hidden;
}

.cta-box {
  position: relative;
  padding: 6rem;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(8, 11, 20, 0.8) 0%, rgba(15, 21, 38, 0.3) 100%);
  border: 1px solid rgba(0, 210, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.cta-box-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.15), transparent 60%);
  z-index: 1;
}

.cta-box-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-light);
  padding: 6rem 0 3rem 0;
  background: #04060b;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-brand p {
  margin-top: 1.5rem;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Large display studio name */
.giant-footer-title {
  font-size: clamp(3rem, 15vw, 12rem);
  font-weight: 900;
  text-align: center;
  color: rgba(255, 255, 255, 0.02);
  letter-spacing: -0.06em;
  line-height: 0.8;
  margin-top: 4rem;
  pointer-events: none;
  user-select: none;
  text-transform: uppercase;
  transition: color 0.5s, transform 0.5s;
}

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .giant-footer-title {
    animation: scaleFooterTitle auto linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 60%;
  }
}

@keyframes scaleFooterTitle {
  from {
    transform: scale(0.9);
    color: rgba(255, 255, 255, 0.01);
  }
  to {
    transform: scale(1);
    color: rgba(0, 210, 255, 0.03);
  }
}

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

.strategy-form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  section {
    padding: 6rem 0;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
  }
  

  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-badge {
    left: 2rem;
  }
  
  .timeline-panel {
    width: calc(100% - 4rem);
    margin-left: 4rem;
  }
  
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  
  .timeline-item:nth-child(even) .timeline-panel {
    text-align: left;
  }
  
  .timeline-item:nth-child(even) .timeline-panel h3 {
    justify-content: flex-start;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(8, 11, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid var(--border-light);
  }
  
  .nav-menu.active {
    left: 0;
  }
}

@media (max-width: 576px) {
  .featured-project {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .strategy-form {
    padding: 1.5rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .portfolio-card {
    height: auto;
  }
  
  .pricing-card {
    padding: 2.5rem 1.5rem;
  }
  
  .cta-box {
    padding: 4rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Scroll reveals (fallback / standard animation class) */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Disable animations if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .orb-geometry {
    animation: none !important;
  }
  .giant-footer-title {
    animation: none !important;
    color: rgba(255, 255, 255, 0.02) !important;
  }
}

/* Service Page Specific Components */
.service-hero {
  padding: 200px 0 120px;
  position: relative;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  background: radial-gradient(circle at center, rgba(0,210,255,0.05) 0%, var(--bg-dark) 60%);
}

.service-hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.service-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.process-step-luxury {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid var(--accent-cyan);
}

.process-step-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(0, 210, 255, 0.2);
  line-height: 1;
  position: absolute;
  top: -10px;
  left: -20px;
  background-color: #05070d; /* Matches the section background to cut the line */
  padding: 10px 0;
}

/* Luxury Pricing Components */
.pricing-section {
  padding: 120px 0;
  position: relative;
}

.pricing-grid-luxury {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.pricing-card-luxury {
  padding: 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-luxury:hover {
  transform: translateY(-5px);
}

.pricing-card-luxury.featured {
  background: rgba(0, 210, 255, 0.05);
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 210, 255, 0.1);
}

.pricing-label-luxury {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.pricing-title-luxury {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pricing-price-luxury {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-price-luxury span {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features-luxury {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  flex-grow: 1;
}

.pricing-features-luxury li {
  padding: 1rem 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pricing-features-luxury li::before {
  content: '→';
  color: var(--accent-cyan);
}
