/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:       #040d1e;
  --dark2:      #070f27;
  --navy:       #0b1a3d;
  --blue:       #1440a0;
  --blue-light: #2563eb;
  --accent:     #3b82f6;
  --white:      #ffffff;
  --gray:       #94a3b8;
  --gray-dark:  #1e293b;
  --border:     rgba(255,255,255,0.07);
  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, video { max-width: 100%; display: block; }

/* ===========================
   SCROLLBAR
=========================== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--blue-light); border-radius: 4px; }

/* ===========================
   NAV
=========================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  transition: background 0.4s, padding 0.4s;
}

#navbar.scrolled {
  background: rgba(4, 13, 30, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.8rem 5%;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 64px;
  width: auto;
  transition: filter 0.3s;
}
.nav-logo-img:hover {
  filter: drop-shadow(0 0 10px rgba(59,130,246,0.6));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   HERO
=========================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(20, 64, 160, 0.25) 0%, transparent 70%),
    linear-gradient(135deg, #040d1e 0%, #070f27 50%, #0b1a3d 100%);
  overflow: hidden;
  text-align: center;
}

/* animated grid lines background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

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

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
}

.hero-tag {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(5.5rem, 12vw, 11rem);
  line-height: 0.92;
  letter-spacing: 2px;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title span { color: var(--accent); }

.hero-sub {
  margin-top: 1.8rem;
  font-size: 1.35rem;
  color: var(--gray);
  letter-spacing: 3px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
}
.scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  animation: scrollPulse 2s infinite;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue-light);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.4);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ===========================
   SECTION BASE
=========================== */
section { padding: 6rem 5%; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 2px;
}
.section-sub {
  margin-top: 0.8rem;
  color: var(--gray);
  font-size: 1rem;
}

/* ===========================
   PORTFOLIO
=========================== */
#work { background: var(--dark2); }

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.3rem;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

/* Long-form section gets larger cards */
#longformGrid {
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.portfolio-card.hidden { display: none; }

.card-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d1b35;
}

/* Auto-detected vertical videos (9:16) */
.card-media.vertical {
  aspect-ratio: 9/16;
}

.card-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.portfolio-card:hover .card-media video { transform: scale(1.03); }

.card-media iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Placeholder for upcoming projects */
.card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #080f28;
  color: rgba(148,163,184,0.4);
}
.card-placeholder svg { opacity: 0.3; }
.card-placeholder span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.5;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 13, 30, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover .card-overlay { opacity: 1; }

.play-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.play-btn:hover { background: var(--blue-light); border-color: var(--blue-light); }
.play-btn svg {
  width: 22px; height: 22px;
  fill: var(--white);
  margin-left: 4px;
}

