/* 
   Main Stylesheet for aigenerationporn.pro
   Dark blue/red theme, distinct from previous designs
*/

:root {
  --primary: #E94560;
  --secondary: #0F3460;
  --dark: #16213E;
  --light: #F5F5F7;
  --gray: #8D99AE;
  --success: #4CAF50;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--light);
  background-color: #1A1A2E;
  overflow-x: hidden;
}

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

section {
  padding: 80px 0;
}

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

h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--primary);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: 2px solid var(--primary);
  box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.btn-primary:hover {
  background-color: #d93954;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: var(--light);
  border: 2px solid var(--light);
}

.btn-secondary:hover {
  background-color: var(--light);
  color: var(--dark);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(22, 33, 62, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.logo {
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--light);
  font-weight: 500;
  position: relative;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--light);
  position: absolute;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 9px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 18px;
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 80px;
  background-color: var(--dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(233, 69, 96, 0.1);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: rgba(15, 52, 96, 0.1);
  z-index: 0;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.text-highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 8px;
  bottom: 5px;
  left: 0;
  background-color: rgba(233, 69, 96, 0.3);
  z-index: -1;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

/* Features Section */
.features {
  background-color: #1E293B;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100px;
  top: -50px;
  left: 0;
  background-color: #1E293B;
  transform: skewY(-2deg);
  z-index: 1;
}

.features .container {
  position: relative;
  z-index: 2;
}

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

.feature-card {
  background-color: rgba(22, 33, 62, 0.8);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.feature-icon {
  margin-bottom: 20px;
}

/* Examples Section */
.examples {
  background-color: var(--dark);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.example-card {
  background-color: rgba(30, 41, 59, 0.8);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.example-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.example-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.example-card h3 {
  padding: 20px;
  text-align: center;
  background-color: rgba(22, 33, 62, 0.9);
  margin-bottom: 0;
}

.examples-cta {
  text-align: center;
  margin-top: 50px;
}

/* Pricing Section */
.pricing {
  background-color: #1E293B;
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100px;
  top: -50px;
  left: 0;
  background-color: #1E293B;
  transform: skewY(2deg);
  z-index: 1;
}

.pricing .container {
  position: relative;
  z-index: 2;
}

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

.pricing-card {
  background-color: rgba(22, 33, 62, 0.9);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: translateY(-20px) scale(1.05);
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  padding: 5px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
}

.pricing-header {
  margin-bottom: 30px;
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.price span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.pricing-features {
  margin-bottom: 30px;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 25px;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* FAQ Section */
.faq {
  background-color: var(--dark);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: rgba(30, 41, 59, 0.5);
  padding: 30px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background-color: rgba(30, 41, 59, 0.8);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--primary);
}

/* CTA Section */
.cta {
  background-color: var(--primary);
  padding: 100px 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
}

.cta .btn-primary {
  background-color: white;
  color: var(--primary);
  border-color: white;
}

.cta .btn-primary:hover {
  background-color: transparent;
  color: white;
}

/* Footer */
footer {
  background-color: #0F172A;
  padding: 80px 0 30px;
}

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

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

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

.footer-column h4 {
  color: var(--light);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--gray);
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-icon {
  display: flex;
  justify-content: flex-end;
}

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

.footer-bottom p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .header-content {
    height: 70px;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .hero-wrapper {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-logo, .footer-icon {
    justify-content: center;
  }
  
  .footer-links {
    text-align: center;
    margin: 30px 0;
  }
  
  .pricing-card.featured {
    transform: translateY(0);
    scale: 1;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .pricing-grid, 
  .features-grid,
  .examples-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
}
