@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: inherit;
}

a {
  text-decoration: none;
}

/* ========================================
   HERO - Mantenute dimensioni originali
   ======================================== */
.hero {
  width: 100%;
  background: linear-gradient(-45deg, #34e89e, #0fabbc, #43aaf3, #66d9e8);
  background-size: 400% 400%;
  animation: gradientBG 10s ease infinite;
  color: #fff;
  text-align: left;
  padding: 80px 60px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-cta {
  margin-top: 1rem;
}

.hero-how {
  margin-top: 80px;
}

.hero-how h2 {
  color: rgba(255, 255, 255, 0.95);
  font-size: 2rem;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero h1 {
  font-size: 3.5rem;
  margin: 0 0 20px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease-out forwards;
}

.hero p {
  font-size: 1.8rem;
  margin: 0 0 30px;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   PROGRESS DEMO (integrato nella card 3)
   ======================================== */
.how-step-progress,
.how-step-chrome {
  display: flex;
  flex-direction: column;
}

.card-progress,
.card-action {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  position: relative;
  z-index: 1;
}

.card-action {
  display: flex;
  justify-content: center;
}

.chrome-store-btn {
  background: #1a73e8;
  color: white;
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.chrome-store-btn:hover {
  background: #1557b0;
  box-shadow: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
}

.chrome-store-btn:active {
  background: #1557b0;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}

.card-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 6px;
}

.card-progress-title {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.2s ease;
}

.card-progress-title.completed {
  color: #2FA33D;
  font-weight: 600;
}

.card-progress-lesson {
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 500;
}

.card-progress-lesson.completed {
  color: #2FA33D;
}

.card-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-progress-wrapper {
  flex: 1;
  background: #e5e7eb;
  height: 5px;
  border-radius: 50px;
}

.card-progress-bar {
  height: 100%;
  width: 0%;
  background: #CF1D56;
  border-radius: 50px;
  position: relative;
}

.card-progress-bar.animated {
  transition: width 1.6s linear;
}

.card-progress-bar.completed {
  background: #2FA33D;
}

.card-progress-bar::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #CF1D56;
  border-radius: 50%;
}

.card-progress-bar.completed::after {
  background: #2FA33D;
  right: -1px;
}

.card-progress-percentage {
  font-size: 0.8rem;
  font-weight: 600;
  color: #CF1D56;
  min-width: 30px;
  text-align: right;
}

.card-progress-percentage.completed {
  color: #2FA33D;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 40px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-primary {
  background: rgba(255,255,255,0.9);
  color: #0fabbc;
}

.btn-primary:hover {
  transform: scale(1.03);
}

.btn-chrome {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: white;
  color: #0fabbc;
  padding: 16px 32px;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-chrome:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.03);
}

.chrome-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #0fabbc;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.btn-chrome:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-secondary {
  background: linear-gradient(-45deg, #34e89e, #0fabbc, #43aaf3, #66d9e8);
  background-size: 400% 400%;
  animation: gradientBG 5s ease infinite;
  color: #fff;
}

.btn-secondary:hover {
  transform: scale(1.03);
}

/* ========================================
   SECTIONS - Spacing originale
   ======================================== */
.section {
  width: 100%;
  padding: 50px 20px;
}

.section-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.section-content h2 {
  font-size: 2.4rem;
  color: #0fabbc;
  margin: 0 0 30px;
  font-weight: 700;
}

/* ========================================
   HOW IT WORKS - Con effetti moderni
   ======================================== */
#how {
  background: #e8f6f8;
}

.how-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.how-step {
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px;
  width: calc((100% - 40px)/3);
  max-width: 340px;
  min-width: 220px;
  min-height: 220px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.how-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-color: #0fabbc;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 18px;
  width: 36px;
  height: 36px;
  background: #0fabbc;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  z-index: 2;
  border: 3px solid white;
}

.step-icon-box {
  position: absolute;
  top: 8px;
  right: 15px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.18;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.step-icon-box svg {
  color: #0fabbc;
  stroke: #0fabbc;
  width: 45px;
  height: 45px;
  stroke-width: 1.5;
}

.how-step:hover .step-icon-box {
  opacity: 0.25;
}

.how-step h3 {
  font-size: 1.6rem;
  color: #0fabbc;
  margin: 8px 0 10px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.how-step p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ========================================
   VIDEO DEMO - Con browser bar
   ======================================== */
#demo {
  background: #fff;
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  background: #1a1a1a;
}

.browser-bar {
  background: #2d2d2d;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27c93f; }

.browser-url {
  flex: 1;
  background: #404040;
  padding: 5px 12px;
  border-radius: 5px;
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* ========================================
   PRICING - Design wrapper con dimensioni originali
   ======================================== */
.pricing-section {
  background: #e8f6f8;
}

#pricing {
  scroll-margin-top: 80px;
}

.pricing {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.price-card-wrapper {
  position: relative;
  width: 340px;
  padding: 2px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.price-card-wrapper:hover {
  transform: scale(1.03);
}

.price-card-wrapper.express {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}

.price-card-wrapper.popular {
  background: linear-gradient(135deg, #0fabbc, #43aaf3);
  transform: scale(1.02);
}

.price-card-wrapper.best-value {
  background: linear-gradient(135deg, #f39c12, #f1c40f);
}

.price-card {
  background: white;
  border-radius: 14px;
  padding: 28px 20px 24px;
  text-align: center;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-badge {
  position: absolute;
  top: -10px;
  left: 30%;
  transform: translateX(-50%);
  background: #0fabbc;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  z-index: 2;
  white-space: nowrap;
}

.price-card-wrapper.express .price-badge {
  background: #6b7280;
}

.price-card-wrapper.best-value .price-badge {
  background: #f39c12;
}

.price-card h3 {
  font-size: 2rem;
  margin: 0 0 12px;
  font-weight: 700;
  color: #1f2937;
}

.price-card .price-amount {
  font-size: 1.6rem;
  margin: 0 0 8px;
  font-weight: 700;
  color: #1f2937;
}

.price-card del {
  opacity: 0.6;
  margin-right: 6px;
  font-size: 1.2rem;
  color: #6b7280;
}

.price-card .savings {
  font-size: 1rem;
  margin: 0 0 18px;
  color: #6b7280;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  text-align: left;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: #374151;
}

.features-list li::before {
  content: '✓';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: white;
  flex-shrink: 0;
}

.price-card-wrapper.express .features-list li::before {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}

.price-card-wrapper.popular .features-list li::before {
  background: linear-gradient(135deg, #0fabbc, #43aaf3);
}

.price-card-wrapper.best-value .features-list li::before {
  background: linear-gradient(135deg, #f39c12, #f1c40f);
}

.features-list li.featured {
  font-weight: 600;
}

.features-list li.download-feature::before {
  content: '⬇';
  font-size: 0.75rem;
}

.features-list li.pdf-feature::before {
  content: '📄';
  font-size: 0.75rem;
}

.price-card .btn:not(.triennale-btn) {
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  width: 100%;
}

.price-card-wrapper.express .btn {
  background: #6b7280;
}

.price-card-wrapper.express .btn:hover {
  background: #4b5563;
}

.price-card-wrapper.popular .btn {
  background: #0fabbc;
}

.price-card-wrapper.popular .btn:hover {
  background: #0891b2;
}

.price-card-wrapper.best-value .btn {
  background: #f39c12;
}

.price-card-wrapper.best-value .btn:hover {
  background: #e67e22;
}

.pricing-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.pricing-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 0.9rem;
}

.pricing-badge-icon {
  font-size: 1.1rem;
  color: #0fabbc;
}

/* triennale specific styles */
.price-card-wrapper.triennale {
  flex-basis: 100%;
  max-width: 1080px;
  margin: 0 auto;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 3px;
  border-radius: 16px;
}

.price-card-wrapper.triennale .price-card {
  background: white;
  padding: 28px 25px 20px;
  margin: 0;
  text-align: center;
  border-radius: 13px;
  position: relative;
}

.price-card-wrapper.triennale .price-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  position: absolute;
  top: -10px;
  left: 30%;
  transform: translateX(-50%);
}

.triennale-title {
  margin: 10px 0 15px;
  font-size: 1.4rem;
}

.triennale-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.triennale-features {
  margin: 0;
  display: flex;
  gap: 12px;
  text-align: left;
  list-style: none;
  padding: 0;
  flex: 1;
  flex-wrap: nowrap;
  min-width: 0;
}

.triennale-features li {
  font-size: 0.95rem;
  display: inline-block;
  padding: 0;
  white-space: nowrap;
}

.triennale-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 0.9rem;
  display: inline-block;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  width: auto;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
#testimonials {
  background: #fff;
}

.testimonial-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  text-align: left;
  width: 100%;
  max-width: 370px;
  transition: all 0.3s ease;
  position: relative;
  border-left: 4px solid #0fabbc;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.testimonial p {
  font-style: italic;
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #374151;
  line-height: 1.6;
}

.testimonial span {
  font-weight: 600;
  color: #0fabbc;
  font-size: 1.05rem;
}

/* ========================================
   FEATURES
   ======================================== */
#features {
  background: #e8f6f8;
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.feature {
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px;
  width: 340px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #34e89e, #0fabbc, #43aaf3);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.feature:hover::before {
  transform: translateX(0);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.feature h3 {
  font-size: 1.6rem;
  color: #0fabbc;
  margin: 0 0 10px;
  font-weight: 600;
}

.feature p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.feature-cta {
  background: linear-gradient(-45deg, #34e89e, #0fabbc, #43aaf3, #66d9e8);
  background-size: 300% 300%;
  animation: gradientBG 8s ease infinite;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border: none;
}

.feature-cta:hover {
  box-shadow: 0 10px 30px rgba(15, 171, 188, 0.4);
}

.feature-cta::before {
  display: none;
}

.feature-cta h3,
.feature-cta p {
  color: white;
}

/* ========================================
   FOOTER CTA
   ======================================== */
.footer-cta {
  background: linear-gradient(-45deg, #34e89e, #0fabbc, #43aaf3, #66d9e8);
  background-size: 400% 400%;
  animation: gradientBG 10s ease infinite;
  color: white;
  padding: 50px 30px;
  text-align: center;
  position: relative;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.footer-cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}

.avatars {
  display: flex;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0fabbc, #43aaf3);
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.7rem;
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.social-proof-text {
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-cta h3 {
  font-size: 1.8rem;
  margin: 0 0 16px;
  font-weight: 700;
}

.footer-cta p {
  margin: 0 0 24px;
  opacity: 0.95;
  font-size: 1.05rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #333;
  color: rgba(255,255,255,0.7);
  padding: 30px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 20px;
}

.footer-cta-btn {
  background: linear-gradient(135deg, #0fabbc, #43aaf3);
  color: white;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(15, 171, 188, 0.3);
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(15, 171, 188, 0.5);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  gap: 16px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: white;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.6rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
  }

  .section {
    padding: 30px 20px;
  }

  .section-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .how-container,
  .pricing,
  .testimonial-list,
  .features-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .how-step,
  .price-card-wrapper,
  .testimonial,
  .feature {
    width: 100%;
    max-width: 400px;
    min-height: auto;
  }

  .price-card-wrapper.popular {
    transform: scale(1);
  }

  .footer-cta {
    padding: 40px 20px;
  }

  .footer-cta h3 {
    font-size: 1.5rem;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-cta-btn {
    width: 100%;
    max-width: 240px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }

  .pricing-badges {
    flex-direction: column;
    gap: 10px;
  }

  .video-wrapper {
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  }

  .browser-bar {
    padding: 8px 12px;
  }

  .browser-url {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .browser-dot {
    width: 8px;
    height: 8px;
  }

  #pricing {
    scroll-margin-top: 60px;
  }
}

/* Tablet/Schermi intermedi - Bottone va a capo */
@media (max-width: 900px) {
  .triennale-content {
    flex-wrap: wrap;
  }

  .triennale-btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}

/* Mobile - Tutto in colonna */
@media (max-width: 768px) {
  .price-card-wrapper.triennale {
    flex-basis: auto !important;
    max-width: 400px !important;
    width: 100% !important;
  }

  .triennale-content {
    flex-direction: column;
    align-items: stretch;
  }

  .triennale-features {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .triennale-features li {
    display: block !important;
    white-space: normal !important;
  }

  .triennale-btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0fabbc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.navbar-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.navbar-menu a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #34e89e, #0fabbc, #43aaf3);
  transition: width 0.3s ease;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: #0fabbc;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu a {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
  }

  .navbar-menu a:last-child {
    border-bottom: none;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* ========================================
   GUIDE/FAQ STYLES
   ======================================== */
.guide-container {
  max-width: 850px;
  margin: 40px auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.guide-container h1,
.guide-container h2,
.guide-container h3 {
  color: #0fabbc;
}

.guide-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.guide-container th,
.guide-container td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.guide-container a.button {
  display: inline-block;
  background-color: #ff5722;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.guide-container ul,
.guide-container ol {
  padding-left: 30px;
  margin-bottom: 20px;
}

.guide-container ol li,
.guide-container ul li {
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
}

.guide-container ol li::marker {
  font-weight: bold;
  color: #0fabbc;
}

.guide-container p {
  margin-left: 15px;
  margin-bottom: 15px;
}

.guide-container .indented {
  margin-left: 20px;
}