.card-info {
  padding: 1.2rem 1.4rem;
}
.card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.card-info h3 {
  margin-top: 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.card-info p { font-size: 0.85rem; color: var(--gray); margin-top: 0.2rem; }

/* ===========================
   VIDEO MODAL
=========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  position: relative;
  width: 100%;
  max-width: 900px;
}
.modal-close {
  position: absolute;
  top: -2.5rem; right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--accent); }

.modal-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.modal-box video {
  width: 100%;
  border-radius: 8px;
  max-height: 80vh;
}

/* ===========================
   SERVICES
=========================== */
#services { background: var(--dark); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11,26,61,0.6), rgba(4,13,30,0.8));
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg {
  width: 26px; height: 26px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ===========================
   STATS
=========================== */
#stats {
  padding: 5rem 5%;
  background: linear-gradient(135deg, var(--navy), var(--dark2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 2px;
  color: var(--accent);
  line-height: 1;
}
.stat-item p {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.5rem;
}

/* ===========================
   CONTACT
=========================== */
#contact { background: var(--dark2); text-align: center; }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.contact-item svg {
  width: 22px; height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.3rem;
}
.contact-item a {
  font-size: 0.95rem;
  color: var(--white);
  transition: color 0.3s;
}
.contact-item a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-group select option { background: var(--dark2); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
  background: rgba(37, 99, 235, 0.06);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(148,163,184,0.5); }

.input-readonly {
  background: rgba(59,130,246,0.06) !important;
  border: 1px solid rgba(59,130,246,0.25) !important;
  color: #60a5fa !important;
  cursor: default;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.input-readonly:focus {
  border-color: rgba(59,130,246,0.25) !important;
  background: rgba(59,130,246,0.06) !important;
}

.form-success {
  display: none;
  text-align: center;
  color: #22c55e;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.form-error {
  display: none;
  text-align: center;
  color: #f87171;
  font-size: 0.88rem;
  margin-top: 0.5rem;
  padding: 0.7rem 1rem;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 2.5rem 5%;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { display: flex; align-items: center; }
.footer-logo-img {
  height: 60px;
  width: auto;
}
.footer-copy { font-size: 0.8rem; color: var(--gray); }
.footer-socials { display: flex; gap: 1.2rem; }
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gray);
  transition: all 0.3s;
}
.footer-socials a:hover {
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(59,130,246,0.35);
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  33%       { transform: translateY(-40px) scale(1.06); }
  66%       { transform: translateY(25px) scale(0.94); }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(59,130,246,0.35), 0 0 60px rgba(59,130,246,0.1); opacity: 0.7; }
  50%       { box-shadow: 0 0 50px rgba(59,130,246,0.7), 0 0 120px rgba(59,130,246,0.25); opacity: 1; }
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   HERO ORBS
=========================== */
.orb-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
}
.hero-orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(37,99,235,0.28) 0%, transparent 70%);
  top: -140px; right: -60px;
  animation: floatOrb 10s ease-in-out infinite;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  bottom: -80px; right: 22%;
  animation: floatOrb 7.5s ease-in-out infinite;
  animation-delay: -3.5s;
}
.hero-orb-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(20,64,160,0.32) 0%, transparent 70%);
  top: 35%; left: 50%;
  animation: floatOrb 13s ease-in-out infinite;
  animation-delay: -7s;
}

/* ===========================
   HERO LENS (Camera / Video Production)
=========================== */
.hero-lens {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 38vw, 450px);
  height: clamp(300px, 38vw, 450px);
  z-index: 2;
  pointer-events: none;
}

/* Rotating outer lens barrel */
.lens-body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(8,16,44,0.97)    0deg,
    rgba(37,99,235,0.22)  55deg,
    rgba(8,16,44,0.97)    110deg,
    rgba(59,130,246,0.15) 175deg,
    rgba(8,16,44,0.97)    230deg,
    rgba(37,99,235,0.2)   295deg,
    rgba(8,16,44,0.97)    360deg
  );
  border: 2px solid rgba(59,130,246,0.22);
  box-shadow:
    0 0 0 6px rgba(6,12,35,0.65),
    0 0 0 7px rgba(59,130,246,0.07),
    0 0 70px rgba(37,99,235,0.38),
    0 0 150px rgba(37,99,235,0.14),
    inset 0 0 70px rgba(10,22,65,0.9);
  animation: lensBodySpin 22s linear infinite;
}

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

/* Static concentric rings (lens elements) */
.lens-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.lens-r1 { width: 86%; height: 86%; border: 1px solid rgba(59,130,246,0.12); }
.lens-r2 { width: 70%; height: 70%; border: 1px solid rgba(59,130,246,0.18); }
.lens-r3 { width: 54%; height: 54%; border: 1px solid rgba(59,130,246,0.28); }
.lens-r4 {
  width: 38%; height: 38%;
  border: 1px solid rgba(59,130,246,0.42);
  background: radial-gradient(circle, rgba(6,12,40,0.9) 0%, rgba(10,22,65,0.7) 100%);
}

