/* ============================================
   BIZENTRIX TECHNOLOGIES — Main CSS
   Replicating React/Tailwind design system
   ============================================ */

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

/* CSS Custom Properties — Tailwind color palette */
:root {
  --primary-50: #f1f8fa;
  --primary-100: #daedf3;
  --primary-200: #badce7;
  --primary-300: #8ac2d6;
  --primary-400: #539fbd;
  --primary-500: #3e93b6;
  --primary-600: #316b89;
  --primary-700: #2d5871;
  --primary-800: #2c4b5e;
  --primary-900: #284051;
  --primary-950: #162836;

  --secondary-400: #82c15a;
  --secondary-500: #5e9d39;

  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background-color: var(--slate-950);
  color: #f1f5f9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-800); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-700); }

/* ============== UTILITY CLASSES ============== */

.bg-noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.glass {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: all 0.5s;
}

.bento-card {
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: all 0.5s;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  pointer-events: none;
  transition: opacity 0.5s;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.bento-card:hover::before { opacity: 1; }

.text-gradient {
  background: linear-gradient(to right, var(--primary-400), var(--secondary-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============== BACKGROUND VIDEO ============== */
#bg-video-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  background: var(--slate-950);
  overflow: hidden;
}
#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 2s;
}
#bg-video.loaded { opacity: 0.6; }
#bg-overlay-1 { position: absolute; inset: 0; background: rgba(2,6,23,0.70); }
#bg-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to bottom, #020617 0%, transparent 30%, transparent 70%, #020617 100%); opacity: 0.9; }
#bg-overlay-3 { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, rgba(2,6,23,0.5) 70%, #020617 100%); opacity: 0.8; }
#bg-color-cast { position: absolute; inset: 0; background: rgba(62,147,182,0.05); mix-blend-mode: color; }
#bg-glow { position: absolute; top: 25%; right: 25%; width: 800px; height: 800px; background: rgba(94,157,57,0.05); filter: blur(150px); border-radius: 9999px; }

/* ============== INITIAL LOADER ============== */
#initial-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--slate-950);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
#initial-loader.hide {
  opacity: 0;
  transform: translateY(-50px);
  pointer-events: none;
}
.loader-bar-wrapper {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 2rem;
}
.loader-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--primary-500), var(--secondary-400));
  border-radius: 9999px;
  animation: loaderFill 1.5s ease-in-out forwards;
}
@keyframes loaderFill { from { width: 0; } to { width: 100%; } }

/* ============== MOUSE TRACKER ============== */
#mouse-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--primary-500);
  pointer-events: none;
  z-index: 50;
  mix-blend-mode: difference;
  transform: translate(-16px, -16px);
  transition: transform 0.08s, scale 0.2s, background-color 0.2s;
  will-change: transform;
}
#mouse-glow {
  position: fixed;
  top: 0; left: 0;
  width: 256px; height: 256px;
  border-radius: 50%;
  background: rgba(62,147,182,0.10);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  transform: translate(-128px, -128px);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

/* ============== HEADER ============== */
#site-header {
  position: fixed;
  top: 24px;
  left: 0; right: 0;
  z-index: 50;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.header-inner {
  width: 100%;
  max-width: 56rem;
  pointer-events: auto;
  animation: slideDown 0.8s ease-out forwards;
}
@keyframes slideDown { from { transform: translateY(-100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 9999px;
  transition: all 0.5s;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
}
.nav-pill.scrolled {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.1);
}

.logo-link { display: flex; align-items: center; gap: 8px; padding-left: 8px; text-decoration: none; }
.logo-link img { height: 32px; width: auto; object-fit: contain; transition: transform 0.3s; }
.logo-link:hover img { transform: scale(1.05); }
.logo-text { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.025em; color: white; white-space: nowrap; }

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
  background: rgba(2,6,23,0.5);
  border-radius: 9999px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 768px) { .desktop-nav { display: flex; } }

