:root {
  /* Color Palette - Dark Premium Theme */
  --bg-color: #0A0A0A;
  --surface-color: #141414;
  --surface-elevated: #1E1E1E;
  --primary-color: #CAFF00;
  --primary-dim: rgba(202, 255, 0, 0.15);
  --text-primary: #F6F3ED;
  --text-secondary: #999;
  --text-muted: #555;
  --border-subtle: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-main: 'Montserrat', sans-serif;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
  --spacing-2xl: 120px;

  /* Layout */
  --max-width: 1200px;
  --section-padding: clamp(60px, 10vw, 120px);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===========================
   RESET & BASE
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-color);
}

ul {
  list-style: none;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) clamp(var(--spacing-md), 5vw, var(--spacing-xl));
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-smooth), padding var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-subtle);
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  z-index: 1001;
}

.logo:hover {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: clamp(var(--spacing-md), 3vw, var(--spacing-xl));
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: var(--spacing-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   LANGUAGE SWITCHER
   =========================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 1rem;
  z-index: 1001;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  border-color: rgba(168, 85, 247, 0.6);
  color: #fff;
  background: rgba(168, 85, 247, 0.15);
}

.lang-btn.active {
  background: rgba(168, 85, 247, 0.25);
  border-color: #a855f7;
  color: #fff;
}

@media (max-width: 768px) {
  .lang-switcher {
    position: fixed;
    top: 18px;
    right: 60px;
    z-index: 1002;
    margin-left: 0;
  }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-background img,
.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(10, 10, 10, 0.3) 0%,
      rgba(10, 10, 10, 0.6) 50%,
      rgba(10, 10, 10, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: var(--max-width);
  width: 100%;
  padding: 0 clamp(var(--spacing-xl), 8vw, 140px);
  animation: fadeInUp 1.2s ease-out;
}

.hero-cta {
  text-align: left;
  margin-top: var(--spacing-lg);
}

.hero-logo {
  max-width: 280px;
  margin: 0 0 var(--spacing-lg);
  filter: brightness(1.1);
}

.hero h1 {
  margin-bottom: var(--spacing-md);
}

.hero-tagline {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 0 var(--spacing-lg);
}

/* ===========================
   SOUND TOGGLE
   =========================== */
.sound-toggle {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.sound-toggle:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(202, 255, 0, 0.4);
  color: #fff;
}

.sound-toggle.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.sound-toggle .sound-icon {
  width: 18px;
  height: 18px;
}

.sound-toggle .sound-label {
  line-height: 1;
}

@media (max-width: 768px) {
  .sound-toggle {
    bottom: 20px;
    right: 20px;
    padding: 8px 12px;
  }

  .sound-toggle .sound-label {
    display: none;
  }
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(202, 255, 0, 0.2);
}

.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
}

.btn-primary:hover {
  background: #e0ff4d;
  border-color: #e0ff4d;
  color: #000;
  box-shadow: 0 15px 40px rgba(202, 255, 0, 0.3);
}

/* ===========================
   FEATURED SECTION
   =========================== */
.featured-section {
  padding: var(--section-padding) clamp(var(--spacing-md), 5vw, var(--spacing-xl));
  background: var(--surface-color);
  position: relative;
}

.featured-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0.3;
}

.featured-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.featured-image {
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.featured-image:hover {
  transform: scale(1.02);
}

.featured-image img {
  width: 100%;
  height: auto;
}

.featured-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  padding: 6px 14px;
  border: 1px solid var(--primary-dim);
  border-radius: 50px;
  background: var(--primary-dim);
}

.featured-info h2 {
  margin-bottom: var(--spacing-sm);
}

.featured-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-lg);
}

/* Featured Section */
.featured-section {
  background: linear-gradient(to bottom, #111, #1a1a1a);
  padding: 3rem 0;
  border-top: 1px solid rgba(202, 255, 0, 0.1);
  border-bottom: 1px solid rgba(202, 255, 0, 0.1);
}

.featured-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.featured-container.revealed {
  opacity: 1;
  transform: translateY(0);
}

.featured-logo img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  /* Make logo white */
  transition: transform 0.3s ease;
}

.featured-text {
  text-align: left;
}

