/*--------------------------------------------------------------
# BetTrackr marketing site - v2
#
# app_v1.css visuals (image backgrounds, card art, glow accents)
# plus the 2026-07 additions: app-aligned header, comparison
# table, BonusBank strip row, welcome steps. Requires
# tokens_v1.css + theme_v1.css loaded first (includes.html).
--------------------------------------------------------------*/

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* Body */

:root {
  --bg-blue: #0f0e2d;
  /* App-header tokens, copied from the app's tokens_v1.css so the web
     header and user dropdown render identically to the main app
     (the web app does not load tokens_v1/theme_v1). */
  --bettrackr-surface: #141a3a;
  --bettrackr-surface-alt: #1d2547;
  --bettrackr-border: rgba(255, 255, 255, 0.08);
  --bettrackr-text: #f8faff;
  --bettrackr-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

body {
  background-color: var(--bettrackr-bg);
  color: white !important;
}

a {
  color: var(--bettrackr-primary);
}

/* Shared section rhythm */
.mk-section {
  padding: 4rem 0;
}

.mk-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bettrackr-primary);
  margin-bottom: 0.75rem;
}

.mk-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Muted-but-readable text on the navy backgrounds. Bootstrap runs in light
   mode here (no data-bs-theme), so .text-body-secondary renders dark grey
   and disappears against the theme - use this instead. */
.text-soft {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Navigation  */

.nav .nav-link {
  color: rgba(255, 255, 255, 0.55);
}
.nav-link.active,
.nav-link.show {
  color: var(--bettrackr-primary) !important;
}

.nav-link:hover {
  color: var(--bettrackr-primary);
}

/* Header - matches the app header: same surface, same height,
   same logo, sticky with a hairline border. */
#bt-navbar {
  background-color: var(--bettrackr-surface);
  border-bottom: 1px solid var(--bettrackr-border);
  min-height: 60px;
  padding-top: 0;
  padding-bottom: 0;
}

/* Match the app header's logo position exactly (common_v2.0.css: .header
   has padding-left 20px, the logo link has no padding, the img is p-1 with
   max-height 40px inside a 60px bar) so the logo doesn't move when
   switching between the app and the marketing site. */
#bt-navbar > .container-fluid {
  padding-left: 20px;
}

#bt-navbar .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

#bt-navbar .navbar-brand img {
  max-height: 40px;
  margin-right: 6px;
}

#bt-navbar .nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  padding: 0.5rem 0.25rem;
}

#bt-navbar .nav-link:hover,
#bt-navbar .nav-link:focus,
#bt-navbar .nav-link.active {
  color: var(--bettrackr-primary);
}

/* Profile icon - same as the app header's .nav-icon (22px, no caret) */
#bt-navbar .nav-icon {
  color: var(--bettrackr-primary);
  font-size: 22px;
}

/* User dropdown - same rules as the app (theme_v1.css dropdown block +
   common_v2.0.css .header-nav .profile sizing), so the menu looks
   identical when switching between the app and the marketing site. */
.dropdown-menu {
  background-color: var(--bettrackr-surface);
  border: 1px solid var(--bettrackr-border);
  border-radius: 12px;
  box-shadow: var(--bettrackr-shadow);
  color: var(--bettrackr-text);
}

.dropdown-item {
  color: var(--bettrackr-text);
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--bettrackr-surface-alt);
  color: var(--bettrackr-text);
}

.dropdown-divider {
  border-color: var(--bettrackr-border);
}

.dropdown-header {
  color: var(--bettrackr-text);
}

.dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--bettrackr-text);
}

/* Hero */
#hero-wrap {
  background-image: url("https://static.bettrackr.com.au/hero_bg_1x.jpg");
  background-size: cover;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
}

/* Integtrated */
#integration-wrap {
  background-color: var(--bettrackr-bg);
}

.integration-item {
  text-align: center;
  width: 80px;
}
.integration-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.integration-item:hover img {
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 0 8px rgba(0, 123, 255, 0.8));
}

.disabled {
  opacity: 0.2;
  pointer-events: none;
}

.caption {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  text-align: center;
}

/* Features */

.feature-card {
  background-color: transparent !important;
  border: none;
  box-shadow: none;
  color: white !important;
  cursor: pointer;
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(74, 222, 71, 0.18);
  box-shadow: 0 0 45px rgba(74, 222, 71, 0.75), 0 0 90px rgba(74, 222, 71, 0.35);
}

.feature-card .card-title {
  font-size: 1.25rem;
}

.feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(74, 222, 71, 0.14);
  box-shadow: 0 0 30px rgba(74, 222, 71, 0.45), 0 0 60px rgba(74, 222, 71, 0.2);
  transition: box-shadow 0.3s ease, background 0.3s ease;
  margin-bottom: 1rem;
}

.feature-icon {
  font-size: 2.35rem;
  color: var(--bettrackr-primary);
  filter: drop-shadow(0 0 10px rgba(74, 222, 71, 0.55));
}

/* Pricing - the gradient artwork covers the whole section, not just the
   card row, so the cards get the full container width. */
#pricing-wrap {
  background-image: url('https://static.bettrackr.com.au/pricing_bg_1x.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bettrackr-bg);
}

#enterprise-row {
  background-image: url('https://static.bettrackr.com.au/enterprise_bg_1x.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
}

.pricing-card {
  border: 0;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
  border-radius: 20px;
}
.pricing-card:hover {
  box-shadow: 0 0 50px var(--bettrackr-primary);
  cursor: pointer;
}

