:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #c9a227;
  --accent-dark: #a88520;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --bg: #fafafa;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: rgba(0,0,0,0.08);
  --shadow-strong: rgba(0,0,0,0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 2px 20px var(--shadow);
  z-index: 1000;
  padding: 15px 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.3s;
  position: relative;
}

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

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23c9a227" stroke-width="0.5" opacity="0.2"/></svg>');
  background-size: 200px;
  opacity: 0.3;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 30px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

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

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

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

.btn-dark:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-alt {
  background: var(--white);
}

.section-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--primary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

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

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

/* Problem Section */
.problem-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.problem-card {
  flex: 1;
  min-width: 280px;
  background: rgba(255,255,255,0.05);
  padding: 35px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);
}

.problem-card .icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-card .icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary);
}

.problem-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

/* Story Section */
.story-block {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}

.story-block:last-child {
  margin-bottom: 0;
}

.story-block.reverse {
  flex-direction: row-reverse;
}

.story-image {
  flex: 1;
}

.story-image img {
  border-radius: 20px;
  box-shadow: 0 20px 50px var(--shadow-strong);
}

.story-content {
  flex: 1;
}

.story-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.story-content p {
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Benefits */
.benefits-wrapper {
  display: flex;
  gap: 40px;
}

.benefits-image {
  flex: 1;
}

.benefits-image img {
  border-radius: 20px;
  height: 100%;
  object-fit: cover;
}

.benefits-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: transform 0.3s;
}

.benefit-item:hover {
  transform: translateX(10px);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.benefit-text h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.benefit-text p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Testimonials */
.testimonials-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 10px 40px var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 25px;
  color: var(--text);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
}

.testimonial-info h4 {
  font-size: 1rem;
  color: var(--primary);
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Services / Pricing */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px var(--shadow);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card.featured {
  border: 3px solid var(--accent);
  position: relative;
}

.service-card.featured::before {
  content: 'Più Richiesto';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--accent);
  color: var(--primary);
  padding: 8px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(45deg);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-body {
  padding: 30px;
}

.service-body h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 20px;
}

.service-price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.service-price .currency {
  font-size: 1.2rem;
  color: var(--text-light);
}

.service-price .period {
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-features {
  list-style: none;
  margin-bottom: 25px;
}

.service-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* Urgency */
.urgency-banner {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.urgency-banner h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.urgency-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

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

.countdown-item .number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.countdown-item .label {
  font-size: 0.85rem;
  opacity: 0.7;
  text-transform: uppercase;
}

/* Form Section */
.form-section {
  background: linear-gradient(135deg, var(--bg) 0%, var(--white) 100%);
}

.form-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.form-info {
  flex: 1;
}

.form-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.form-info p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.form-guarantees {
  list-style: none;
}

.form-guarantees li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.form-guarantees li:last-child {
  border-bottom: none;
}

.form-guarantees .icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-guarantees .icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

.form-container {
  flex: 1;
  background: var(--white);
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 20px 60px var(--shadow-strong);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 15px 20px;
  box-shadow: 0 -5px 30px var(--shadow-strong);
  z-index: 999;
  display: none;
}

.sticky-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sticky-cta p {
  font-weight: 600;
  color: var(--primary);
}

.sticky-cta.visible {
  display: block;
}

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

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--accent);
}

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

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

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

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

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white);
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 50px var(--shadow-strong);
  z-index: 10000;
  display: none;
  max-width: 500px;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-buttons .btn {
  padding: 12px 25px;
  font-size: 0.9rem;
}

/* About Page */
.page-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  padding: 80px 0;
}

.about-grid {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 20px;
  box-shadow: 0 20px 50px var(--shadow-strong);
}

/* Values */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.value-card {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 40px var(--shadow);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--primary);
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Contact Page */
.contact-grid {
  display: flex;
  gap: 60px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 55px;
  height: 55px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 25px;
  height: 25px;
  fill: var(--primary);
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.contact-text p {
  color: var(--text-light);
}

/* Thanks Page */
.thanks-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

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

.thanks-icon {
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.thanks-icon svg {
  width: 50px;
  height: 50px;
  fill: var(--primary);
}

.thanks-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.thanks-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Legal Pages */
.legal-content {
  padding: 80px 0;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--primary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.legal-content ul {
  margin: 15px 0 15px 30px;
  color: var(--text-light);
}

.legal-content ul li {
  margin-bottom: 10px;
}

/* Inline CTA */
.inline-cta {
  background: var(--bg);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  margin: 40px 0;
}

.inline-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.inline-cta p {
  color: var(--text-light);
  margin-bottom: 25px;
}

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px 0;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    margin: 0 auto 35px;
  }

  .story-block,
  .story-block.reverse {
    flex-direction: column;
  }

  .benefits-wrapper {
    flex-direction: column;
  }

  .form-wrapper {
    flex-direction: column;
  }

  .about-grid {
    flex-direction: column;
  }

  .contact-grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 30px var(--shadow);
  }

  .nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  section {
    padding: 60px 0;
  }

  .form-container {
    padding: 30px 20px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }

  .countdown {
    gap: 15px;
  }

  .countdown-item .number {
    font-size: 2rem;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    padding: 20px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .sticky-cta-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