.nav-link {
  position: relative;
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  text-decoration: none;
  color: var(--slate-400);
  transition: color 0.3s;
  z-index: 10;
}
.nav-link:hover, .nav-link.active { color: white; }
.nav-link.active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 9999px;
  z-index: -1;
}

.desktop-cta { display: none; align-items: center; gap: 12px; padding-right: 4px; }
@media (min-width: 768px) { .desktop-cta { display: flex; } }
.portfolio-link { font-size: 0.875rem; font-weight: 500; color: var(--slate-400); text-decoration: none; padding: 0 12px; transition: color 0.3s; }
.portfolio-link:hover { color: white; }
.portfolio-link.active { color: white; }

/* Mobile toggle */
.mobile-toggle { display: flex; background: none; border: none; color: var(--slate-300); cursor: pointer; padding: 8px; }
.mobile-toggle:hover { color: white; }
@media (min-width: 768px) { .mobile-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 16px; right: 16px;
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  padding: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.mobile-menu.open { display: block; animation: fadeInDown 0.2s ease; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.mobile-menu-links { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-link { display: block; padding: 12px 16px; border-radius: 12px; font-size: 0.875rem; font-weight: 500; color: var(--slate-300); text-decoration: none; transition: all 0.2s; }
.mobile-nav-link:hover { background: rgba(255,255,255,0.05); color: white; }
.mobile-nav-link.active { background: rgba(62,147,182,0.1); color: var(--primary-400); }
.mobile-menu-cta { padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--slate-800); }

/* ============== BUTTONS ============== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: none;
  overflow: hidden;
  transition: all 0.3s;
  color: white;
  font-size: 0.875rem;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--primary-500); }
.btn-primary:hover { background: var(--primary-400); box-shadow: 0 0 20px rgba(62,147,182,0.3); }

.btn-glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-glass:hover { background: rgba(255,255,255,0.1); }

.btn-outline {
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slate-700);
}
.btn-outline:hover { border-color: rgba(62,147,182,0.5); background: rgba(62,147,182,0.1); }

.btn-w-full { width: 100%; }

/* ============== HERO SECTIONS ============== */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-section-half {
  position: relative;
  height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.giant-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.giant-bg-text h1 {
  font-size: clamp(3rem, 12vw, 10rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.05em;
  white-space: nowrap;
  user-select: none;
  opacity: 0;
  animation: fadeToOpacity 2s ease-out forwards;
}
@keyframes fadeToOpacity { from { opacity: 0; transform: scale(0.95); } to { opacity: 0.03; transform: scale(1); } }

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  animation: heroFadeUp 1.2s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.hero-line { width: 1px; height: 64px; background: linear-gradient(to bottom, transparent, rgba(62,147,182,0.5)); margin-bottom: 32px; }
.hero-label { color: var(--primary-300); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 24px; }
.hero-title { font-size: clamp(2.5rem, 8vw, 6rem); font-weight: 500; color: white; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 32px; max-width: 56rem; }
.hero-subtitle { font-size: 1.25rem; color: var(--slate-400); font-weight: 300; line-height: 1.7; max-width: 40rem; margin-bottom: 48px; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1s 2s forwards;
  opacity: 0;
}
@keyframes fadeIn { to { opacity: 1; } }
.scroll-label { font-size: 10px; color: var(--slate-500); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }
.scroll-bar { width: 1px; height: 48px; background: var(--slate-800); position: relative; overflow: hidden; }
.scroll-bar-inner { position: absolute; top: -24px; left: 0; width: 100%; height: 50%; background: var(--primary-500); animation: scrollDown 1.5s linear infinite; }
@keyframes scrollDown { from { transform: translateY(0); } to { transform: translateY(96px); } }

/* ============== CONTENT SECTIONS ============== */
.section-spacious { padding: 12rem 0; position: relative; z-index: 10; }
.section-bg-blur {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(2,6,23,0.4);
  backdrop-filter: blur(96px);
  -webkit-backdrop-filter: blur(96px);
}
.section-bg-darker { background: rgba(2,6,23,0.6); }

.container { max-width: 72rem; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 64rem; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 56rem; margin: 0 auto; padding: 0 24px; }

/* Scroll-triggered animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============== HOME PAGE ============== */
.scale-section { padding: 12rem 0; }
.scale-grid { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6rem; }
@media (min-width: 1024px) { .scale-grid { flex-direction: row; } }
.scale-text { flex: 1; }
.scale-heading { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 500; color: white; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 32px; }
.scale-p { font-size: 1.25rem; color: var(--slate-400); font-weight: 300; line-height: 1.8; margin-bottom: 40px; }
.scale-image-wrapper { flex: 1; position: relative; }
.scale-image-container {
  aspect-ratio: 4/5;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}
.scale-image-overlay { position: absolute; inset: 0; background: rgba(30,58,90,0.4); z-index: 10; mix-blend-mode: overlay; transition: background 0.7s; }
.scale-image-container:hover .scale-image-overlay { background: rgba(30,58,90,0.2); }
.scale-image-container img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1s; }
.scale-image-container:hover img { transform: scale(1.0); }
.scale-image-glow { position: absolute; bottom: -40px; left: -40px; width: 192px; height: 192px; background: rgba(62,147,182,0.2); filter: blur(50px); border-radius: 9999px; pointer-events: none; }

/* Services list */
.services-list { border-top: 1px solid rgba(255,255,255,0.1); }
.service-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 48px 16px;
  cursor: pointer;
  transition: background 0.3s;
}
@media (min-width: 768px) { .service-row { flex-direction: row; align-items: baseline; gap: 48px; } }
.service-row:hover { background: rgba(255,255,255,0.02); }
.service-num { font-size: 0.875rem; font-weight: 500; color: var(--primary-500); width: 48px; flex-shrink: 0; }
.service-title { font-size: clamp(1.5rem, 4vw, 3rem); font-weight: 500; color: white; letter-spacing: -0.03em; flex: 1; transition: color 0.3s; }
.service-row:hover .service-title { color: var(--primary-400); }
.service-desc { color: var(--slate-500); font-weight: 300; max-width: 320px; }

/* ============== FOOTER ============== */
footer {
  position: relative;
  background: var(--slate-950);
  padding-top: 6rem;
  padding-bottom: 2rem;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  width: 1000px; height: 500px;
  background: rgba(62,147,182,0.1);
  filter: blur(150px);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 5fr 4fr 3fr; } }

.footer-brand p { color: var(--slate-400); font-size: 1.125rem; font-weight: 300; line-height: 1.8; margin-bottom: 32px; }
.social-links { display: flex; gap: 16px; }
.social-link {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-400);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.1rem;
}
.social-link:hover { color: white; border-color: rgba(62,147,182,0.5); background: rgba(62,147,182,0.2); transform: translateY(-4px); }

