/* 
 * AINudeGeneratorMX.pw - CSS Styles
 * Theme: Inspired by Mexican flag colors
 * Last updated: August 21, 2025
 */

:root {
  /* Mexican flag colors */
  --green: #006341;
  --red: #CE1126;
  --white: #ffffff;
  --dark: #222222;
  --grey-light: #f8f8f8;
  --grey: #e5e5e5;
  --grey-dark: #777777;
  --gradient: linear-gradient(120deg, var(--green), #004a31);
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.12);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
  position: relative;
}

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

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

h1 {
  font-size: 2.8rem;
}

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

h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

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

ul {
  list-style: none;
}

section {
  padding: 100px 0;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn.primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  box-shadow: 0 4px 12px rgba(206, 17, 38, 0.2);
}

.btn.primary:hover {
  background: #b80f21;
  border-color: #b80f21;
  box-shadow: 0 6px 15px rgba(206, 17, 38, 0.3);
}

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

.btn.secondary:hover {
  background: var(--dark);
  color: var(--white);
}

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

/* Backdrop */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(0, 99, 65, 0.03) 0%, rgba(255, 255, 255, 0) 70%),
              radial-gradient(circle at 80% 80%, rgba(206, 17, 38, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Header and Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}

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

.main-nav ul {
  display: flex;
}

.main-nav ul li {
  margin-left: 30px;
}

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

.main-nav ul li a:before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--green);
  transition: var(--transition);
}

.main-nav ul li a:hover {
  color: var(--green);
}

.main-nav ul li a:hover:before {
  width: 100%;
}

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

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--dark);
  margin: 6px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

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

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

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

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--grey-dark);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 2.5rem;
}

.age-warning {
  display: flex;
  align-items: center;
  background: rgba(206, 17, 38, 0.06);
  border-left: 4px solid var(--red);
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.age-warning svg {
  margin-right: 10px;
  flex-shrink: 0;
}

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

.hero-graphic {
  max-width: 360px;
  width: 100%;
}

/* Features Section */
.features {
  background-color: var(--grey-light);
  position: relative;
}

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

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

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

.icon-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  background: rgba(0, 99, 65, 0.07);
  transition: var(--transition);
}

.feature-card:hover .icon-container {
  background: rgba(0, 99, 65, 0.12);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--green);
}

/* How it Works Section */
.how-it-works {
  background: var(--white);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto 60px;
}

.step {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 99, 65, 0.2);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: var(--green);
}

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

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

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

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

.accordion-button {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button:after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--green);
}

.accordion-button.active:after {
  content: '−';
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 0 20px 20px;
}

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

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

.footer-brand svg {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--grey);
  font-size: 0.95rem;
  max-width: 350px;
}

.footer-links h4, .footer-legal h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
  position: relative;
}

.footer-links h4:after, .footer-legal h4:after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--red);
  left: 0;
  bottom: -10px;
}

.footer-links ul li, .footer-legal ul li {
  margin-bottom: 12px;
}

.footer-links ul li a, .footer-legal ul li a {
  color: var(--grey);
  font-size: 0.95rem;
}

.footer-links ul li a:hover, .footer-legal ul li a:hover {
  color: var(--red);
}

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

.footer-bottom p {
  color: var(--grey);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 80px 0;
  }
  
  .hero {
    padding-top: 150px;
    padding-bottom: 80px;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 50px;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .age-warning {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .footer-links h4:after, .footer-legal h4:after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    background: var(--white);
    width: 80%;
    height: calc(100vh - 70px);
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 40px 0;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  .main-nav ul li {
    margin: 0 0 25px 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 9px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -9px);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
}
