/* 
 * Main Stylesheet for freeaipornvideogenerator.pw
 * Theme: Purple/Orange Gradient with Modern Film-Strip Design
 * Fonts: Poppins and Source Sans Pro
 */

/* CSS Variables */
:root {
  /* Primary Colors */
  --primary-purple: #6200EA;
  --primary-orange: #FF5722;
  --accent-color: #9C27B0;
  
  /* Neutrals */
  --text-dark: #212121;
  --text-light: #FAFAFA;
  --text-muted: #757575;
  --bg-dark: #121212;
  --bg-light: #FAFAFA;
  --bg-muted: #303030;
  
  /* Gradients */
  --main-gradient: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-color) 50%, var(--primary-orange) 100%);
  --button-gradient: linear-gradient(to right, var(--primary-purple), var(--primary-orange));
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.1);
  
  /* Container Width */
  --container-width: 1200px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--text-light);
}

h1 {
  font-size: 3rem;
  background: var(--main-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-light);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Section Styling */
.section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  display: inline-block;
  position: relative;
  margin-bottom: var(--space-md);
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--main-gradient);
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-radius: var(--radius-sm);
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--button-gradient);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--primary-orange), var(--primary-purple));
  z-index: -1;
  transition: var(--transition-normal);
  opacity: 0;
}

.btn-primary:hover:before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-purple);
  color: var(--primary-purple);
}

.btn-outline:hover {
  background: var(--primary-purple);
  color: var(--text-light);
}

.arrow {
  display: inline-block;
  margin-left: var(--space-sm);
  transition: transform var(--transition-normal);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* Header/Nav */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: var(--transition-normal);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header.sticky {
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-light);
  background: var(--main-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  font-weight: 600;
  position: relative;
}

.nav-link:before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--main-gradient);
  transition: var(--transition-normal);
}

.nav-link:hover:before {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero {
  background: var(--bg-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at top right, var(--primary-purple), transparent 60%),
              radial-gradient(circle at bottom left, var(--primary-orange), transparent 60%);
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: var(--space-xl);
}

.hero-title {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
}

.hero-text {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  justify-content: space-around;
  margin-top: var(--space-xl);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: transparent;
  background: var(--main-gradient);
  -webkit-background-clip: text;
  margin-bottom: var(--space-xs);
}

.stat-text {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: var(--transition-normal);
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--main-gradient);
  z-index: 1;
}

.feature-icon {
  background: var(--main-gradient);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.feature-icon svg {
  color: var(--text-light);
  width: 30px;
  height: 30px;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Process Section */
.process {
  background-color: var(--bg-dark);
  position: relative;
}

.process:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C27B0' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 1;
}

.process .container {
  position: relative;
  z-index: 2;
}

.process-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  position: relative;
}

.process-step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 70px;
  left: 25px;
  width: 2px;
  height: calc(100% + var(--space-lg));
  background: var(--primary-purple);
  opacity: 0.3;
}

.step-number {
  background: var(--main-gradient);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.step-content {
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  flex-grow: 1;
  position: relative;
}

.step-content:before {
  content: '';
  position: absolute;
  top: 20px;
  left: -10px;
  width: 20px;
  height: 20px;
  background: var(--bg-muted);
  transform: rotate(45deg);
}

.step-content h3 {
  margin-bottom: var(--space-sm);
}

/* Showcase Section */
.showcase {
  background-color: var(--bg-dark);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.showcase-item {
  height: 250px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition-normal);
}

.showcase-item:nth-child(1) {
  background: linear-gradient(135deg, #FF9800, #F44336);
}

.showcase-item:nth-child(2) {
  background: linear-gradient(135deg, #9C27B0, #3F51B5);
}

.showcase-item:nth-child(3) {
  background: linear-gradient(135deg, #4CAF50, #009688);
}

.showcase-item:nth-child(4) {
  background: linear-gradient(135deg, #3F51B5, #00BCD4);
}

.showcase-item:nth-child(5) {
  background: linear-gradient(135deg, #FF5722, #E91E63);
}

.showcase-item:nth-child(6) {
  background: linear-gradient(135deg, #607D8B, #9E9E9E);
}

.showcase-item:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: var(--transition-normal);
}

.showcase-item:hover:before {
  background: rgba(0, 0, 0, 0.6);
}

.showcase-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.showcase-content {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  color: var(--text-light);
  z-index: 2;
}

.showcase-title {
  margin-bottom: var(--space-xs);
  font-size: 1.5rem;
}

.showcase-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Benefits Section */
.benefits {
  background-color: var(--bg-muted);
  position: relative;
  overflow: hidden;
}

.benefits:before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--primary-purple);
  opacity: 0.05;
}

.benefits:after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--primary-orange);
  opacity: 0.05;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
  position: relative;
  z-index: 2;
}

.benefit-card {
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: var(--transition-normal);
  border-bottom: 3px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-bottom: 3px solid var(--primary-purple);
}

.benefit-icon {
  color: var(--primary-purple);
  margin-bottom: var(--space-md);
}

.benefit-title {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.benefit-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* FAQ Section */
.faq {
  background-color: var(--bg-dark);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  background: var(--bg-muted);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question span {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-question .faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer.active {
  max-height: 500px;
}

.faq-answer-content {
  padding: var(--space-md) var(--space-lg);
  background: rgba(98, 0, 234, 0.05);
}

.faq-answer-content p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* CTA Section */
.cta {
  background: var(--main-gradient);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.cta-btn {
  background: var(--text-light);
  color: var(--primary-purple);
  font-weight: 700;
  padding: 1rem 3rem;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
}

.cta-btn:hover {
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-about p {
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-light);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  color: var(--text-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-link a:hover {
  color: var(--primary-purple);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Helpers */
.text-center {
  text-align: center;
}

.mt-50 {
  margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1, .hero-title {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .features-grid,
  .showcase-grid,
  .benefits-container {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  h1, .hero-title {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .section-title {
    margin-bottom: var(--space-lg);
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .process-step:not(:last-child):after {
    display: none;
  }
  
  .step-content:before {
    display: none;
  }
}
