/* ==========================================================================
   Md Mahin Hossen — AI Systems Architect & Automation Portfolio
   Exact Dot-Matrix + Pill Design System
   ========================================================================== */

/* 1. Fonts & Fallbacks */
@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* 2. Design Tokens */
:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --card-bg: rgba(25, 25, 27, 0.72);
  --card-border: rgba(255, 255, 255, 0.14);
  --input-bg: rgba(35, 35, 38, 0.75);
  --whatsapp-green: #25d366;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "DotGothic16", "Geist Pixel Circle", sans-serif;
  --trust-size: clamp(36px, 4.5vw, 42px);
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

/* ==========================================================================
   FIXED FULL-VIEWPORT BACKGROUND VIDEO
   ========================================================================== */
.bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background-color: #030307;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(68, 45, 120, 0.28) 0%, transparent 60%),
    radial-gradient(circle at 20% 60%, rgba(20, 80, 160, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 40%, rgba(130, 40, 180, 0.15) 0%, transparent 45%);
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Vignette Overlay for Crisp Typography Contrast */
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 85%);
  pointer-events: none;
  z-index: 1;
}

/* Content Wrapper */
.site-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ==========================================================================
   FLOATING GLASS PILL NAVBAR
   ========================================================================== */
.floating-nav-wrapper {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  pointer-events: none;
}

.floating-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(18, 18, 22, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  max-width: 780px;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-nav.scrolled {
  background: rgba(12, 12, 16, 0.94);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.7);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.nav-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-cta-btn {
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  background: #f4f4f5;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
}

.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  padding: 6px 10px;
  cursor: pointer;
}

.mobile-nav-menu {
  pointer-events: auto;
  display: none;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  margin-top: 10px;
  padding: 18px 20px;
  background: rgba(14, 14, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75);
}

.mobile-nav-menu.open {
  display: flex;
}

.mobile-nav-link {
  color: #c4c2c3;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link:hover {
  color: #ffffff;
}

.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp-green);
  color: #000000;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 6px;
}

/* ==========================================================================
   HERO SECTION (#home, Full Viewport with Transparent Background)
   ========================================================================== */
.hero-viewport {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(36px, 6vh, 64px) clamp(14px, 3vw, 32px) clamp(28px, 4vh, 40px);
  background: transparent !important;
}

/* Smooth Gradient Fade at Bottom of Hero into Subsequent Sections */
.hero-viewport::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(80px, 14vh, 160px);
  background: linear-gradient(to bottom, transparent, #000000);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 960px;
  width: 100%;
}

.stats {
  position: relative;
  z-index: 3;
}

/* Trust Row */
.trust-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}

.avatars-group {
  display: inline-flex;
  align-items: center;
}

.avatar-ring {
  width: var(--trust-size);
  height: var(--trust-size);
  border-radius: 50%;
  background-color: var(--trust-bg);
  border: 1px solid var(--trust-border);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.35s ease;
}

.avatar-ring:nth-child(1) {
  z-index: 1;
}

.avatar-ring:nth-child(2) {
  z-index: 2;
  margin-left: calc(var(--trust-size) * -0.42);
}

.avatar-ring:nth-child(3) {
  z-index: 4;
  margin-left: calc(var(--trust-size) * -0.42);
}

.avatar-ring:nth-child(1):hover {
  transform: translateY(-2px);
}

.avatar-ring:nth-child(2):hover {
  transform: translateY(-4px);
}

