/* ============================================================
   Flipdesk™ Marketing Site — Custom Theme
   Built on Bootstrap 5.3
   Primary: #6A63E9  |  Font: Inter
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --fd-primary:       #6A63E9;
  --fd-primary-dark:  #5550c8;
  --fd-primary-light: #8b85ef;
  --fd-primary-faint: #f0effd;
  --fd-gray-text:     #6b7280;
  --fd-dark-bg:       #1a1b2e;
  --fd-darker-bg:     #111222;
  --fd-section-bg:    #f8f8ff;

  --bs-primary:       #6A63E9;
  --bs-primary-rgb:   106, 99, 233;
  --bs-link-color:    #6A63E9;
}

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Bootstrap Primary Colour Overrides ────────────────────── */
.btn-primary {
  background-color: var(--fd-primary);
  border-color: var(--fd-primary);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--fd-primary-dark);
  border-color: var(--fd-primary-dark);
}
.btn-outline-primary {
  color: var(--fd-primary);
  border-color: var(--fd-primary);
}
.btn-outline-primary:hover {
  background-color: var(--fd-primary);
  border-color: var(--fd-primary);
}
.text-primary { color: var(--fd-primary) !important; }
.bg-primary    { background-color: var(--fd-primary) !important; }
.border-primary{ border-color: var(--fd-primary) !important; }

/* ── Navbar ─────────────────────────────────────────────────── */
.site-nav {
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.site-nav.scrolled {
  box-shadow: 0 2px 16px rgba(106, 99, 233, 0.12);
  background-color: #fff !important;
}
.site-nav .navbar-brand img {
  height: 50px;
}
.site-nav .nav-link {
  font-weight: 500;
  color: #374151;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.site-nav .nav-link:hover {
  color: var(--fd-primary);
}
.site-nav .btn-nav-cta {
  font-size: 0.875rem;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
}
.site-nav-actions .nav-link-login {
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}
.site-nav-actions .nav-link-login:hover {
  color: var(--fd-primary);
}
.site-nav .navbar-toggler {
  position: relative;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
}
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse.show {
    flex-basis: 100%;
    background: #fff;
    padding: 0.25rem 0 1rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 8px 20px rgba(17, 18, 34, 0.08);
  }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #1a1b2e 0%, #2d2b5a 45%, #3d3580 70%, #6a63e9 100%);
  padding: 8.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(106,99,233,0.25) 0%, transparent 65%);
}
.hero-section .container { position: relative; z-index: 2; }

#deskCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(106, 99, 233, 0.25);
  border: 1px solid rgba(106, 99, 233, 0.5);
  color: #c4c0f9;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  font-size: 2.4em;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-headline .highlight {
  color: var(--fd-primary-light);
  font-size: 1.4em;
}
.hero-subhead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.65;
}
.hero-cta-group .btn {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
}
.hero-cta-group .btn-primary {
  box-shadow: 0 4px 24px rgba(106,99,233,0.45);
}
.hero-cta-group .btn-outline-light {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.hero-cta-group .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
}
.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}
.hero-strip-item i {
  color: var(--fd-primary-light);
  font-size: 1rem;
}

/* Hero mock board */
.hero-board-mock {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero-board-col {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 0.85rem 0.75rem;
}
.hero-board-col-header {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.55rem;
  border-left: 3px solid var(--fd-primary-light);
}
.hero-card:last-child { margin-bottom: 0; }
.hero-card .hc-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.25rem;
}
.hero-card .hc-meta {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-card .hc-meta i { font-size: 0.72rem; }
.hero-card.accent-orange { border-left-color: #f97316; }
.hero-card.accent-green  { border-left-color: #22c55e; }
.hero-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(106,99,233,0.35);
  border-radius: 100px;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #c4c0f9;
  margin-top: 0.3rem;
}

/* ── Section Generic ────────────────────────────────────────── */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fd-primary);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-sub {
  font-size: 1rem;
  color: var(--fd-gray-text);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ── Feature Grid ───────────────────────────────────────────── */
#features { background: var(--fd-section-bg); }

.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(106,99,233,0.12);
  border-color: var(--fd-primary-light);
}
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--fd-primary-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon-wrap i {
  font-size: 1.4rem;
  color: var(--fd-primary);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--fd-gray-text);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Coming-soon feature cards */
.feature-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.feature-card-top .feature-icon-wrap {
  margin-bottom: 0;
  flex-shrink: 0;
}
.feature-card--coming-soon {
  background: linear-gradient(145deg, #eeecfc 0%, #e0dcf8 100%);
  border: 1.5px dashed rgba(106, 99, 233, 0.4);
  box-shadow: none;
}
.feature-card--coming-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(106, 99, 233, 0.55);
}
.feature-card--coming-soon .feature-icon-wrap {
  background: rgba(106, 99, 233, 0.14);
}
.feature-card--coming-soon .feature-icon-wrap i {
  color: var(--fd-primary);
}
.feature-card--coming-soon h3 {
  color: #4f46b8;
}
.feature-card--coming-soon p {
  color: #6b6894;
}
.feature-coming-soon-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fd-primary-dark);
  background: rgba(106, 99, 233, 0.12);
  border: 1px solid rgba(106, 99, 233, 0.28);
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  white-space: nowrap;
  line-height: 1.2;
}

