/* 
   AI Video Generator Website Styles
   Domain: aivideo-generator.site
   Fully responsive, SEO-optimized stylesheet
*/

/* Base Styles and Variables */
:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --accent-color: #ff4e50;
  --text-color: #333333;
  --light-text: #ffffff;
  --dark-bg: #111111;
  --light-bg: #f9f9f9;
  --gray-bg: #f0f0f0;
  --border-radius: 8px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light-bg);
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

section {
  padding: 80px 0;
}

/* Button Styles */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  color: var(--light-text);
}

/* Header and Navigation */
header {
  background-color: var(--light-text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo svg {
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

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

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

nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
#hero {
  padding: 100px 0;
  background: linear-gradient(180deg, #f9f9ff 0%, #eef0ff 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero-content h2 span {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #666;
}

.hero-visual {
  position: relative;
}

.hero-svg {
  width: 100%;
  height: auto;
}

/* Features Section */
#features {
  background-color: var(--light-bg);
}

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

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

.feature-card:hover {
  transform: translateY(-10px);
}

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

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

/* How It Works Section */
#how-it-works {
  background: linear-gradient(135deg, #f5f7ff, #e8eaff);
  text-align: center;
}

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

.step {
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 20px;
}

/* Testimonials Section */
#testimonials {
  background-color: var(--light-bg);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial {
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.quote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -15px;
  top: -20px;
  opacity: 0.1;
  color: var(--primary-color);
}

.author {
  font-weight: 600;
  color: var(--primary-color);
}

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

#cta h2 {
  color: var(--light-text);
}

#cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#cta .cta-button {
  background: var(--light-text);
  color: var(--primary-color);
}

#cta .cta-button:hover {
  background: var(--light-text);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 60px 0 30px;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.footer-logo p {
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.link-group h4 {
  color: var(--light-text);
  margin-bottom: 20px;
}

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

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

.link-group a {
  color: #aaa;
  transition: var(--transition);
}

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

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

.copyright a {
  color: #aaa;
}

.copyright a:hover {
  color: var(--light-text);
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.hero-visual .ai-processing {
  animation: pulse 3s infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  #hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    order: 1;
  }
  
  .hero-content h2 {
    text-align: center;
    font-size: 2.5rem;
  }
  
  .hero-visual {
    order: 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-logo {
    align-items: center;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 60px 0;
  }
  
  nav ul {
    display: none;
  }
  
  nav.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--light-text);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .feature-card, .step, .testimonial {
    padding: 20px;
  }
  
  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .features-grid, .steps, .testimonials-slider {
    gap: 20px;
  }
}

/* Animation for SVG elements */
.particles circle {
  animation: float 3s infinite alternate;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-10px) scale(1.2);
    opacity: 1;
  }
}