.featured-label {
  color: var(--neon-accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.featured-title {
  font-size: 1.5rem;
  margin: 0;
}

.featured-btn {
  background-color: transparent;
  border: 1px solid var(--neon-accent);
  color: var(--neon-accent);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.featured-btn:hover {
  background-color: var(--neon-accent);
  color: #000;
  box-shadow: 0 0 15px rgba(202, 255, 0, 0.4);
}

/* Stats / Services Section */
.stats-section {
  padding: 4rem 2rem;
  background: #0f0f0f;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.stat-item:hover .stat-icon {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(6, 182, 212, 0.5);
}

.stat-icon svg {
  width: 32px;
  height: 32px;
}

.stat-item h3 {
  color: var(--neon-accent);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: #aaa;
  font-size: 0.9rem;
}

/* ===========================
   SECTIONS GENERAL
   =========================== */
section {
  padding: var(--section-padding) clamp(var(--spacing-md), 5vw, var(--spacing-xl));
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: clamp(40px, 6vw, 80px);
  display: block;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ===========================
   PORTFOLIO GRID
   =========================== */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, var(--spacing-2xl));
  max-width: var(--max-width);
  margin: 0 auto;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(var(--spacing-lg), 5vw, var(--spacing-xl));
  align-items: center;
}

/* Alternating layout using order instead of RTL hack */
.portfolio-item:nth-child(even) .portfolio-image {
  order: 2;
}

.portfolio-item:nth-child(even) .portfolio-info {
  order: 1;
  text-align: right;
}

/* Portfolio Bento Grid */
.portfolio-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-line {
  width: 100px;
  height: 4px;
  background: var(--light-bg);
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 400px;
  }

  /* Bento Layout Logic */
  .portfolio-card.featured {
    grid-column: span 2;
    /* Full width */
  }

  .portfolio-card.tall {
    grid-row: span 2;
    /* Vertical tall card */
  }
}

.portfolio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27), box-shadow 0.4s ease;
  cursor: pointer;
  height: 400px;
  /* Default height */
}

@media (min-width: 768px) {
  .portfolio-card.featured {
    height: 100%;
  }

  .portfolio-card.tall {
    height: 100%;
  }
}

.portfolio-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(202, 255, 0, 0.2);
  /* Neon glow */
  z-index: 2;
}

.card-image {
  width: 100%;
  height: 100%;
}

.card-image img,
.card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .card-image img,
.portfolio-card:hover .card-image video {
  transform: scale(1.1);
}

/* Card hover video */
.card-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.portfolio-card:hover .card-video {
  opacity: 1;
}

/* Video-as-thumbnail: show video first frame instead of image */
.portfolio-card[data-video-thumb] .card-video {
  opacity: 1;
  z-index: 0;
}

.portfolio-card[data-video-thumb] .card-image > img {
  display: none;
}

/* Sound indicator on hover */
.card-image .hover-sound-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.portfolio-card:hover .hover-sound-icon {
  opacity: 1;
}

.hover-sound-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary-color);
  fill: none;
  stroke-width: 2;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: var(--light-text);
  transform: translateY(0);
  opacity: 1;
  transition: all 0.4s ease;
  z-index: 3;
}

.portfolio-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
}

.card-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -40px;
  right: 20px;
  transition: color 0.3s ease;
}

.portfolio-card:hover .card-number {
  color: var(--neon-accent);
}

.card-overlay h3 {
  font-size: 1.8rem;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-overlay p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.btn-glow {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--neon-accent);
  color: var(--dark-bg);
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 5;
  cursor: pointer;
  pointer-events: auto;
}

.btn-glow:hover {
  background: #fff;
  transform: scale(1.05);
  color: #000;
}

.portfolio-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.portfolio-image img {
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--primary-dim);
}

.portfolio-image:hover img {
  transform: scale(1.06);
}

.portfolio-info {
  padding: var(--spacing-lg) 0;
}

.portfolio-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: -10px;
  display: block;
}

.portfolio-category {
  color: var(--primary-color);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: var(--spacing-sm);
}

.portfolio-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

.portfolio-info h3 {
  margin-bottom: var(--spacing-xs);
}

.portfolio-info h3 a {
  transition: color var(--transition-fast);
}

.portfolio-info h3 a:hover {
  color: var(--primary-color);
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #000;
  padding: clamp(60px, 8vw, 100px) clamp(var(--spacing-md), 5vw, var(--spacing-xl)) 40px;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(var(--spacing-lg), 4vw, 60px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: var(--spacing-md);
  opacity: 0.8;
}

.footer-brand p {
  max-width: 300px;
}

.footer-links h4 {
  color: var(--primary-color);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
   =========================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   KEYFRAME ANIMATIONS
   =========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .featured-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .featured-info {
    order: 2;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    transition: right 0.4s ease;
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .portfolio-item,
  .portfolio-item:nth-child(even) .portfolio-image,
  .portfolio-item:nth-child(even) .portfolio-info {
    order: unset;
  }

  .portfolio-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portfolio-item:nth-child(even) .portfolio-info {
    text-align: center;
  }

  .portfolio-info {
    padding: var(--spacing-md) 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto var(--spacing-md);
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 200px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.75rem;
  }
}

/* ===========================
   PORTFOLIO FILTER BUTTONS
   =========================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.filter-btn {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
}

/* ===========================
   ICON TOOLTIPS
   =========================== */
.stat-item {
  position: relative;
}

.stat-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  width: 220px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.stat-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(20, 20, 20, 0.95);
}

.stat-item:hover .stat-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-8px);
}

/* ===========================
   PROBLEM STATS SECTION
   =========================== */
.problem-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.problem-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
}

.problem-container {
  max-width: 1100px;
  margin: 0 auto;
}

.problem-header {
  text-align: center;
  margin-bottom: 4rem;
}

