:root {
  --bg: #050816;
  --card: #0b1220;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  --transition: 0.22s ease-out;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;

  /* DARK BACKGROUND */
  background: radial-gradient(circle at top, #111827 0, #020617 55%);
  color: var(--text-main);
  padding: 24px;
}

.pricing-wrapper {
  max-width: 1100px;
  width: 100%;
}

/* UPDATED HEADER LAYOUT */
.pricing-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  /* so it stacks nicely on small screens */
}

.pricing-logo {
  height: 56px;
  /* adjust as needed */
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.pricing-header-text {
  text-align: left;
  max-width: 480px;
}

.pricing-header-text h1 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
}

.pricing-header-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* MAIN CONTENT LAYOUT: FAQ (LEFT) + BANNERS (RIGHT) */
.content-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.faq-section {
  background: linear-gradient(145deg, #020617, var(--card));
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, 0.35);
  flex: 1 1 280px;
  max-width: 360px;
}

.faq-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.faq-intro {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
}

.faq-item-question {
  font-weight: 600;
  margin-bottom: 4px;
}

.faq-item-answer {
  color: var(--text-muted);
  line-height: 1.4;
}

/* VERTICAL BANNERS LAYOUT */
.banner-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  flex-wrap: wrap;
  flex: 1 1 340px;
}

.banner {
  position: relative;
  background: linear-gradient(145deg, #020617, var(--card));
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;

  /* Vertical banner shape */
  width: 260px;
  min-height: 480px;
}

.banner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 60%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.08), transparent 55%);
  opacity: 0.9;
  z-index: -1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.badge span.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.banner-title {
  margin: 14px 0 4px;
  font-size: 1.3rem;
}

.banner-subtitle {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.price-main {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

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

.price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.features li::before {
  content: "✔";
  font-size: 0.8rem;
  color: var(--accent);
}

.cta-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.btn-primary,
.btn-ghost {
  flex: 1;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  outline: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #022c22;
  box-shadow: 0 14px 35px rgba(34, 197, 94, 0.35);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(15, 23, 42, 0.4);
}

.ribbon {
  position: absolute;
  top: 10px;
  right: -48px;
  transform: rotate(38deg);
  background: var(--accent);
  color: #022c22;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 3px 60px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.45);
}

/* ===== Billing toggle ===== */

.billing-toggle-container {
  /* Combines wrapper and toggle styles for the new HTML structure */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow);
  margin: 1.25rem 0 1.75rem;
}


.billing-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}

.billing-label--active {
  color: var(--accent);
}

.billing-help {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Switch control */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  background: #111827;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition);
}

.slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform var(--transition);
}

.switch input:checked + .slider {
  background: var(--accent-soft);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

/* small tweak for narrow screens */
@media (max-width: 600px) {
  .billing-toggle-container {
    margin-top: 0.75rem;
  }
}





/* FOOTER */
.site-footer {
  margin-top: 32px;
  padding: 14px 4px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-self: flex-start;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-self: flex-end;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(34, 197, 94, 0.08);
  transform: translateY(-1px);
}

/* FLAGS CENTERED IN SAME ROW */
.footer-flags {
  display: flex;
  justify-content: center;
  gap: 8px;
  justify-self: center;
}

.footer-flags img {
  height: 20px;
  /* thumbnail size for footer */
  width: auto;
  border-radius: 2px;
  display: block;
}

@media (max-width: 720px) {
  .pricing-header-text h1 {
    font-size: 1.5rem;
  }

  .banner {
    width: 100%;
    max-width: 340px;
  }

  .content-layout {
    flex-direction: column;
  }

  .faq-section {
    max-width: 100%;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-flags {
    justify-content: flex-start;
  }
}

/* --- CONTACT FORM SPECIFIC STYLES --- */

.contact-container {
  max-width: 500px;
  width: 100%;
  margin-top: 32px;
  background: linear-gradient(145deg, #020617, var(--card));
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.contact-container h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.contact-container p {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: var(--card);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

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

/* Reusing .btn-primary from existing CSS for the submit button */
.form-submit-btn {
  width: 100%;
  /* Make the button span the full width */
}

/* Media query for smaller screens */
@media (max-width: 600px) {
  .contact-container {
    margin-top: 20px;
    padding: 20px;
  }
}