/*
 * aivideogeneratorporn.pw - Main Stylesheet
 * Unique green/red gradient design
 */

:root {
  --primary-color: #65E49E;
  --secondary-color: #E93535;
  --text-color: #333333;
  --light-text: #666666;
  --dark-bg: #1A1A1A;
  --light-bg: #f7f7f7;
  --white: #FFFFFF;
  --border-radius: 10px;
  --box-shadow: 0 10px 25px rgba(101, 228, 158, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
  color: var(--light-text);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

.accent-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.light-accent-text {
  background: linear-gradient(135deg, #FFF, #FFD6D6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 180px;
  height: 50px;
}

.logo-svg {
  width: 100%;
  height: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin: 0 20px;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-menu a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(101, 228, 158, 0.3);
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(101, 228, 158, 0.4);
}

.nav-cta:after {
  display: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 3px;
}

/* Hero Section */
.hero {
  padding: 180px 0 80px;
  background: radial-gradient(circle at 10% 20%, rgba(101, 228, 158, 0.05) 0%, rgba(233, 53, 53, 0.05) 90%);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.hero h1 {
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  font-size: 1.1rem;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 10px 20px rgba(101, 228, 158, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(101, 228, 158, 0.4);
  color: var(--white);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(101, 228, 158, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(101, 228, 158, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(101, 228, 158, 0);
  }
}

.hero-visual {
  text-align: center;
}

.hero-svg {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--white);
}

.features h2 {
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.feature-card {
  background: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(101, 228, 158, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

/* Process Section */
.process {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(101, 228, 158, 0.1), rgba(233, 53, 53, 0.1));
  position: relative;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
}

.step {
  flex: 0 0 calc(33.333% - 40px);
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(101, 228, 158, 0.2);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  margin: 0 auto 20px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(101, 228, 158, 0.3);
}

.step-content h3 {
  margin-bottom: 15px;
}

.accent-bg-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.accent-bg-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 80px;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 80px;
  color: rgba(101, 228, 158, 0.2);
  font-family: serif;
}

.quote {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.user {
  font-weight: 700;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.main-cta-button {
  background-color: var(--white);
  color: var(--secondary-color);
  font-size: 1.1rem;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.main-cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  color: var(--secondary-color);
}

/* Footer */
footer {
  padding: 80px 0 20px;
  background-color: var(--dark-bg);
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  justify-content: space-between;
}

.link-group h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 10px;
}

.link-group a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.link-group a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .process-steps {
    flex-direction: column;
  }
  
  .step {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .step:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 150px 0 50px;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-visual {
    margin-top: 40px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  nav.active {
    right: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
  }
  
  .link-group {
    margin-bottom: 30px;
  }
  
  .link-group:last-child {
    margin-bottom: 0;
  }
}
