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

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --yggra: #007dc5;
  --yggra-dim: #00417a;
  --dark: #000000;
  --dark-card: #050505;
  --dark-border: #1a1a1d;
  --light: #fcfcfb;
  --light-card: #ffffff;
  --light-border: #e6e6e2;
  --radius: 0.5rem;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: -0.01em;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: #d1d1cc;
  overflow-x: hidden;
  line-height: 1.5;
  transition: background 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.light {
  background: var(--light);
  color: #333333;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}


/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
  text-transform: none;
}

body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light h5 {
  color: #000;
}

.text-gradient {
  background: linear-gradient(135deg, var(--yggra) 0%, #00a8ff 50%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── FAN SLIDER (LEQUE) ─── */
.fan-slider-section {
  padding: 8rem 0;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--dark) 0%, #0d0d0f 100%);
}

body.light .fan-slider-section {
  background: linear-gradient(to bottom, var(--light) 0%, #f4f4f2 100%);
}


.fan-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 4rem;
}

.fan-card {
  position: absolute;
  width: 420px;
  height: 540px;
  background: var(--dark-card);
  border-radius: 2rem;
  border: 1px solid var(--dark-border);
  overflow: hidden;
  transition: all 0.7s var(--ease-out-expo);
  transform-origin: center 120%;
  cursor: pointer;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}

body.light .fan-card {
  background: var(--light-card);
  border-color: var(--light-border);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.05);
}


.fan-card:nth-child(1) {
  transform: rotate(-12deg) translateX(-180px);
  z-index: 1;
}

.fan-card:nth-child(2) {
  transform: rotate(-4deg) translateX(-60px);
  z-index: 2;
}

.fan-card:nth-child(3) {
  transform: rotate(4deg) translateX(60px);
  z-index: 3;
}

.fan-card:nth-child(4) {
  transform: rotate(12deg) translateX(180px);
  z-index: 4;
}

@media (max-width: 1024px) {
  .fan-container {
    height: auto;
    margin: 4rem 0;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
  }

  .fan-card {
    position: relative;
    transform: none !important;
    width: 100%;
    max-width: 500px;
  }
}

.fan-card:hover {
  z-index: 10 !important;
  transform: rotate(0deg) translateX(0) translateY(-60px) scale(1.08) !important;
  border-color: var(--yggra);
  box-shadow: 0 50px 120px -20px rgba(153, 247, 115, 0.25);
}

.fan-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 1px solid var(--dark-border);
  transition: transform 0.8s var(--ease-out-expo);
}

.fan-card:hover .fan-img {
  transform: scale(1.05);
}

.fan-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fan-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.fan-desc {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.fan-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--dark-border);
  padding-top: 1.5rem;
}

.fan-stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--yggra);
  font-family: 'Inter', sans-serif;
}

.fan-stat-item span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
}

/* ─── PROCESS SECTION ─── */
.process-section {
  padding: 10rem 0;
  background: var(--dark);
  position: relative;
}

body.light .process-section {
  background: var(--light);
}


.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

@media (max-width: 968px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .process-visual {
    order: -1;
  }
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.process-step {
  display: flex;
  gap: 2rem;
  opacity: 0.4;
  transition: all 0.5s;
}

.process-step.active {
  opacity: 1;
}

.step-num {
  font-family: 'Inter', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  color: transparent;
  line-height: 0.8;
}

.process-step.active .step-num {
  -webkit-text-stroke-color: var(--yggra);
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #888;
  font-size: 1rem;
}

.process-visual {
  position: relative;
}

.process-main-img {
  width: 100%;
  border-radius: 3rem;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.5);
}

.process-badge {
  position: absolute;
  background: rgba(15, 15, 18, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pb-aws {
  top: -5%;
  right: -5%;
}

.pb-ai {
  bottom: 10%;
  left: -10%;
}

.pb-icon {
  width: 48px;
  height: 48px;
  background: #222;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.pb-text strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.pb-text span {
  font-size: 0.8rem;
  color: var(--yggra);
}

/* Global overrides */
h2 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(153, 247, 115, 0.1);
  color: var(--yggra);
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ─── FLOATING 3D NAV ─── */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  pointer-events: none;
  transition: padding 0.4s var(--ease-out-expo);
}

.nav-wrap.scrolled {
  padding: 0.5rem 1.5rem;
}

.nav-bar {
  max-width: 72rem;
  margin: 0 auto;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(153, 247, 115, 0.1), 0 8px 32px -8px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(153, 247, 115, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.4s var(--ease-out-expo);
  transform: perspective(600px) rotateX(1deg);
  transform-style: preserve-3d;
}

.nav-bar:hover {
  box-shadow: 0 0 0 1px rgba(153, 247, 115, 0.2), 0 12px 48px -8px rgba(0, 0, 0, 0.7), 0 4px 16px rgba(153, 247, 115, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(600px) rotateX(0deg) translateY(-1px);
}

body.light .nav-bar {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0 0 1px rgba(153, 247, 115, 0.15), 0 8px 32px -8px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(153, 247, 115, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.light .nav-bar:hover {
  box-shadow: 0 0 0 1px rgba(153, 247, 115, 0.3), 0 12px 48px -8px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(153, 247, 115, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  height: 2rem;
  width: 2rem;
}

.nav-logo span {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #fff;
}

body.light .nav-logo span {
  color: #000;
}

.nav-logo .brace {
  color: #555;
}


body.light .nav-logo .brace {
  color: #bbb;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: all 0.3s;
  position: relative;
  color: #fff;
}

body.light .nav-links a {
  color: #000;
}


.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yggra);
  transition: width 0.3s var(--ease-out-expo);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.5rem;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  color: #000 !important;
}

.theme-toggle {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
  opacity: 0.7;
  font-size: 1rem;
}

.theme-toggle:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

body.light .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

.mobile-toggle {
  display: none;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  position: relative;
  background: #050505;
  border-top: 1px solid rgba(182, 255, 0, 0.22);
  box-shadow: inset 0 35px 35px -20px rgba(182, 255, 0, 0.12);
  overflow: hidden;
}

body.light .hero {
  background: #fbfbf9;
  border-top-color: rgba(138, 230, 0, 0.25);
  box-shadow: inset 0 25px 25px -15px rgba(138, 230, 0, 0.08);
}

/* 3D Perspective Digital Tunnel */
.hero-tunnel {
  position: absolute;
  inset: 1rem;
  border-radius: 2rem;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-tunnel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 150px 30px rgba(182, 255, 0, 0.35),
              inset 0 0 40px 10px rgba(182, 255, 0, 0.7),
              0 0 0 1px rgba(182, 255, 0, 0.5);
  z-index: 2;
}

.hero-tunnel-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: 
    linear-gradient(rgba(182, 255, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 255, 0, 0.07) 1px, transparent 1px);
  background-size: 55px 55px;
  transform: perspective(600px) rotateX(68deg);
  transform-origin: center;
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 12%, rgba(0,0,0,0) 72%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 12%, rgba(0,0,0,0) 72%);
  animation: tunnelMove 25s linear infinite;
}

body.light .hero-tunnel-grid {
  background-image: 
    linear-gradient(rgba(138, 230, 0, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 230, 0, 0.09) 1px, transparent 1px);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 75%);
}

@keyframes tunnelMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 110px;
  }
}

