/* ────────────────────────────────────────────────────────────────
   ToneelTickets — static marketing/legal site (deploy/public/)
   White-label, served from the persistent/public PVC. Bootstrap 5
   provides the grid + accordion + carousel; this file adds the dark
   gradient, glassy cards, navbar, calculator and footer styling.
   ──────────────────────────────────────────────────────────────── */

html, body {
  background-color: #03050f;
  color: rgba(255, 255, 255, 0.85);
  scroll-behavior: smooth;
}

/* One continuous gradient that grows with page content */
body.landing-body {
  background-color: #03050f;
  background-image: linear-gradient(180deg,
    #0b1a3a 0%, #0a1530 25%, #08112a 55%, #060c1f 80%, #03050f 100%);
  background-repeat: no-repeat;
}

h1, h2, h3, h4, h5, h6 { color: #fff; }
.lead { color: rgba(255, 255, 255, 0.78); }
.text-muted { color: rgba(255, 255, 255, 0.65) !important; }
.small.text-muted { color: rgba(255, 255, 255, 0.55) !important; }
a { color: #93c5fd; }
a:hover { color: #bfdbfe; }
.link-light { color: rgba(255, 255, 255, 0.7) !important; }
.link-light:hover { color: #fff !important; }

.py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

/* ── Navbar (sticky, glass) ──────────────────────────────────── */
.landing-nav {
  background-color: rgba(8, 17, 42, 0.78) !important;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.landing-nav .nav-link,
.landing-nav .navbar-brand,
.landing-nav .navbar-toggler { color: #fff; }
.landing-nav .nav-link { padding: 0.4rem 0.85rem; border-radius: 0.5rem; }
.landing-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.landing-nav .nav-link.active { color: #fff; background: rgba(99,102,241,0.18); }
.landing-nav .brand-logo { display: block; height: 36px; width: auto; max-width: 180px; }
.landing-nav .btn-nav-ghost {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-weight: 600;
  transition: transform .15s ease, background-color .15s ease;
}
.landing-nav .btn-nav-ghost:hover {
  background-color: rgba(255, 255, 255, 0.18); color: #fff; transform: translateY(-1px);
}
.landing-nav .btn-nav-cta {
  background: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  border: 0; color: #fff; font-weight: 700;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.landing-nav .btn-nav-cta:hover {
  color: #fff; filter: brightness(1.05); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}
.landing-nav .navbar-toggler { border-color: rgba(255,255,255,0.4); }
.landing-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
  .landing-nav .navbar-collapse {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    border-radius: .75rem;
    padding: 1rem;
    margin-top: .5rem;
  }
}

.lang-switch { display: inline-flex; gap: 0.15rem; }
.lang-switch a {
  padding: 0.2rem 0.55rem; font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0.3rem;
  color: rgba(255, 255, 255, 0.7); text-decoration: none; font-weight: 600;
}
.lang-switch a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.lang-switch a.active { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); color: #fff; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { position: relative; background: transparent; color: #fff; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(99, 102, 241, 0.18), transparent 55%),
    radial-gradient(ellipse at 85% 0%, rgba(6, 182, 212, 0.10), transparent 50%);
}
.hero > .container { position: relative; z-index: 1; }
.hero .hero-meta { color: rgba(255, 255, 255, 0.75); }
.hero .btn-outline-light { border-color: rgba(255,255,255,0.7); }

.hero-carousel {
  max-width: 900px; margin: 0 auto;
  background: transparent; border: 0; position: relative;
  padding: 0 3rem;
}
.hero-carousel .carousel-inner { border-radius: 1rem; overflow: hidden; }
.hero-carousel .carousel-indicators { position: static; margin: 1rem 0 0; padding: 0; }
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 3rem; top: 0; bottom: calc(1rem + 1.25rem);
  opacity: 1; background: transparent !important; border: 0; filter: none !important;
}
.hero-carousel .carousel-control-prev { left: 0; }
.hero-carousel .carousel-control-next { right: 0; }
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 1.75rem !important; height: 1.75rem !important;
  filter: none !important; background-color: transparent !important;
}
.hero-carousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M11.354 1.646a.5.5 0 010 .708L5.707 8l5.647 5.646a.5.5 0 01-.708.708l-6-6a.5.5 0 010-.708l6-6a.5.5 0 01.708 0z'/></svg>") !important;
}
.hero-carousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M4.646 1.646a.5.5 0 01.708 0l6 6a.5.5 0 010 .708l-6 6a.5.5 0 01-.708-.708L10.293 8 4.646 2.354a.5.5 0 010-.708z'/></svg>") !important;
}
.hero-carousel .hero-shot {
  display: block; width: 100%; height: auto;
  background: #1a2238;
  /* Show the whole screenshot — these are app mockups that must stay readable. */
  object-fit: contain;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.9);
}
/* On phones the prev/next buttons eat into the image. Shrink padding and
   arrow size so the full screenshot stays visible. */
@media (max-width: 575.98px) {
  .hero-carousel { padding: 0 1.5rem; }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next { width: 1.5rem; }
  .hero-carousel .carousel-control-prev-icon,
  .hero-carousel .carousel-control-next-icon { width: 1.25rem !important; height: 1.25rem !important; }
}

.scan-mockup-carousel { max-width: 280px; margin: 0 auto; }
.scan-mockup {
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.scan-mockup-carousel .carousel-indicators { margin-bottom: -1.75rem; }
.scan-mockup-carousel .carousel-indicators [data-bs-target] {
  width: 8px; height: 8px; border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55); border: 0;
}
.scan-mockup-carousel .carousel-indicators .active { background-color: #fff; }
.scan-mockup-carousel .carousel-control-prev,
.scan-mockup-carousel .carousel-control-next { width: 12%; opacity: .7; }

/* ── Glassy cards everywhere ─────────────────────────────────── */
.card {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}
.card .text-muted { color: rgba(255, 255, 255, 0.65) !important; }
.card.border-primary { border-color: rgba(99, 102, 241, 0.55) !important; }

.feature-icon {
  width: 56px; height: 56px;
  background: rgba(99, 102, 241, 0.15); color: #93c5fd;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  color: #fff; font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

/* Accordion (FAQ) */
.accordion-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}
.accordion-button { background: transparent; color: #fff; font-weight: 600; }
.accordion-button:not(.collapsed) {
  background: rgba(99, 102, 241, 0.15); color: #fff; box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: rgba(99,102,241,0.4); }
.accordion-button::after { filter: invert(1) brightness(1.4); }
.accordion-body { color: rgba(255, 255, 255, 0.78); }

.text-primary, .text-primary * { color: #93c5fd !important; }
.bg-primary { background-color: #6366f1 !important; }

/* ── Calculator ──────────────────────────────────────────────── */
.calc-card { background-color: rgba(255, 255, 255, 0.05) !important; }
.calc-card .form-control, .calc-card .form-select {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.calc-card .form-control:focus, .calc-card .form-select:focus {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 0 .2rem rgba(99, 102, 241, 0.25);
  color: #fff;
}
.calc-card .form-text, .calc-card .form-label { color: rgba(255, 255, 255, 0.65); }
.calc-table td { color: rgba(255, 255, 255, 0.82); border-color: transparent; }
.calc-table .border-top { border-top: 1px solid rgba(255, 255, 255, 0.15) !important; }
.calc-perticket {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 0.75rem; padding: 1rem;
}

.compare-table th {
  color: rgba(255, 255, 255, 0.6); font-weight: 600;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.compare-table td { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.08); }
.compare-table tr.compare-us td { background: rgba(99, 102, 241, 0.12); }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }

.alert {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: rgba(255, 255, 255, 0.85);
}
.alert-info { background: rgba(34, 211, 238, 0.10); border-color: rgba(34, 211, 238, 0.25); }

.cta {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}
.cta .btn-outline-light { border-color: rgba(255,255,255,0.8); }

.landing-footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
}
.landing-footer h5, .landing-footer h6 { color: #fff; }
.landing-footer .text-white { color: #fff !important; }
.landing-footer a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.landing-footer a:hover { color: #fff; }

.form-control, .form-select { color: #fff; }
.form-control::placeholder { color: rgba(255,255,255,0.4); }
.form-check-input { background-color: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.form-check-input:checked { background-color: #6366f1; border-color: #6366f1; }

/* Bootstrap table-borderless override */
.table { color: rgba(255, 255, 255, 0.85); }
.table > :not(caption) > * > * { background: transparent; color: inherit; }

/* ─── Legacy styles for legal pages (privacy/terms/dpa) ───────── */
body:has(main.marketing) {
  background: linear-gradient(180deg, #0a0e1a 0%, #0d1726 50%, #0a0e1a 100%);
  color: #e7ebf0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
}
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13, 14, 22, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0.85rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.55rem;
  color: #fff; text-decoration: none; font-weight: 700;
}
.nav-brand img { height: 30px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; }
.nav-links {
  list-style: none; margin: 0 0 0 auto; padding: 0;
  display: flex; gap: 1.25rem; align-items: center;
}
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.92rem; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta .btn-primary {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: #fff; border: 0; padding: 0.5rem 1.1rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 0.88rem;
}
.nav .lang-switch a {
  display: inline-block; padding: 0.15rem 0.4rem;
  color: rgba(255, 255, 255, 0.55); text-decoration: none; font-size: 0.85rem;
}
.nav .lang-switch a.active { color: #fff; font-weight: 600; }

main.marketing { padding: 3rem 1.25rem 5rem; }
.container-narrow { max-width: 820px; margin: 0 auto; }
.container-narrow h1 { font-size: 2.2rem; margin: 0 0 0.5rem; color: #fff; }
.container-narrow h2 { font-size: 1.35rem; margin: 2.25rem 0 0.6rem; color: #fff; }
.container-narrow h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; color: #fff; }
.container-narrow p, .container-narrow li { color: rgba(255, 255, 255, 0.78); }
.container-narrow ul, .container-narrow ol { padding-left: 1.4rem; }
.container-narrow li { margin-bottom: 0.35rem; }
.container-narrow strong { color: #fff; }
.container-narrow a { color: #8b9eff; }
.container-narrow a:hover { color: #b8c4ff; }
.container-narrow hr { border: 0; border-top: 1px solid rgba(255,255,255,0.08); margin: 2rem 0; }
.container-narrow .text-muted { color: rgba(255,255,255,0.5); }
.container-narrow .small { font-size: 0.85rem; }
.container-narrow .alert {
  background: rgba(99, 102, 241, 0.10); border: 1px solid rgba(99, 102, 241, 0.30);
  border-radius: 0.75rem; padding: 1rem 1.15rem; margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.85);
}

body:has(main.marketing) > footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 1.25rem 1.25rem;
  background: transparent;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.footer-col h4 { color: #fff; font-size: 0.95rem; margin: 0 0 0.75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin: 0; }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.45); font-size: 0.82rem; text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.65); }
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Check-bullet lists: icon absolutely positioned in left gutter so
   wrapped text aligns with the first text line. */
ul.list-unstyled li:has(> i.fa-check:first-child),
ul.list-unstyled li:has(> i.fa-circle-check:first-child) {
  position: relative;
  padding-left: 1.5em;
}
ul.list-unstyled li > i.fa-check:first-child,
ul.list-unstyled li > i.fa-circle-check:first-child {
  position: absolute;
  left: 0;
  top: 0.3em;
  margin-right: 0 !important;
}

