/*
 * undressaipornIT.pw - Foglio di stile
 * Tema: Ispirato ai colori italiani
 * Data: Agosto 2025
 */

:root {
  /* Colori della bandiera italiana */
  --green: #008C45;
  --white: #FFFFFF;
  --red: #CD212A;
  
  /* Colori complementari */
  --dark: #222222;
  --dark-green: #00592D;
  --light-green: #4CAF50;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --dark-gray: #666666;
  
  /* Effetti */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 16px;
}

/* Stili di base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

h2.decorated::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 3px;
  background: linear-gradient(to right, var(--green), var(--red));
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

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

a:hover {
  color: var(--dark-green);
}

section {
  padding: 80px 0;
}

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

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

.section-header p {
  color: var(--dark-gray);
  font-size: 1.1rem;
  margin-top: 20px;
}

/* Pulsanti */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--dark-green) 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 140, 69, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 140, 69, 0.4);
  color: var(--white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--red) 0%, #9B0000 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 15px rgba(205, 33, 42, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(205, 33, 42, 0.4);
  color: var(--white);
}

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

.btn-outline:hover {
  background-color: rgba(0, 140, 69, 0.1);
  transform: translateY(-3px);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
}

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

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

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
}

.logo span {
  font-weight: 700;
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
}

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

.logo:hover svg {
  transform: rotate(10deg);
}

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

.nav-menu li a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  font-size: 1.05rem;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--green), var(--red));
  transition: width 0.3s ease;
}

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

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

.menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--dark);
  margin-bottom: 5px;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

/* Hero Section */
.hero {
  padding: 180px 0 120px;
  background: linear-gradient(135deg, rgba(0, 140, 69, 0.05) 0%, rgba(205, 33, 42, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -150px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 33, 42, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  left: -150px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 140, 69, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-badge {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  padding: 7px 15px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.hero-image {
  text-align: center;
  position: relative;
}

.adult-notice {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 20px;
  background-color: rgba(205, 33, 42, 0.08);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--red);
}

.adult-notice svg {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
}

.adult-notice p {
  margin: 0;
  font-size: 0.95rem;
}

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

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

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

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

.feature-header {
  padding: 20px;
  background: linear-gradient(135deg, var(--green) 0%, var(--dark-green) 100%);
  color: var(--white);
  position: relative;
}

.feature-card:nth-child(even) .feature-header {
  background: linear-gradient(135deg, var(--red) 0%, #9B0000 100%);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  margin: 0 auto 15px;
}

.feature-header h3 {
  margin: 0;
  text-align: center;
  font-size: 1.4rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.feature-body {
  padding: 25px;
}

.feature-body p {
  margin: 0;
}

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

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

.step {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

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

.step-left {
  flex: 0 0 100px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--green) 0%, var(--dark-green) 100%);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.step-line {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: calc(100% + 30px);
  background-color: var(--medium-gray);
  z-index: 1;
}

.step:last-child .step-line {
  display: none;
}

.step-content {
  flex: 1;
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--medium-gray);
  box-shadow: var(--shadow-sm);
}

.step-content h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

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

/* Stats Section */
.stats {
  background: linear-gradient(135deg, var(--green) 0%, var(--dark-green) 100%);
  padding: 80px 0;
  color: var(--white);
  position: relative;
}

.stats::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 25px;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.faq-list {
  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;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  font-family: 'Lato', sans-serif;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  background-color: var(--green);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: var(--transition);
  font-size: 1rem;
}

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

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

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

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

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--red) 0%, #9B0000 100%);
  padding: 90px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  top: -300px;
  right: -300px;
  border-radius: 50%;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin-bottom: 25px;
}

.cta p {
  margin-bottom: 35px;
  font-size: 1.15rem;
}

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

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

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

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 20px;
}

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

.footer-logo span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 15px;
}

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

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

.footer-links li {
  margin-bottom: 15px;
}

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

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

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

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

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

/* Responsive Design */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  section {
    padding: 70px 0;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.9rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .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: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .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);
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .adult-notice {
    text-align: left;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-left {
    margin-bottom: 20px;
    flex: none;
  }
  
  .step-content {
    text-align: center;
  }
  
  .step-line {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