/* Center Core Content */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding-top: 4rem; /* For navbar */
}

.hero-center-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 900px;
  width: 100%;
}

.hero-main-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
}

/* Main Titles */
.yggra-super-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  color: #b6ff00;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(182, 255, 0, 0.15);
}

body.light .yggra-super-title {
  color: #8ae600;
  text-shadow: 0 0 30px rgba(138, 230, 0, 0.1);
}

.yggra-super-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  color: #a1a1a6;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

body.light .yggra-super-desc {
  color: #4a4a4f;
}

.btn-premium-white {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 
    0 4px 30px rgba(255, 255, 255, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.btn-premium-white:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 
    0 0 35px rgba(255, 255, 255, 0.35),
    0 15px 45px rgba(0, 0, 0, 0.4);
  background: #fcfcfc;
}

/* Floating Modular Panels */
.floating-panel {
  position: absolute;
  width: 290px;
  border-radius: 1.5rem;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.4rem;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 10;
  animation: panelFloat 8s ease-in-out infinite;
  transition: all 0.4s var(--ease-out-expo);
}

body.light .floating-panel {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.fp-left {
  left: 3.5rem;
  top: 18%;
}

.fp-right {
  right: 3.5rem;
  top: 25%;
  animation-delay: -4s;
}

.floating-panel:hover {
  border-color: rgba(182, 255, 0, 0.35);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 25px rgba(182, 255, 0, 0.18);
  transform: translateY(-4px);
}

body.light .floating-panel:hover {
  border-color: rgba(138, 230, 0, 0.35);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.08),
    0 0 18px rgba(138, 230, 0, 0.12);
}

@keyframes panelFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.fp-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
}

body.light .fp-header {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.fp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.fp-dot.yellow { background: #ffb700; box-shadow: 0 0 8px rgba(255, 183, 0, 0.4); }
.fp-dot.green { background: #00e676; box-shadow: 0 0 8px rgba(0, 230, 118, 0.4); }

.fp-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.light .fp-title {
  color: #000;
}

.fp-badge {
  margin-left: auto;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.5);
}

body.light .fp-badge {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.5);
}

.fp-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fp-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fp-item-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
}

.fp-item-title {
  color: rgba(255, 255, 255, 0.5);
}

body.light .fp-item-title {
  color: rgba(0, 0, 0, 0.5);
}

.fp-item-val {
  font-weight: 600;
  color: #fff;
}

body.light .fp-item-val {
  color: #000;
}

.fp-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

body.light .fp-progress-bar {
  background: rgba(0, 0, 0, 0.06);
}

.fp-progress {
  height: 100%;
  background: #b6ff00;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(182, 255, 0, 0.5);
}

body.light .fp-progress {
  background: #8ae600;
  box-shadow: 0 0 6px rgba(138, 230, 0, 0.4);
}

.fp-status {
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
}

body.light .fp-status {
  color: rgba(0, 0, 0, 0.8);
}

.status-indicator-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
}

.fp-api-grid {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.api-tag {
  font-size: 0.6rem;
  padding: 0.2rem 0.5rem;
  background: rgba(182, 255, 0, 0.05);
  border: 1px solid rgba(182, 255, 0, 0.15);
  color: #b6ff00;
  border-radius: 4px;
  font-family: monospace;
}

body.light .api-tag {
  background: rgba(138, 230, 0, 0.06);
  border-color: rgba(138, 230, 0, 0.18);
  color: #72be00;
}

.fp-agent-visual {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem 0.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

body.light .fp-agent-visual {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.04);
}

.agent-node {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
}

body.light .agent-node {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.85);
}

.agent-node.pulse-green {
  border-color: #00e676;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.15);
}

.agent-connector {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, #00e676, rgba(255, 255, 255, 0.1));
  margin: 0 0.4rem;
}

.fp-chart {
  height: 38px;
  display: flex;
  align-items: flex-end;
}

.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-path {
  animation: chartDraw 4s ease-in-out infinite alternate;
}

@keyframes chartDraw {
  0% {
    stroke-dasharray: 0 300;
  }
  100% {
    stroke-dasharray: 300 0;
  }
}

/* Responsiveness for new widescreen Cockpit design */
@media (max-width: 1240px) {
  .hero {
    padding: 7rem 1rem 3rem;
  }

  .hero-container {
    aspect-ratio: auto;
    min-height: auto;
    padding: 5rem 1.5rem 3rem;
    flex-direction: column;
    gap: 3rem;
    border-radius: 1.5rem;
  }

  .floating-panel {
    position: static;
    width: 100%;
    max-width: 480px;
    animation: none;
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  body.light .floating-panel {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  }

  .tech-stack-wrapper {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2rem;
  }

  .tech-card-item {
    margin: 0;
    transform: none !important;
    animation: none !important;
  }

  .tech-card-item.main-center {
    transform: scale(1.1) !important;
  }
}

/* ─── SECTION COMMON ─── */
section {
  position: relative;
}

.section-pad {
  padding: 8rem 1.5rem;
}

.section-inner {
  max-width: 72rem;
  margin: 0;
  padding-left: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yggra);
  margin-bottom: 1rem;
}

.section-label .line {
  width: 2rem;
  height: 2px;
  background: var(--yggra);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  opacity: 0.5;
  max-width: 36rem;
}

/* ─── CLIENT MARQUEE ─── */
.clients-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

body.light .clients-section {
  border-color: rgba(0, 0, 0, 0.06);
}

.clients-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.4;
  margin-bottom: 2rem;
}

.marquee {
  display: flex;
  overflow: hidden;
  position: relative;
  --speed: 35s;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--dark) 0%, transparent 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--dark) 0%, transparent 100%);
}

body.light .marquee::before {
  background: linear-gradient(to right, var(--light) 0%, transparent 100%);
}