.avatar-ring:nth-child(3):hover {
  transform: translateY(-2px);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-inner i {
  color: #111111;
  font-size: calc(var(--trust-size) * 0.34);
}

.trust-pill {
  height: var(--trust-size);
  background-color: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  margin-left: calc(var(--trust-size) * -0.42);
  padding-left: calc(var(--trust-size) * 0.58);
  padding-right: clamp(14px, 1.8vw, 18px);
  display: inline-flex;
  align-items: center;
  color: var(--trust-text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
  z-index: 3;
}

/* Headline */
.headline {
  font-family: var(--font-display);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
}

.headline-line {
  display: block;
  font-size: clamp(32px, 7vw, 86px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
  color: #ffffff;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.headline-line.line-1 {
  animation-delay: 0.82s;
}

.headline-line.line-2 {
  animation-delay: 1.0s;
}

@keyframes headlineFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subhead */
.subhead {
  max-width: min(580px, 94%);
  font-family: var(--font-sans);
  font-size: clamp(calc(14px + 2pt), calc(1.6vw + 2pt), calc(17px + 2pt));
  color: #d0d0d0;
  opacity: 0.82;
  line-height: 1.55;
  font-weight: 400;
  margin: clamp(16px, 2.2vh, 24px) auto clamp(24px, 3vh, 36px);
}

/* Hero Dual Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Primary Glow CTA Button with Animated Rainbow Neon Stroke & Aura */
.cta-btn {
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, #ff0055, #ff6b00, #ffea00, #00ff66, #00f0ff, #7928ca, #ff00aa, #ff0055) border-box;
  background-size: 100% 100%, 300% 100%;
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 15px);
  padding: clamp(10.5px, 1.6vh, 12.5px) clamp(26px, 3.2vw, 32px);
  border-radius: 999px;
  border: 2.5px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  animation:
    rainbowNeonFlow 9s linear infinite,
    rainbowNeonAura 9s linear infinite;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.cta-btn i,
.cta-btn span {
  position: relative;
  z-index: 1;
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 20px rgba(255, 0, 128, 0.65),
    0 0 38px rgba(0, 240, 255, 0.45);
}

.cta-btn:active {
  transform: translateY(0) scale(1);
}

/* Secondary Dark WhatsApp Action */
.secondary-btn {
  background: var(--pill-dark);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13.5px, 1.5vw, 15px);
  padding: clamp(12px, 1.8vh, 14px) clamp(22px, 2.8vw, 28px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.secondary-btn i {
  color: var(--whatsapp-green);
  font-size: 18px;
}

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

/* Stats Footer */
.stats {
  width: 100%;
  max-width: 940px;
  margin-top: clamp(28px, 4vh, 48px);
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(22px, 3vw, 33px);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-value {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin-bottom: 2px;
}

.stat-label {
  font-family: var(--font-sans);
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 12.5px);
  font-weight: 400;
  line-height: 1.3;
}

/* ==========================================================================
   GENERIC SECTION ARCHITECTURE (Full-Bleed with Distinctive Backgrounds)
   ========================================================================== */
.section {
  width: 100%;
  padding: clamp(80px, 12vh, 140px) clamp(16px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  contain: paint;
  isolation: isolate;
}

.section > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

/* SECTION 2: ABOUT THE ARCHITECT (#about) — 3D White Solar System */
#about {
  background-color: #000000;
  isolation: isolate;
  contain: paint;
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 65%),
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 28px 28px;
}

#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  z-index: 1;
}

/* 3D Pure White Solar System Backdrop (Hardware-Accelerated, High-Visibility) */
.solar-system-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  margin: 0 !important;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tilted 3D Orbital Plane */
.solar-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1600px;
  height: 1600px;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-20deg);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Central Luminous White Sun Star (Optimized GPU Rasterization) */
.sun-star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%) rotateX(-58deg);
  box-shadow:
    0 0 20px 6px #ffffff,
    0 0 50px 15px rgba(255, 255, 255, 0.85),
    0 0 90px 25px rgba(255, 255, 255, 0.3);
  z-index: 10;
}

/* Universal High-Contrast Orbit Track (Hardware Accelerated) */
.orbit-track {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  transform: translate(-50%, -50%);
  will-change: transform;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.18),
    inset 0 0 10px rgba(255, 255, 255, 0.06);
}

/* Universal Planet with Radiant Halo */
.planet {
  position: absolute;
  top: 50%;
  left: 100%;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 8px 2px #ffffff,
    0 0 18px 4px rgba(255, 255, 255, 0.7);
}

/* Luminous Orbital Motion Trail (Pure gradient, zero-lag filter-free) */
.planet::after {
  content: "";
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: var(--trail-w, 2px);
  height: var(--trail-h, 35px);
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.15) 70%, transparent);
  transform: translateX(-50%);
  border-radius: 999px;
  pointer-events: none;
}

/* Specific Orbit Dimensions & Very Slow Majestic Orbital Velocities */
.orbit-1 {
  width: 170px;
  height: 170px;
  border-color: rgba(255, 255, 255, 0.52);
  animation: solarOrbitRotate 38s linear infinite;
}
.planet-1 {
  width: 7px;
  height: 7px;
  --trail-h: 22px;
  --trail-w: 1.5px;
}

.orbit-2 {
  width: 290px;
  height: 290px;
  border-color: rgba(255, 255, 255, 0.44);
  animation: solarOrbitRotate 62s linear infinite;
}
.planet-2 {
  width: 10px;
  height: 10px;
  --trail-h: 28px;
  --trail-w: 2px;
}