.problem-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(90deg, #fff, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.problem-header p {
  font-size: 1.1rem;
  color: #999;
  max-width: 600px;
  margin: 0 auto;
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-stat-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.problem-stat-card:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-5px);
}

.problem-stat-card .stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #a855f7, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.problem-stat-card .stat-label {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */
.howitworks-section {
  padding: 6rem 2rem;
  background: #0a0a0a;
}

.howitworks-container {
  max-width: 1100px;
  margin: 0 auto;
}

.howitworks-header {
  text-align: center;
  margin-bottom: 4rem;
}

.howitworks-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.howitworks-header p {
  font-size: 1.1rem;
  color: #999;
  max-width: 600px;
  margin: 0 auto;
}

.howitworks-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.howitworks-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.howitworks-step:hover {
  background: rgba(202, 255, 0, 0.04);
  border-color: rgba(202, 255, 0, 0.2);
  transform: translateY(-5px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #06b6d4);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.howitworks-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}

.howitworks-step p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

/* ===========================
   TECHNOLOGY SECTION
   =========================== */
.tech-section {
  padding: 6rem 2rem;
  background: linear-gradient(to bottom, #0f0f0f, #0a0a0a);
}

.tech-container {
  max-width: 1100px;
  margin: 0 auto;
}

.tech-header {
  text-align: center;
  margin-bottom: 4rem;
}

.tech-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-card {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.4s ease;
}

.tech-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.tech-card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

.tech-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tech-card p {
  font-size: 0.8rem;
  color: #777;
}

.tech-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.tech-stat {
  text-align: center;
}

.tech-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
}

.tech-stat .label {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.25rem;
}

/* ===========================
   VALIDATION / PARTNERS SECTION
   =========================== */
.validation-section {
  padding: 6rem 2rem;
  background: #0a0a0a;
}

.validation-container {
  max-width: 1100px;
  margin: 0 auto;
}

.validation-header {
  text-align: center;
  margin-bottom: 4rem;
}

.validation-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.validation-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.validation-card {
  text-align: center;
  padding: 2rem;
  background: rgba(202, 255, 0, 0.03);
  border: 1px solid rgba(202, 255, 0, 0.1);
  border-radius: 12px;
}

.validation-card .val-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.validation-card .val-label {
  font-size: 0.9rem;
  color: #aaa;
}

.partners-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.partner-badge {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.85rem;
  color: #bbb;
  font-weight: 500;
  transition: all 0.3s ease;
}

.partner-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ===========================
   TEAM SECTION
   =========================== */
.team-section {
  padding: 6rem 2rem;
  background: linear-gradient(to bottom, #0a0a0a, #0f0f0f);
}

.team-container {
  max-width: 1100px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: 4rem;
}

.team-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.team-card:hover {
  background: rgba(168, 85, 247, 0.06);
  border-color: rgba(168, 85, 247, 0.25);
  transform: translateY(-5px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.team-card h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.team-card .team-role {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.team-card .team-desc {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.5;
}

/* ===========================
   VR RESEARCH SECTION
   =========================== */
.research-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #0a0a14, #0a0a0a);
}

.research-container {
  max-width: 1000px;
  margin: 0 auto;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.research-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.research-item .source {
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 70px;
}

.research-item .finding {
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.5;
}

/* ===========================
   RESPONSIVE - NEW SECTIONS
   =========================== */
@media (max-width: 900px) {

  .problem-stats,
  .validation-stats {
    grid-template-columns: 1fr;
  }

  .howitworks-steps {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .research-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    justify-content: center;
  }

  .hero-content {
    text-align: center;
    padding: 0 var(--spacing-lg);
  }

  .hero-logo {
    margin: 0 auto var(--spacing-lg);
  }

  .hero-tagline {
    margin: 0 auto var(--spacing-lg);
  }

  .hero-cta {
    text-align: center;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .tech-stats {
    gap: 2rem;
  }
}

/* ===========================
   ABOUT PAGE STYLES
   =========================== */
.about-hero {
  padding: 140px 2rem 80px;
  text-align: center;
  background: linear-gradient(to bottom, #000, #0f0f0f);
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.1rem;
  color: #999;
  max-width: 600px;
  margin: 0 auto;
}

.about-section {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #fff, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-section p {
  font-size: 1rem;
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.mv-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.mv-card h3 {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mv-card p {
  font-size: 0.95rem;
  color: #bbb;
}

.sdg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.sdg-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sdg-card .sdg-number {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #a855f7, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.sdg-card .sdg-title {
  font-size: 0.8rem;
  color: #aaa;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(202, 255, 0, 0.2);
  transform: translateY(-3px);
}

.contact-card h4 {
  font-size: 0.85rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.contact-card a {
  color: #ccc;
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form-wrapper {
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.contact-form-wrapper h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(202, 255, 0, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #555;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.5em;
}

.form-status.success {
  color: var(--primary-color);
}

.form-status.error {
  color: #ff4444;
}

@media (max-width: 768px) {

  .mission-vision-grid,
  .sdg-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}