/* Reset and Variables */
:root {
  --primary-blue: #0A192F;
  --secondary-blue: #112240;
  --accent-gold: #D4AF37;
  --accent-gold-hover: #F3E5AB;
  --text-dark: #333333;
  --text-light: #F8F8F8;
  --red-alert: #D32F2F;
  --green-check: #2ecc71; 
  --btn-green: #2ecc71;
  --btn-green-hover: #27ae60;
  --bg-white: #FFFFFF;
  --bg-gray: #F5F5F5;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  line-height: 1.5;
  background-color: var(--bg-gray);
  font-size: 15px; 
}

/* Utilities */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--text-light) !important; }
.text-black { color: var(--text-dark); }
.text-gold { color: var(--accent-gold) !important; }
.text-red { color: var(--red-alert) !important; }
.text-green { color: var(--green-check) !important; }

.bg-blue-grad {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}
.bg-white { background-color: var(--bg-white); }
.bg-dark { background-color: #050d1a; }
.bg-red { background-color: var(--red-alert); }

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

.img-fluid {
  display: block;
  margin: 0 auto;
}
.my-4 { margin: 30px 0; }

/* Top Banner */
.top-banner {
  background-color: var(--red-alert);
  color: white;
  text-align: center;
  padding: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Typography */
h1 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 900; line-height: 1.25; }
h2 { font-size: 1.4rem; margin-bottom: 15px; font-weight: 800; }
.bg-white h2 { color: var(--primary-blue); }
h3 { font-size: 1.4rem; margin-bottom: 15px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p { margin-bottom: 12px; font-size: 1rem; }

/* Buttons */
.cta-button {
  display: inline-block;
  background-color: var(--btn-green);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
  margin-top: 10px;
  margin-bottom: 10px;
  border: none;
  cursor: pointer;
}
.cta-button:hover {
  background-color: var(--btn-green-hover);
  transform: translateY(-2px);
}
.cta-button.outline {
  background-color: transparent;
  border: 2px solid var(--btn-green);
  color: var(--btn-green);
  box-shadow: none;
}
.cta-button.outline:hover {
  background-color: var(--btn-green);
  color: white;
}
.cta-button.gold-btn {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}
.cta-button.gold-btn:hover {
    background-color: var(--accent-gold-hover);
}

.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.btn-block {
  display: block;
  width: 100%;
}

/* Hero Section Adjustments */
.hero {
  padding: 10px 10px 10px 10px; /* Reduced to pull text up */
}
.hero .container {
  padding-top: 15px; /* Pulls h1 closer to the banner */
  padding-bottom: 15px;
}
.hero-mockup {
    max-width: 450px; /* Reduced by 50% */
    width: 100%;
    margin: 15px auto;
    display: block;
}
.hero .subtitle {
  font-size: 0.9rem;
  max-width: 800px;
  margin: 0 auto 15px auto;
}
.check-list-hero {
  list-style: none;
  margin: 0 auto 15px auto;
  max-width: 600px;
  text-align: left;
}
.check-list-hero li {
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-weight: 500;
  position: relative;
  padding-left: 25px;
}
.check-list-hero li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--green-check);
    font-weight: bold;
}
.hero-footer-text {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Carousel Section */
.material-pratica {
    overflow: hidden;
}
.material-pratica h2 {
    font-size: 1.4rem;
}
.carousel-container {
  position: relative;
  max-width: 600px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
}
.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* Features List */
.features-list {
  list-style: none;
  max-width: 700px;
  margin: 20px auto;
  text-align: left;
}
.features-list li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
.features-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--green-check);
  font-size: 1.1rem;
}

/* Audience Grid */
.audience .audience-img {
    max-width: 300px; 
    margin: 20px auto;
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}
.audience-item {
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-gold);
}
.audience-item h4 {
  color: var(--accent-gold);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.audience .cta-button {
  font-size: 0.85rem;
  padding: 12px 25px;
}

/* Red Block */
.red-block {
  background-color: var(--red-alert);
  color: white;
  padding: 15px 20px; 
}
.red-block .container {
    padding: 10px 20px;
}
.red-block h2 {
  color: white;
  font-size: 1.4rem; 
}
.red-block p {
    font-size: 0.95rem; 
}
.red-block .highlight {
  font-size: 1.1rem; 
  font-weight: 800;
  color: var(--accent-gold);
  margin-top: 10px;
}

/* Bonus */
.bonus-desc-1 { font-size: 0.95rem; margin-bottom: 5px; }
.bonus-desc-2 { font-size: 0.8rem; margin-bottom: 25px; opacity: 0.8; }

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.bonus-item {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.3);
}
.bonus-item img {
  max-height: 255px; /* Decreased 15% */
  width: auto;
  object-fit: contain;
  margin-bottom: 15px;
}
.bonus-tag {
  background-color: var(--accent-gold);
  color: var(--primary-blue);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* Pricing Section */
.pricing-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}
@media (min-width: 800px) {
  .pricing-cards {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
}
.price-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 30px 20px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.highlight-card {
  border: 3px solid var(--accent-gold);
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(10, 25, 47, 0.15);
  z-index: 2;
}
.badge-best-seller {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: var(--primary-blue);
  padding: 4px 15px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
}
.plan-title-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-gold);
  color: #fff !important;
  padding: 4px 15px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.price-card h3 {
  font-size: 1.6rem;
  color: var(--primary-blue);
  margin-bottom: 5px;
}
.subtitle-card {
  color: #666;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.95rem;
}
.mockup-img {
  max-height: 330px; /* Increased 50% */
  object-fit: contain;
  margin: 0 auto 10px auto;
}

