/* ============================================================
   ABU SAIEM VFX PORTFOLIO — COMPLETE STYLESHEET
   ============================================================ */

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

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  --bg-900: #030307; /* Deep rich OLED black */
  --bg-800: #08080f; /* Pitch charcoal */
  --bg-700: #0e0e1a; /* Dark gray-blue card back */
  --bg-600: #151528;
  --bg-500: #1e1e36;

  --brand-300: #7dd3fc; /* VFX Cyan / Sky 300 */
  --brand-400: #38bdf8; /* Sky 400 */
  --brand-500: #0ea5e9; /* Sky 500 - signature brand color */
  --brand-600: #0284c7; /* Sky 600 */
  --brand-700: #0369a1; /* Sky 700 */

  --accent-400: #fb923c;
  --accent-500: #f97316;

  --green-400: #4ade80;
  --yellow-400: #facc15;
  --red-400:   #f87171;
  --blue-400:  #60a5fa;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  --shadow-brand: 0 4px 24px rgba(14,165,233,0.22);
  --shadow-brand-lg: 0 8px 40px rgba(14,165,233,0.35);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-card-hover: 0 16px 48px rgba(14,165,233,0.15);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: 0.15s cubic-bezier(0.4,0,0.2,1);
}

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-900);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── SCROLLBAR ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-800); }
::-webkit-scrollbar-thumb { background: var(--brand-500); border-radius: 4px; }

/* ─── TYPOGRAPHY HELPERS ───────────────────────────────── */
.font-display { font-family: 'Outfit', 'Inter', sans-serif; }

/* ─── LAYOUT ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── GLASS MORPHISM ────────────────────────────────────── */
.glass {
  background: rgba(16, 21, 48, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99,102,241,0.15);
}
.glass-light {
  background: rgba(26, 32, 60, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99,102,241,0.1);
}

/* ─── GRADIENT TEXT ─────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #c7d2fe 50%, #6366f1 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-500) 100%);
  box-shadow: var(--shadow-brand-lg);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(99,102,241,0.5);
}
.btn-outline:hover {
  background: rgba(99,102,241,0.12);
  border-color: var(--brand-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.2);
}

/* ─── BADGE ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-brand {
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  color: var(--brand-400);
}
.badge-accent {
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.25);
  color: var(--accent-400);
}
.badge-green {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  color: var(--green-400);
}

/* ─── SECTION HEADERS ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  color: var(--text-primary);
  margin-top: 16px;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── CARD HOVER LIFT ───────────────────────────────────── */
.card-lift {
  transition: transform var(--transition), box-shadow var(--transition);
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── DIVIDER LINE ──────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.2), transparent);
  margin: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@keyframes float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-18px); }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 0 3px var(--brand-500), 0 0 0 6px rgba(99,102,241,0.25), 0 0 30px rgba(99,102,241,0.35); }
  50%      { box-shadow: 0 0 0 3px var(--brand-400), 0 0 0 9px rgba(99,102,241,0.2), 0 0 55px rgba(99,102,241,0.55); }
}
@keyframes bounceSlow {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-7px); }
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(0.9); }
}
@keyframes navIndicator {
  from { width: 0; opacity: 0; }
  to   { width: 100%; opacity: 1; }
}

/* ============================================================
   PREMIUM VFX BACKGROUND (VFX-STUDIO STYLES)
   ============================================================ */
.bg-glow-container {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: -2;
  overflow: hidden;
  background-color: #020205; /* Deep rich cinematic black */
}
.bg-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('/images/bg-main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45; /* Let the colors of the photo shine through */
  pointer-events: none;
  z-index: -4;
  filter: none; /* Keep the original photo colors */
}
.bg-vignette {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 35%, rgba(3, 3, 7, 0.78) 100%),
              linear-gradient(to bottom, rgba(3, 3, 7, 0.3), transparent 15%, transparent 85%, rgba(3, 3, 7, 0.75));
  pointer-events: none;
  z-index: -3;
}
.bg-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  transition: background 0.1s ease;
}
.bg-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  mix-blend-mode: screen;
  pointer-events: none;
}
.blob-1 {
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, #6366f1 0%, transparent 80%);
  animation: float-blob-1 25s infinite alternate ease-in-out;
}
.blob-2 {
  bottom: 10%; right: -5%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, #06b6d4 0%, transparent 80%);
  animation: float-blob-2 30s infinite alternate ease-in-out;
}
.blob-3 {
  top: 40%; left: 40%;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, #ec4899 0%, transparent 80%);
  animation: float-blob-3 20s infinite alternate ease-in-out;
}

