/* ==========================================================================
   Frame Logic Studios — Core Dark Cosmic Stylesheet
   Designed for High Performance, 0-Glitch Responsiveness, and 4K Displays
   ========================================================================== */

/* Font Declarations */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg-dark: #030307;
  --bg-card: rgba(18, 18, 28, 0.7);
  --bg-card-hover: rgba(26, 26, 42, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-active: rgba(147, 51, 234, 0.5);
  
  --accent-purple: #9333ea;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-glow: rgba(147, 51, 234, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1280px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-dark);
}

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

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

/* Ambient Space Background */
.space-bg-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.space-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.2) contrast(1.1);
}

.space-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(3, 3, 7, 0.3) 0%, rgba(3, 3, 7, 0.88) 75%, var(--bg-dark) 100%);
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-purple), transparent 70%);
  top: -100px;
  left: 20%;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

.glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
  bottom: 10%;
  right: 15%;
  animation: floatGlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(60px) scale(1.15); }
}

/* Top Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 2rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(3, 3, 7, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-emblem {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-emblem {
  transform: scale(1.08) rotate(-3deg);
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

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

/* Sound Toggle Button */
.sound-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sound-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.sound-btn.playing {
  border-color: var(--accent-purple);
  color: #fff;
}

.sound-icon {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.sound-icon .bar {
  width: 2.5px;
  height: 6px;
  background-color: currentColor;
  border-radius: 1px;
}

.sound-btn.playing .bar-1 { animation: soundBar 0.8s ease-in-out infinite alternate; }
.sound-btn.playing .bar-2 { animation: soundBar 1.1s ease-in-out infinite 0.2s alternate; }
.sound-btn.playing .bar-3 { animation: soundBar 0.9s ease-in-out infinite 0.4s alternate; }

@keyframes soundBar {
  0% { height: 4px; }
  100% { height: 14px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0.65rem 1.4rem;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

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

.btn-large {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* Hero Section & Fullscreen Cinematic 3D "M" Video */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
}

.hero-video-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background-color: #030307;
  border: none;
  box-shadow: none;
  z-index: 1;
}

.hero-master-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 550px 300px at 100% 100%, #030307 50%, rgba(3, 3, 7, 0.95) 75%, transparent 100%),
    radial-gradient(ellipse 350px 200px at 0% 100%, #030307 40%, transparent 100%),
    linear-gradient(
      180deg,
      rgba(3, 3, 7, 0.45) 0%,
      rgba(3, 3, 7, 0.05) 35%,
      rgba(3, 3, 7, 0.25) 60%,
      rgba(3, 3, 7, 0.88) 85%,
      var(--bg-dark) 100%
    );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 2s infinite;
}

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

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #a855f7 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Hero Stats Strip */
.hero-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(18, 18, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1rem 2.5rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Cinematic Studio Teaser Reel (Below Hero) */
.teaser-showcase-section {
  position: relative;
  padding: 5rem 1.5rem 3rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(12, 12, 24, 0.75) 50%, var(--bg-dark) 100%);
  text-align: center;
}

.teaser-header {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.teaser-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.teaser-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.teaser-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.teaser-video-stage {
  position: relative;
  max-width: 1100px;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(6, 182, 212, 0.25);
  transition: var(--transition-smooth);
}

.teaser-video-stage:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 60px rgba(6, 182, 212, 0.35);
}

.teaser-cinema-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sections Common */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: var(--text-main);
  color: #000;
  font-weight: 600;
  border-color: var(--text-main);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

/* Portfolio Grid — Ultra Responsive 3x2 Balanced Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-glow);
}

/* Video Aspect Ratio & Container */
.card-video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

/* 9:16 Vertical Reel Ratio */
.card-video-wrapper.aspect-vertical {
  aspect-ratio: 9 / 16;
}

.card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .card-video {
  transform: scale(1.04);
}

.card-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  transition: opacity 0.3s ease;
}

.card-badge {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  color: #fff;
  opacity: 0;
  transition: var(--transition-smooth);
}

.work-card:hover .play-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

.card-tag {
  color: var(--accent-purple);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-stat {
  color: var(--text-subtle);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Transition Banner: Much More To Explore */
.explore-banner-wrapper {
  margin-top: 4.5rem;
  width: 100%;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #030307;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transition: var(--transition-smooth);
}

.explore-banner-wrapper:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.25);
}

.explore-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Visual Systems Cinema Video */
.services-video-showcase {
  position: relative;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 3.5rem;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(6, 182, 212, 0.25);
}

.services-video-player {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Kinetic Track Record Strip: 980+ Delivered */
.track-record-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3rem;
  margin-top: 5rem;
  background: rgba(18, 18, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.track-record-video-box {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  background: #000;
}

.track-record-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.track-badge {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-pink);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.track-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.track-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.track-stats-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.mini-stat {
  display: flex;
  flex-direction: column;
}

.mini-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.mini-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

/* Kinetic Typography Manifesto Video Stage */
.manifesto-video-wrapper {
  position: relative;
  max-width: 1080px;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto 3.5rem;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(168, 85, 247, 0.25);
  transition: var(--transition-smooth);
}

.manifesto-video-wrapper:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 60px rgba(168, 85, 247, 0.35);
}

.manifesto-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3-Step Production Framework */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  position: relative;
}

.process-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.step-num-badge {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-purple);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   LET'S CREATE SOMETHING EXTRAORDINARY — Interactive Master Stage
   ========================================================================== */
.contact-section {
  position: relative;
  padding: 6rem 0 5rem;
}

.extraordinary-stage {
  position: relative;
  width: 100%;
  border-radius: 2.2rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(30, 27, 75, 0.5) 0%, rgba(10, 10, 20, 0.95) 60%, #030307 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), 0 0 60px rgba(168, 85, 247, 0.2);
  padding: 4.5rem 3.5rem 3.5rem;
  backdrop-filter: blur(20px);
}

.stage-ambient-glow {
  position: absolute;
  top: -20%;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), rgba(168, 85, 247, 0.15), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: pulseGlowStage 8s ease-in-out infinite alternate;
}