/* ── Deep Dive Sections ─────────────────────────────────────── */
.deep-dive { padding: 5rem 0; }
.deep-dive:nth-of-type(odd) { background: #fff; }
.deep-dive:nth-of-type(even) { background: var(--fd-section-bg); }

.deep-dive-visual {
  background: linear-gradient(145deg, #1a1b2e, #2d2b5a);
  border-radius: 16px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.deep-dive-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(106,99,233,0.3) 0%, transparent 60%);
}
.deep-dive-visual .ddv-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.5rem;
}
.ddv-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.ddv-ui-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.55rem;
}
.ddv-ui-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ddv-ui-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.ddv-ui-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 100px;
}
.ddv-chart-bar {
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.ddv-chart-bar .fill {
  height: 100%;
  border-radius: 5px;
  background: var(--fd-primary);
}

/* Bridge launchpad app tiles (Iconify brand logos) */
.bridge-app-grid {
  margin-bottom: 0.75rem;
}
.bridge-app-tile {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.6rem 0.4rem;
}
.bridge-app-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto 0.25rem;
  color: #c4c0f9;
  --iconify-icon-color: #c4c0f9;
}
.bridge-app-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.5);
}

.deep-dive-content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.deep-dive-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.deep-dive-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.55;
}
.deep-dive-bullets li i {
  color: var(--fd-primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Why Flipdesk™ ───────────────────────────────────────────── */
#why { background: var(--fd-dark-bg); padding: 5rem 0; }

.why-card {
  text-align: center;
  padding: 2.25rem 1.75rem;
}
.why-icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: rgba(106,99,233,0.15);
  border: 1px solid rgba(106,99,233,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem;
}
.why-icon i {
  font-size: 1.95rem;
  color: var(--fd-primary-light);
}
.why-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: clamp(0.975rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Story Block ────────────────────────────────────────────── */
.story-section {
  background: var(--fd-section-bg);
  padding: 5rem 0;
}
.story-inner {
  max-width: 780px;
  margin: 0 auto;
}
.story-inner p {
  font-size: 1.08rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.story-blockquote {
  border-left: 4px solid var(--fd-primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0 0;
  background: #fff;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 12px rgba(106,99,233,0.08);
}
.story-blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: #374151;
  margin-bottom: 0.5rem;
}
.story-blockquote cite {
  font-size: 0.85rem;
  color: var(--fd-primary);
  font-weight: 600;
  font-style: normal;
}

/* ── Pricing ────────────────────────────────────────────────── */
#pricing { background: #fff; padding: 5rem 0; }

.pricing-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  height: 100%;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.pricing-card--single {
  border-color: var(--fd-primary);
  box-shadow: 0 8px 32px rgba(106, 99, 233, 0.14);
}
.pricing-card--single.is-annual {
  box-shadow: 0 12px 40px rgba(106, 99, 233, 0.2);
}
.pricing-toggle {
  display: flex;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 0.3rem;
  margin-bottom: 1.75rem;
  gap: 0.25rem;
}
.pricing-toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--fd-gray-text);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.3;
}
.pricing-toggle-btn:hover {
  color: #374151;
}
.pricing-toggle-btn.active {
  background: #fff;
  color: var(--fd-primary-dark);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.pricing-toggle-save {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.1rem;
}
.pricing-toggle-btn.active .pricing-toggle-save {
  color: #047857;
}
.pricing-card:hover {
  box-shadow: 0 16px 40px rgba(106,99,233,0.12);
}
.pricing-card.popular {
  border-color: var(--fd-primary);
  box-shadow: 0 8px 32px rgba(106,99,233,0.18);
}
.pricing-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fd-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
}
.pricing-plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-primary);
  margin-bottom: 0.75rem;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}
