/* 
   PornAI Generator - Main Stylesheet
   Modern design with red/blue gradient theme - different from previous sites
*/

/* === Base & Reset === */
:root {
  --primary: #FF3366;
  --secondary: #104E8B;
  --dark: #1A1A2E;
  --light: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --bg-gradient: linear-gradient(135deg, #FF3366, #104E8B);
  --text-gradient: linear-gradient(90deg, #FF3366, #104E8B);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --border: 1px solid var(--gray-200);
}

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

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background-color: var(--light);
}

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

ul {
  list-style: none;
}

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

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--bg-gradient);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--light);
}

p {
  margin-bottom: 1.5rem;
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* === Header & Navigation === */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
}

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

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

.logo span {
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-svg {
  display: block;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--gray-800);
  font-weight: 600;
  font-size: 1rem;
}

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

.cta {
  background: var(--bg-gradient);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--bg-gradient);
  border-radius: 3px;
  transition: var(--transition);
}

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

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

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

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* === Hero Section === */
.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(to bottom right, rgba(255, 51, 102, 0.05), rgba(16, 78, 139, 0.05));
  text-align: center;
  position: relative;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  color: var(--gray-600);
}

.button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--bg-gradient);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  text-align: center;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.button.large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

/* === Features Section === */
.features {
  padding: 6rem 0;
  background: white;
}

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

.feature {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background-color: var(--light);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature h3 {
  margin-bottom: 1rem;
}

.feature p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* === Technology Section === */
.technology {
  padding: 6rem 0;
  background: linear-gradient(to bottom right, rgba(255, 51, 102, 0.05), rgba(16, 78, 139, 0.05));
}

.tech-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.tech-text p {
  margin-bottom: 1.5rem;
}

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

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

/* === Benefits Section === */
.benefits {
  padding: 6rem 0;
  background: white;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.benefit h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.benefit p {
  margin-bottom: 0;
}

.cta-container {
  text-align: center;
  margin-top: 4rem;
}

/* === Testimonials Section === */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(to bottom right, rgba(255, 51, 102, 0.05), rgba(16, 78, 139, 0.05));
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stars {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.author {
  font-weight: 600;
  color: var(--dark);
  text-align: right;
}

/* === Footer === */
footer {
  padding: 5rem 0 2rem;
  background: var(--dark);
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-logo span {
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

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

.link-group h4 {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.link-group h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--bg-gradient);
  border-radius: 1.5px;
}

.link-group ul li {
  margin-bottom: 0.75rem;
}

.link-group ul li a {
  color: var(--gray-300);
}

.link-group ul li a:hover {
  color: white;
}

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

/* === Media Queries === */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .tech-content {
    grid-template-columns: 1fr;
  }
  
  .tech-visual {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    flex-direction: column;
    background: white;
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 99;
    box-shadow: var(--shadow);
    padding: 0;
    opacity: 0;
    visibility: hidden;
  }
  
  .nav-links.active {
    height: auto;
    padding: 2rem 0;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .features-grid,
  .benefits-list,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
}
