@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --bg-color: #f7f7f8;
  --text-color: #111827;
  --title-color: #054e83;
  --btn-text: #ffffff;
  --radius-lg: 16px;
  --radius-md: 12px;
  --color-action: #0a67a7;
  --color-action-hover: #085488;
  --color-background-card: #ffffff;
  --blue-dark: #054e83;
  --blue-main: #0a67a7;
  --bg-white: #ffffff;
  --bg-soft: #f4fbff;
}

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

body {
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-weight: 300;
  background:
    radial-gradient(circle at top left, rgba(10, 103, 167, 0.18), transparent 36%),
    linear-gradient(135deg, var(--bg-white) 0%, var(--bg-soft) 48%, #e2f4ff 100%);
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.top-nav {
  width: 100%;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.nav-left {
  display: flex;
  justify-content: flex-start;
}

.nav-center {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding-top: 0.35rem;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 0.35rem;
}

@media (max-width: 768px) {
  .top-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .nav-center {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }
  .nav-left {
    order: 1;
  }
  .nav-right {
    order: 2;
  }
}

@media (max-width: 520px) {
  .top-nav {
    padding: 1rem 0.5rem;
  }
  .nav-center {
    gap: 0.5rem;
  }
  .brand-logo {
    height: 1.75rem;
  }
  .nav-center a {
    font-size: 0.85rem;
  }
}

.brand-logo {
  height: 2rem;
  width: auto;
  display: block;
}

.lang-select {
  display: none;
}

.custom-lang-select {
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  user-select: none;
}

.custom-lang-selected {
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.custom-lang-selected:hover {
  color: var(--text-color);
}

.custom-lang-selected::after {
  content: '';
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 0.15rem;
  margin-left: 0.25rem;
  opacity: 0.7;
}

.custom-lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.25rem;
  background-color: #ffffff; /* White background */
  border: 1px solid #f3f4f6; /* Very light subtle border */
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  min-width: 5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: all 0.2s ease;
  z-index: 50;
  overflow: hidden;
}

.custom-lang-options.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-lang-option {
  padding: 0.5rem 1rem;
  color: #6b7280;
  font-size: 0.9rem;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-lang-option:hover, .custom-lang-option.active {
  background-color: #f9fafb; /* Extremely subtle grey hover */
  color: var(--text-color);
}

.nav-center a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%; /* allows inner components to expand up to their own max-width */
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hero > header {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.card {
  background-color: var(--color-background-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  text-align: center;
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--title-color);
  line-height: 1.2;
}

.subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

footer p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 1.5rem;
  text-align: center;
}

.btn {
  background-color: var(--color-action);
  color: var(--btn-text);
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  text-align: center;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 100%; /* allowing it to shrink nicely on mobile */
}

.btn:hover {
  background-color: var(--color-action-hover);
  opacity: 0.95;
}

.btn:active {
  transform: scale(0.98);
}

#spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(10, 103, 167, 0.1);
  border-radius: 50%;
  border-top-color: var(--color-action);
  animation: spin 1s ease-in-out infinite;
  margin: 0 auto 1.5rem auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

[style*="display: none"] {
  display: none !important;
}

@media (min-width: 640px) {
  .hero {
    padding: 4rem 3rem;
  }
  h1 {
    font-size: 3rem;
  }
  .subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 4rem;
  }
  h1 {
    font-size: 3.5rem;
  }
  .subtitle {
    font-size: 1.35rem;
  }
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 2rem auto;
  text-align: left;
}

@media (min-width: 768px) {
  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.pricing-card {
  background-color: var(--color-background-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #e5e7eb;
}

.pricing-card.card-recommended {
  border: 2px solid var(--color-action);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .pricing-card.card-recommended {
    transform: scale(1.05);
    z-index: 10;
  }
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-action);
  color: #fff;
  padding: 4px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.pricing-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 1rem;
}

.pricing-desc {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.pricing-details {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.price-launch {
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.price-usual {
  color: #6b7280;
  text-decoration: line-through;
}

.pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.pricing-actions .btn {
  max-width: 100%;
  padding: 12px;
  font-size: 1rem;
  width: 100%;
}

.pricing-actions .btn-secondary {
  background-color: transparent;
  color: var(--color-action);
  border: 1px solid var(--color-action);
}

.pricing-actions .btn-secondary:hover {
  background-color: rgba(10, 103, 167, 0.05);
}

.banner {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  width: 100%;
  max-width: 1400px;
  margin: 2rem auto 0;
  text-align: center;
  border: 1px solid #e5e7eb;
}

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

.banner-label {
  display: inline-block;
  background-color: #f1f5f9;
  color: var(--color-action);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.banner h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.banner-product {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 1rem;
}

.banner-desc {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.banner-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .banner-actions {
    flex-direction: row;
  }
}

.banner-actions .btn {
  width: 100%;
  max-width: 400px;
}

@media (min-width: 768px) {
  .banner-actions .btn {
    width: auto;
  }
}

.btn-tertiary {
  background: none;
  font-size: 0.9rem;
  color: #6b7280;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.btn-tertiary:hover {
  color: var(--text-color);
}

.banner-note {
  font-size: 0.85rem;
  color: #94a3b8;
  font-style: italic;
}

.faq-short {
  width: 100%;
  max-width: 1000px;
  margin: 4rem auto 2rem;
  text-align: center;
}

.faq-short-content {
  background-color: var(--color-background-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  border: 1px solid #e5e7eb;
}

.faq-short h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 1rem;
}

.faq-short p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.faq-accordion {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  background-color: white;
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--title-color);
  cursor: pointer;
  list-style: none; /* Hide default arrow in some browsers */
  position: relative;
}

.faq-question::-webkit-details-marker {
  display: none; /* Hide default arrow in webkit */
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  font-size: 1.25rem;
  color: var(--color-action);
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid #f3f4f6;
}

.faq-answer {
  padding: 1.25rem 1.5rem;
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.95rem;
  background-color: #ffffff;
}

.faq-short .btn {
  width: 100%;
  max-width: 350px;
}

.redirect-block {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto 4rem;
}

.redirect-content {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  border: 1px dashed #cbd5e1;
  text-align: center;
}

.redirect-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 1rem;
}

.redirect-content p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.redirect-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.redirect-actions .btn {
  width: 100%;
  max-width: 300px;
}

@media (min-width: 640px) {
  .redirect-actions {
    flex-direction: row;
    justify-content: center;
  }

  .redirect-actions .btn {
    width: auto;
  }
}

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--color-action);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.page-header {
  margin-bottom: 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.page-header .subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin: 0 auto 2.5rem auto;
}

.detail-card {
  background-color: var(--color-background-card);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.detail-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--title-color);
}

.detail-card p {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.6;
}

.detail-section {
  margin-bottom: 2.5rem;
}

.detail-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--title-color);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.5;
}

.feature-list li::before {
  content: "•";
  color: var(--color-action);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.disclaimer-box {
  background-color: #f8fafc;
  border-left: 4px solid #cbd5e1;
  padding: 1.5rem;
  margin-bottom: 3rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.disclaimer-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.cta-booking {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

.cta-booking small {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.pathway-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pathway-option {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pathway-option h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-action);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.pathway-option .pathway-price {
  font-size: 1rem;
  color: #4b5563;
  font-weight: 500;
}

.final-cta {
  background-color: var(--color-action);
  color: white;
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 4rem;
}

.final-cta h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.final-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.final-cta .btn {
  background-color: white;
  color: var(--color-action);
}

.final-cta .btn:hover {
  background-color: #f8fafc;
}

/* Indications section styling */
.indications-table-wrapper {
  display: block;
  overflow-x: auto;
  margin-top: 1.5rem;
}

.indications-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.indications-table th {
  padding: 1rem 0.5rem;
  font-weight: 600;
  color: var(--title-color);
  border-bottom: 2px solid #e5e7eb;
}

.indications-table td {
  padding: 1rem 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.indications-table tr:last-child td {
  border-bottom: none;
}

.indications-mobile-cards {
  display: none;
  margin-top: 1.5rem;
}

.indication-card {
  background-color: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.indication-card h4 {
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.indication-card p {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0;
}

.indication-card p strong {
  color: #374151;
}

@media (max-width: 768px) {
  .indications-table-wrapper {
    display: none;
  }

  .indications-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

/* Lenis Smooth Scroll */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}