.orbit-3 {
  width: 440px;
  height: 440px;
  border-color: rgba(255, 255, 255, 0.55);
  animation: solarOrbitRotate 88s linear infinite;
}
.planet-3 {
  width: 13px;
  height: 13px;
  --trail-h: 36px;
  --trail-w: 2.2px;
}

/* Earth's White Moon */
.moon-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%);
  animation: solarOrbitRotate 14s linear infinite;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}
.moon {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px 2px #ffffff;
}

.orbit-4 {
  width: 620px;
  height: 620px;
  border-color: rgba(255, 255, 255, 0.42);
  animation: solarOrbitRotate 125s linear infinite;
}
.planet-4 {
  width: 9px;
  height: 9px;
  --trail-h: 30px;
  --trail-w: 2px;
}

.orbit-5 {
  width: 840px;
  height: 840px;
  border-color: rgba(255, 255, 255, 0.48);
  animation: solarOrbitRotate 175s linear infinite;
}
.planet-5 {
  width: 24px;
  height: 24px;
  box-shadow:
    0 0 16px 4px #ffffff,
    0 0 36px 10px rgba(255, 255, 255, 0.75),
    0 0 65px 20px rgba(255, 255, 255, 0.35);
  --trail-h: 60px;
  --trail-w: 3px;
}

.orbit-6 {
  width: 1080px;
  height: 1080px;
  border-color: rgba(255, 255, 255, 0.46);
  animation: solarOrbitRotate 240s linear infinite;
}
.planet-6 {
  width: 18px;
  height: 18px;
  box-shadow:
    0 0 14px 3px #ffffff,
    0 0 28px 8px rgba(255, 255, 255, 0.65);
  --trail-h: 50px;
  --trail-w: 2.5px;
}

/* Saturn's Glowing White Rings */
.saturn-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    inset 0 0 6px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.orbit-7 {
  width: 1320px;
  height: 1320px;
  border-color: rgba(255, 255, 255, 0.36);
  border-style: dashed;
  animation: solarOrbitRotate 320s linear infinite;
}
.planet-7 {
  width: 13px;
  height: 13px;
  --trail-h: 42px;
  --trail-w: 2px;
}

.orbit-8 {
  width: 1540px;
  height: 1540px;
  border-color: rgba(255, 255, 255, 0.32);
  animation: solarOrbitRotate 410s linear infinite;
}
.planet-8 {
  width: 13px;
  height: 13px;
  --trail-h: 42px;
  --trail-w: 2px;
}

@keyframes solarOrbitRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* SECTION 3: CAPABILITIES & SOLUTIONS (#work) — Starfield & Shooting Stars */
#work {
  background-color: #030307;
  isolation: isolate;
  contain: paint;
  background-image:
    radial-gradient(ellipse at 50% 45%, rgba(168, 85, 247, 0.08) 0%, transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

#work::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.35), transparent);
  z-index: 1;
}

/* Starfield & Shooting Stars Layer (Hardware-Accelerated, Zero-Lag) */
.stars-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  margin: 0 !important;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Twinkling Starfield Pattern */
.starfield-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
}

