/* 
 * AIpornGeneratorNO.pw - CSS Styles
 * Tema: Basado en los colores de la bandera noruega
 * Última actualización: 21 de agosto de 2025
 */

:root {
  /* Colores de la bandera noruega */
  --red: #BA0C2F;
  --white: #FFFFFF;
  --blue: #00205B;
  --black: #212121;
  --gray-light: #F8F8F8;
  --gray-medium: #E5E5E5;
  --gray-dark: #555555;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.12);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Titillium Web', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--red), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

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

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--red), var(--blue));
  margin: 15px auto 0;
  border-radius: 2px;
}

h3 {
  font-size: 1.3rem;
  color: var(--black);
}

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

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

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

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

/* Header y navegación */
.site-header {
  background-color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: var(--shadow);
  padding: 15px 0;
}

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

.logo-container {
  display: flex;
  align-items: center;
}

.logo-icon {
  margin-right: 10px;
}

.site-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
}

.domain {
  color: var(--blue);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 28px;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--red);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

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

.nav-menu li {
  margin-left: 35px;
}

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

.nav-menu a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, var(--red), var(--blue));
  transition: var(--transition);
}

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

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

/* Botones */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  font-size: 0.95rem;
  margin-right: 15px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: #9b0a28;
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

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

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

.btn-large {
  padding: 16px 38px;
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 70% 80%, rgba(186, 12, 47, 0.05), rgba(0, 32, 91, 0.03), transparent);
  padding: 170px 0 90px;
  overflow: hidden;
}

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

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

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  max-width: 90%;
}

.age-notice {
  display: flex;
  align-items: center;
  background: rgba(186, 12, 47, 0.1);
  padding: 10px 16px;
  border-radius: var(--border-radius);
  width: fit-content;
  margin-bottom: 25px;
}

.age-notice svg {
  margin-right: 10px;
}

.age-notice span {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 12, 47, 0.1), transparent 70%);
  z-index: -1;
}

.hero-image svg {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Features section */
.features-section {
  background: var(--gray-light);
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  height: 5px;
  width: 100%;
  top: 0;
  left: 0;
}

.feature-card:nth-child(odd)::before {
  background: var(--red);
}

.feature-card:nth-child(even)::before {
  background: var(--blue);
}

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

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

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

/* How it works section */
.how-section {
  background: linear-gradient(to bottom right, rgba(186, 12, 47, 0.03), rgba(0, 32, 91, 0.03));
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  width: 2px;
  height: calc(100% - 40px);
  background: linear-gradient(to bottom, var(--red), var(--blue));
  left: 30px;
  top: 40px;
}

.step {
  display: flex;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.step:last-child {
  margin-bottom: 0;
}

.step-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 25px;
  box-shadow: var(--shadow);
}

.step-content {
  padding-top: 5px;
}

.step-content h3 {
  margin-bottom: 10px;
}

/* Testimonials section */
.testimonial-section {
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before,
.testimonial-section::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.testimonial-section::before {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -100px;
}

.testimonial-section::after {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -50px;
}

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

.testimonial-section h2::after {
  background: var(--white);
}

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

.testimonial {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius);
  padding: 25px;
  transition: var(--transition);
  border-left: 4px solid var(--white);
}

.testimonial:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-text {
  margin-bottom: 15px;
}

.testimonial-text p {
  color: var(--white);
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* FAQ section */
.faq-section {
  background: var(--gray-light);
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.faq-question:hover {
  background: rgba(186, 12, 47, 0.03);
}

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

.faq-plus {
  color: var(--red);
  font-size: 1.5rem;
  font-weight: bold;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, rgba(186, 12, 47, 0.95), rgba(0, 32, 91, 0.95)), url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIyMCIgY3k9IjIwIiByPSIxNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmZmZmMTAiIHN0cm9rZS13aWR0aD0iMiIvPjwvc3ZnPg==");
  text-align: center;
  color: var(--white);
  padding: 100px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section h2::after {
  background: var(--white);
}

.cta-section p {
  color: var(--white);
  opacity: 0.9;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--red);
  min-width: 220px;
  margin: 0 auto;
}

.cta-section .btn-primary:hover {
  background: var(--gray-light);
}

.disclaimer {
  font-size: 0.85rem;
  margin-top: 25px;
  opacity: 0.7;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-about {
  max-width: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo svg {
  margin-right: 12px;
}

.footer-logo h3 {
  color: var(--white);
  margin-bottom: 0;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.footer-column {
  flex: 1;
}

.footer-column h4 {
  color: var(--white);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--red), var(--blue));
}

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

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

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

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

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

.keywords {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.adult-disclaimer {
  margin-top: 15px;
  font-weight: 600;
}

/* Responsive */
@media screen and (max-width: 992px) {
  section {
    padding: 70px 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-wrapper {
    flex-direction: column;
  }
  
  .hero-content {
    order: 1;
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero-content p {
    max-width: 100%;
  }
  
  .age-notice {
    margin: 0 auto 25px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    order: 0;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    box-shadow: var(--shadow);
    padding: 50px 0;
    z-index: 100;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-icon {
    margin-bottom: 15px;
    margin-right: 0;
  }
  
  .steps-container::before {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  
  .hero-section {
    padding-top: 140px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .feature-card {
    padding: 25px 20px;
  }
  
  .cta-section .btn-primary {
    width: 100%;
  }
}
