/* ========================================
   VVMG — Viral Video Media Group
   Dark cinematic single-page site
   ======================================== */

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

:root {
  --green: #66FF00;
  --green-dim: #22B573;
  --dark: #0a0a0a;
  --dark-card: #111111;
  --dark-mid: #1a1a1a;
  --gray: #888888;
  --gray-light: #cccccc;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--gray-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

a:hover {
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 40px;
}

.accent {
  color: var(--green);
}

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(102, 255, 0, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.nav-logo:hover {
  color: var(--green);
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--gray-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--green);
}

.nav-cta {
  background: var(--green);
  color: var(--dark) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease) !important;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--dark) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.5) 40%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  border-radius: 50%;
  animation: fadeUp 1s var(--ease) 0.2s both;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeUp 1s var(--ease) 0.4s both;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 40px;
  animation: fadeUp 1s var(--ease) 0.6s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1s var(--ease) 0.8s both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s var(--ease) 1.2s both;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
}

.btn-primary {
  background: var(--green);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 255, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

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

/* ========================================
   Video Modal
   ======================================== */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  transform: scale(0.9);
  transition: transform 0.4s var(--ease);
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-x {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.video-modal-x:hover {
  color: var(--green);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ========================================
   Clients Ticker
   ======================================== */

.clients {
  padding: 64px 0;
  background: var(--dark-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.clients-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 32px;
}

.clients-grid-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 32px;
}

.clients-grid-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ========================================
   About
   ======================================== */

.about {
  padding: 120px 0;
}

.about-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.about-intro .section-title {
  margin-bottom: 24px;
}

.about-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-light);
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 80px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* Founders */

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

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

.founder-image {
  width: 280px;
  height: 280px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--green);
  box-shadow: 0 0 40px rgba(102, 255, 0, 0.1);
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease);
}

.founder-card:hover .founder-image img {
  transform: scale(1.05);
}

.founder-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.founder-role {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.founder-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 360px;
  margin: 0 auto;
}

/* ========================================
   Services
   ======================================== */

.services {
  padding: 120px 0;
  background: var(--dark-mid);
}

.services .section-label,
.services .section-title {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 48px 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 20px 60px rgba(102, 255, 0, 0.06);
}

.service-icon {
  color: var(--green);
  margin-bottom: 24px;
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ========================================
   Work / Reel
   ======================================== */

.work {
  padding: 120px 0;
}

.work .section-label,
.work .section-title {
  text-align: center;
}

.reel-embed {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials {
  padding: 120px 0;
  background: var(--dark-mid);
}

.testimonials .section-label,
.testimonials .section-title {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 40px 32px;
  position: relative;
}

.testimonial-quote {
  font-size: 4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: -10px;
  opacity: 0.3;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ========================================
   Contact
   ======================================== */

.contact {
  padding: 120px 0;
}

.contact-grid {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.contact-cta {
  margin-top: 8px;
}

.contact-item svg {
  color: var(--green);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--gray-light);
}

.contact-item a:hover {
  color: var(--green);
}


/* ========================================
   Footer
   ======================================== */

.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-brand img {
  border-radius: 50%;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray);
}

.footer-social a {
  color: var(--gray);
  transition: color 0.3s var(--ease);
}

.footer-social a:hover {
  color: var(--green);
}

/* ========================================
   Reveal Animations
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.services-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.3s; }

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

@media (max-width: 968px) {
  .founders-grid {
    gap: 40px;
  }

  .founder-image {
    width: 220px;
    height: 220px;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-logo {
    width: 90px;
    height: 90px;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .founder-image {
    width: 200px;
    height: 200px;
  }

  .about-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

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

  .ticker-track img {
    height: 30px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .about,
  .services,
  .work,
  .testimonials,
  .contact {
    padding: 80px 0;
  }
}