.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-col h4 { color: white; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; opacity: 0.8; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.footer-col a { color: var(--slate-400); text-decoration: none; transition: all 0.3s; display: inline-block; }
.footer-col a:hover { color: white; transform: translateX(4px); }

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.footer-contact-item { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-400);
  flex-shrink: 0;
  transition: all 0.3s;
}
.footer-contact-item:hover .contact-icon { background: rgba(62,147,182,0.2); }
.contact-text { color: white; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: color 0.3s; }
.contact-text:hover { color: var(--primary-400); }
.contact-text-plain { color: white; font-size: 0.875rem; font-weight: 500; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copy { color: var(--slate-500); font-size: 0.875rem; }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { color: var(--slate-500); font-size: 0.875rem; text-decoration: none; transition: color 0.3s; }
.footer-legal-links a:hover { color: white; }

/* ============== ABOUT PAGE ============== */
.about-quote { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 300; color: white; letter-spacing: -0.02em; line-height: 1.6; margin-bottom: 12rem; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 6rem; margin-bottom: 12rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: 1fr 1fr; } }
.value-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 24px; }
.value-title { font-size: 1.5rem; color: white; font-weight: 300; line-height: 1.6; margin-bottom: 16px; }
.value-text { color: var(--slate-400); font-weight: 300; line-height: 2; }
.origin-section { text-align: center; }
.origin-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 24px; }
.origin-year { font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; color: white; letter-spacing: -0.05em; margin-bottom: 32px; }
.origin-text { font-size: clamp(1.25rem, 2vw, 1.75rem); color: var(--slate-300); font-weight: 300; line-height: 1.8; max-width: 48rem; margin: 0 auto; }
.origin-sub { color: var(--slate-400); font-size: clamp(1rem, 1.5vw, 1.5rem); }

