/* ==========================================================================
   MentionMeAI — Core Design System & Stylesheet (Pure CSS3)
   Domain: https://mentionmeai.com
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --bg-primary: #080D1A;
  --bg-secondary: #10182A;
  --bg-elevated: #141E34;
  --bg-glass: rgba(16, 24, 42, 0.76);
  --bg-glass-strong: rgba(8, 13, 26, 0.88);

  --accent-blue: #477BFF;
  --accent-blue-hover: #5D8BFF;
  --accent-cyan: #25D9E8;
  --accent-gradient: linear-gradient(135deg, #477BFF 0%, #25D9E8 100%);
  --accent-gradient-subtle: linear-gradient(135deg, rgba(71, 123, 255, 0.16) 0%, rgba(37, 217, 232, 0.12) 100%);

  --text-primary: #F8FAFC;
  --text-secondary: #A5B1C5;
  --text-muted: #7C8AA1;

  --border-color: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(71, 123, 255, 0.45);
  --border-cyan: rgba(37, 217, 232, 0.40);

  --status-success: #22C55E;
  --status-warning: #F59E0B;
  --status-error: #F87171;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max: 1200px;
  --container-narrow: 860px;
  --header-height: 80px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;

  /* Shadows & Glows */
  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.45);
  --shadow-elevated: 0 24px 56px -14px rgba(0, 0, 0, 0.6);
  --glow-blue: 0 0 32px rgba(71, 123, 255, 0.24);
  --glow-cyan: 0 0 28px rgba(37, 217, 232, 0.20);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(circle at 15% 8%, rgba(71, 123, 255, 0.11) 0%, transparent 38%),
    radial-gradient(circle at 85% 14%, rgba(37, 217, 232, 0.08) 0%, transparent 34%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

main {
  flex: 1;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Accessibility: Skip Link & Focus States */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--accent-blue);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.032em;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.18;
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.45rem);
  line-height: 1.3;
}

h4 {
  font-size: 1.1rem;
  line-height: 1.35;
}

