/* ==========================================================================
   Base & Reset
   ========================================================================== */
:root {
  --bg-primary: #060b0d;
  --bg-secondary: #091316;
  --bg-card: rgba(10, 24, 28, 0.65);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 245, 160, 0.4);
  
  /* Greenish - Cyan Theme */
  --accent-cyan: #00f2fe;
  --accent-mint: #00f5a0;
  --accent-emerald: #10b981;
  --accent-glow: rgba(0, 245, 160, 0.3);
  
  --text-main: #f0fdfa;
  --text-muted: #8faeb2;
  --text-dim: #557277;
  
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  position: relative;
}

/* Seamless Continuous Global Background Glow (No sharp cutoff edges) */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 8%, rgba(0, 245, 160, 0.09) 0%, rgba(6, 11, 13, 0) 45%),
    radial-gradient(circle at 85% 35%, rgba(0, 242, 254, 0.06) 0%, rgba(6, 11, 13, 0) 50%),
    radial-gradient(circle at 15% 65%, rgba(0, 245, 160, 0.05) 0%, rgba(6, 11, 13, 0) 50%),
    radial-gradient(circle at 50% 90%, rgba(0, 242, 254, 0.08) 0%, rgba(6, 11, 13, 0) 45%);
  pointer-events: none;
  z-index: 0;
}

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

/* ==========================================================================
   Intro Screen Overlay (Fast & Snappy)
   ========================================================================== */
.intro-screen {
  position: fixed;
  inset: 0;
  background-color: #030607;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              visibility 0.6s ease;
}

.intro-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 330px;
  width: 70vw;
}

.intro-logo-wrapper::before {
  content: "";
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.45) 0%, rgba(0, 242, 254, 0.2) 50%, transparent 75%);
  filter: blur(28px);
  opacity: 0;
  transform: translateZ(0);
  animation: introGlowAnim 1.3s ease-in-out forwards;
  pointer-events: none;
}

.intro-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: scale(0.92) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  animation: introLogoSmooth 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes introLogoSmooth {
  0% {
    opacity: 0;
    transform: scale3d(0.88, 0.88, 1) translateZ(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale3d(1.05, 1.05, 1) translateZ(0);
  }
}

@keyframes introGlowAnim {
  0% {
    opacity: 0;
    transform: scale(0.8) translateZ(0);
  }
  45% {
    opacity: 0.9;
    transform: scale(1.15) translateZ(0);
  }
  100% {
    opacity: 0.7;
    transform: scale(1.25) translateZ(0);
  }
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-mint);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, var(--accent-mint) 55%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-mint), var(--accent-cyan));
  color: #041210;
  font-weight: 700;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 245, 160, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

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

.btn-large {
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  max-width: 280px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 14px 0;
  background: rgba(6, 11, 13, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-symbol {
  color: var(--accent-mint);
  font-size: 1.2rem;
}

.logo-tag {
  font-size: 0.7rem;
  background: rgba(0, 245, 160, 0.12);
  color: var(--accent-mint);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 245, 160, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.nav-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--accent-mint);
  color: #041210;
  border-color: var(--accent-mint);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-mint);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ==========================================================================
   9:16 Triptych Showcase
   ========================================================================== */
.hero-showcase-container {
  width: 100%;
  max-width: 960px;
  position: relative;
  z-index: 1;
}

.showcase-triptych {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 20px;
  align-items: center;
}

.showcase-card {
  padding: 8px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.side-card {
  opacity: 0.85;
  transform: scale(0.96);
}

.side-card:hover {
  opacity: 1;
  transform: scale(0.98);
  border-color: var(--border-hover);
}

.center-card {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 245, 160, 0.15);
  border-color: rgba(0, 245, 160, 0.25);
  transform: scale(1.02);
}

.center-card:hover {
  transform: scale(1.04);
  border-color: var(--accent-mint);
}

.vertical-media-box {
  aspect-ratio: 9 / 16;
  width: 100%;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  background: #081114;
}

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

.side-card:hover .showcase-img {
  transform: scale(1.05);
}

.video-preview-wrapper {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.video-preview-wrapper:hover .video-thumb-img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6, 11, 13, 0.3), rgba(6, 11, 13, 0.8));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.play-pulse {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.video-preview-wrapper:hover .play-pulse {
  transform: scale(1.12);
  background: var(--accent-mint);
  color: #041210;
}

.preview-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* ==========================================================================
   Stats Grid
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.stat-card {
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-mint);
  margin-bottom: 8px;
}

.stat-label {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

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

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

.service-card {
  padding: 40px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.25);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.service-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-mint);
}

/* ==========================================================================
   Simplified Vertical Contact Section
   ========================================================================== */
.direct-contact-box {
  max-width: 580px; /* Slimmer portrait container */
  margin: 0 auto;
  padding: 80px 36px; /* Generous vertical padding */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-lead {
  max-width: 440px;
  margin: 0 auto 36px;
  font-size: 1rem;
}

.email-badge-card {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: 999px;
  margin-bottom: 32px;
  max-width: 100%;
  transition: var(--transition);
}

.email-badge-card:hover {
  border-color: rgba(0, 245, 160, 0.3);
}

.email-display {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.email-icon {
  color: var(--accent-mint);
  font-size: 1.1rem;
}

.copy-email-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.copy-email-btn:hover {
  background: var(--accent-mint);
  color: #041210;
}

.contact-cta-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-mint);
}

.footer-bottom {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 20px;
}

/* ==========================================================================
   9:16 Video Modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

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

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

.modal-vertical {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 10px;
}

.modal-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--accent-mint);
}

.vertical-player-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  background: #000000;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.vertical-player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 820px) {
  .showcase-triptych {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .side-card {
    opacity: 1;
    transform: scale(1);
  }

  .center-card {
    transform: scale(1);
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border-color);
    transition: var(--transition);
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1100;
  }

  .direct-contact-box {
    padding: 60px 20px;
  }

  .email-badge-card {
    flex-direction: column;
    gap: 12px;
    border-radius: var(--radius-md);
  }
}