/* ============== SERVICES PAGE ============== */
.services-stack { display: flex; flex-direction: column; gap: 12rem; }
.service-item { display: flex; flex-direction: column; gap: 48px; align-items: flex-start; }
@media (min-width: 768px) { .service-item { flex-direction: row; gap: 96px; } }
.service-number {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  background: linear-gradient(to bottom, rgba(62,147,182,0.5), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.service-content { padding-top: 16px; }
.service-content h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; color: white; letter-spacing: -0.04em; margin-bottom: 32px; }
.service-content p { font-size: 1.25rem; color: var(--slate-400); font-weight: 300; line-height: 1.8; max-width: 40rem; }

/* ============== PORTFOLIO PAGE ============== */
.portfolio-page { padding-top: 8rem; padding-bottom: 6rem; min-height: 100vh; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.portfolio-glow { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.portfolio-glow-inner { width: 800px; height: 800px; background: rgba(62,147,182,0.05); filter: blur(120px); border-radius: 9999px; }
.portfolio-card { max-width: 40rem; margin: 0 auto; padding: 48px; text-align: center; }
.portfolio-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(30,41,59,0.5);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary-400);
  border: 1px solid var(--slate-700);
  font-size: 2rem;
}
.portfolio-card h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: white; margin-bottom: 16px; }
.portfolio-card p { font-size: 1.25rem; color: var(--slate-400); margin-bottom: 32px; }
.wip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(62,147,182,0.1);
  color: var(--primary-400);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(62,147,182,0.2);
}
.wip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-500); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============== CONTACT PAGE ============== */
.contact-page { padding-top: 8rem; padding-bottom: 6rem; position: relative; min-height: 100vh; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 64px; } }
.contact-intro { font-size: 1.125rem; color: var(--slate-400); font-weight: 300; line-height: 1.8; margin-bottom: 40px; }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-400);
  flex-shrink: 0;
  transition: all 0.3s;
  margin-top: 2px;
}
.contact-info-item:hover .contact-info-icon { background: rgba(62,147,182,0.2); transform: scale(1.1); }
.contact-info-label { font-size: 0.65rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 4px; }
.contact-info-value { color: white; font-weight: 500; text-decoration: none; transition: color 0.3s; }
.contact-info-value:hover { color: var(--primary-400); }