#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 5vh) scale(1.1); }
  100% { transform: translate(-3vw, 12vh) scale(0.95); }
}
@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1.05); }
  50% { transform: translate(-10vw, -8vh) scale(0.9); }
  100% { transform: translate(4vw, 4vh) scale(1.1); }
}
@keyframes float-blob-3 {
  0% { transform: translate(0, 0) scale(0.9); }
  50% { transform: translate(-4vw, 6vh) scale(1.05); }
  100% { transform: translate(6vw, -4vh) scale(0.95); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  background: rgba(5, 7, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99,102,241,0.1);
  transition: background var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.nav-logo-text span.accent { color: var(--brand-400); }
.nav-logo-vfx {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-400);
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  letter-spacing: 0.05em;
}
/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
  transition: left var(--transition), right var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
}
.nav-link:hover::after, .nav-link.active::after {
  left: 0; right: 0;
}
/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  box-shadow: var(--shadow-brand);
  transition: all var(--transition);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-500));
  box-shadow: var(--shadow-brand-lg);
  transform: translateY(-2px);
}
/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}
/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(10,13,37,0.97);
  border-bottom: 1px solid rgba(99,102,241,0.1);
  padding: 8px 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(99,102,241,0.06);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: #fff; background: rgba(99,102,241,0.08); }
.mobile-menu-cta {
  margin: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff !important;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 15% 25%, rgba(14, 165, 233, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 85% 75%, rgba(249, 115, 22, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-900) 0%, var(--bg-800) 100%);
}
.hero-video-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.76; /* Highly clear, cinematic visual presence */
  pointer-events: none;
  filter: contrast(102%);
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(3, 3, 7, 0.15) 0%, rgba(3, 3, 7, 0.98) 100%),
    linear-gradient(to right, rgba(3, 3, 7, 0.72) 0%, rgba(3, 3, 7, 0.35) 45%, rgba(3, 3, 7, 0.02) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Dot grid overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(14, 165, 233, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 3;
  padding: 80px 0;
}
/* Hero LEFT */
.hero-left { animation: fadeSlideUp 0.8s ease forwards; }
.hero-available {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(16,21,48,0.75);
  border: 1px solid rgba(74,222,128,0.25);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-400);
  margin-bottom: 28px;
}
.hero-available .dot {
  width: 8px;
  height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.hero-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 7vw, 80px);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 4px 20px rgba(1, 2, 8, 0.9);
}
.hero-name-gradient {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 7vw, 80px);
  line-height: 1.08;
  display: block;
  background: linear-gradient(135deg, #38bdf8 0%, #bae6fd 40%, #0ea5e9 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear infinite;
  filter: drop-shadow(0 4px 10px rgba(1, 2, 8, 0.5));
}
.hero-role {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #38bdf8; /* Match brand VFX cyan */
  margin-top: 8px;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(1, 2, 8, 0.95);
}
.hero-desc {
  font-size: 16px;
  color: #e2e8f0; /* Brighter slate for high readability over video */
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
  text-shadow: 0 2px 10px rgba(1, 2, 8, 0.95);
}
.hero-desc strong { color: var(--text-primary); font-weight: 600; }
.hero-desc .netflix { color: #e50914; font-weight: 700; }
.hero-desc .amazon { color: #ff9900; font-weight: 700; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
/* Mini stats row */
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(99,102,241,0.15);
}
.hero-stat-item .value {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--brand-400);
  line-height: 1;
}
.hero-stat-item .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero RIGHT */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeSlideUp 0.8s 0.15s ease both;
}
/* Rotating ring decorations */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border-style: dashed;
  border-color: rgba(99,102,241,0.18);
}
.hero-ring-1 {
  width: 380px; height: 380px;
  border-width: 1px;
  animation: rotateSlow 20s linear infinite;
}
.hero-ring-2 {
  width: 300px; height: 300px;
  border-width: 1px;
  border-color: rgba(249,115,22,0.1);
  animation: rotateSlow 14s linear infinite reverse;
}
/* Profile image */
.hero-profile-wrap {
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}
.hero-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  animation: glowPulse 3.5s ease-in-out infinite;
}
/* Floating badge: rating */
.hero-badge-rating {
  position: absolute;
  bottom: -16px;
  left: -60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: rgba(10,13,37,0.9);
  border: 1px solid rgba(99,102,241,0.2);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  animation: bounceSlow 3s ease-in-out infinite;
  white-space: nowrap;
}
.hero-badge-rating .icon-wrap {
  width: 40px; height: 40px;
  background: rgba(74,222,128,0.12);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-badge-rating .rating-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  line-height: 1;
}
.hero-badge-rating .rating-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}
/* Floating badge: exp */
.hero-badge-exp {
  position: absolute;
  top: -16px;
  right: -56px;
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  background: rgba(10,13,37,0.9);
  border: 1px solid rgba(99,102,241,0.2);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}
