/* --- RESET & GLOBAL CORE BASICS --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: #0a0a0c;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* --- VIDEO EDIT STYLE TIMING TRANSITIONS --- */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  will-change: transform, filter, opacity;
}

.page-enter-right {
  animation: swipeInRight 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.page-exit-left {
  animation: swipeOutLeft 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes swipeInRight {
  0% {
    transform: translateX(100%);
    filter: blur(25px) brightness(1.3);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    filter: blur(0) brightness(1);
    opacity: 1;
  }
}

@keyframes swipeOutLeft {
  0% {
    transform: translateX(0);
    filter: blur(0) brightness(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-100%);
    filter: blur(25px) brightness(0.7);
    opacity: 0;
  }
}

/* --- NAVIGATION HEADER --- */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 30px 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
}

.work-btn {
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 12px 24px;
  border-radius: 4px;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.work-btn:hover {
  transform: translateY(-2px);
  background-color: #e5e5e5;
}

/* --- CINEMATIC BACKGROUND VIDEO ENGINE --- */
.video-background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,12,0.4) 0%, rgba(10,10,12,1) 95%);
  z-index: -1;
}

/* --- HERO BLOCK --- */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-content {
  max-width: 750px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.gradient-text {
  background: linear-gradient(45deg, #ffffff, #888888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

.cta-btn {
  display: inline-block;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  padding: 15px 35px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-btn:hover {
  background-color: #ffffff;
  color: #000000;
}

/* --- RETAINER PACKAGES SECTION --- */
.packages-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}

.section-header p {
  color: #777;
  font-size: 1.1rem;
}

.tier-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.tier-card {
  background-color: #121215;
  border: 1px solid #222225;
  border-radius: 8px;
  padding: 50px 40px;
  width: 100%;
  max-width: 450px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-5px);
  border-color: #44444a;
}

.tier-card.popular {
  border-color: #ffffff;
  background-color: #16161a;
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  color: #000000;
  padding: 5px 15px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  border-radius: 20px;
}

.tier-meta {
  margin-bottom: 35px;
}

.tier-meta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.price {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.price span {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
  letter-spacing: 0px;
}

.tier-features {
  list-style: none;
  margin-bottom: 45px;
  flex-grow: 1;
}

.tier-features li {
  color: #aaa;
  font-size: 0.95rem;
  padding: 12px 0;
  border-bottom: 1px solid #1c1c21;
  position: relative;
  padding-left: 25px;
}

.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: 900;
}

.secure-btn {
  display: block;
  text-align: center;
  background-color: transparent;
  border: 1px solid #333338;
  color: #ffffff;
  text-decoration: none;
  padding: 16px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
/* --- MOBILE RESPONSIVE NAVIGATION FIX --- */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column; /* Stacks logo above the menu links */
    gap: 15px;
    padding: 0 20px;
  }

  nav {
    display: flex !important; /* Forces the hidden menu to show up on mobile */
    flex-wrap: wrap;          /* Allows links to wrap to a new line if needed */
    justify-content: center;
    gap: 15px;                /* Tighter spacing so everything fits on one screen */
  }

  .nav-link {
    font-size: 0.75rem;       /* Slightly smaller text for mobile screens */
    letter-spacing: 1px;
  }

  .work-btn {
    font-size: 0.7rem;
    padding: 8px 16px;        /* Scales down the button size so it doesn't crowd links */
    margin-top: 5px;
  }
  
  /* Adds space at the top of pages so content doesn't collide with the stacked header */
  .hero-section {
    padding-top: 180px !important; 
  }
}


.secure-btn:hover {
  border-color: #ffffff;
  background-color: #ffffff;
  color: #000000;
}

.secure-btn.highlight {
  background-color: #ffffff;
  color: #000000;
  border: none;
}

.secure-btn.highlight:hover {
  background-color: #e5e5e5;
}

/* --- FOOTER ELEMENTS --- */
footer {
  border-top: 1px solid #121215;
  padding: 60px 40px;
  text-align: center;
  margin-top: 50px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
}

.social-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 1;
}

.copyright {
  color: #444;
  font-size: 0.8rem;
}

/* --- RESPONSIVE MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
  .section-header h2 { font-size: 2.2rem; }
  .nav-container { padding: 0 20px; }
  nav { display: none; } /* Add slide out mobile menu later if desired */
  .packages-section { padding: 60px 20px; }
  .tier-card { padding: 35px 25px; }
}