/* Rotating aperture (hexagon iris) */
.lens-aperture {
  position: absolute;
  top: 50%; left: 50%;
  width: 26%; height: 26%;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
  background: rgba(4,9,28,0.95);
  animation: apertureRot 18s linear infinite;
}
@keyframes apertureRot {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(-360deg); }
}

/* Glowing lens core */
.lens-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 13%; height: 13%;
  border-radius: 50%;
  background: radial-gradient(circle, #f0f9ff 0%, #bfdbfe 35%, rgba(59,130,246,0.7) 65%, transparent 100%);
  box-shadow:
    0 0 18px rgba(224,242,255,0.95),
    0 0 45px rgba(99,166,255,0.75),
    0 0 100px rgba(59,130,246,0.5),
    0 0 180px rgba(37,99,235,0.25);
  animation: coreGlow 2.8s ease-in-out infinite;
  z-index: 4;
}
@keyframes coreGlow {
  0%, 100% { transform: translate(-50%,-50%) scale(1);    opacity: 0.88; }
  50%       { transform: translate(-50%,-50%) scale(1.22); opacity: 1;    }
}

/* Glass reflection highlight */
.lens-reflex {
  position: absolute;
  top: 11%; left: 14%;
  width: 30%; height: 11%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 100%);
  filter: blur(6px);
  transform: rotate(-28deg);
}

/* Bokeh circles */
.bokeh {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(59,130,246,0.3);
  animation: bokehDrift 7s ease-in-out infinite;
}
.bk1 { width: 28px; height: 28px; top: 4%;   right: 5%;  animation-delay: 0s;    opacity: 0.5; }
.bk2 { width: 15px; height: 15px; top: 18%;  right: -3%; animation-delay: -2s;   opacity: 0.4; background: rgba(59,130,246,0.08); }
.bk3 { width: 22px; height: 22px; bottom: 7%;  right: 3%;  animation-delay: -4s; opacity: 0.45; }
.bk4 { width: 11px; height: 11px; bottom: 22%; left: -1%;  animation-delay: -5s; opacity: 0.35; background: rgba(59,130,246,0.1); }
.bk5 { width: 36px; height: 36px; top: 52%;  right: -6%; animation-delay: -1.5s; opacity: 0.28; }
@keyframes bokehDrift {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-14px) scale(1.08); }
}

/* REC indicator */
.lens-rec {
  position: absolute;
  bottom: 7%; right: 10%;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}
.rec-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 8px rgba(248,113,113,0.85), 0 0 16px rgba(239,68,68,0.4);
  animation: recBlink 1.5s ease-in-out infinite;
}
@keyframes recBlink {
  0%, 100% { opacity: 1;    box-shadow: 0 0 8px rgba(248,113,113,0.85); }
  50%       { opacity: 0.15; box-shadow: 0 0 4px rgba(248,113,113,0.3); }
}

/* ===========================
   MARQUEE STRIP
=========================== */
.marquee-section {
  overflow: hidden;
  padding: 1.3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(7,15,39,0.8);
  position: relative;
}
.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark2), transparent);
}
.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--dark2), transparent);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0 2rem;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(148,163,184,0.6);
  flex-shrink: 0;
}
.marquee-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ===========================
   SECTION HEADER ACCENT
=========================== */
.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 0.8rem auto 0;
}

/* ===========================
   PREMIUM BUTTONS
=========================== */
.btn-primary {
  background: linear-gradient(90deg, var(--blue-light), var(--accent));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.18) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
}
.btn-primary:hover {
  background: linear-gradient(90deg, var(--accent), var(--blue-light));
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(59,130,246,0.55), 0 0 0 1px rgba(59,130,246,0.25);
}

/* ===========================
   ENHANCED PORTFOLIO CARDS
=========================== */
.portfolio-card {
  border: 1px solid transparent;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s, border-color 0.45s;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(59,130,246,0.3),
    0 0 40px rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.3);
}

