/* 
 * aiporngenerator.rest - Main Stylesheet
 * A unique design for the AI Porn Generator website
 * Targeting US market with mobile-responsive design
 */

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Primary color palette - purple/pink theme */
  --bg-dark: #121420;
  --bg-darker: #0a0a12;
  --primary: #9900FF;
  --secondary: #FF3366;
  --accent: #00EEFF;
  --text-light: #FFFFFF;
  --text-gray: #9CA3AF;
  --text-dark: #1F2937;
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --section-spacing: 6rem;
  --element-spacing: 1.5rem;
  --border-radius: 12px;
  --border-radius-lg: 24px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0.8rem auto 0;
  border-radius: 3px;
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: var(--section-spacing) 0;
}

.flex {
  display: flex;
}

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

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

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

.grid {
  display: grid;
}

/* ===== COMPONENTS ===== */

/* Buttons */
.button {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
  box-shadow: 0 10px 25px -5px rgba(153, 0, 255, 0.3);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(153, 0, 255, 0.4);
  color: var(--text-light);
}

.button-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent);
}

.button-outline:hover {
  background: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(153, 0, 255, 0.2);
  border: 1px solid rgba(153, 0, 255, 0.1);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(18, 20, 32, 0.8);
}

.header-scrolled {
  padding: 1rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background: rgba(10, 10, 18, 0.95);
}

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

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

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-text span {
  color: var(--accent);
}

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

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

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

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(153, 0, 255, 0.15) 0%, rgba(18, 20, 32, 0) 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 51, 102, 0.15) 0%, rgba(18, 20, 32, 0) 50%);
  z-index: -1;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  stroke: var(--accent);
  margin-bottom: 1.5rem;
}

.feature-title {
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ===== PROCESS SECTION ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  position: relative;
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step-title {
  margin-bottom: 1rem;
  color: var(--accent);
}

/* ===== GALLERY SECTION ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 3/4;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, rgba(153, 0, 255, 0.3) 0%, rgba(255, 51, 102, 0.3) 100%);
  overflow: hidden;
  position: relative;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 20, 32, 0) 0%, rgba(18, 20, 32, 0.8) 100%);
  z-index: 1;
}

.gallery-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
}

/* ===== FAQ SECTION ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  margin-top: 1rem;
  color: var(--text-gray);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== CALL TO ACTION ===== */
.cta-section {
  text-align: center;
  background: rgba(153, 0, 255, 0.05);
  padding: 4rem 0;
  border-radius: var(--border-radius-lg);
  margin: 4rem 0;
}

.cta-title {
  margin-bottom: 1.5rem;
}

.cta-text {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-gray);
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg-darker);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-logo-text span {
  color: var(--accent);
}

.footer-description {
  color: var(--text-gray);
  margin-bottom: 2rem;
  max-width: 400px;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-gray);
}

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

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-gray);
  font-size: 0.875rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 4rem;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .process-steps {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 3rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--bg-darker);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle {
    display: block;
    z-index: 1000;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  :root {
    --section-spacing: 2.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .container {
    width: 95%;
  }
  
  .hero {
    text-align: center;
  }
  
  .features-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-content {
  padding: 8rem 0 4rem;
  max-width: 800px;
}

.legal-title {
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-heading {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-text {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.legal-list {
  list-style: inside;
  margin-bottom: 1.5rem;
  color: var(--text-gray);
}

.legal-list li {
  margin-bottom: 0.5rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