body.light .marquee::after {
  background: linear-gradient(to left, var(--light) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  animation: marquee var(--speed) linear infinite;
  will-change: transform;
}

.marquee-track .logo-item {
  flex-shrink: 0;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
}

.marquee-track .logo-item img {
  height: 2rem;
  max-width: 140px;
  object-fit: contain;
  transition: all 0.4s;
}

/* SVG logos: WHITE in dark mode, BLACK in light mode */
.marquee-track .logo-item img.svg-logo {
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

body.light .marquee-track .logo-item img.svg-logo {
  filter: brightness(0);
  opacity: 0.35;
}

/* PNG logos: grayscale both modes */
.marquee-track .logo-item img.png-logo {
  filter: grayscale(1);
  opacity: 0.4;
}

body.light .marquee-track .logo-item img.png-logo {
  filter: grayscale(1);
  opacity: 0.35;
}

/* Hover: full color */
.marquee-track .logo-item img:hover {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.1);
}

/* ─── SERVICES BENTO ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card.higgsfield-card {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card.higgsfield-card:hover {
  background: #161616;
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

body.light .service-card.higgsfield-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.06);
}

body.light .service-card.higgsfield-card:hover {
  background: #f9f9f9;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

body.light .service-icon {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.05);
  color: #000;
}

.card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-badge.pink {
  background: rgba(255, 105, 180, 0.15);
  color: #ff69b4;
}

.card-badge.yellow {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
}

.card-badge.outline {
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
}

body.light .card-badge.outline {
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.5);
}

.card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.card-body p {
  opacity: 0.6;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ─── PORTFOLIO SLIDER ─── */
.portfolio-section {
  background: rgba(255, 255, 255, 0.02);
}

body.light .portfolio-section {
  background: rgba(0, 0, 0, 0.02);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.portfolio-controls {
  display: flex;
  gap: 0.75rem;
}

.portfolio-controls button {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.portfolio-controls button:hover {
  border-color: var(--yggra);
  color: var(--yggra);
  box-shadow: 0 0 16px rgba(153, 247, 115, 0.15);
}

body.light .portfolio-controls button {
  border-color: var(--light-border);
  background: var(--light-card);
}

.slider-viewport {
  overflow: hidden;
  border-radius: 2rem;
}

.slider-track {
  display: flex;
  transition: transform 0.7s var(--ease-out-expo);
}

.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  box-shadow: 0 24px 80px -16px rgba(0, 0, 0, 0.4);
}

body.light .slide {
  background: var(--light-card);
  border-color: var(--light-border);
  box-shadow: 0 24px 80px -16px rgba(0, 0, 0, 0.06);
}

.slide-content {
  padding: 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(153, 247, 115, 0.1);
  border: 1px solid rgba(153, 247, 115, 0.2);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--yggra);
  margin-bottom: 1.5rem;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.slide-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.slide-content p {
  opacity: 0.55;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.slide-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-border);
}

body.light .slide-stats {
  border-color: var(--light-border);
}

.slide-stat .stat-value {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yggra);
}

.slide-stat .stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
  margin-top: 0.15rem;
}

.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.3s;
}

.slide-link:hover {
  color: var(--yggra);
}

.slide-link .arrow {
  transition: transform 0.3s;
}

.slide-link:hover .arrow {
  transform: translateX(6px);
}

.slide-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  overflow: hidden;
  min-height: 24rem;
}

.slide-visual.gradient-1 {
  background: linear-gradient(160deg, #0a1a0e 0%, #0d2614 50%, #0a0a0c 100%);
}

.slide-visual.gradient-2 {
  background: linear-gradient(160deg, #0a0a0c 0%, #111118 50%, #0e0e14 100%);
}

.slide-visual.gradient-3 {
  background: linear-gradient(160deg, #0a0e0c 0%, #0d140d 50%, #0a0a0c 100%);
}

body.light .slide-visual.gradient-1 {
  background: linear-gradient(160deg, #f0faf0 0%, #e8f5e8 50%, #f5f5f5 100%);
}

body.light .slide-visual.gradient-2 {
  background: linear-gradient(160deg, #f5f5f8 0%, #eeeff5 50%, #f0f0f4 100%);
}

body.light .slide-visual.gradient-3 {
  background: linear-gradient(160deg, #f0f5f0 0%, #eaf0ea 50%, #f5f5f5 100%);
}

.slide-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.slide-dot {
  width: 2.5rem;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.4s;
  cursor: pointer;
}

.slide-dot.active {
  background: var(--yggra);
  width: 3.5rem;
}

body.light .slide-dot {
  background: rgba(0, 0, 0, 0.1);
}

body.light .slide-dot.active {
  background: var(--yggra-dim);
}

/* Phone Mockup — Premium 3D perspective */
.phone-mock {
  width: 45%;
  max-width: 220px;
  aspect-ratio: 9/19;
  background: #0d0d0d;
  border-radius: 2.5rem;
  border: 3px solid #2a2a2a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 0 20px rgba(0, 0, 0, 0.3);
  transform: perspective(800px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s var(--ease-out-expo);
}

.slide:hover .phone-mock {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 1.5rem;
  background: #0d0d0d;
  border-radius: 0 0 1rem 1rem;
  z-index: 2;
}

.phone-screen {
  position: absolute;
  inset: 3px;
  border-radius: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #111 0%, #0a0a0c 100%);
  overflow: hidden;
}

.phone-screen .app-ui {
  width: 100%;
  padding: 2.5rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.phone-screen .app-header {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--yggra);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.phone-screen .app-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.6rem;
  padding: 0.6rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-screen .app-card .label {
  font-size: 0.6rem;
  opacity: 0.5;
}

.phone-screen .app-card .val {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--yggra);
}

/* Dashboard Mockup — Browser frame with sidebar */
.dash-mock {
  width: 100%;
  max-width: 26rem;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: perspective(800px) rotateY(5deg) rotateX(-2deg);
  transition: transform 0.5s var(--ease-out-expo);
}

.slide:hover .dash-mock {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

body.light .dash-mock {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.1);
}

.dash-titlebar {
  height: 2.25rem;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.85rem;
}

body.light .dash-titlebar {
  background: #f5f5f5;
}

.dash-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dash-dot.r {
  background: #ff5f57;
}

.dash-dot.y {
  background: #febc2e;
}

.dash-dot.g {
  background: #28c840;
}

.dash-url {
  margin-left: 0.75rem;
  font-size: 0.65rem;
  font-family: monospace;
  opacity: 0.3;
}

.dash-body {
  padding: 1.5rem;
}

.dash-stats-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dash-stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
}

body.light .dash-stat-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

.dash-stat-card .sv {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--yggra);
}

.dash-stat-card .sl {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.35;
  margin-top: 0.2rem;
}

.dash-table {
  width: 100%;
}

.dash-table .tr {
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.7rem;
}

body.light .dash-table .tr {
  border-color: rgba(0, 0, 0, 0.04);
}

.dash-table .tr .td {
  flex: 1;
  opacity: 0.5;
}

.dash-table .tr .td.highlight {
  color: var(--yggra);
  opacity: 1;
  font-weight: 700;
}

.dash-table .td-badge {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.55rem;
  font-weight: 700;
}

.td-badge.green {
  background: rgba(153, 247, 115, 0.15);
  color: var(--yggra);
}

.td-badge.yellow {
  background: rgba(254, 188, 46, 0.15);
  color: #febc2e;
}

/* Terminal Mockup — Premium */
.terminal-mock {
  width: 100%;
  max-width: 24rem;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.03);
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.78rem;
  transform: perspective(800px) rotateY(-3deg);
  transition: transform 0.5s var(--ease-out-expo);
}

.slide:hover .terminal-mock {
  transform: perspective(800px) rotateY(0deg);
}

.terminal-header {
  height: 2rem;
  background: #151515;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.7rem;
}

.terminal-title {
  margin-left: 0.5rem;
  font-size: 0.6rem;
  opacity: 0.3;
  font-family: monospace;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  color: var(--yggra);
  line-height: 1.7;
}

.terminal-body .dim {
  color: #444;
}

.terminal-body .white {
  color: #bbb;
}

.terminal-body .success {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  background: rgba(153, 247, 115, 0.1);
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}

/* ─── PRODUCTS & CASES GRID ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(153, 247, 115, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.4);
}

body.light .product-card {
  background: var(--light-card);
  border-color: var(--light-border);
}

body.light .product-card:hover {
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.08);
}

.product-thumb {
  aspect-ratio: 16/10;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--dark-border);
}

body.light .product-thumb {
  background: #f5f5f5;
  border-color: var(--light-border);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.browser-frame {
  width: 90%;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #222;
  background: #0d0d0d;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s var(--ease-out-expo);
}

body.light .browser-frame {
  border-color: #ddd;
  background: #fff;
}

.product-card:hover .browser-frame {
  transform: scale(1.03);
}

.browser-bar {
  height: 1.5rem;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
}

body.light .browser-bar {
  background: #eee;
}

.browser-bar .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.browser-bar .d.r {
  background: #ff5f57;
}

.browser-bar .d.y {
  background: #febc2e;
}

.browser-bar .d.g {
  background: #28c840;
}

.browser-frame img {
  width: 100%;
  display: block;
}

.product-info {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yggra);
  margin-bottom: 0.75rem;
}

.product-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.product-info p {
  opacity: 0.5;
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

/* Projects list */
.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.75rem;
  margin-top: 3rem;
}

.project-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 0.75rem;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.project-item:hover {
  border-color: rgba(153, 247, 115, 0.2);
}

body.light .project-item {
  background: var(--light-card);
  border-color: var(--light-border);
}

.project-item .p-indicator {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--yggra);
  flex-shrink: 0;
}

.project-item .p-name {
  font-weight: 600;
  flex: 1;
}

.project-item .p-type {
  font-size: 0.75rem;
  opacity: 0.4;
  font-weight: 500;
}

/* ─── ABOUT ─── */
.about-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 2rem;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

body.light .about-card {
  background: var(--light-card);
  border-color: var(--light-border);
}

.about-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(153, 247, 115, 0.06) 0%, transparent 70%);
  filter: blur(40px);
}