.form-card { padding: 40px; }
.form-card h3 { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 32px; letter-spacing: -0.025em; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-label { display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; font-weight: 500; color: var(--slate-400); margin-bottom: 8px; }
.form-label-optional { font-size: 0.75rem; color: var(--slate-600); font-weight: 400; }
.form-input {
  width: 100%;
  background: rgba(2,6,23,0.6);
  border: 1px solid var(--slate-800);
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}
.form-input::placeholder { color: var(--slate-600); }
.form-input:focus { border-color: rgba(62,147,182,0.5); box-shadow: 0 0 0 2px rgba(62,147,182,0.2); }
.form-input.error { border-color: rgba(239,68,68,0.6); }
.form-input.error:focus { box-shadow: 0 0 0 2px rgba(239,68,68,0.2); }
.form-error { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: #f87171; margin-top: 6px; }
textarea.form-input { resize: none; }
.btn-submit {
  position: relative;
  width: 100%;
  padding: 16px 24px;
  border-radius: 9999px;
  font-weight: 600;
  color: white;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  overflow: hidden;
  background: var(--primary-500);
  transition: all 0.3s;
  margin-top: 8px;
}
.btn-submit:hover:not(:disabled) { background: var(--primary-400); box-shadow: 0 0 24px rgba(62,147,182,0.4); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.success-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 0; }
.success-icon { font-size: 4rem; color: var(--secondary-400); margin-bottom: 16px; }
.success-state h4 { font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 8px; }
.success-state p { color: var(--slate-400); font-weight: 300; margin-bottom: 24px; }
.success-reset { font-size: 0.875rem; color: var(--primary-400); background: none; border: 1px solid rgba(62,147,182,0.3); padding: 8px 20px; border-radius: 9999px; cursor: pointer; font-family: inherit; transition: all 0.3s; }
.success-reset:hover { color: white; background: rgba(62,147,182,0.1); }
.error-banner { display: flex; align-items: center; gap: 12px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; color: #f87171; font-size: 0.875rem; }
.error-banner-close { margin-left: auto; background: none; border: none; color: #f87171; cursor: pointer; font-family: inherit; font-size: 1rem; }
.error-banner-close:hover { color: white; }

/* Spinner */
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.8s linear infinite; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============== TERMS & PRIVACY ============== */
.legal-page { padding-top: 8rem; padding-bottom: 6rem; min-height: 100vh; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: white; margin-bottom: 40px; }
.legal-date { color: var(--slate-400); font-size: 1.125rem; margin-bottom: 24px; }
.legal-card { padding: 32px; }
.legal-card p { color: var(--slate-300); line-height: 1.9; margin-bottom: 16px; }
.legal-card h3 { font-size: 1.25rem; font-weight: 700; color: white; margin-top: 32px; margin-bottom: 16px; }
.legal-card ul { color: var(--slate-300); padding-left: 24px; line-height: 1.9; }
.legal-card ul li { margin-bottom: 8px; }

/* ============== 404 PAGE ============== */
.notfound-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.notfound-404-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40vw;
  font-weight: 900;
  color: rgba(30,41,59,0.3);
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.notfound-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 384px; height: 384px;
  background: rgba(62,147,182,0.2);
  filter: blur(100px);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
}
.notfound-content { text-align: center; position: relative; z-index: 10; padding: 0 24px; animation: heroFadeUp 0.5s ease forwards; }
.notfound-content h1 { font-size: 4rem; font-weight: 700; color: white; margin-bottom: 16px; }
.notfound-content p { font-size: 1.25rem; color: var(--slate-400); margin-bottom: 32px; max-width: 28rem; margin-left: auto; margin-right: auto; }

/* ============== RESPONSIVE ============== */
@media (max-width: 767px) {
  .logo-text { font-size: 0.9rem; }
  .section-spacious { padding: 6rem 0; }
  .hero-subtitle { font-size: 1rem; }
}

/* ════════════════════════════════════════════════════════════
   CAREERS & AUTH ADDITIONS
   ════════════════════════════════════════════════════════════ */

/* Active nav link */
.nav-link.active {
  color: white !important;
  opacity: 1 !important;
}

/* Form inputs (used in auth + apply pages) */
.form-input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  box-sizing: border-box;
}
.form-input:focus {
  border-color: var(--primary-500);
  background: rgba(139, 92, 246, 0.06);
}
.form-input::placeholder { color: var(--slate-500); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* Submit button */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-700));
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Glass card (auth pages) */
.glass-card, .bento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  backdrop-filter: blur(20px);
}

/* Status badge colours handled inline; nothing extra needed */

/* ════════════════════════════════════════════════════════════
   STAFF PORTAL – RESPONSIVE HELPERS
   ════════════════════════════════════════════════════════════ */

/* Staff two-col grid → single col on small screens */
@media (max-width: 900px) {
  .staff-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Horizontal-scroll table wrapper on mobile */
@media (max-width: 760px) {
  .bento-card table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