/* Pricing Features */
.price-card .features {
  list-style: none;
  text-align: left;
  margin-bottom: 5px; /* Reduced to remove space below bullet */
  flex-grow: 1;
}
.price-card .features li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}
.price-card .features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--green-check);
    font-weight: bold;
}
.price-card .features li.bonus-text::before {
    content: '🎁';
    color: inherit;
}
.price-card .features li.shield-text::before {
    content: '🛡️';
    color: inherit;
}
.price-card .features li.sparkle-text::before {
    content: '✨';
    color: inherit;
}

.bonus-text {
  color: #00796b;
  font-weight: 600;
}
.price {
  margin: 10px 0 15px 0;
}
.economy {
  color: #2e7d32;
  font-weight: 700;
  font-size: 1rem;
}
.old-price {
  text-decoration: line-through;
  color: var(--red-alert);
  font-size: 0.95rem;
  font-weight: 700;
}
.value {
  font-size: 4.2rem;
  font-weight: 900;
  color: var(--btn-green);
  line-height: 1;
  margin: 10px 0;
}
.installment {
  font-size: 1rem;
  font-weight: 600;
}
.alert-price {
  color: var(--red-alert);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 12px;
}

/* Security / Guarantee Section */
.security {
    padding: 0;
}
.security .container {
    padding-top: 20px;
    padding-bottom: 20px;
}
.seal-90 {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-blue);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px dashed var(--primary-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-10deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.seal-90 span:nth-child(1) { font-size: 2rem; }
.seal-90 span:nth-child(2) { font-size: 1rem; text-transform: uppercase;}

/* Steps Section */
.steps-section {
    padding: 0;
}
.steps-section .container {
    padding-top: 20px;
    padding-bottom: 20px;
}
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}
@media (min-width: 768px) {
    .steps-grid {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
}
.step-item {
  text-align: center;
  flex: 1;
  max-width: 250px;
  margin: 0 auto;
}
.step-num {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--primary-blue);
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 15px auto;
}
.step-item h4 {
    font-size: 1.1rem;
}
.step-item p {
    font-size: 0.9rem;
    color: #555;
}

/* FAQ Section - Accordion Style */
.faq-section {
    padding: 0;
}
.faq-section .container {
    padding-top: 20px;
    padding-bottom: 20px;
}
.faq-container {
    max-width: 800px;
    margin: 30px auto 0 auto;
    text-align: left;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}
.faq-question::after {
    content: '+';
    color: var(--accent-gold);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer p {
    padding-bottom: 20px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* Footer */
footer {
  padding: 20px;
  font-size: 0.85rem;
}
.disclaimer {
  font-size: 0.75rem;
  opacity: 0.6;
  max-width: 800px;
  margin: 10px auto 0 auto;
}

/* Modal / Popup */
.modal-overlay {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}
.modal-content {
  background-color: var(--bg-white);
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 450px;
  position: relative;
  animation: fadeInDown 0.4s ease-out;
  border: 3px solid var(--accent-gold);
}
.close-btn {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
.close-btn:hover {
  color: var(--text-dark);
}
.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 5px;
}
.modal-content h3 {
  font-size: 1.1rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
}
.highlight-red {
  color: var(--red-alert);
  font-weight: 800;
  margin: 10px 0;
  font-size: 0.95rem;
}
.mockup-img-small {
  max-height: 160px;
  margin: 10px auto;
}
.basic-link {
  display: inline-block;
  margin-top: 10px;
  color: #888;
  text-decoration: underline;
  font-size: 0.85rem;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Overrides */
@media (max-width: 768px) {
  /* Reduce side padding heavily so text uses whole width on mobile */
  .container {
    padding: 20px 8px;
  }
  .hero {
    padding: 5px 8px;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .price-card.highlight-card {
    transform: none;
  }
  .mockup-img { max-height: 450px; margin-bottom: 25px; }
  .mockup-img-small { max-height: 240px; margin-bottom: 25px; }
  
  h1 { font-size: 1.3rem; line-height: 1.25; }
  h2 { font-size: 1.2rem; }
  .value { font-size: 3.3rem; }
  .cta-button { padding: 12px 25px; font-size: 1rem; }
}