#pricing-standard-card {
  background-image: url("https://static.bettrackr.com.au/standard_bg_1x.png");
  background-size: cover;
  background-color: transparent;
  color: var(--bettrackr-on-primary) !important;
}
#pricing-standard-card img {
  pointer-events: none;
}

#pricing-bonusbank-card {
  background-image: url("https://static.bettrackr.com.au/bonusbank_bg_1x.png");
  background-size: cover;
  color: white !important;
  background-color: transparent;
}

#pricing-annual-card {
  background-image: url("https://static.bettrackr.com.au/pricing_bg_1x.png");
  background-size: cover;
  color: white !important;
  background-color: transparent;
  border: 2px solid var(--bettrackr-primary);
}
/* Green emphasis on the dark card's headline ("Unlock Everything" on the
   home pricing section, "Monthly Plan" on the premium page). */
#pricing-annual-card .card-title {
  color: var(--bettrackr-primary);
}

/* "Best value" badge on the featured plan card */
.pricing-featured {
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bettrackr-primary);
  color: var(--bettrackr-on-primary);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 14px;
  white-space: nowrap;
  z-index: 3;
}

/* BonusBank partner strip - its own full-width row under the tier cards.
   Background art comes from the #pricing-bonusbank-card id rule. The art
   PNG has rounded corners baked in, so stretch it edge-to-edge and put a
   matching solid blue underneath - otherwise the transparent corners let
   the section background peek through. */
.bonusbank-strip {
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

#pricing-bonusbank-card.bonusbank-strip {
  background-size: 100% 100%;
  background-color: #1a4fae;
}

.bonusbank-strip img {
  max-height: 40px;
}

/* Comparison table (Free vs Premium) */
.compare-table {
  --bs-table-bg: transparent;
  --bs-table-color: white;
  --bs-table-border-color: var(--bettrackr-border);
  margin-bottom: 0;
}

.compare-table th,
.compare-table td {
  padding: 0.7rem 1rem;
  vertical-align: middle;
}

.compare-table thead th {
  border-bottom: 2px solid var(--bettrackr-border);
  font-size: 0.95rem;
  color: var(--bettrackr-primary);
}

.compare-table td.center,
.compare-table th.center {
  text-align: center;
  width: 130px;
}

.compare-table .bi-check-lg {
  color: var(--bettrackr-primary);
}

.compare-table .col-premium {
  background-color: rgba(74, 222, 71, 0.12);
}

.compare-table .muted-dash {
  color: rgba(255, 255, 255, 0.45);
}

.compare-table .group-row td {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bettrackr-primary);
  padding-top: 1.1rem;
}

.compare-wrap {
  background-color: rgba(15, 15, 63, 0.35);
  border: 1px solid var(--bettrackr-border);
  border-radius: 20px;
  overflow-x: auto;
}

/* Steps */
#steps-wrap {
  background-image: url("https://static.bettrackr.com.au/steps_bg_1x.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bettrackr-bg);
}

.step-arrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.6rem;
}

/* Content */

.content-wrap {
  background-image: url("text_bg_1x.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bettrackr-bg);
}

/* Questions and Answers */
#questions-wrap {
  background-image: url("https://static.bettrackr.com.au/hero_bg_1x.jpg");
  background-size: cover;
}

#questions-accordion {
  --bs-accordion-color: white;
  --bs-accordion-btn-color: white;
  --bs-accordion-btn-icon-color: white;
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-focus-box-shadow: 0;
}

#questions-accordion .accordion-item {
  margin-bottom: 0.5rem;
  background: transparent;
}

#questions-accordion .accordion-button::after {
  filter: brightness(0) invert(1);
}

#questions-accordion .accordion-header,
#questions-accordion .accordion-button {
  font-weight: bold;
  background-color: rgb(15, 15, 63, 0.2);
  color: white;
  border-radius: 10px 10px 10px 10px;
  border-bottom: black solid 0;
}

#questions-accordion .accordion-button:not(.collapsed){
  background-color: rgb(109, 231, 31, 0.4);
  border-radius: 10px 10px 0px 0px;
  border: var(--bettrackr-primary) solid 1px;
  border-bottom: 0;
}

#questions-accordion .accordion-body{
  background-color: rgb(109, 231, 31, 0.4);
  border-radius: 0px 0px 10px 10px;
  border-bottom: black solid 0;
  border: var(--bettrackr-primary) solid 1px;
  border-top: 0;
}

/*Chrome extension banner */

#chrome-ext-banner-wrap {
  background-image: url('https://static.bettrackr.com.au/extension_banner_1x.jpg');
  background-size: cover;
}

/* Paymet page */

#payment-wrap {
  background-image: url('https://static.bettrackr.com.au/pricing_bg_1x.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#welcome-wrap {
  background-color: var(--bettrackr-bg);
}

.welcome-step {
  background-color: rgba(15, 15, 63, 0.35);
  border: 1px solid var(--bettrackr-border);
  border-radius: 20px;
  height: 100%;
}

.welcome-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(74, 222, 71, 0.15);
  box-shadow: 0 0 20px rgba(74, 222, 71, 0.25);
  color: var(--bettrackr-primary);
  font-weight: 700;
}

#CheckoutModal {
  color: var(--bettrackr-bg);
}

#CheckoutModal .modal-content {
  background-color: #ffffff;
}

/* Footer */
#footer {
  background-color: var(--bg-blue);
}

@media (max-width: 991.98px) {
  .hero-text h1 {
    font-size: 2.3rem;
  }

  .mk-section {
    padding: 3rem 0;
  }
}