/* ===========================
   ENHANCED SERVICE CARDS
=========================== */
.service-icon {
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover {
  border-color: rgba(37,99,235,0.5);
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    0 0 35px rgba(37,99,235,0.12);
  background: linear-gradient(135deg, rgba(11,26,61,0.9), rgba(4,13,30,0.95));
}
.service-card:hover .service-icon {
  background: rgba(37,99,235,0.28);
  box-shadow: 0 0 20px rgba(37,99,235,0.35);
  transform: scale(1.08);
}

/* ===========================
   GLOWING STAT NUMBERS
=========================== */
.stat-num {
  text-shadow: 0 0 30px rgba(59,130,246,0.5), 0 0 60px rgba(59,130,246,0.2);
  transition: text-shadow 0.3s;
}
.stat-item:hover .stat-num {
  text-shadow: 0 0 40px rgba(59,130,246,0.85), 0 0 80px rgba(59,130,246,0.35);
}
#stats { position: relative; overflow: hidden; }
#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* ===========================
   APPLE GLASS THEME
=========================== */

/* Navbar: always slightly frosted */
#navbar {
  background: rgba(4,13,30,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#navbar.scrolled {
  background: rgba(4,13,30,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Hero: richer gradient with purple depth */
#hero {
  background:
    radial-gradient(ellipse 40% 55% at 8% 20%,  rgba(100,40,220,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 72% 50%, rgba(20,64,160,0.26) 0%, transparent 70%),
    linear-gradient(135deg, #040d1e 0%, #070f27 55%, #0b1a3d 100%);
}

/* Section gradient overlays */
#work {
  background:
    radial-gradient(ellipse 70% 50% at 15% 60%, rgba(37,99,235,0.06) 0%, transparent 60%),
    var(--dark2);
}
#longform {
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(37,99,235,0.07) 0%, transparent 60%),
    var(--dark);
}
#services {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(37,99,235,0.07) 0%, transparent 55%),
    var(--dark);
}
#contact {
  background:
    radial-gradient(ellipse 70% 50% at 20% 50%, rgba(37,99,235,0.07) 0%, transparent 60%),
    var(--dark2);
}