.starfield-small {
  background-image:
    radial-gradient(1px 1px at 30px 40px, #ffffff, transparent),
    radial-gradient(1px 1px at 95px 135px, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 170px 50px, #ffffff, transparent),
    radial-gradient(1px 1px at 255px 200px, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 340px 100px, #ffffff, transparent),
    radial-gradient(1px 1px at 430px 240px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 515px 65px, #ffffff, transparent),
    radial-gradient(1px 1px at 605px 165px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 695px 285px, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 785px 120px, #ffffff, transparent),
    radial-gradient(1px 1px at 875px 215px, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 965px 80px, #ffffff, transparent),
    radial-gradient(1px 1px at 1055px 205px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 1145px 145px, #ffffff, transparent);
  background-size: 640px 320px;
  animation: starfieldTwinkle1 6s ease-in-out infinite alternate;
}

.starfield-medium {
  background-image:
    radial-gradient(1.5px 1.5px at 55px 110px, #ffffff, transparent),
    radial-gradient(2px 2px at 195px 225px, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.5px 1.5px at 330px 45px, #ffffff, transparent),
    radial-gradient(2px 2px at 475px 175px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 620px 255px, #ffffff, transparent),
    radial-gradient(2px 2px at 755px 90px, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.5px 1.5px at 900px 205px, #ffffff, transparent),
    radial-gradient(2px 2px at 1035px 290px, rgba(255, 255, 255, 0.9), transparent);
  background-size: 560px 320px;
  animation: starfieldTwinkle2 7.5s ease-in-out infinite alternate;
}

@keyframes starfieldTwinkle1 {
  0% { opacity: 0.5; }
  100% { opacity: 0.95; }
}

@keyframes starfieldTwinkle2 {
  0% { opacity: 0.9; }
  100% { opacity: 0.45; }
}

/* 4-Point Celestial Sparkle Stars */
.sparkle-star {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #ffffff;
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  pointer-events: none;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.sparkle-1 { top: 8%; left: 16%; animation: sparklePulse 4.5s ease-in-out infinite alternate; }
.sparkle-2 { top: 18%; right: 14%; animation: sparklePulse 5.5s ease-in-out infinite alternate 1.2s; width: 17px; height: 17px; }
.sparkle-3 { top: 54%; left: 5%; animation: sparklePulse 4s ease-in-out infinite alternate 2s; width: 11px; height: 11px; }
.sparkle-4 { bottom: 16%; right: 7%; animation: sparklePulse 5s ease-in-out infinite alternate 0.8s; width: 15px; height: 15px; }
.sparkle-5 { top: 6%; left: 60%; animation: sparklePulse 6s ease-in-out infinite alternate 2.8s; width: 12px; height: 12px; }

@keyframes sparklePulse {
  0% { transform: scale(0.65) rotate(0deg); opacity: 0.35; }
  50% { transform: scale(1.15) rotate(45deg); opacity: 1; }
  100% { transform: scale(0.7) rotate(90deg); opacity: 0.45; }
}

/* Shooting Stars Engine (Pure CSS, Hardware Composited) */
.shooting-star {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.shooting-star::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px 2px #ffffff, 0 0 14px 4px rgba(255, 255, 255, 0.85);
}

/* Direction: Down-Right at ~38deg */
.shooting-star-dir-right {
  width: 140px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 40%, rgba(255, 255, 255, 0.85) 85%, #ffffff 100%);
}
.shooting-star-dir-right::after {
  right: 0;
}

/* Direction: Down-Left at ~-142deg */
.shooting-star-dir-left {
  width: 140px;
  background: linear-gradient(270deg, transparent 0%, rgba(255, 255, 255, 0.25) 40%, rgba(255, 255, 255, 0.85) 85%, #ffffff 100%);
}
.shooting-star-dir-left::after {
  left: 0;
}

/* Individual Shooting Star Placements & Staggered Timing */
.shooting-star-1 {
  top: 6%;
  left: 8%;
  animation: shootRight 8s linear infinite 0.6s;
}

.shooting-star-2 {
  top: 24%;
  left: 48%;
  animation: shootRight 11s linear infinite 4.2s;
}

.shooting-star-3 {
  top: 44%;
  left: 14%;
  animation: shootRight 9.5s linear infinite 7.5s;
}

.shooting-star-4 {
  top: 8%;
  right: 12%;
  animation: shootLeft 12s linear infinite 2.2s;
}

.shooting-star-5 {
  top: 38%;
  right: 18%;
  animation: shootLeft 10.5s linear infinite 5.8s;
}

.shooting-star-6 {
  top: 14%;
  left: 28%;
  animation: shootRight 13s linear infinite 9.6s;
}

@keyframes shootRight {
  0% {
    transform: translate3d(0, 0, 0) rotate(38deg) scaleX(0);
    opacity: 0;
  }
  6% {
    transform: translate3d(50px, 39px, 0) rotate(38deg) scaleX(1);
    opacity: 1;
  }
  20% {
    transform: translate3d(240px, 187px, 0) rotate(38deg) scaleX(1);
    opacity: 0.9;
  }
  30% {
    transform: translate3d(360px, 281px, 0) rotate(38deg) scaleX(0.2);
    opacity: 0;
  }
  100% {
    transform: translate3d(360px, 281px, 0) rotate(38deg) scaleX(0);
    opacity: 0;
  }
}

@keyframes shootLeft {
  0% {
    transform: translate3d(0, 0, 0) rotate(-38deg) scaleX(0);
    opacity: 0;
  }
  6% {
    transform: translate3d(-50px, 39px, 0) rotate(-38deg) scaleX(1);
    opacity: 1;
  }
  20% {
    transform: translate3d(-240px, 187px, 0) rotate(-38deg) scaleX(1);
    opacity: 0.9;
  }
  30% {
    transform: translate3d(-360px, 281px, 0) rotate(-38deg) scaleX(0.2);
    opacity: 0;
  }
  100% {
    transform: translate3d(-360px, 281px, 0) rotate(-38deg) scaleX(0);
    opacity: 0;
  }
}

/* SECTION 3.5: FEATURED PRODUCTION PROJECTS (#projects) */
#projects {
  background-color: #020308;
  isolation: isolate;
  contain: paint;
  background-image:
    radial-gradient(ellipse at 50% 25%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 75%, rgba(245, 158, 11, 0.06) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

#projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
  z-index: 1;
}

/* SECTION 4: INTERACTIVE CALENDAR BOOKING (#booking) — Orbital Spotlight & Dot Grid */
#booking {
  background-color: #020308;
  isolation: isolate;
  contain: paint;
  background-image:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 100% 100%, 36px 36px;
}

#booking::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  z-index: 1;
}

/* Booking Section White Neon Gradient Circles Backdrop (Zero-Lag, Hardware-Accelerated) */
.booking-neon-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  margin: 0 !important;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.neon-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

.neon-circle-1 {
  top: 8%;
  left: 4%;
  width: clamp(340px, 36vw, 540px);
  height: clamp(340px, 36vw, 540px);
  border: 1.5px solid rgba(255, 255, 255, 0.36);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 55%, transparent 75%);
  box-shadow:
    0 0 35px rgba(255, 255, 255, 0.25),
    0 0 70px rgba(255, 255, 255, 0.1),
    inset 0 0 35px rgba(255, 255, 255, 0.12);
  animation: neonFloat1 20s ease-in-out infinite alternate;
}

.neon-circle-2 {
  bottom: 8%;
  right: 3%;
  width: clamp(300px, 32vw, 480px);
  height: clamp(300px, 32vw, 480px);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.025) 50%, transparent 75%);
  box-shadow:
    0 0 30px rgba(255, 255, 255, 0.22),
    0 0 65px rgba(255, 255, 255, 0.08),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
  animation: neonFloat2 24s ease-in-out infinite alternate;
}

.neon-circle-3 {
  top: 22%;
  left: 14%;
  width: clamp(180px, 20vw, 280px);
  height: clamp(180px, 20vw, 280px);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 68%);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  animation: neonFloat3 16s ease-in-out infinite alternate;
}

.neon-circle-4 {
  top: 2%;
  left: 46%;
  width: clamp(220px, 22vw, 320px);
  height: clamp(220px, 22vw, 320px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 60%, transparent 80%);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.16);
  animation: neonFloat4 22s ease-in-out infinite alternate;
}

@keyframes neonFloat1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate3d(24px, -18px, 0) scale(1.04);
    opacity: 1;
  }
  100% {
    transform: translate3d(-16px, 14px, 0) scale(0.97);
    opacity: 0.8;
  }
}

@keyframes neonFloat2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate3d(-20px, 22px, 0) scale(1.05);
    opacity: 0.98;
  }
  100% {
    transform: translate3d(18px, -14px, 0) scale(0.96);
    opacity: 0.75;
  }
}

@keyframes neonFloat3 {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    opacity: 0.75;
  }
  100% {
    transform: translate3d(16px, 20px, 0) rotate(180deg) scale(1.08);
    opacity: 1;
  }
}

@keyframes neonFloat4 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.65;
  }
  100% {
    transform: translate3d(-22px, 16px, 0) scale(1.06);
    opacity: 0.9;
  }
}