.pricing-amount .dollar { font-size: 1.5rem; font-weight: 700; color: #374151; }
.pricing-amount .price  { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; color: #111827; line-height: 1; }
.pricing-amount .per    { font-size: 0.9rem; color: var(--fd-gray-text); }
.pricing-billed-note {
  font-size: 0.82rem;
  color: var(--fd-gray-text);
  margin-bottom: 0.5rem;
}
.pricing-savings-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.pricing-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #374151;
}
.pricing-features li i {
  color: var(--fd-primary);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.pricing-trial-note {
  font-size: 0.8rem;
  color: var(--fd-gray-text);
  text-align: center;
  margin-top: 0.75rem;
}

/* ── CTA Band ───────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #1a1b2e 0%, #2d2b5a 50%, #6a63e9 100%);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(106,99,233,0.3) 0%, transparent 65%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}
.cta-band .btn {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.85rem 2.5rem;
  border-radius: 8px;
  background: #fff;
  color: var(--fd-primary);
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-band .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  color: var(--fd-primary-dark);
}
.cta-band .trial-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  background: var(--fd-darker-bg);
  padding: 2.5rem 0;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}
.site-footer a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer a:hover { color: rgba(255,255,255,0.85); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Support / Contact Page ─────────────────────────────────── */
.support-hero {
  background: linear-gradient(135deg, #1a1b2e 0%, #2d2b5a 50%, #6a63e9 100%);
  padding: 7.5rem 0 4rem;
  color: #fff;
}
.support-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.support-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
}

.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.contact-form-card .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
}
.contact-form-card .form-control:focus {
  border-color: var(--fd-primary);
  box-shadow: 0 0 0 3px rgba(106,99,233,0.15);
}
.contact-form-card .btn-submit {
  background: var(--fd-primary);
  border-color: var(--fd-primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  width: 100%;
  transition: background-color 0.2s;
}
.contact-form-card .btn-submit:hover {
  background: var(--fd-primary-dark);
  border-color: var(--fd-primary-dark);
}

.contact-info-card {
  background: var(--fd-primary-faint);
  border: 1px solid rgba(106,99,233,0.2);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-info-card h5 {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.4rem;
}
.contact-info-card p {
  font-size: 0.9rem;
  color: var(--fd-gray-text);
  margin-bottom: 0;
}
.contact-info-card a:not(.btn) {
  color: var(--fd-primary);
  font-weight: 600;
  text-decoration: none;
}
.contact-info-card a:not(.btn):hover { text-decoration: underline; }
.contact-info-card .btn-primary {
  color: #fff;
}
.contact-info-card .btn-primary:hover,
.contact-info-card .btn-primary:focus {
  color: #fff;
}

.faq-section { background: var(--fd-section-bg); padding: 4rem 0; }

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}
.faq-a {
  font-size: 0.92rem;
  color: var(--fd-gray-text);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── Thank-you page ─────────────────────────────────────────── */
.thankyou-section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 5rem 0 3rem;
  background: var(--fd-section-bg);
}
.thankyou-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--fd-primary-faint);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.thankyou-icon i {
  font-size: 2.25rem;
  color: var(--fd-primary);
}

/* ── Legal pages (Privacy, Terms) ───────────────────────────── */
.legal-page {
  background: linear-gradient(135deg, #f0effd 0%, #f8f8ff 45%, #eef2ff 100%);
}
.legal-main {
  flex: 1;
  padding: 6.5rem 0 3rem;
}
.legal-header {
  margin-bottom: 2rem;
}
.legal-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.legal-logo-icon {
  width: 48px;
  height: 48px;
}
.legal-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.legal-updated {
  font-size: 0.875rem;
  color: var(--fd-gray-text);
  margin-bottom: 0;
}
.legal-content {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 24px rgba(106, 99, 233, 0.06);
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #374151;
}
.legal-intro {
  color: var(--fd-gray-text);
  margin-bottom: 1.75rem;
}
.legal-section {
  margin-bottom: 1.75rem;
}
.legal-section:last-child {
  margin-bottom: 0;
}
.legal-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.65rem;
}
.legal-section p {
  color: var(--fd-gray-text);
  margin-bottom: 0.75rem;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--fd-gray-text);
}
.legal-section ul li {
  margin-bottom: 0.45rem;
}
.legal-section ul li:last-child {
  margin-bottom: 0;
}
.legal-section a {
  color: var(--fd-primary);
  text-decoration: none;
}
.legal-section a:hover {
  text-decoration: underline;
}
.legal-nav-links {
  font-size: 0.875rem;
  color: var(--fd-gray-text);
  margin-bottom: 2.5rem;
}
.legal-nav-links a {
  color: var(--fd-primary);
  font-weight: 600;
  text-decoration: none;
}
.legal-nav-links a:hover {
  text-decoration: underline;
}
.legal-nav-links span {
  margin: 0 0.5rem;
  color: #d1d5db;
}