.hero-badge-exp .exp-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--brand-400);
  line-height: 1;
}
.hero-badge-exp .exp-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}
/* Floating badge: response */
.hero-badge-response {
  position: absolute;
  top: 50%;
  right: -70px;
  transform: translateY(-50%);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  backdrop-filter: blur(12px);
}
.hero-badge-response .resp-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-400);
}
.hero-badge-response .resp-sub {
  font-size: 10px;
  color: var(--text-muted);
}

/* ============================================================
   STATS BANNER
   ============================================================ */
#stats-banner {
  position: relative;
  z-index: 1;
  background: var(--bg-800);
  border-top: 1px solid rgba(99,102,241,0.1);
  border-bottom: 1px solid rgba(99,102,241,0.1);
  padding: 24px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(26,32,60,0.6));
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.stat-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-2px);
}
.stat-card .stat-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--brand-400);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-900);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
/* Left — text */
.about-text h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  color: var(--text-primary);
  margin-top: 16px;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-text p strong { color: var(--text-primary); font-weight: 600; }
/* Details grid */
.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.about-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(26,32,60,0.5);
  border: 1px solid rgba(99,102,241,0.1);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}
.about-detail-item:hover { border-color: rgba(99,102,241,0.3); }
.about-detail-icon {
  width: 36px; height: 36px;
  background: rgba(99,102,241,0.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand-400);
}
.about-detail-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.about-detail-value { font-size: 13px; color: var(--text-primary); font-weight: 600; }

/* Right — Feature cards */
.about-cards { display: flex; flex-direction: column; gap: 16px; }
.about-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(16,21,48,0.9), rgba(10,13,37,0.95));
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.about-card:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateX(6px);
  box-shadow: -4px 0 24px rgba(99,102,241,0.1);
}
.about-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-card-icon.green { background: rgba(74,222,128,0.12); color: var(--green-400); }
.about-card-icon.brand { background: rgba(99,102,241,0.12); color: var(--brand-400); }
.about-card-icon.orange { background: rgba(249,115,22,0.12); color: var(--accent-400); }
.about-card-icon.red { background: rgba(248,113,113,0.12); color: var(--red-400); }
.about-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.about-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
/* Stars */
.stars { display: flex; gap: 3px; margin-top: 8px; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-800) 0%, var(--bg-900) 100%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  padding: 28px;
  background: linear-gradient(145deg, rgba(16,21,48,0.9), rgba(10,13,37,0.95));
  border: 1px solid rgba(99,102,241,0.1);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-500), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(99,102,241,0.15);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(99,102,241,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--brand-400);
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(99,102,241,0.2);
  box-shadow: 0 0 20px rgba(99,102,241,0.3);
}
.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.service-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-400);
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   SOFTWARE SECTION
   ============================================================ */
#software {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-800);
}
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.software-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(26,32,60,0.5));
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.software-card:hover {
  border-color: rgba(99,102,241,0.4);
  background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(26,32,60,0.8));
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(99,102,241,0.15);
}
.software-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}
.software-icon.orange { background: rgba(249,115,22,0.15); color: var(--accent-400); }
.software-icon.purple { background: rgba(168,85,247,0.15); color: #c084fc; }
.software-icon.blue   { background: rgba(96,165,250,0.15); color: var(--blue-400); }
.software-icon.indigo { background: rgba(99,102,241,0.15); color: var(--brand-400); }
.software-icon.violet { background: rgba(139,92,246,0.15); color: #a78bfa; }
.software-icon.sky    { background: rgba(56,189,248,0.15); color: #38bdf8; }
.software-card-info h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.software-card-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   WHY CHOOSE ME
   ============================================================ */
#why {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-900);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  padding: 32px 24px;
  text-align: center;
  background: rgba(16,21,48,0.7);
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.why-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(99,102,241,0.15);
}
.why-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: rgba(99,102,241,0.1);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-400);
  transition: all var(--transition);
}
.why-card:hover .why-icon {
  background: rgba(99,102,241,0.2);
  box-shadow: 0 0 24px rgba(99,102,241,0.35);
}
.why-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta {
  position: relative;
  z-index: 1;
  padding: 95px 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(3, 3, 7, 0.4) 0%, rgba(2, 132, 199, 0.32) 100%), 
              url('/images/bg-photo.jpg') no-repeat center center;
  background-size: cover;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