.about-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-img-wrap img {
  width: 100%;
  max-width: 20rem;
  border-radius: 1.5rem;
  filter: grayscale(0.5);
  transition: filter 0.5s;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
}

.about-img-wrap:hover img {
  filter: grayscale(0);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-text p {
  opacity: 0.6;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.about-checks {
  list-style: none;
  margin-bottom: 2rem;
}

.about-checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-weight: 500;
}

.about-checks li .check {
  color: var(--yggra);
  font-size: 1.2rem;
  font-weight: 800;
}

/* ─── FOOTER ─── */
footer {
  padding: 5rem 1.5rem 3rem;
  background: rgba(0, 0, 0, 0.3);
}

body.light footer {
  background: rgba(0, 0, 0, 0.02);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  opacity: 0.5;
  line-height: 1.7;
  margin: 1.25rem 0 1.5rem;
  max-width: 24rem;
  font-size: 0.9rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

body.light .footer-socials a {
  background: var(--light-card);
  border-color: var(--light-border);
}

.footer-socials a:hover {
  background: var(--yggra);
  color: #000;
  border-color: transparent;
}

.footer-socials a svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.footer-col ul li {
  padding: 0.4rem 0;
}

.footer-col ul li a,
.footer-col ul li {
  font-size: 0.85rem;
  opacity: 0.5;
  transition: opacity 0.3s;
  color: #d1d1cc;
}

body.light .footer-col ul li a,
body.light .footer-col ul li {
  color: #555;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--yggra);
}


.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.4;
}

body.light .footer-bottom {
  border-color: var(--light-border);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  transition: opacity 0.3s;
  color: #d1d1cc;
}

body.light .footer-bottom-links a {
  color: #333;
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--yggra);
}


/* ─── SCROLL REVEAL ─── */
[data-scroll] {
  opacity: 0;
  transition: all 0.9s var(--ease-out-expo);
}

[data-scroll="up"] {
  transform: translateY(60px);
}

[data-scroll="down"] {
  transform: translateY(-60px);
}

[data-scroll="left"] {
  transform: translateX(80px);
}

[data-scroll="right"] {
  transform: translateX(-80px);
}

[data-scroll="scale"] {
  transform: scale(0.9);
}

[data-scroll="fade"] {
  transform: none;
}

[data-scroll].in-view {
  opacity: 1;
  transform: none;
}

[data-scroll-stagger]>* {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-out-expo);
}

[data-scroll-stagger].in-view>*:nth-child(1) {
  transition-delay: 0ms;
  opacity: 1;
  transform: none;
}

[data-scroll-stagger].in-view>*:nth-child(2) {
  transition-delay: 80ms;
  opacity: 1;
  transform: none;
}

[data-scroll-stagger].in-view>*:nth-child(3) {
  transition-delay: 160ms;
  opacity: 1;
  transform: none;
}

[data-scroll-stagger].in-view>*:nth-child(4) {
  transition-delay: 240ms;
  opacity: 1;
  transform: none;
}

[data-scroll-stagger].in-view>*:nth-child(5) {
  transition-delay: 320ms;
  opacity: 1;
  transform: none;
}

[data-scroll-stagger].in-view>*:nth-child(6) {
  transition-delay: 400ms;
  opacity: 1;
  transform: none;
}

[data-scroll-stagger].in-view>*:nth-child(n+7) {
  transition-delay: 480ms;
  opacity: 1;
  transform: none;
}

[data-parallax] {
  will-change: transform;
  transition: none;
}

/* ─── ANIMATIONS ─── */
@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0)
  }

  100% {
    transform: translate(30px, 40px)
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.3
  }
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  /* Super high z-index to stay above everything */
  background: var(--dark);
  backdrop-filter: blur(32px);
  display: none;
  /* Change to none by default */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

body.light .mobile-menu {
  background: rgba(248, 248, 246, 0.95);
}

.mobile-menu.open {
  display: flex;
  /* Show when open */
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  transition: color 0.3s;
  color: #fff;
}

body.light .mobile-menu a {
  color: #000;
}

.mobile-menu a:hover {
  color: var(--yggra);
}


.mobile-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

body.light .mobile-close {
  color: #000;
}