/* ── Alert override ─────────────────────────────────────────── */
.alert-form-error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
  border-radius: 8px;
}

.contact-recaptcha {
  overflow: hidden;
}

/* ── Utilities ──────────────────────────────────────────────── */
.rounded-xl { border-radius: 14px !important; }
.fw-extrabold { font-weight: 800 !important; }

@media (max-width: 767.98px) {
  .hero-section { padding: 6.75rem 0 3.5rem; }
  .support-hero { padding: 6.25rem 0 3rem; }
  .hero-board-mock { margin-top: 2.5rem; }
  .deep-dive { padding: 3.5rem 0; }
  #why, #pricing, .story-section, .faq-section { padding: 3.5rem 0; }
  .cta-band { padding: 3.5rem 0; }
  .contact-form-card { padding: 1.75rem 1.25rem; }
  .site-footer .text-md-end { text-align: left !important; margin-top: 0.75rem; }
}

/* ── Cookie consent ─────────────────────────────────────────── */
.fd-email--highlight {
  color: var(--fd-primary);
  font-weight: 600;
}

body.cookie-consent-open { overflow: hidden; }

.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1080;
  pointer-events: none;
}

.cookie-consent__banner,
.cookie-consent__overlay:not([hidden]),
.cookie-consent__panel:not([hidden]) {
  pointer-events: auto;
}

.cookie-consent__banner {
  transform: translateY(110%);
  transition: transform 0.35s ease;
  background: var(--fd-dark-bg);
  color: rgba(255,255,255,0.88);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -8px 32px rgba(17,18,34,0.28);
}

.cookie-consent.is-visible .cookie-consent__banner {
  transform: translateY(0);
}

.cookie-consent__banner-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.cookie-consent__banner-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.cookie-consent__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.cookie-consent__text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0;
}

.cookie-consent__text a {
  color: #c4c0ff;
  text-decoration: underline;
}

.cookie-consent__text a:hover { color: #fff; }

.cookie-consent__banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.cookie-consent__banner-actions .btn-outline-light {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.92);
}

.cookie-consent__banner-actions .btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}

.cookie-consent__overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,18,34,0.55);
  backdrop-filter: blur(2px);
}

.cookie-consent__panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  color: #1f2937;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(17,18,34,0.22);
  padding: 1.5rem;
}

.cookie-consent__panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.cookie-consent__panel-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.cookie-consent__close {
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #6b7280;
  padding: 0;
  cursor: pointer;
}

.cookie-consent__close:hover { color: #111827; }

.cookie-consent__panel-intro {
  font-size: 0.9rem;
  color: var(--fd-gray-text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cookie-consent__category {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
}

.cookie-consent__category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent__category-label {
  display: block;
  font-size: 0.95rem;
}

.cookie-consent__required-badge {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fd-primary);
}

.cookie-consent__category-desc {
  font-size: 0.82rem;
  color: var(--fd-gray-text);
  line-height: 1.55;
  margin: 0.45rem 0 0;
}

.cookie-consent__switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-consent__switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-consent__switch-ui {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d1d5db;
  transition: background 0.2s ease;
  position: relative;
}

.cookie-consent__switch-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.cookie-consent__switch input:checked + .cookie-consent__switch-ui {
  background: var(--fd-primary);
}

.cookie-consent__switch input:checked + .cookie-consent__switch-ui::after {
  transform: translateX(20px);
}

.cookie-consent__switch input:disabled + .cookie-consent__switch-ui {
  opacity: 0.72;
  cursor: not-allowed;
}

.cookie-consent__panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.5rem;
}

@media (max-width: 575.98px) {
  .cookie-consent__banner-actions {
    width: 100%;
  }

  .cookie-consent__banner-actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
  }

  .cookie-consent__btn-settings {
    flex-basis: 100%;
  }

  .cookie-consent__panel-actions .btn {
    flex: 1 1 100%;
  }
}