#cta::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-content h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.2;
  text-shadow: 0 4px 15px rgba(2, 2, 8, 0.9);
}
.cta-content p {
  font-size: 18px;
  color: #f1f5f9;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(2, 2, 8, 0.95);
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.btn-white {
  background: #fff;
  color: var(--brand-700);
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover {
  background: #f0f0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-800);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
/* Left */
.contact-info h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text-primary);
  margin-top: 16px;
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(16,21,48,0.6);
  border: 1px solid rgba(99,102,241,0.1);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  transition: all var(--transition);
}
.contact-item:hover {
  border-color: rgba(99,102,241,0.35);
  background: rgba(26,32,60,0.7);
  transform: translateX(4px);
}
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon.blue   { background: rgba(96,165,250,0.12); color: var(--blue-400); }
.contact-item-icon.green  { background: rgba(74,222,128,0.12); color: var(--green-400); }
.contact-item-icon.red    { background: rgba(248,113,113,0.12); color: var(--red-400); }
.contact-item-label { font-size: 11px; color: var(--text-muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item-value { font-size: 15px; color: var(--text-primary); font-weight: 600; }
/* Social links row */
.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-pill {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(16,21,48,0.6);
  border: 1px solid rgba(99,102,241,0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  text-align: center;
}
.social-pill:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.15);
}
.social-pill span { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* Right — form */
.contact-form-wrap {
  padding: 40px;
  background: linear-gradient(145deg, rgba(16,21,48,0.9), rgba(10,13,37,0.95));
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: var(--radius-2xl);
}
.contact-form-wrap h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.contact-form-wrap p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(5,7,26,0.7);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: #0a0d25; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
  box-shadow: var(--shadow-brand);
}
.form-submit:hover {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-500));
  box-shadow: var(--shadow-brand-lg);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  position: relative;
  z-index: 1;
  background: var(--bg-900);
  border-top: 1px solid rgba(99,102,241,0.1);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 16px;
  max-width: 320px;
}
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.footer-links a:hover {
  color: var(--brand-400);
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid rgba(99,102,241,0.1);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-keywords {
  font-size: 11px;
  color: rgba(71,85,105,0.7);
  margin-top: 10px;
  line-height: 2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  border: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-brand-lg);
}

/* ============================================================
   PORTFOLIO / WORK SECTION  — Premium Netflix-style grid
   ============================================================ */
#portfolio {
  position: relative;
  z-index: 1;
  padding: 90px 0 100px;
  background: var(--bg-900);
}

/* ── Grid: 3 equal columns ─────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

/* ── Card ─────────────────────────────────────────────── */
.portfolio-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0d0f1e;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  /* Remove any min-height — let aspect ratio control size */
}
.portfolio-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(99,102,241,0.5);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(99,102,241,0.15);
}
.portfolio-card:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 3px;
}

/* ── Thumbnail container — STRICT 16:9, image fills it ─ */
.portfolio-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   /* enforces exact 16:9 — no padding-top hack */
  overflow: hidden;
  background: #0a0c1a;
}
.portfolio-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease, filter 0.35s ease;
  display: block;
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.06);
  filter: brightness(0.75);
}

/* ── Bottom gradient overlay (always visible) ────────── */
.portfolio-play-overlay {
  position: absolute;
  inset: 0;
  /* gradient: transparent top → dark bottom */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 42%,
    rgba(5,6,20,0.55) 68%,
    rgba(5,6,20,0.92) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.portfolio-card:hover .portfolio-play-overlay {
  background: linear-gradient(
    to bottom,
    rgba(5,6,20,0.1) 0%,
    rgba(5,6,20,0.3) 42%,
    rgba(5,6,20,0.7) 68%,
    rgba(5,6,20,0.95) 100%
  );
}

/* ── Play button — hidden until hover ────────────────── */
.portfolio-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-500); /* Signature VFX Cyan */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
  /* Always visible so users know they are playable videos */
  opacity: 0.88;
  transform: scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