/* ─── RESPONSIVE ─── */
@media (max-width:1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-code-scene {
    max-width: 22rem;
  }

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

  .service-card.wide {
    grid-column: span 2;
  }

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

  .slide-content {
    padding: 2.5rem;
  }

  .slide-visual {
    min-height: 16rem;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .about-img-wrap {
    order: -1;
  }

  .about-img-wrap img {
    max-width: 16rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width:768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
  }

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

  .service-card.wide {
    grid-column: span 1;
  }

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

  .projects-list {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width:480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .about-card {
    padding: 1.75rem;
  }

  .slide-content {
    padding: 2rem;
  }

  .slide-content h3 {
    font-size: 1.75rem;
  }
}

/* ─── ENGENHARIA DE RESULTADOS (Screenshots inspired) ─── */

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem;
}

.header-right {
  text-align: right;
}

.status-label {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.status-label .code-sym {
  color: var(--yggra);
  opacity: 0.6;
}

.icon-box {
  position: absolute;
  inset: 0;
  background: rgba(153, 247, 115, 0.05);
  border: 1px solid rgba(153, 247, 115, 0.1);
  border-radius: inherit;
  z-index: -1;
}

/* Architecture & Models */
.architecture-section {
  background: linear-gradient(to bottom, transparent, rgba(153, 247, 115, 0.02));
}

.tech-ticker {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 6rem;
  opacity: 0.6;
}

.tech-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  opacity: 0.3;
}

.tech-name.php {
  color: #777bb4;
}

.tech-name.mysql {
  color: #f29111;
}

.tech-name.vue {
  color: #42b883;
}

.tech-name.react {
  color: #61dafb;
}

.tech-name.python {
  color: #3776ab;
}

.tech-name.ia {
  color: #99f773;
}

.tech-name.aws {
  color: #ff9900;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.model-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease-out-expo);
}

.model-card.featured {
  border-color: rgba(153, 247, 115, 0.4);
  background: linear-gradient(135deg, var(--dark-card) 0%, rgba(153, 247, 115, 0.05) 100%);
  transform: scale(1.05);
  z-index: 2;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yggra);
  color: #000;
  padding: 0.25rem 1rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
}

.model-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.model-tag {
  color: var(--yggra);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.model-list {
  list-style: none;
  margin-bottom: 3rem;
  text-align: left;
  display: inline-block;
}

.model-list li {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #888;
  position: relative;
  padding-left: 1.5rem;
}

.model-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yggra);
  font-weight: 900;
}

/* CTA */
.cta-section {
  padding: 12rem 0;
}

.cta-title {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: #666;
  max-width: 40rem;
  margin: 0 auto 4rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #25d366;
  color: #fff;
  padding: 1.5rem 3rem;
  border-radius: var(--radius);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.2);
  transition: all 0.3s var(--ease-spring);
}

.btn-whatsapp:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 30px 60px rgba(37, 211, 102, 0.4);
}

.wa-icon {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .header-right {
    text-align: left;
  }

  .tech-ticker {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }

  .tech-name {
    font-size: 1.5rem;
  }

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

  .model-card.featured {
    transform: none;
  }
}

/* ─── SCROLL REVEAL REFINEMENTS (Elementor style) ─── */
[data-scroll] {
  opacity: 0;
  transition: all 1s var(--ease-out-expo);
}

[data-scroll="up"] {
  transform: translateY(40px);
}

[data-scroll="scale"] {
  transform: scale(0.9);
}

[data-scroll].in-view {
  opacity: 1;
  transform: none;
}

[data-scroll-stagger]>* {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out-expo);
}

[data-scroll-stagger].in-view>* {
  opacity: 1;
  transform: none;
}

[data-scroll-stagger].in-view>*:nth-child(1) {
  transition-delay: 0.1s;
}

[data-scroll-stagger].in-view>*:nth-child(2) {
  transition-delay: 0.2s;
}

[data-scroll-stagger].in-view>*:nth-child(3) {
  transition-delay: 0.3s;
}

[data-scroll-stagger].in-view>*:nth-child(4) {
  transition-delay: 0.4s;
}

[data-scroll-stagger].in-view>*:nth-child(5) {
  transition-delay: 0.5s;
}

/* ─── THEME OVERRIDES FOR NEW SECTIONS ─── */
body.light .model-card {
  background: var(--light-card);
  border-color: var(--light-border);
}

body.light .model-card.featured {
  background: linear-gradient(135deg, #fff 0%, rgba(153, 247, 115, 0.1) 100%);
  border-color: var(--yggra-dim);
}

body.light .model-list li {
  color: #444;
}

body.light .tech-ticker {
  opacity: 0.8;
}

body.light .cta-subtitle {
  color: #555;
}

body.light .status-label {
  color: #666;
}

/* Fix for nav-cta in dark mode (menu button) */
.nav-cta {
  background: #fff;
  color: #000 !important;
}

/* CTA Spacing Fix - Balanced professional spacing */
.cta-section {
  padding: 10rem 0 !important;
  display: block !important;
}

/* Button display inside models */
.model-card .btn-primary,
.model-card .btn-outline {
  display: inline-block;
  width: 100%;
}

/* ─── CASES MISSION SECTION ─── */
/* ─── CASES GRID (MOBBIN STYLE) ─── */
.cases-grid-section {
  padding: 10rem 0 10rem 4px;
  overflow: hidden;
}

.cases-grid-section .section-inner {
  max-width: none;
  margin: 0;
  padding: 0 1.5rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 430px);
  gap: 1.5rem;
  justify-content: start;
}

.case-card {
  width: 430px;
  height: 347px;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.4);
}

body.light .case-card {
  background: #fff;
  border-color: var(--light-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light .case-card:hover {
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.12);
}

.case-card-preview {
  position: relative;
  padding: 0.75rem 0.75rem 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #111;
  border-radius: 0.75rem 0.75rem 0 0;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

body.light .case-card-preview {
  background: #f5f5f5;
}

.case-card-preview img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: 0.5rem 0.5rem 0 0;
  animation: autoScrollPreview 15s linear infinite alternate;
}

@keyframes autoScrollPreview {
  0% { object-position: 50% 0%; }
  100% { object-position: 50% 100%; }
}

.case-card:hover .case-card-preview img {
  animation-play-state: paused;
}

.case-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.case-card:hover .case-card-play {
  opacity: 1;
}

.case-card-play svg {
  width: 48px;
  height: 48px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.case-card-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  flex-shrink: 0;
}

.case-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(153, 247, 115, 0.1);
  color: var(--yggra);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.light .case-card-icon {
  background: rgba(34, 139, 87, 0.1);
}

.case-card-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: #fff;
}

body.light .case-card-name {
  color: #111;
}

.case-card-desc {
  font-size: 0.8rem;
  margin: 0.15rem 0 0;
  color: #888;
  line-height: 1.4;
}

@media (max-width: 1900px) {
  .cases-grid {
    grid-template-columns: repeat(3, 430px);
  }
}

@media (max-width: 1400px) {
  .cases-grid {
    grid-template-columns: repeat(2, 430px);
  }
}

@media (max-width: 960px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .case-card {
    width: 100%;
    max-width: 430px;
  }
}

/* Play Overlay for Video cases */
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
  pointer-events: none;
}

.open-video-modal {
  display: block; /* For a tags */
  cursor: pointer;
}

.open-video-modal:hover .play-overlay {
  opacity: 1;
}

.play-overlay svg {
  width: 4.5rem;
  height: 4.5rem;
  background: var(--yggra);
  border-radius: 50%;
  padding: 1.25rem;
  color: #000;
  fill: currentColor;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(153, 247, 115, 0.4);
}

