/*
Theme Name: Evolve Plus Plus
Description: Simple landing page theme based on Figma design
Version: 1.0
Author: Sego Solutions
*/

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

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #ffffff;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.page-container {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  background: #ffffff;
}

.page-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100vh + 1400px);
  background-image: url('images/background.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Navigation */
.main-header {
  position: relative;
  z-index: 10;
  background: transparent;
  padding: 20px 0;
}

body.mobile-menu-open .main-header {
  z-index: 1001;
}

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

.nav-brand {
  display: flex;
  align-items: center;
}

.logo {
  width: 120px;
  height: 64px;
  background-image: url('images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

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

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
}

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

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-text {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
}

.login-btn {
  background: transparent;
  border: 1px solid #FFD700;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: #FFD700;
  color: #0f0c29;
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  height: 730px;
  position: relative;
  display: flex;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/video-grid.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 1;
  animation: fadeIn 1s ease-in-out 0.5s forwards;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -100px;
  left: -11px;
  width: 800px;
  height: 800px;
  background-image: url('images/john-nobkground.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(-1deg) translateX(100px);
  opacity: 0;
  z-index: 2;
  animation: slideInLeft 1s ease-out 2s forwards;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 0 120px 40px;
  position: relative;
  z-index: 3;
  height: 100%;
}

.hero-title {
  font-size: 40px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0px 4px 4px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 1s ease-out 1s forwards;
}

.video-section {
  flex: 1;
  text-align: center;
  padding: 60px 40px 0 40px;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-title {
  font-size: 40px;
  font-weight: 400;
  color: #ffffff;
  margin: 20px 0;
  text-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}

.video-container {
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 1s ease-out 3s forwards;
}

.video-container video,
.video-container iframe {
  width: 640px;
  height: 360px;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
}

.video-placeholder {
  width: 640px;
  height: 360px;
  background: #000;
  border-radius: 10px;
  margin: 0 auto;
}

.video-title {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 1s ease-out 3.5s forwards;
}

.cta-button {
  background: #FFD700;
  color: #0f0c29;
  padding: 20px 60px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 6;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 1s ease-out 4s forwards;
}

.mobile-cta {
  display: none;
}

.mobile-break {
  display: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: rotate(-1deg) translateX(100px);
  }
  to {
    opacity: 1;
    transform: rotate(-1deg) translateX(0);
  }
}

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

/* Mobile Video Section */
.mobile-video-section {
  display: none;
}

.cta-button:hover {
  background: #FFC700;
  color: #0f0c29;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background: transparent;
  margin-top: -180px;
  position: relative;
  z-index: 4;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.feature-card {
  background: #0f0c29;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
}

.feature-content h3 {
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.feature-line {
  width: 60px;
  height: 2px;
  background: #ffffff;
  margin: 15px auto;
}

.feature-content p {
  color: #ffffff;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 48px;
  color: #2F2FA2;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
  transform: scale(1.1);
}

/* About Section */
.about-section {
  padding: 0 0 100px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.about-container {
  padding: 0 40px;
}

.about-title {
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 50px;
}

.about-title em {
  font-style: italic;
  font-weight: 400;
}

.about-content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text p {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.start-btn {
  background: #FFD700;
  color: #0f0c29;
  padding: 30px 60px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
  margin-top: 30px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.start-btn:hover {
  background: #FFC700;
  color: #0f0c29;
}

.about-image {
  flex: 1;
}

.john-image {
  width: 574px;
  height: 383px;
  background-image: url('images/john-lookingover.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
}

/* Testimonials Section */
.testimonials-section {
  background: #000000;
  padding: 100px 0;
}

.testimonials-bg {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.testimonials-title {
  color: #ffffff;
  font-size: 48px;
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-container {
  overflow: hidden;
  margin-top: 50px;
  position: relative;
}

.testimonials-track {
  display: flex;
  animation: scroll-testimonials 120s linear infinite;
  gap: 40px;
  width: max-content;
}

@keyframes scroll-testimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-480px * 19)); /* 19 unique cards to scroll past (440px width + 40px gap) */
  }
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  background: #121212;
  border-radius: 10px;
  padding: 30px;
  position: relative;
  box-shadow: 0px 4px 23px 10px rgba(0,0,0,0.25);
  width: 440px;
  min-height: 350px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote {
  color: #6c6c6c;
  font-size: 96px;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.4;
  margin-top: 40px;
  text-align: left;
  padding-right: 10px;
}

.testimonial-author {
  color: #FFD700;
  font-size: 16px;
  font-weight: 600;
  text-align: right;
  margin-top: 20px;
  font-style: italic;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  position: relative;
  background: #2b2123;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(180deg);
  z-index: 0;
}

.pricing-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 60px 40px;
  position: relative;
  z-index: 1;
  align-items: end;
}

.pricing-card {
  background: rgba(47,47,162,0.64);
  border: 1px solid #ffffff;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: left;
  position: relative;
}

.pricing-card.featured {
  border: 5px solid #e0e0e0;
  transform: scale(1.15);
  z-index: 2;
}

.pricing-card.annual {
  border: 1px solid #8d8d8d;
}

.pricing-card h3 {
  color: #ffffff;
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 5px;
  line-height: 1;
}

.billing {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1;
}

.offer-text {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1;
}

.price {
  color: #ffffff;
  font-size: 36px;
  margin: 8px 0 5px 0;
  line-height: 1;
}

.price strong {
  font-weight: bold;
}

.price span {
  font-weight: 300;
}

.yearly-price {
  color: #ffffff;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1;
}

.feature {
  color: #e0e0e0;
  font-size: 32px;
  margin: 4px 0;
  line-height: 1;
}

.feature:last-of-type {
  margin-bottom: 24px;
}

.pricing-btn {
  background: #FFD700;
  color: #0f0c29;
  padding: 20px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  display: block;
  margin-top: 20px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-btn:hover {
  background: #FFC700;
  color: #0f0c29;
}

.promo-code {
  color: #ffffff;
  font-size: 16px;
  margin-top: 15px;
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
}

/* Footer */
.main-footer {
  background: #000000;
  padding: 40px 0;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 120px;
  height: 64px;
  background-image: url('images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.copyright {
  color: #ffffff;
  font-size: 16px;
  margin: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1002;
  position: relative;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

.mobile-menu-toggle.active span {
  background: #FFD700;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 30px;
  padding: 40px;
}

.mobile-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #FFD700;
}

.mobile-menu-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(6) { transition-delay: 0.6s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(7) { transition-delay: 0.7s; }
.mobile-menu-overlay.active .mobile-nav-link:nth-child(8) { transition-delay: 0.8s; }

.mobile-auth {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mobile-menu-overlay.active .mobile-auth {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.mobile-auth-text {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
}

.mobile-login-btn {
  background: transparent;
  border: 1px solid #FFD700;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.mobile-login-btn:hover {
  background: #FFD700;
  color: #0f0c29;
}

/* Mobile Header Auth */
.mobile-header-auth {
  display: none;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1001;
}

.mobile-header-login-btn {
  background: transparent;
  border: 1px solid #FFD700;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.mobile-header-login-btn:hover {
  background: #FFD700;
  color: #0f0c29;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 25px;
    margin-left: 40px;
  }
  
  .nav-container {
    padding: 0 15px;
  }
}

@media (max-width: 1000px) {
  /* Disable all animations on mobile except testimonials */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  /* Exception: Allow testimonials animation on mobile */
  .testimonials-track {
    animation: scroll-testimonials-mobile 95s linear infinite !important;
  }
  
  /* Ensure animated elements are visible on mobile */
  .hero-title,
  .video-container,
  .video-title,
  .cta-button,
  .mobile-video-section .video-title,
  .mobile-video-section .video-container {
    opacity: 1 !important;
    transform: none !important;
  }
  
  body {
    overflow-x: hidden;
  }
  
  /* Make header sticky on mobile */
  .main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
  }
  
  /* Add padding to body to account for fixed header */
  body {
    padding-top: 80px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-auth {
    display: none;
  }
  
  .mobile-header-auth {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .logo {
    width: 100px;
    height: 50px;
  }
  
  .main-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
  }
  
  .hero-section {
    order: 1;
  }
  
  .video-section {
    order: 2;
  }
  
  .about-section {
    order: 3;
  }
  
  .features-section {
    order: 4;
  }
  
  .pricing-section {
    order: 5;
  }
  
  .testimonials-section {
    order: 6;
  }
  
  .main-footer {
    order: 7;
  }
  
  .hero-section {
    flex-direction: column;
    text-align: left;
    height: 85vh;
    width: 100vw;
    max-width: 100%;
    background-image: url('images/john-lean-mobile.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-attachment: scroll;
    box-sizing: border-box;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .hero-section::after {
    display: none;
  }
  
  .hero-text {
    width: 100%;
    max-width: 100%;
    padding: 0 20px 20px 20px;
    justify-content: flex-end;
    align-items: flex-start;
    box-sizing: border-box;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .video-section {
    display: none;
  }
  
  .mobile-video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 30px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    order: 2;
    min-height: 100%;
  }
  
  .mobile-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
  }
  
  .mobile-video-section .video-title {
    position: relative;
    z-index: 2;
    margin: 15px 0;
  }
  
  .mobile-video-section .video-container {
    position: relative;
    z-index: 2;
    margin: 15px auto;
    width: 100%;
  }
  
  .mobile-video-section .video-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0 auto;
  }
  
  .mobile-video-section .video-container video,
  .mobile-video-section .video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0 auto;
  }
  
  .video-section .video-container video,
  .video-section .video-container iframe {
    width: 100%;
    max-width: 500px;
    height: 280px;
  }
  
  .mobile-cta {
    display: block;
    width: 100%;
    margin: 20px 0 0 0;
    padding: 20px;
    text-align: center;
    font-size: 20px;
  }
  
  .features-section {
    margin-top: 0;
    padding: 60px 0;
    background: #2F2FA2;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
    justify-items: center;
  }
  
  .feature-card {
    width: 70%;
    max-width: 70%;
  }
  
  .about-section {
    padding: 60px 0 40px 0;
    margin-bottom: 0;
    background: #000000;
  }
  
  .about-title {
    text-align: center;
  }
  
  .mobile-break::before {
    content: '\A';
    white-space: pre;
  }
  
  .about-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .about-text {
    max-width: 100%;
  }
  
  .about-image {
    display: none;
  }
  
  .testimonials-section {
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }
  
  .testimonials-container {
    overflow: hidden;
    margin-top: 30px;
  }

  .testimonials-track {
    gap: 20px;
  }

  @keyframes scroll-testimonials-mobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-300px * 19)); /* 19 unique cards to scroll past (280px width + 20px gap) */
    }
  }

  .testimonial-card {
    width: 280px;
  }
  
  .pricing-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-card.featured {
    transform: none;
    border: 5px solid #e0e0e0;
  }
  
  .promo-code {
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 15px;
    white-space: normal;
  }
}