.portfolio-play-btn svg polygon {
  fill: #fff; /* Clean white play triangle */
}
.portfolio-card:hover .portfolio-play-btn {
  opacity: 1;
  transform: scale(1.05);
  background: var(--brand-400); /* Brighter cyan on hover */
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.75);
  translate: -50% -50%;
}
.portfolio-play-btn:active {
  transform: scale(0.92);
  translate: -50% -50%;
}

/* ── Card info — overlaid at the bottom of thumb ─────── */
.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px 18px;
  /* sits on top of the gradient overlay */
  z-index: 2;
}
.portfolio-info h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.portfolio-info p {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.portfolio-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(99,102,241,0.75);
  backdrop-filter: blur(4px);
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── Remove featured (no more oversized card) ─────────── */
.portfolio-featured {
  grid-column: 1 / -1; /* Span full width to highlight showreel */
}
.portfolio-featured .portfolio-thumb {
  aspect-ratio: 21 / 9; /* Cinematic ultra-widescreen layout for hero showreel */
}
@media (max-width: 768px) {
  .portfolio-featured .portfolio-thumb {
    aspect-ratio: 16 / 9;
  }
}

/* ── "Click to watch" hint at top-right ──────────────── */
.portfolio-card::after {
  content: '▶ WATCH';
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.portfolio-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Lightbox ────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(1, 2, 8, 0.96); /* Darker cinema overlay */
  backdrop-filter: blur(20px); /* Richer glass blur */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 24px;
}
#lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-inner {
  width: min(94vw, 1380px); /* Widescreen cinematic big screen */
  max-width: calc((100vh - 150px) * 16 / 9); /* Prevent vertical overflow on laptop/small screens */
  background: #07080f;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(99,102,241,0.22);
  box-shadow: 0 40px 100px rgba(0,0,0,0.9), 0 0 0 1px rgba(99,102,241,0.1);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
  display: flex;
  flex-direction: column;
}
#lightbox.open .lightbox-inner {
  transform: scale(1) translateY(0);
}
/* Thin header bar */
.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lightbox-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}
.lightbox-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.lightbox-close:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.3);
  color: #fff;
}
/* Video 16:9 */
.lightbox-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.lightbox-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* Footer bar with Drive link */
.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 11px 18px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.lightbox-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.lightbox-open-btn:hover {
  color: var(--brand-400);
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
#reviews {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-800);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-700);
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.4);
}
.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.review-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 24px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(99,102,241,0.15);
  color: var(--brand-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.author-info h4 {
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.author-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE — TABLET / MOBILE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid          { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-left          { order: 2; }
  .hero-right         { order: 1; }
  .hero-ctas          { justify-content: center; }
  .hero-stats         { justify-content: center; }
  .hero-desc          { margin-left: auto; margin-right: auto; }

  .hero-badge-rating  { left: 0; bottom: -20px; }
  .hero-badge-exp     { right: 0; top: -20px; }
  .hero-badge-response { display: none; }

  .about-grid         { grid-template-columns: 1fr; gap: 48px; }
  .services-grid      { grid-template-columns: 1fr 1fr; }
  .software-grid      { grid-template-columns: 1fr 1fr; }
  .why-grid           { grid-template-columns: 1fr 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .stats-grid         { grid-template-columns: 1fr 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .portfolio-grid     { grid-template-columns: 1fr 1fr; }
}

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

  .hero-grid       { padding: 40px 0; }
  .hero-img        { width: 220px; height: 220px; }
  .hero-ring-1     { width: 280px; height: 280px; }
  .hero-ring-2     { width: 220px; height: 220px; }

  .services-grid   { grid-template-columns: 1fr; }
  .software-grid   { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr 1fr; }
  .portfolio-grid  { grid-template-columns: 1fr; }
  .reviews-grid    { grid-template-columns: 1fr; }

  .form-row        { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .footer-grid     { grid-template-columns: 1fr; gap: 32px; }

  .about-details   { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .why-grid        { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: 1fr 1fr; }
  .hero-stats      { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .hero-ctas       { flex-direction: column; align-items: center; }
  .btn             { width: 100%; justify-content: center; }
  .cta-btns        { flex-direction: column; align-items: center; }
  .btn-white, .btn-white-outline { width: 100%; justify-content: center; }
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
#team {
  padding: 100px 0;
  position: relative;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.team-card {
  background: var(--bg-700);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(14, 165, 233, 0.1);
}
.team-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}
.team-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
.team-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.team-info .team-role {
  font-size: 13px;
  color: var(--brand-400);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.team-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.team-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
}
.team-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.team-social-link:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.3);
  color: var(--brand-400);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