p {
  color: var(--text-secondary);
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.06rem, 1.45vw, 1.22rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Containers & Sections */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-sm {
  padding: 64px 0;
}

.section-alt {
  background-color: rgba(16, 24, 42, 0.55);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header.align-left {
  margin-left: 0;
  text-align: left;
}

.section-header h2 {
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: var(--radius-pill);
  background: rgba(71, 123, 255, 0.12);
  border: 1px solid rgba(71, 123, 255, 0.30);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #06101F;
  font-weight: 700;
  box-shadow: 0 10px 26px -6px rgba(71, 123, 255, 0.48);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(37, 217, 232, 0.52);
  color: #040B16;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(71, 123, 255, 0.12);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
  border-radius: 10px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(8, 13, 26, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: var(--bg-glass-strong);
  border-bottom-color: var(--border-color);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(71, 123, 255, 0.14);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-gradient);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(71, 123, 255, 0.15);
  border-color: var(--border-accent);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ==========================================================================
   Hero & Page Headers
   ========================================================================== */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 22px;
}

.hero-content .lead {
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.trust-pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-elevated), var(--glow-blue);
  padding: 12px;
  backdrop-filter: blur(12px);
}

/* Inner Page Hero */
.page-hero {
  position: relative;
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--border-color);
  background:
    radial-gradient(circle at 20% 20%, rgba(71, 123, 255, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(37, 217, 232, 0.10) 0%, transparent 42%),
    rgba(16, 24, 42, 0.45);
}

.page-hero-inner {
  max-width: 800px;
}

.page-hero h1 {
  margin-bottom: 18px;
}

.page-hero .lead {
  max-width: 680px;
}

.page-hero-actions {
  margin-top: 28px;
}

/* ==========================================================================
   Cards, Grids & Feature Components
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.card {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-elevated), var(--glow-blue);
}

.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient-subtle);
  border: 1px solid rgba(71, 123, 255, 0.30);
  color: var(--accent-cyan);
  margin-bottom: 22px;
  flex-shrink: 0;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  margin-bottom: 20px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Checklists inside Cards & Sections */
.check-list {
  display: grid;
  gap: 11px;
  margin-top: auto;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-list li svg {
  width: 17px;
  height: 17px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-link:hover {
  color: var(--text-primary);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* Process Steps (How We Work / Partnership Process) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.process-step:hover {
  border-color: var(--border-cyan);
  transform: translateY(-3px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-gradient);
  color: #06101F;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.93rem;
}

/* Industry Pills / Verticals Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.industry-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.industry-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.industry-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(71, 123, 255, 0.12);
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.industry-icon svg {
  width: 20px;
  height: 20px;
}

.industry-item span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.disclaimer-note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Service Detail Blocks (Services Page) */
.service-detail {
  padding: 52px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.service-detail-title {
  max-width: 680px;
}

.service-detail-title h2 {
  margin-bottom: 12px;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-subbox {
  background: rgba(8, 13, 26, 0.55);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.service-subbox h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ordered-steps {
  display: grid;
  gap: 12px;
  counter-reset: srv-step;
}

.ordered-steps li {
  counter-increment: srv-step;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.ordered-steps li::before {
  content: counter(srv-step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(37, 217, 232, 0.12);
  border: 1px solid rgba(37, 217, 232, 0.25);
  border-radius: 6px;
  padding: 2px 7px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  position: relative;
  padding: 64px 56px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 20%, rgba(71, 123, 255, 0.24) 0%, transparent 48%),
    radial-gradient(circle at 88% 80%, rgba(37, 217, 232, 0.18) 0%, transparent 48%),
    var(--bg-secondary);
  border: 1px solid rgba(71, 123, 255, 0.35);
  box-shadow: var(--shadow-elevated), var(--glow-blue);
  text-align: center;
  overflow: hidden;
}

.cta-banner-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.08rem;
  margin-bottom: 32px;
}

.cta-banner .btn-group {
  justify-content: center;
}

/* ==========================================================================
   Forms (Partnerships, Advertisers, Contact)
   ========================================================================== */
.form-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-elevated);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.required-mark {
  color: var(--accent-cyan);
  margin-left: 3px;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 11px;
  background: rgba(8, 13, 26, 0.75);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(71, 123, 255, 0.22);
  background: #080D1A;
}

.form-control[aria-invalid="true"] {
  border-color: var(--status-error);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23A5B1C5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

select.form-control option {
  background-color: #10182A;
  color: #F8FAFC;
}

textarea.form-control {
  min-height: 132px;
  resize: vertical;
}

/* Multi-select Checkbox Pills */
.checkbox-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.checkbox-fieldset legend {
  margin-bottom: 10px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.checkbox-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(8, 13, 26, 0.65);
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  user-select: none;
}

.checkbox-pill:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.checkbox-pill input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-pill:has(input:checked) {
  background: rgba(71, 123, 255, 0.14);
  border-color: var(--accent-blue);
  color: var(--text-primary);
}

.field-error {
  font-size: 0.82rem;
  color: var(--status-error);
  min-height: 18px;
  display: none;
}

.field-error.visible {
  display: block;
}

.form-status {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  line-height: 1.6;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.status-info {
  background: rgba(71, 123, 255, 0.12);
  border: 1px solid rgba(71, 123, 255, 0.40);
  color: var(--text-primary);
}

.form-status.status-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.40);
  color: #DCFCE7;
}

.form-status.status-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.40);
  color: #FEE2E2;
}

.form-status a {
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: underline;
}

.form-footer-note {
  margin-top: 16px;
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-panel[hidden] {
  display: none;
}

/* ==========================================================================
   Legal & Compliance Prose
   ========================================================================== */
.legal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.legal-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.legal-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.38rem;
  margin-bottom: 14px;
}

.legal-section h3 {
  font-size: 1.08rem;
  margin: 18px 0 10px;
}

.legal-section p {
  margin-bottom: 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  display: grid;
  gap: 9px;
  margin: 14px 0;
  padding-left: 20px;
  list-style: disc;
  color: var(--text-secondary);
}

.legal-section a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.callout-box {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(71, 123, 255, 0.09);
  border-left: 3px solid var(--accent-cyan);
  margin: 18px 0;
}

.callout-box p {
  font-size: 0.93rem;
  color: var(--text-primary);
}

/* Contact Info Cards */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-info-stack {
  display: grid;
  gap: 20px;
}

.info-tile {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.info-tile h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.info-tile a.highlight-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent-cyan);
  font-weight: 600;
  word-break: break-all;
}

/* ==========================================================================
   Footer & Back-to-Top
   ========================================================================== */
.site-footer {
  background: #060A14;
  border-top: 1px solid var(--border-color);
  padding: 76px 0 36px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand p {
  margin-top: 18px;
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.65;
}

.footer-contact-item {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-contact-item a {
  color: var(--accent-cyan);
  font-weight: 500;
}

.footer-contact-item a:hover {
  text-decoration: underline;
}

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base), background var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-blue);
  color: #FFFFFF;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}