@keyframes pulseGlowStage {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.15) translate(-30px, 30px); opacity: 1; }
}

/* Header Area */
.extraordinary-header {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.extraordinary-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.extraordinary-title {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #fff;
}

.extraordinary-desc {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 600px;
}

/* Emblem Wrap */
.extraordinary-emblem-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.emblem-halo {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35), rgba(168, 85, 247, 0.2), transparent 70%);
  filter: blur(30px);
  animation: haloPulse 4s ease-in-out infinite alternate;
}

@keyframes haloPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

.extraordinary-emblem {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.4);
  animation: floatEmblem 6s ease-in-out infinite;
}

@keyframes floatEmblem {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.emblem-caption {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  z-index: 2;
}

.emblem-caption span {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #fff;
}

.emblem-caption small {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--accent-purple);
  font-weight: 600;
}

/* 4 Interactive Physics Cards Grid */
.interactive-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
  perspective: 1000px;
}

.contact-physics-card {
  position: relative;
  background: rgba(14, 14, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.4rem;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease,
              background 0.3s ease;
  backdrop-filter: blur(16px);
  min-height: 200px;
}

.contact-physics-card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(6, 182, 212, 0.2);
  background: rgba(20, 20, 36, 0.85);
}

/* Card Cursor Spotlight */
.card-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle 180px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(6, 182, 212, 0.18), transparent 70%);
}

.contact-physics-card:hover .card-spotlight {
  opacity: 1;
}

/* Card Header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-physics-card:hover .card-icon-wrap {
  transform: scale(1.1) translateY(-2px);
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.card-action-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-physics-card:hover .card-action-tag {
  color: #fff;
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.12);
}

.card-action-tag.copied-success {
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  font-weight: 800;
}

/* Card Status Pill */
.card-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}

/* Card Body */
.card-body {
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
}

.card-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  word-break: break-word;
  transition: color 0.2s ease;
}

.contact-physics-card:hover .card-value {
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Card Footer */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}

.card-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.card-arrow {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-physics-card:hover .card-arrow {
  transform: translate(3px, -3px);
  color: var(--accent-cyan);
}

/* Master Actions */
.extraordinary-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.contact-direct-btn {
  font-size: 1.05rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
}

.service-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact Section & Banner */
.contact-section {
  position: relative;
}

.contact-card-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.7), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.contact-card-glow {
  position: absolute;
  top: -50%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent 70%);
  pointer-events: none;
}

.contact-card-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem;
}

.contact-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-purple);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.contact-heading {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.direct-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.direct-item:hover {
  color: var(--accent-cyan);
}

.item-icon {
  font-size: 1.2rem;
}

.contact-badge-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.7));
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 1.5rem;
  background: rgba(3, 3, 7, 0.8);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-emblem {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-copy {
  color: var(--text-subtle);
  font-size: 0.85rem;
}

/* Floating WhatsApp Pill */
.floating-pill {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(18, 18, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(34, 197, 94, 0.25);
  transition: var(--transition-smooth);
}

.floating-pill:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(28, 28, 44, 0.95);
  border-color: rgba(34, 197, 94, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(34, 197, 94, 0.45);
}

.pill-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 1.8s infinite;
}

.pill-icon {
  font-size: 1.15rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
  background: rgba(18, 18, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-video-box {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  transition: aspect-ratio 0.3s ease;
}

.lightbox-content.is-horizontal {
  max-width: 940px;
}

.lightbox-content.is-horizontal .lightbox-video-box {
  aspect-ratio: 16 / 9;
}

.lightbox-video-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-info {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#lightboxTitle {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 900px) {
  .interactive-contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .extraordinary-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .extraordinary-desc {
    margin: 0 auto;
  }
  .extraordinary-emblem-wrap {
    margin-top: 1.5rem;
  }
  .extraordinary-stage {
    padding: 3rem 2rem 2.5rem;
  }
  .track-record-strip {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .track-stats-row {
    justify-content: center;
  }
  .contact-card-inner {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    text-align: center;
  }
  .contact-sub {
    margin: 0 auto 2rem;
  }
  .direct-contact-items {
    align-items: center;
  }
  .contact-action-row {
    display: flex;
    justify-content: center;
  }
  .contact-badge-img {
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 1080px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.25rem;
  }
  .nav-links {
    display: none; /* Mobile cleans up to logo + actions */
  }
  .hero-section {
    min-height: 100vh;
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
    justify-content: flex-end;
  }
  .hero-master-video {
    object-fit: contain;
    object-position: center 30%;
  }
  .hero-stats-strip {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
    width: 100%;
  }
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr; /* Clean single column vertical feed on phones! */
    gap: 2.5rem;
  }
  .floating-pill {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .interactive-contact-grid {
    grid-template-columns: 1fr;
  }
  .extraordinary-stage {
    padding: 2.5rem 1.25rem 2rem;
    border-radius: 1.5rem;
  }
  .extraordinary-title {
    font-size: 2.2rem;
  }
  .extraordinary-actions {
    flex-direction: column;
    width: 100%;
  }
  .contact-direct-btn {
    width: 100%;
    justify-content: center;
  }
}