/* SECTION 5: INITIATE CONNECTION & WHATSAPP (#contact) — Geometric White Grid */
#contact {
  background-color: #000000;
  isolation: isolate;
  contain: paint;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  z-index: 1;
}

/* Contact Section Ambient Background Particles Canvas (GPU-Accelerated) */
.contact-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  margin: 0 !important;
  pointer-events: none;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(36px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background-color: var(--trust-bg);
  border: 1px solid var(--trust-border);
  color: var(--trust-text);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 64px);
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-desc {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
  font-weight: 400;
}

/* Base Dark Glass Card (Optimized Hardware Blur) */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  padding: clamp(24px, 4vw, 36px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   ABOUT SECTION (#about)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

/* Scoped Translucent Smoked Glass for #about cards with zero-cost backdrop */
#about .glass-card {
  background: rgba(12, 12, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), inset 0 0 24px rgba(255, 255, 255, 0.03);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#about .glass-card:hover {
  background: rgba(16, 16, 22, 0.8);
  border-color: rgba(255, 255, 255, 0.32);
}

#about .highlight-row {
  background: rgba(28, 28, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#about .tech-pill {
  background: rgba(30, 30, 38, 0.75);
}

.about-bio h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.about-bio p {
  color: #c4c2c3;
  font-size: clamp(14px, 1.4vw, 15.5px);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 16px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.highlight-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(40, 40, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.highlight-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.highlight-text p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Tech Stack Container */
.stack-box h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.stack-group {
  margin-bottom: 22px;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--pill-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  color: #ffffff;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tech-pill:hover {
  background: #36363a;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.tech-pill i {
  font-size: 13px;
  opacity: 0.85;
}

/* ==========================================================================
   CAPABILITIES / SERVICES SECTION (#work)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-num {
  font-family: var(--font-display);
  font-size: 26px;
  color: rgba(255, 255, 255, 0.4);
}

.service-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pill-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 18px;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.service-body p {
  color: #c4c2c3;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 18px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Mini Capabilities & Growth Features Grid */
.mini-services-container {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-services-header {
  margin-bottom: 24px;
}

.mini-services-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.mini-services-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  color: #ffffff;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.mini-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mini-service-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.mini-service-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.05);
}

.mini-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 16px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mini-service-card:hover .mini-card-icon {
  transform: scale(1.06);
  background: #ffffff;
  color: #000000;
}

.mini-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.mini-card-header h4 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.mini-card-content p {
  color: #a1a1aa;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

/* Free Badge for AI Consultancy */
.free-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  flex-shrink: 0;
}

.mini-card-highlight {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

/* ==========================================================================
   PRODUCTION PROJECTS SECTION (#projects)
   ========================================================================== */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.project-showcase-card {
  padding: clamp(22px, 3.5vw, 36px);
  background: rgba(14, 15, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(59, 130, 246, 0.12);
}

.project-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.project-badge-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.project-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.project-type-badge i {
  color: #60a5fa;
  font-size: 13px;
}

.project-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: waPulse 2s infinite;
}

.project-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #000000;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.project-ext-link:hover {
  transform: translateY(-2px);
  background: #f4f4f5;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

.project-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

/* Browser Frame Mockup */
.browser-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0d111a;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease;
}

.project-showcase-card:hover .browser-frame {
  border-color: rgba(255, 255, 255, 0.35);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(25, 27, 36, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots .dot {
  width: 9.5px;
  height: 9.5px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-address {
  flex: 1;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(10, 12, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: monospace;
  font-size: 11px;
  color: #a1a1aa;
}

.browser-address i {
  font-size: 10px;
  color: #22c55e;
}

.browser-actions {
  color: #71717a;
  font-size: 11px;
}

.browser-screen {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000000;
  text-decoration: none;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-screen:hover .project-img {
  transform: scale(1.04);
}

.browser-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.browser-screen:hover .browser-overlay {
  opacity: 1;
}

.overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(8px);
  transition: transform 0.25s ease;
}

.browser-screen:hover .overlay-btn {
  transform: translateY(0);
}

/* Technical Details Col */
.project-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.project-summary {
  color: #c4c2c3;
  font-size: 13.5px;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 18px;
}

.project-summary strong {
  color: #ffffff;
  font-weight: 600;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.metric-val {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.metric-lbl {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.project-feature-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #d1d5db;
  line-height: 1.5;
}

.feature-bullet i {
  color: #22c55e;
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-bullet strong {
  color: #ffffff;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   INTERACTIVE CALENDAR BOOKING SECTION (#booking)
   ========================================================================== */
.booking-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

/* Calendar Card */
.calendar-card {
  padding: clamp(20px, 3.5vw, 32px);
}

.calendar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.cal-month-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: #ffffff;
}

.cal-nav-buttons {
  display: flex;
  gap: 8px;
}

.cal-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pill-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cal-nav-btn:hover {
  background: #36363a;
  transform: scale(1.05);
}

/* Calendar Days Grid */
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 12px;
}

.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.cal-day:hover:not(.disabled):not(.selected) {
  background: rgba(255, 255, 255, 0.12);
}

.cal-day.today {
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cal-day.selected {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
}

.cal-day.disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

/* Time Slot Selection */
.slots-section {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slots-title {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 10px;
}

.time-slot-btn {
  background: var(--pill-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-slot-btn:hover {
  background: #36363a;
  border-color: rgba(255, 255, 255, 0.35);
}

.time-slot-btn.selected {
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.38);
}

/* Booking Form Card */
.booking-form-card {
  padding: clamp(20px, 3.5vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.booking-summary-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(40, 40, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  margin-bottom: 22px;
}

.booking-summary-badge i {
  color: #ffffff;
  font-size: 18px;
}

.booking-summary-text h5 {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 600;
}

.booking-summary-text p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #c4c2c3;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Confirm Appointment Button with Animated Rainbow Neon Stroke & Aura */
.booking-submit-btn {
  position: relative;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  color: #000000;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  padding: 13.5px 20px;
  border-radius: 999px;
  border: 2.5px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, #ff0055, #ff6b00, #ffea00, #00ff66, #00f0ff, #7928ca, #ff00aa, #ff0055) border-box;
  background-size: 100% 100%, 300% 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  animation:
    rainbowNeonFlow 9s linear infinite,
    rainbowNeonAura 9s linear infinite;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.booking-submit-btn i,
.booking-submit-btn span {
  position: relative;
  z-index: 1;
}

.booking-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 20px rgba(255, 0, 128, 0.65),
    0 0 38px rgba(0, 240, 255, 0.45);
}

.booking-submit-btn:active {
  transform: translateY(0);
}

@keyframes rainbowNeonFlow {
  0% {
    background-position: 0 0, 0% 50%;
  }
  100% {
    background-position: 0 0, 300% 50%;
  }
}

@keyframes rainbowNeonAura {
  0% {
    box-shadow:
      0 0 14px rgba(255, 0, 85, 0.45),
      0 0 28px rgba(255, 107, 0, 0.3);
  }
  20% {
    box-shadow:
      0 0 14px rgba(255, 234, 0, 0.45),
      0 0 28px rgba(0, 255, 102, 0.3);
  }
  40% {
    box-shadow:
      0 0 14px rgba(0, 240, 255, 0.45),
      0 0 28px rgba(121, 40, 202, 0.3);
  }
  60% {
    box-shadow:
      0 0 14px rgba(121, 40, 202, 0.45),
      0 0 28px rgba(255, 0, 170, 0.3);
  }
  80% {
    box-shadow:
      0 0 14px rgba(255, 0, 170, 0.45),
      0 0 28px rgba(255, 0, 85, 0.3);
  }
  100% {
    box-shadow:
      0 0 14px rgba(255, 0, 85, 0.45),
      0 0 28px rgba(255, 107, 0, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-btn,
  .booking-submit-btn,
  .neon-circle,
  .starfield-layer,
  .sparkle-star,
  .shooting-star,
  .orbit-track,
  .moon-track,
  .portrait-frame,
  .status-dot,
  .emoji-item {
    animation: none;
  }
}

.booking-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.booking-success-box {
  text-align: center;
  padding: 24px 18px;
  animation: ticketReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ticketReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin: 0 auto 12px;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.15);
}

.success-ref-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.booking-success-title {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}

.booking-success-desc {
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.55;
  margin: 0 auto 18px;
  max-width: 380px;
}

/* Confirmed Details Ticket Card */
.booking-ticket-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.booking-ticket-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.ticket-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.ticket-label {
  color: #8e8e93;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.ticket-label i {
  font-size: 12px;
  color: #c4c2c3;
}

.ticket-value {
  color: #ffffff;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

/* Zero-Redirect Confirmation Action Buttons */
.booking-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-ics-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  color: #000000;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.booking-ics-btn:hover {
  transform: translateY(-2px);
  background: #f4f4f5;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.38);
}

.booking-ics-btn:active {
  transform: translateY(0);
}

.booking-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 500;
  font-family: inherit;
  color: #c4c2c3;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.booking-reset-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   CONTACT & WHATSAPP SECTION (#contact)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

/* Direct Channels Card */
.channels-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Featured WhatsApp Card */
.whatsapp-featured-card {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(25, 25, 27, 0.7) 100%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 20px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.wa-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #25d366;
}

.wa-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 10px #25d366;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px #25d366; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.wa-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 6px;
}

.wa-desc {
  font-size: 13px;
  color: #c4c2c3;
  line-height: 1.5;
  margin-bottom: 18px;
}

.wa-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25d366;
  color: #000000;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.55);
}

/* Contact Info Items */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(40, 40, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: #ffffff;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.info-item-link:hover {
  background: rgba(50, 50, 54, 0.7);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pill-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #ffffff;
}

.info-details h5 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2px;
}

.info-details p {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 500;
  margin: 0;
}

/* Message Form Card */
.message-form-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  color: #ffffff;
  margin-bottom: 8px;
}

.message-form-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(32px, 5vh, 48px) clamp(16px, 3vw, 32px);
  margin-top: 40px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 20px;
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

/* ==========================================================================
   SHARED ENTRANCE ANIMATIONS
   ========================================================================== */
.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--d, 0s) + 0.7s);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.headline.anim {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

@keyframes revealPulse {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(6px);
  }
  65% {
    opacity: 1;
    transform: translateY(-1px) scale(1.015);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ==========================================================================
   SCROLL REVEAL & FADE-IN ANIMATIONS (Additional 0.7s Delay for Recognizability)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.7s;
  will-change: opacity, transform, filter;
}

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

/* Staggered delay modifiers for grid cards (+0.7s base delay) */
.scroll-reveal[data-delay="1"] {
  transition-delay: 0.78s;
}
.scroll-reveal[data-delay="2"] {
  transition-delay: 0.86s;
}
.scroll-reveal[data-delay="3"] {
  transition-delay: 0.94s;
}
.scroll-reveal[data-delay="4"] {
  transition-delay: 1.02s;
}
.scroll-reveal[data-delay="5"] {
  transition-delay: 1.10s;
}
.scroll-reveal[data-delay="6"] {
  transition-delay: 1.18s;
}
.scroll-reveal[data-delay="7"] {
  transition-delay: 1.26s;
}
.scroll-reveal[data-delay="8"] {
  transition-delay: 1.34s;
}

/* ==========================================================================
   SCRAMBLE TEXT REVEAL STYLES
   ========================================================================== */
.scramble-text {
  display: inline-block;
  will-change: contents;
}

/* ==========================================================================
   SECTION 6: ABOUT ME (#about-me)
   ========================================================================== */
#about-me {
  background-color: #000000;
  isolation: isolate;
  contain: paint;
  background-image:
    radial-gradient(ellipse at 25% 45%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 65%, rgba(255, 255, 255, 0.025) 0%, transparent 60%);
}

#about-me::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  z-index: 1;
}

/* Ambient Pure White Constellation Backdrop (100% Vector Font, Zero-Lag) */
.emoji-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  margin: 0 !important;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  contain: strict;
  transform: translateZ(0);
}

.emoji-item {
  position: absolute;
  font-size: var(--size, 20px);
  line-height: 1;
  color: #ffffff;
  opacity: var(--op, 0.2);
  user-select: none;
  pointer-events: none;
  transform: translateZ(0);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

.personal-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Portrait Card (Left) */
.portrait-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px;
}

#about-me .portrait-card,
#about-me .personal-story-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(14, 14, 18, 0.94);
  contain: paint;
  transform: translateZ(0);
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.22);
  margin-bottom: 22px;
  transform: translateZ(0);
  isolation: isolate;
  contain: paint;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portrait-card:hover .portrait-frame {
  border-color: #ffffff;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.55),
    0 0 24px rgba(255, 255, 255, 0.28),
    inset 0 0 10px rgba(255, 255, 255, 0.15);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.06);
  transform-origin: center 25%;
  display: block;
  transition: transform 0.4s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.portrait-card:hover .portrait-img {
  transform: scale(1.12);
}

.portrait-glow {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.15);
  pointer-events: none;
  border-radius: 20px;
}

.status-pill {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 8, 12, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 11.5px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.status-dot {
  width: 7.5px;
  height: 7.5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e, 0 0 14px rgba(34, 197, 94, 0.6);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.portrait-meta {
  width: 100%;
}

.portrait-name {
  font-family: var(--font-display);
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.portrait-role {
  font-size: 13.5px;
  color: #c4c2c3;
  margin-bottom: 14px;
  font-weight: 400;
}

.portrait-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  color: #ffffff;
  font-weight: 500;
}

.portrait-location i {
  color: #ffffff;
  font-size: 13px;
}

/* Personal Story Card (Right) */
.personal-story-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 36px);
}

.narrative-heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.personal-narrative p {
  color: #c4c2c3;
  font-size: clamp(14px, 1.35vw, 15px);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 14px;
}

.personal-narrative p strong {
  color: #ffffff;
  font-weight: 600;
}

/* Personal Facts Grid */
.personal-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.fact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(24, 24, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.fact-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(36, 36, 44, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.fact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

.fact-content {
  display: flex;
  flex-direction: column;
}

.fact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 2px;
}

.fact-value {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.personal-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid,
  .booking-container,
  .contact-grid,
  .personal-grid,
  .project-main-grid {
    grid-template-columns: 1fr;
  }

  .project-metrics {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
  }

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

  .portrait-card {
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 580px) {
  .personal-facts-grid,
  .mini-services-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav-mobile-toggle {
    display: block;
  }

  .headline-line {
    letter-spacing: -0.08em;
    line-height: 1.06;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  :root {
    --trust-size: 34px;
  }

  .trust-pill {
    font-size: 12px;
  }

  .headline-line {
    letter-spacing: -0.09em;
    line-height: 1.04;
  }

  .cal-day {
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn,
  .secondary-btn {
    width: 100%;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .anim,
  .scroll-reveal,
  .headline-line {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}