/* Portfolio card glass */
.portfolio-card {
  background: rgba(11,26,61,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
}

/* Service card glass */
.service-card {
  background: rgba(11,26,61,0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}
.service-card:hover {
  background: rgba(11,26,61,0.65);
  border-color: rgba(59,130,246,0.28);
}

/* Stat items glass panels */
.stat-item {
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  background: rgba(11,26,61,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.055);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.stat-item:hover {
  background: rgba(11,26,61,0.7);
  border-color: rgba(59,130,246,0.2);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 20px rgba(37,99,235,0.12);
}

/* Contact form glass panel */
.contact-form {
  background: rgba(11,26,61,0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 16px;
  padding: 2.5rem;
}

/* Glass form inputs */
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(59,130,246,0.5);
  background: rgba(37,99,235,0.07);
}

/* Modal glass */
.modal-overlay {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-box {
  background: rgba(7,15,39,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem 2rem 1.5rem;
}
.modal-box video { border-radius: 10px; }
.modal-close { top: -0.5rem; right: -0.5rem; }

/* Footer glass */
footer {
  background: rgba(4,13,30,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Lens responsive */
@media (max-width: 1100px) {
  .hero-lens { right: 1%; }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 680px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(4,13,30,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .hamburger { display: flex; z-index: 1000; }
  .form-row { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  #longformGrid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-lens { display: none; }
  .hero-orb-3 { display: none; }
}

/* ===========================
   GRADIENT THEME UPGRADE
=========================== */

/* Gradient text helper */
.grad-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero title span — blue to violet */
.hero-title span {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 60%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero tag — cyan to blue */
.hero-tag {
  background: linear-gradient(90deg, #38bdf8 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section tags — cyan to violet */
.section-tag {
  background: linear-gradient(90deg, #22d3ee 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section h2 — white to light blue */
.section-header h2 {
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section accent underline — full rainbow gradient */
.section-header h2::after {
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  border-radius: 2px;
}

/* Stat numbers — cyan to violet */
.stat-num {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.stat-item:hover .stat-num {
  background: linear-gradient(135deg, #67e8f9 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(139,92,246,0.5));
}

/* Primary button — blue to purple */
.btn-primary {
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);
}
.btn-primary:hover {
  background: linear-gradient(90deg, #7c3aed 0%, #2563eb 100%);
  box-shadow: 0 10px 35px rgba(124,58,237,0.5), 0 0 0 1px rgba(139,92,246,0.3);
}

/* Outline button — gradient border on hover */
.btn-outline:hover {
  border-color: transparent;
  background: linear-gradient(var(--dark), var(--dark)) padding-box,
              linear-gradient(90deg, #3b82f6, #8b5cf6) border-box;
  border: 1px solid transparent;
  color: #a78bfa;
}

/* Filter buttons — gradient on active/hover */
.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  border-color: transparent;
  color: var(--white);
}

/* Card tags — cyan to blue */
.card-tag {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service icon — gradient background */
.service-icon {
  background: linear-gradient(135deg, rgba(37,99,235,0.2) 0%, rgba(124,58,237,0.2) 100%);
  border: 1px solid rgba(139,92,246,0.15);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(37,99,235,0.4) 0%, rgba(124,58,237,0.35) 100%);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 0 25px rgba(124,58,237,0.3);
}

/* Service card top border — gradient */
.service-card::before {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

/* Hero orbs — add purple tones */
.hero-orb-1 {
  background: radial-gradient(circle, rgba(99,66,235,0.32) 0%, rgba(37,99,235,0.18) 40%, transparent 70%);
}
.hero-orb-2 {
  background: radial-gradient(circle, rgba(139,92,246,0.22) 0%, rgba(59,130,246,0.12) 50%, transparent 70%);
}
.hero-orb-3 {
  background: radial-gradient(circle, rgba(168,85,247,0.3) 0%, rgba(124,58,237,0.15) 50%, transparent 70%);
}

/* Scrollbar thumb — gradient (webkit trick) */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
}

/* Marquee dots — gradient glow */
.marquee-dot {
  background: linear-gradient(90deg, #38bdf8, #a78bfa);
  box-shadow: 0 0 6px rgba(139,92,246,0.5);
}

/* Marquee section borders — gradient */
.marquee-section {
  border-top: 1px solid rgba(99,66,235,0.2);
  border-bottom: 1px solid rgba(99,66,235,0.2);
}

/* Footer border top — gradient */
footer {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(99,66,235,0.4), rgba(59,130,246,0.4), transparent) 1;
}

/* Footer social hover — gradient border glow */
.footer-socials a:hover {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(124,58,237,0.15));
  box-shadow: 0 0 18px rgba(139,92,246,0.4), 0 0 6px rgba(59,130,246,0.3);
}

/* Nav link hover — gradient glow */
.nav-links a:hover {
  background: linear-gradient(90deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Play button hover — gradient */
.play-btn:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-color: transparent;
}

/* Stats section background — deeper gradient */
#stats {
  background: linear-gradient(135deg, #040d1e 0%, #0b1a3d 40%, #0d0a2e 70%, #040d1e 100%);
  border-top: 1px solid rgba(99,66,235,0.2);
  border-bottom: 1px solid rgba(99,66,235,0.2);
}

/* Hero background — add subtle purple depth */
#hero {
  background:
    radial-gradient(ellipse 40% 55% at 8%  20%, rgba(124,58,237,0.1)  0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(168,85,247,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 72% 50%, rgba(20,64,160,0.24)  0%, transparent 70%),
    linear-gradient(135deg, #040d1e 0%, #070f27 55%, #0b1a3d 100%);
}
