/*
 * AIpornGeneratorUS.pw - CSS Styles
 * Theme: American flag inspired colors
 * Date: August 2025
 */

:root {
  /* American flag colors */
  --navy-blue: #002868;
  --red: #b22234;
  --white: #ffffff;
  
  /* Complementary colors */
  --dark: #121212;
  --gray-light: #f8f8f8;
  --gray: #e0e0e0;
  --gray-dark: #555555;
  --blue-light: #3a7bd5;
  --red-light: #d64550;
  
  /* Effects */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --border-radius: 6px;
  --gradient: linear-gradient(135deg, var(--navy-blue), var(--blue-light));
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  color: var(--navy-blue);
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  color: var(--dark);
}

h3 {
  font-size: 1.5rem;
  color: var(--navy-blue);
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-dark);
  font-size: 1.05rem;
}

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

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

section {
  padding: 100px 0;
  position: relative;
}

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

.section-header p {
  font-size: 1.2rem;
  margin-top: 15px;
}

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

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(178, 34, 52, 0.15);
  z-index: -1;
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 100;
  box-shadow: var(--shadow-sm);
  height: 70px;
  display: flex;
  align-items: center;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy-blue);
}

.logo svg {
  transition: transform 0.3s ease;
}

.logo:hover svg {
  transform: scale(1.1);
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-menu li a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

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

.nav-menu li a:hover {
  color: var(--navy-blue);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle .bar {
  width: 28px;
  height: 3px;
  background-color: var(--navy-blue);
  border-radius: 3px;
  transition: var(--transition);
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.primary {
  background-color: var(--navy-blue);
  color: var(--white);
  border: 2px solid var(--navy-blue);
}

.primary:hover {
  background-color: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.secondary:hover {
  background-color: rgba(0, 40, 104, 0.05);
  transform: translateY(-3px);
}

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

.cta-group {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Hero section */
.hero {
  background-color: var(--white);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(45deg, rgba(178, 34, 52, 0.03) 0%, rgba(0, 40, 104, 0.03) 100%);
  z-index: 0;
}

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

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background-color: rgba(178, 34, 52, 0.1);
  border-radius: 50px;
  margin-bottom: 25px;
}

.badge span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.2rem;
  margin: 25px 0;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 400px;
}

.warning {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
}

.warning svg {
  color: var(--red);
}

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

/* Features section */
.features {
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(0, 40, 104, 0.05);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  z-index: 1;
}

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

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--navy-blue);
}

.feature-card:nth-child(2n):hover {
  border-bottom: 4px solid var(--red);
}

.feature-icon {
  margin-bottom: 25px;
  color: var(--navy-blue);
  height: 60px;
  display: flex;
  align-items: center;
}

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

/* How it works section */
.how-it-works {
  background-color: var(--white);
  position: relative;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(to bottom, transparent, rgba(0, 40, 104, 0.02));
  pointer-events: none;
  z-index: 1;
}

.steps-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.step {
  display: flex;
  gap: 30px;
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.step:last-of-type {
  margin-bottom: 60px;
}

.step-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--navy-blue);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.step:nth-child(2) .step-number {
  background-color: var(--red);
}

.step:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--navy-blue), var(--red));
}

.step-content {
  flex: 1;
}

.steps-cta {
  text-align: center;
  margin-top: 20px;
}

/* Testimonials section */
.testimonials {
  background-color: var(--navy-blue);
  color: var(--white);
  padding: 80px 0;
}

.testimonials .section-header h2 {
  color: var(--white);
}

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

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

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 30px;
  border-left: 4px solid var(--red);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.name {
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}

.location {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* FAQ section */
.faq {
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray);
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(0, 40, 104, 0.02);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15rem;
}

.toggle {
  font-size: 1.5rem;
  color: var(--navy-blue);
  transition: var(--transition);
}

.faq-item.active .toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 25px 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* CTA section */
.cta {
  background: linear-gradient(rgba(0, 40, 104, 0.9), rgba(0, 40, 104, 0.9)), 
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.12'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h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h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  text-align: center;
  color: var(--white);
  padding: 100px 0;
}

.cta h2 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

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

.cta .disclaimer {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 25px;
}

.cta .btn.primary {
  background-color: var(--red);
  border-color: var(--red);
  padding: 16px 40px;
}

.cta .btn.primary:hover {
  background-color: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-branding {
  max-width: 380px;
}

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

.footer-branding p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.link-column h4 {
  color: var(--red);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.link-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--red);
}

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

.link-column li {
  margin-bottom: 12px;
}

.link-column a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.link-column a:hover {
  color: var(--white);
  padding-left: 5px;
}

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

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.keywords {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  max-width: 700px;
  margin: 0 auto;
}

/* Responsive design */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  section {
    padding: 80px 0;
  }
  
  .hero-wrapper {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  
  .badge {
    margin: 0 auto 25px;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .warning {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-branding {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-around;
  }
  
  .link-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .link-column {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    padding: 50px 0;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li a {
    font-size: 1.2rem;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 20px;
  }
  
  .cta h2 {
    font-size: 2.2rem;
  }
  
  .cta p {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .cta-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
}