.open-video-modal:hover .play-overlay svg {
  transform: scale(1);
}

/* ─── VIDEO MODAL ─── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-content video {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  outline: none;
  background: #000;
}

.video-modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.video-modal-close-btn:hover {
  background: var(--yggra);
  color: #000;
  transform: scale(1.1);
}

/* ─── QUOTE MODAL ─── */
.quote-modal-content {
  position: relative;
  width: 90%;
  max-width: 550px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(153, 247, 115, 0.1);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 100001;
}

body.light .quote-modal-content {
  background: var(--light-card);
  border-color: var(--light-border);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(153, 247, 115, 0.2);
}

.video-modal.active .quote-modal-content {
  transform: scale(1);
}

.quote-modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -0.03em;
}

body.light .quote-modal-title {
  color: #000;
}

.quote-modal-desc {
  font-size: 1.05rem;
  color: #888;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

body.light .quote-modal-desc {
  color: #555;
}

.quote-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.quote-modal-actions .btn-primary, 
.quote-modal-actions .btn-outline {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   AI MULTI-AGENTS ECOSYSTEM
   ========================================================================== */
/* ═══════════════════════════════════════════════════════
   AI MULTI-AGENTS (MODERN)
   ═══════════════════════════════════════════════════════ */

.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .ai-flow { flex-direction: column; gap: 1.5rem; }
}

.ai-flow-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.ai-flow-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.ai-hub-core {
  width: 80px;
  height: 80px;
  background: #99f773;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(153, 247, 115, 0.4), 0 0 100px rgba(153, 247, 115, 0.15);
  animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(153, 247, 115, 0.3), 0 0 80px rgba(153, 247, 115, 0.1); transform: scale(1); }
  50% { box-shadow: 0 0 60px rgba(153, 247, 115, 0.5), 0 0 120px rgba(153, 247, 115, 0.2); transform: scale(1.05); }
}

.ai-hub-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(153, 247, 115, 0.3);
  border-radius: 50%;
  animation: ringRotate 12s linear infinite;
}

.ai-hub-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #99f773;
  border-radius: 50%;
  box-shadow: 0 0 10px #99f773;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ai-hub-label {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.ai-hub-label small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

.glass-card {
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  border-color: rgba(153, 247, 115, 0.3);
  box-shadow: 0 0 20px rgba(153, 247, 115, 0.08);
}

.ai-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ai-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.ai-card-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════
   AWS ARCHITECTURE (MODERN)
   ═══════════════════════════════════════════════════════ */

.aws-section {
  position: relative;
  overflow: hidden;
}

.aws-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.aws-flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.aws-arrow {
  display: flex;
  align-items: center;
  width: 60px;
  position: relative;
}

.aws-arrow-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(153, 247, 115, 0.2), rgba(153, 247, 115, 0.5));
}

.aws-arrow-dot {
  width: 8px;
  height: 8px;
  background: #99f773;
  border-radius: 50%;
  box-shadow: 0 0 8px #99f773;
  animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.aws-arrow-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 40px;
  position: relative;
  margin: 0.5rem 0;
}

.aws-arrow-line-v {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, rgba(153, 247, 115, 0.2), rgba(153, 247, 115, 0.5));
}

.aws-arrow-dot-v {
  width: 8px;
  height: 8px;
  background: #99f773;
  border-radius: 50%;
  box-shadow: 0 0 8px #99f773;
  animation: arrowPulse 1.5s ease-in-out infinite;
}

.aws-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  min-width: 120px;
}

.aws-node-sm {
  padding: 1rem 1.25rem;
  min-width: 100px;
}

.aws-node-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aws-orange { background: rgba(255, 153, 0, 0.15); color: #ff9900; }
.aws-blue { background: rgba(96, 165, 250, 0.15); color: #60a5fa; }
.aws-green { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.aws-pink { background: rgba(244, 114, 182, 0.15); color: #f472b6; }
.aws-indigo { background: rgba(129, 140, 248, 0.15); color: #818cf8; }

.aws-node-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.aws-node-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.aws-compute-group {
  position: relative;
  padding: 1.5rem;
}

.aws-group-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 153, 0, 0.15);
  color: #ff9900;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  white-space: nowrap;
  border: 1px solid rgba(255, 153, 0, 0.2);
}

.aws-compute-inner {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.aws-chip {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid;
}

.aws-chip.aws-orange {
  background: rgba(255, 153, 0, 0.1);
  border-color: rgba(255, 153, 0, 0.2);
  color: #ff9900;
}

.aws-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .aws-services-grid { grid-template-columns: repeat(2, 1fr); }
  .aws-flow-entry { flex-wrap: wrap; justify-content: center; }
}

.ai-diagram-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.hub-core {
  width: 80px;
  height: 80px;
  background: var(--yggra);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(182, 255, 0, 0.5), inset 0 0 20px #fff;
  position: relative;
}

.hub-core::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed var(--yggra);
  animation: rotateHub 10s linear infinite;
}

@keyframes rotateHub {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pulse-green {
  animation: corePulse 2s ease-in-out infinite alternate;
}

@keyframes corePulse {
  0% { box-shadow: 0 0 30px rgba(182, 255, 0, 0.4), inset 0 0 10px #fff; }
  100% { box-shadow: 0 0 60px rgba(182, 255, 0, 0.8), inset 0 0 20px #fff; }
}

.hub-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.2rem 0.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(182, 255, 0, 0.3);
  white-space: nowrap;
}

body.light .hub-label {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

.ai-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ai-node {
  position: absolute;
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

body.light .ai-node {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

.node-1 { top: 10%; left: 5%; }
.node-2 { top: 70%; left: 20%; }
.node-3 { top: 30%; right: 5%; }

.node-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(182, 255, 0, 0.1);
  color: var(--yggra);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.light .node-icon {
  background: rgba(138, 230, 0, 0.2);
}

.node-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}

body.light .node-title {
  color: #000;
}

.node-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-sans);
}

body.light .node-desc {
  color: rgba(0, 0, 0, 0.6);
}

.ai-connectors {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.connector-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  transform-origin: left center;
}

body.light .connector-line {
  background: rgba(0, 0, 0, 0.1);
}

.line-1 {
  width: 300px;
  height: 2px;
  top: 50%; left: 50%;
  transform: translate(0, -1px) rotate(-155deg);
}
.line-2 {
  width: 280px;
  height: 2px;
  top: 50%; left: 50%;
  transform: translate(0, -1px) rotate(110deg);
}
.line-3 {
  width: 320px;
  height: 2px;
  top: 50%; left: 50%;
  transform: translate(0, -1px) rotate(-15deg);
}

.data-pulse {
  position: absolute;
  width: 15px;
  height: 2px;
  background: var(--yggra);
  box-shadow: 0 0 10px var(--yggra);
  top: 0; left: 0;
  animation: shootPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.delay-1 { animation-delay: 0.6s; }
.delay-2 { animation-delay: 1.2s; }

@keyframes shootPulse {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

@media (max-width: 768px) {
  .ai-diagram-wrapper { height: 600px; }
  .node-1 { top: 0; left: 50%; transform: translateX(-50%); }
  .node-2 { top: auto; bottom: 0; left: 5%; }
  .node-3 { top: auto; bottom: 0; right: 5%; left: auto; }
  .line-1 { transform: translate(0, -1px) rotate(-90deg); width: 180px; }
  .line-2 { transform: translate(0, -1px) rotate(120deg); width: 180px; }
  .line-3 { transform: translate(0, -1px) rotate(60deg); width: 180px; }
}

/* ==========================================================================
   AWS ARCHITECTURE
   ========================================================================== */
.aws-section {
  position: relative;
  overflow: hidden;
}

.aws-diagram-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
  flex-wrap: wrap;
}

.aws-block {
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  backdrop-filter: blur(10px);
}

body.light .aws-block {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

.aws-icon {
  width: 48px;
  height: 48px;
  background: #1a1a1a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.05);
}

body.light .aws-icon {
  background: #f5f5f5;
  color: #000;
  border-color: rgba(0, 0, 0, 0.05);
}

.aws-icon svg {
  width: 28px;
  height: 28px;
}

.aws-block span {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

body.light .aws-block span {
  color: #000;
}

.aws-block small {
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 400;
}

body.light .aws-block small {
  color: rgba(0, 0, 0, 0.5);
}

/* Grouping EC2 */
.aws-group {
  border: 1px dashed rgba(255, 153, 0, 0.4);
  padding: 1.5rem 1rem 1rem;
  border-radius: 16px;
  position: relative;
  background: rgba(255, 153, 0, 0.03);
}

.aws-group-label {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #050505;
  padding: 0 0.5rem;
  font-size: 0.75rem;
  color: #ff9900;
  font-weight: 600;
  white-space: nowrap;
}

body.light .aws-group-label {
  background: #fbfbf9;
}

.ec2-instances {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ec2-instances .aws-block {
  min-width: 80px;
  padding: 0.5rem;
  border-color: rgba(255, 153, 0, 0.2);
}

.service-ec2 .aws-icon { color: #ff9900; }
.service-s3 .aws-icon { color: #569A31; }
.service-rds .aws-icon { color: #3b5998; }
.service-dynamo .aws-icon { color: #4053D6; }
.service-sqs .aws-icon { color: #FF4F8B; }

/* Paths & Animations */
.aws-path {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
}

body.light .aws-path {
  background: rgba(0, 0, 0, 0.1);
}

.flow-x { width: 40px; height: 2px; }

.packet {
  position: absolute;
  background: var(--yggra);
  box-shadow: 0 0 8px var(--yggra);
}

.flow-x .packet {
  width: 8px; height: 2px;
  top: 0; left: 0;
  animation: moveX 1.5s linear infinite;
}

@keyframes moveX {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.aws-backend-fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 900px) {
  .aws-diagram-container {
    flex-direction: column;
  }
  .flow-x { width: 2px; height: 40px; }
  .flow-x .packet {
    width: 2px; height: 8px;
    top: 0; left: 0;
    animation: moveYDown 1.5s linear infinite;
  }
  @keyframes moveYDown {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
  .ec2-instances {
    flex-direction: row;
  }
  .aws-backend-fork {
    grid-template-columns: 1fr;
  }
}

/* ─── NETFLIX STYLE SLIDER ─── */
.products-section {
  position: relative;
  overflow: hidden;
}

.netflix-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 0 4%;
}

.netflix-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.netflix-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.netflix-card {
  flex: 0 0 400px;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.4s var(--ease-out-expo), z-index 0s, box-shadow 0.4s ease;
  cursor: pointer;
  aspect-ratio: 400 / 540;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
}

body.light .netflix-card {
  background: var(--light-card);
  border-color: var(--light-border);
}

.netflix-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.netflix-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.netflix-card-overlay h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.25rem;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease-out-expo);
}

.netflix-card-overlay p {
  font-size: 0.85rem;
  color: #ccc;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease-out-expo) 0.05s;
}

.netflix-card:hover {
  transform: scale(1.05) translateY(-5px);
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 2px var(--yggra);
}

.netflix-card:hover img {
  transform: scale(1.02);
}

.netflix-card:hover .netflix-card-overlay {
  opacity: 1;
}

.netflix-card:hover .netflix-card-overlay h3,
.netflix-card:hover .netflix-card-overlay p {
  transform: translateY(0);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  opacity: 0;
}

.netflix-slider-wrapper:hover .slider-btn {
  opacity: 1;
}

.slider-btn:hover {
  background: var(--yggra);
  color: #000;
  border-color: var(--yggra);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 1%; }
.next-btn { right: 1%; }

@media (max-width: 1024px) {
  .netflix-card { flex: 0 0 320px; }
}

@media (max-width: 768px) {
  .netflix-card { flex: 0 0 260px; }
  .slider-btn { display: none; }
}

@media (max-width: 480px) {
  .netflix-card { flex: 0 0 85%; }
}

/* ─── PRODUCT MODAL (NETFLIX DETAIL STYLE) ─── */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.product-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.product-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.95) translateY(20px);
  transition: all 0.4s var(--ease-out-expo);
  z-index: 1;
}

body.light .product-modal-content {
  background: var(--light-card);
  border-color: var(--light-border);
}

.product-modal.active .product-modal-content {
  transform: scale(1) translateY(0);
}

.product-modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.product-modal-close-btn:hover {
  background: var(--yggra);
  color: #000;
  border-color: var(--yggra);
}

.product-modal-layout {
  display: flex;
  min-height: 500px;
}

.product-modal-left {
  width: 40%;
  background: #000;
  position: relative;
}

.product-modal-left img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-right {
  width: 60%;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pm-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(153, 247, 115, 0.1);
  color: var(--yggra);
  border: 1px solid rgba(153, 247, 115, 0.2);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.pm-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.pm-desc {
  font-size: 1.1rem;
  color: #a1a1a6;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

body.light .pm-desc {
  color: #4a4a4f;
}

@media (max-width: 768px) {
  .product-modal-layout {
    flex-direction: column;
  }
  .product-modal-left {
    width: 100%;
    height: 300px;
  }
  .product-modal-right {
    width: 100%;
    padding: 2rem;
  }
  .product-modal {
    padding: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════
   VIDEO HERO
   ═══════════════════════════════════════════════════════ */

.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #000;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.5rem 3rem;
}

@media (min-width: 768px) {
  .hero-video-content { padding: 0 3rem 3rem; }
}

@media (min-width: 1024px) {
  .hero-video-content { padding: 0 4rem 4rem; }
}

@media (min-width: 1024px) {
  .hero-video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.hero-video-left {
  max-width: 42rem;
}

.hero-video-left p {
  font-family: 'Inter', sans-serif;
}

.hero-anim-title {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.hero-video-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

@media (min-width: 1024px) {
  .hero-video-right { justify-content: flex-end; }
}

.hero-tag-card {
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(153, 247, 115, 0.3);
  box-shadow: inset 0 1px 1px rgba(153, 247, 115, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  color: #99f773;
}

.hero-btn-green {
  display: inline-block;
  background: #99f773;
  color: #000;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.hero-btn-green:hover {
  filter: brightness(1.1);
}

.hero-btn-green:active {
  transform: scale(0.97);
}

.hero-btn-white {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}

.hero-btn-white:hover {
  background: #f3f4f6;
}

.hero-btn-glass {
  display: inline-block;
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.hero-btn-glass:hover {
  background: #99f773;
  color: #000;
  border-color: #99f773;
}

.hero-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-nav-links { display: flex; }
}

.hero-nav-links a {
  font-size: 0.875rem;
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}

.hero-nav-links a:hover {
  color: #f3f4f6;
}

.hero-nav-cta {
  display: none;
  background: #fff;
  color: #000;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}

.hero-nav-cta:hover {
  background: #f3f4f6;
}

@media (min-width: 768px) {
  .hero-nav-cta { display: inline-block; }
}

/* ─── LIQUID GLASS ─── */
.liquid-glass {
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.1) 80%, rgba(255,255,255,0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ─── EXECUTIVE STYLES ─── */
.nav-logo-executive {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.brand-blue { color: var(--yggra); }
.brand-separator { color: #fff; font-weight: 300; }
.brand-white { color: #fff; }

.hero-executive {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8rem 0 4rem;
  background: url('./image_hero.png') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero-executive::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

.hero-exec-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  position: relative;
  z-index: 2;
  align-items: flex-start;
  margin: 0 auto;
  padding: 0 5%;
}

.hero-exec-left {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  width: max-content;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.badge-blue {
  background: var(--yggra);
  color: #fff;
  padding: 0.5rem 1rem;
}

.badge-dark {
  background: rgba(255,255,255,0.05);
  color: #aaa;
  padding: 0.5rem 1rem;
}

.hero-exec-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

.hero-exec-subtitle {
  color: #a0a0a0;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 90%;
}

.hero-exec-form-wrapper {
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

.hero-exec-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full { width: 100%; }
.form-group.half { width: 50%; }

.hero-exec-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-display);
}

.hero-exec-form input,
.hero-exec-form select {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.hero-exec-form input:focus,
.hero-exec-form select:focus {
  border-color: var(--yggra);
}

.form-privacy {
  font-size: 0.75rem;
  color: #666;
}

.form-privacy a {
  color: var(--yggra);
  text-decoration: underline;
}

.hero-exec-btn {
  background: var(--yggra);
  color: #fff;
  border: none;
  padding: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.3s, transform 0.2s;
}

.hero-exec-btn:hover {
  background: var(--yggra-dim);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .form-row {
    flex-direction: column;
  }
  .form-group.half { width: 100%; }
}

/* ─── SERVICES EXECUTIVE LIST ─── */
.services-exec-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
}

.service-exec-item {
  display: flex;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s ease, padding-left 0.3s ease;
  align-items: flex-start;
}

.service-exec-item:hover {
  background: rgba(0, 125, 197, 0.03);
  padding-left: 1rem;
}

.service-exec-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yggra);
  opacity: 0.8;
  min-width: 40px;
}

.service-exec-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.service-exec-content p {
  color: #a0a0a0;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 800px;
}

/* ─── GLOBAL OVERRIDES FOR EXEC ALIGNMENT ─── */
.section-inner, .hero-exec-content {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 5% !important;
  width: 100% !important;
}

.services-header {
  text-align: left;
  margin-bottom: 2rem;
}

.case-card-video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 0.5rem 0.5rem 0 0;
  display: block;
}

/* ─── NEW CTA PREMIUM DARK BOX ─── */
.cta-box-premium {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 4rem 2rem;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center !important;
  margin: 4rem auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.cta-title-centered {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center !important;
}

.cta-subtitle-centered {
  font-size: 1.05rem;
  color: #a0a0a0;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  text-align: center !important;
}

.btn-executive-blue {
  background: linear-gradient(135deg, #00417a 0%, #007dc5 100%);
  color: #fff;
  padding: 1rem 3rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0, 125, 197, 0.5);
}

.btn-executive-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 125, 197, 0.3);
}

/* ─── NEW WHITE FOOTER ─── */
.footer-white {
  background: #fff;
  color: #000;
  width: 100%;
  padding: 4rem 5% 2rem;
  font-family: 'Inter', sans-serif;
}

.footer-white-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.footer-social-projects {
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 3rem;
}

.footer-social-projects p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.social-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.social-logo-placeholder {
  font-family: var(--font-display);
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
  padding: 1rem 2rem;
  border: 1px solid #eee;
  border-radius: 4px;
}

.footer-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .footer-info-grid { grid-template-columns: 1fr; }
}

.footer-info-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand-dark { color: #007dc5; font-weight: 800; font-family: var(--font-display); }
.brand-separator-dark { color: #ccc; margin: 0 0.5rem; }
.brand-dark-light { color: #000; font-weight: 700; font-family: var(--font-display); }

.footer-address, .footer-contact {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}

.footer-contact a {
  color: #007dc5;
  text-decoration: none;
}

.footer-socials-dark {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-socials-dark a svg {
  width: 20px;
  height: 20px;
  fill: #333;
  transition: fill 0.2s;
}

.footer-socials-dark a:hover svg {
  fill: #007dc5;
}

.footer-info-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: flex-start;
}

@media (min-width: 769px) {
  .footer-info-right { align-items: flex-end; text-align: right; }
}

.footer-dark-h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.5rem;
}

.footer-dark-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-dark-ul a {
  color: #666;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-dark-ul a:hover {
  color: #007dc5;
}

.footer-white-bottom {
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #999;
}

/* ─── CONSULTANT SECTION (JAMES) ─── */
.consultant-container {
  display: flex;
  align-items: center;
  gap: 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.consultant-image {
  flex: 0 0 450px;
  border-radius: 12px;
  border: 1px solid rgba(0, 125, 197, 0.3);
  box-shadow: 0 0 40px rgba(0, 125, 197, 0.1);
  overflow: hidden;
  position: relative;
  background: var(--dark-card);
}

.consultant-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.consultant-info {
  flex: 1;
  text-align: left;
}

.consultant-subtitle {
  color: #007dc5;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.consultant-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.consultant-desc p {
  color: #a0a0a0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.consultant-desc p:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .consultant-container {
    flex-direction: column;
    gap: 3rem;
  }
  .consultant-image {
    flex: 1;
    width: 100%;
    max-width: 450px;
  }
}

/* ─── ADDITIONS FOR HERO FORM ─── */
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}

.form-group textarea:focus {
  outline: none;
  border-color: #007dc5;
  box-shadow: 0 0 0 3px rgba(0, 125, 197, 0.15);
}

.form-group select option {
  background: #222;
  color: #fff;
}