/* 
 * Am I Free - Pantone Color System
 * Color Variables from Figma Design System
 */

:root {
  /* ========================================
   * GENERAL COLORS
   * ======================================== */
  --general-grey-600: #e0e0e0;
  --general-grey-500: #bdbdbd;
  --general-grey-400: #9e9e9e;
  --general-grey-300: #757575;
  --general-grey-100: #424242;

  /* ========================================
   * TEXT COLORS
   * ======================================== */
  --text-color-text-tertiary: #4DC992;
  --text-color-text: #FFFFFF;
  --text-color-text-secondary: #EEEEEE;
  --text-color-text-secondary2: #424242;
  --text-color-text-disabled: #9e9e9e;
  --text-color-text-error: #d43944;
  --text-color-text-quaternary: #BDBDBD;


  /* ========================================
   * BRAND COLORS - DARKNESS
   * ======================================== */
  --brand-darkness-darkness-500-hue: #01062f;
  --brand-darkness-darkness-500-rgb: 1, 6, 47;
  --brand-darkness-darkness-400: #010527;
  --brand-darkness-darkness-015: #F4F5FF;
  --brand-darkness-darkness-700: #010420;
  --brand-darkness-darkness-025: #DFE2FE;
  --brand-darkness-darkness-100: #000210;
  --brand-darkness-darkness-200: #0520F0;
  
  /* ========================================
   * BRAND COLORS - BRIGHT BLUE
   * ======================================== */
  --brand-bright-blue-bright-blue-500-hue: #0069fa;
  --brand-bright-blue-bright-blue-500-rgb: 0, 105, 250;

  /* ========================================
   * COMPONENT COLORS - CHIPS
   * ======================================== */
  --components-chips-bright-blue-chip-bright-blue: #001e47;

  --components-chips-bright-blue-chip-bright-blue-text: #207dff;
  --components-chips-bright-blue-chip-bright-blue-pressed: #0069fa;
  --components-chips-bright-blue-chip-bright-blue-text-dark: #7db3ff;
  --components-chips-darkness-chip-darkness: #000003;
  --components-chips-success-chip-success: #002311;
  --components-chips-success-chip-success-hover: #003a1d;
  --components-chips-warning-chip-warning: #422800;
  --components-chips-warning-chip-warning-hover: #6d4300;
  --components-chips-error-chip-error: #200709;
  --components-chips-error-chip-error-hover: #3f0e11;
  --components-chips-info-chip-info: #010c1c;
  --components-chips-chip-disabled: #424242;
  --components-chips-chip-pressed-text: #000000;
  --components-chips-chip-disabled-text: #e0e0e0;
  --components-chips-grey-chip-grey: #616161;
  --components-chips-resolution-blue-chip-resolution-blue: #00020a;
  --components-chips-emerald-chip-emerald: #091f15;
  --components-chips-light-sky-blue-chip-light-sky-blue: #074262;
  --components-chips-lavendar-chip-lavendar: #2a1648;
  --components-chips-magenta-chip-magenta: #17080e;
  --components-chips-poppy-red-chip-poppy-red: #39090b;
  --components-chips-tangerine-chip-tangerine: #451a04;
  --components-chips-butterscotch-chip-butterscotch: #543a04;
  --components-chips-jungle-green-chip-jungle-green: #042f26;
  --components-chips-info-blue-bg: #D6E6FD;
  --components-chips-info-blue-border: #A2C9FF;
  --components-chips-info-blue-link-text: #0949AA;

  /* ========================================
   * COMPONENT COLORS - BUTTONS
   * ======================================== */
  --components-buttons-outline-button-outline: #01062f;
  --components-buttons-primary-button-primary: #01062f;
  --components-buttons-secondary-button-secondary: #0069fa;
  --components-buttons-white-button-white: #000000;
  --components-buttons-secondary-button-secondary-pressed: #0069fa;
  --components-buttons-secondary-button-secondary-hover: #0059d6;
  --components-buttons-white-button-white-pressed: #000000;
  --components-buttons-white-button-white-hover: #424242;
  --components-buttons-disabled-button-disabled-text: #e0e0e0;
  --components-buttons-disabled-button-disabled: #424242;
  --components-buttons-outline-button-outline-pressed: #000003;
  --components-buttons-outline-button-outline-hover: #000000;
  --components-buttons-primary-button-primary-pressed: #01062f;
  --components-buttons-primary-button-primary-hover: #020f6e;


  /* Button color mappings */
  --btn-primary-bg: var(--components-buttons-primary-button-primary);
  --btn-primary-hover-bg: var(--components-buttons-primary-button-primary-hover);
  --btn-secondary-bg: var(--components-buttons-secondary-button-secondary);
  --btn-secondary-hover-bg: var(--components-buttons-secondary-button-secondary-hover);

  /* Additional color mappings */
  --white: #FFFFFF;
  --bright-blue-rgb: var(--brand-bright-blue-bright-blue-500-rgb);
  --brand-darkness-darkness-050-light: #9EA9FD;
  
  /* Menu link hover color */
  --menu-link-hover-color: var(--brand-bright-blue-bright-blue-500-hue);
  --menu-link-active-color: var(--brand-bright-blue-bright-blue-500-hue);

  /* ========================================
   * ELEVATION SYSTEM
   * ======================================== */
  /* Elevation base RGBs (for shadow calculations) */
  --shadow-rgb: var(--brand-darkness-darkness-500-rgb);
  --shadow-blue-rgb: var(--brand-bright-blue-bright-blue-500-rgb);

  /* Elevation levels */
  --elevation-0: none;
  --elevation-1: 0 1px 2px rgba(var(--shadow-rgb), 0.08), 0 1px 1px rgba(var(--shadow-rgb), 0.04);
  --elevation-2: 0 2px 4px rgba(var(--shadow-rgb), 0.10), 0 1px 2px rgba(var(--shadow-rgb), 0.06);
  --elevation-3: 0 4px 8px rgba(var(--shadow-rgb), 0.12), 0 2px 4px rgba(var(--shadow-rgb), 0.08);
  --elevation-4: 0 8px 16px rgba(var(--shadow-rgb), 0.14), 0 4px 8px rgba(var(--shadow-rgb), 0.10);
  --elevation-5: 0 12px 24px rgba(var(--shadow-rgb), 0.18), 0 6px 12px rgba(var(--shadow-rgb), 0.12);
  
  /* Blue glow elevations */
  --elevation-blue-1: 0 0 8px rgba(var(--shadow-blue-rgb), 0.24);
  --elevation-blue-2: 0 0 12px rgba(var(--shadow-blue-rgb), 0.28), 0 4px 8px rgba(var(--shadow-blue-rgb), 0.16);
  --elevation-blue-3: 0 0 18px rgba(var(--shadow-blue-rgb), 0.32), 0 8px 16px rgba(var(--shadow-blue-rgb), 0.20);
  --elevation-blue-4: 0 0 24px rgba(var(--shadow-blue-rgb), 0.40), 0 12px 24px rgba(var(--shadow-blue-rgb), 0.24);
  --elevation-blue-5: 0 0 36px rgba(var(--shadow-blue-rgb), 0.48), 0 16px 32px rgba(var(--shadow-blue-rgb), 0.28);

  /* Gradient/LINEAR | Grey 050 - 300 | Angled */
  --gradient-linear-grey-050-300-angled: linear-gradient(135deg, #f9fafb 0%, #d1d5db 100%);
}

/* ========================================
 * TEXT COLOR UTILITY CLASSES
 * ======================================== */

.color-text {
  color: var(--text-color-text) !important;
}

.color-text-dark {
  color: var(--brand-darkness-darkness-500-hue) !important;
}


.color-text-secondary {
  color: var(--text-color-text-secondary) !important;
}

.color-text-secondary2 {
  color: var(--text-color-text-secondary2) !important;
}

.color-text-secondary-light {
  color: var(--general-grey-100) !important;
}


.color-text-quaternary {
  color: var(--text-color-text-quaternary) !important;
}

.color-text-tertiary {
  color: var(--text-color-text-tertiary) !important;
}

.color-text-tertiary2 {
  color: var(--general-grey-600) !important;
}

.color-text-brand-bright-blue-500-hue {
  color: var(--brand-bright-blue-bright-blue-500-hue) !important;
}

.color-text-brand-darkness-200 {
  color: var(--brand-darkness-darkness-200) !important;
}/* 
 * Am I Free - Typography System
 */

/* Font Imports - Variable Fonts */
@font-face {
  font-family: "Funnel Display";
  src: url("/font/funnel-display/FunnelDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 800; /* Variable font weight range */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/font/Figtree/Figtree-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900; /* Variable font weight range */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/font/Figtree/Figtree-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900; /* Variable font weight range */
  font-style: italic;
  font-display: swap;
}/* ------------------------------------------------------------------------------------------------------------------ 
   UNIFIED RESPONSIVE CLASSES - Mobile & Desktop Combined
   ------------------------------------------------------------------------------------------------------------------ */

:root {
  /* ========================================
   * TYPOGRAPHY FAMILIES
   * ======================================== */
  --font-family-display: "Funnel Display", Arial, Helvetica, sans-serif;
  --font-family-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;

  /* ========================================
   * BUTTON SYSTEM VARIABLES
   * ======================================== */
  /* Button sizes */
  --btn-height-lg: 54px;
  --btn-height-md: 48px;
  --btn-height-sm: 32px;
  --btn-radius-lg: var(--radius-sm);
  --btn-radius-sm: var(--radius-md);
  --btn-padding-x-lg: var(--space-6);
  --btn-padding-x-md: var(--space-4);
  --btn-padding-x-sm: var(--space-4);
  --btn-letter-spacing-lg: 0.32px;
  --btn-letter-spacing-md: 0.28px;
  --btn-letter-spacing-sm: 0.24px;
}

/* BUTTONS */
.btn {
  font-family: var(--font-family-display);
  border-width: 1px;
  border-style: solid;
  border-radius: var(--btn-radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* Desktop default */
  text-transform: none;
}

/* Mobile adjustments for buttons */
@media (max-width: 767.98px) {
  .btn {
    gap: 6px; /* Slightly smaller gap for mobile */
  }
}

/* Button Sizes */
.btn-lg {
  height: var(--btn-height-lg);
  padding: 0 var(--btn-padding-x-lg);
  border-radius: var(--btn-radius-lg);
}

@media (max-width: 767.98px) {
  .btn-lg {
    height: calc(var(--btn-height-lg) - 4px);
    padding: 0 calc(var(--btn-padding-x-lg) - 2px);
  }
}

.btn-md {
  height: var(--btn-height-md);
  padding: 0 var(--btn-padding-x-md);
  border-radius: var(--btn-radius-lg);
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.32px;
}

@media (max-width: 767.98px) {
  .btn-md {
    height: calc(var(--btn-height-md) - 4px);
    padding: 0 calc(var(--btn-padding-x-md) - 2px);
  }
}

.btn-sm {
  height: var(--btn-height-sm);
  padding: 0 var(--btn-padding-x-sm);
  border-radius: var(--btn-radius-sm);
}

/* Navbar specific button styling */
.btn-navbar {
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28px;
}

@media (max-width: 767.98px) {
  .btn-sm {
    height: calc(var(--btn-height-sm) - 2px);
    padding: 0 calc(var(--btn-padding-x-sm) - 1px);
  }
}

/* Button States */
.btn-primary {
  background-color: var(--btn-secondary-bg);
  border-color: var(--btn-secondary-bg);
  box-shadow: var(--elevation-blue-5); 
}

.btn-primary:hover {
  background-color: var(--btn-secondary-hover-bg);
  border-color: var(--btn-secondary-hover-bg);
  box-shadow: var(--elevation-blue-2);
}

.btn-primary:focus, .btn-primary:active {
  background-color: var(--btn-secondary-bg);
  border-color: var(--btn-secondary-bg);
  box-shadow: var(--elevation-blue-3);
}



.btn-aif-special-01 {
  background: rgba(var(--bright-blue-rgb), 0.16) !important;
  border: 1px solid var(--brand-darkness-darkness-050-light) !important;
  border-radius: var(--radius-md) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.btn-aif-providers {
  background: var(--white);
  border: none !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 0 0 1px var(--general-grey-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) !important;
  padding-left: var(--space-6) !important;
  padding-right: var(--space-6) !important;
  font-weight: 600 !important;
  width: 220px !important;
  cursor: default !important;
}

.btn-aif-providers:hover,
.btn-aif-providers:focus,
.btn-aif-providers:active {
  background: var(--white) !important;
  border: none !important;
  box-shadow: 0 0 0 1px var(--general-grey-600) !important;
  transform: none !important;
  cursor: default !important;
}



/* ------------------------------------------------------------------------------------------------------------------ 
   TYPOGRAPHY
   ------------------------------------------------------------------------------------------------------------------ */

/* Hero Title */
.hero-title {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 80px; 
  font-weight: 700;
  line-height: 104%;
  letter-spacing: -0.2%;
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: clamp(48px, 10vw, 64px);
  }
}

/* Features Hero Title */
.features-hero-title {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.12; /* 112% */
  letter-spacing: -0.13px;
}

@media (max-width: 767.98px) {
  .features-hero-title {
    font-size: 52px;
  }
}

/* Pricing Hero Title */
.pricing-hero-title {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.12; /* 112% */
  letter-spacing: -0.13px;
}

@media (max-width: 767.98px) {
  .pricing-hero-title {
    font-size: 52px;
  }
}

.contact-hero-title {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.12; /* 112% */
  letter-spacing: -0.13px;
}

@media (max-width: 767.98px) {
  .contact-hero-title {
    font-size: 52px;
  }
}

/* Headings */
h1, .h1, .heading-1 {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 64px;
  font-weight: 700;
  line-height: 112%;
  letter-spacing: -0.2%;
}

@media (max-width: 767.98px) {
  h1, .h1, .heading-1 {
    font-size: 52px;
  }
}

h2, .h2, .heading-2 {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 48px;
  font-weight: 700;
  line-height: 112%;
  letter-spacing: -0.2%;
}

@media (max-width: 767.98px) {
  h2, .h2, .heading-2 {
    font-size: 40px;
  }
}

h3, .h3, .heading-3 {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 34px;
  font-weight: 700;
  line-height: 112%;
  letter-spacing: -0.2%;
}

@media (max-width: 767.98px) {
  h3, .h3, .heading-3 {
    font-size: 28px;
  }
}

h4, .h4, .heading-4 {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 24px;
  font-weight: 700;
  line-height: 112%;
  letter-spacing: -0.2%;
}

@media (max-width: 767.98px) {
  h4, .h4, .heading-4 {
    font-size: 22px;
  }
}

h5, .h5, .heading-5 {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  line-height: 136%;
  letter-spacing: -0.2%;
}

@media (max-width: 767.98px) {
  h5, .h5, .heading-5 {
    font-size: 18px;
  }
}

/* Subtitle */
.subtitle {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 20px;
  font-weight: 400;
  line-height: 136%;
}

@media (max-width: 767.98px) {
  .subtitle {
    font-family: "Funnel Display", sans-serif;
    font-style: normal;
    font-size: 18px;
    font-weight: 400;
    line-height: 136%;
  }
}

/* Paragraphs */
p, .paragraph {
  font-family: "Figtree", sans-serif;
  font-style: normal;
  font-size: 15px;
  font-weight: 400;
  line-height: 136%;
}

.paragraph-medium {
  font-family: "Figtree", sans-serif;
  font-style: normal;
  font-size: 14px;
  font-weight: 300;
  line-height: 136%;
}

@media (max-width: 767.98px) {
  .paragraph-medium {
    font-size: 13px;
  }
}


.paragraph-medium-bold {
  font-family: "Figtree", sans-serif;
  font-style: bold;
  font-size: 14px;
  font-weight: 500;
  line-height: 136%;
}

@media (max-width: 767.98px) {
  .paragraph-medium-bold {
    font-size: 13px;
  }
}

.paragraph-small {
  font-family: "Figtree", sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 200; /* Desktop weight */
  line-height: 136%;
  letter-spacing: 1%;
}

@media (max-width: 767.98px) {
  .paragraph-small {
    font-weight: 300; /* Mobile weight */
  }
}


/* Menu Classes */
.menu-large {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 22px; /* Mobile size becomes base */
  font-weight: 600;
  line-height: 112%;
  letter-spacing: 2%;
}

.menu {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  line-height: 112%;
  letter-spacing: 2%;
}

@media (max-width: 767.98px) {
  .menu {
    font-size: 15px;
  }
}

.menu-medium {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  line-height: 112%;
  letter-spacing: 2%;
}

@media (max-width: 767.98px) {
  .menu-medium {
    font-size: 13px;
  }
}

.menu-small {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 11px; /* Mobile size becomes base */
  font-weight: 600;
  line-height: 112%;
  letter-spacing: 2%;
}

/* Button Text Classes */
.button-text {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  line-height: 112%;
  letter-spacing: 2%;
}

@media (max-width: 767.98px) {
  .button-text {
    font-size: 15px;
  }
}

.button-text-medium {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  line-height: 112%;
  letter-spacing: 2%;
}

@media (max-width: 767.98px) {
  .button-text-medium {
    font-size: 13px;
  }
}

.button-text-small {
  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  line-height: 112%;
  letter-spacing: 2%;
}

@media (max-width: 767.98px) {
  .button-text-small {
    font-size: 11px;
  }
}

/* Pretitle Classes */
.pretitle {
  font-family: "Figtree", sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  line-height: 112%;
  letter-spacing: 4%;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .pretitle {
    font-size: 11px;
  }
}

.pretitle-small {
  font-family: "Figtree", sans-serif;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  line-height: 112%;
  letter-spacing: 4%;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .pretitle-small {
    font-size: 9px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------ 
   GENERAL SITE WIDE
   ------------------------------------------------------------------------------------------------------------------ */
html, body {
  background-color: var(--brand-darkness-darkness-700) !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Container max-width override to match design specifications (1200px) */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 1200px !important;
}

/* ========================================
 * SPACING SYSTEM - Multiples of 4/8px
 * ======================================== */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  
  /* Border radius system */
  --radius-xs: var(--space-1); /* 4px */
  --radius-sm: var(--space-2); /* 8px */
  --radius-md: var(--space-3); /* 12px */
  --radius-lg: var(--space-4); /* 16px */
  --radius-xl: var(--space-6); /* 24px */
  --radius-2xl: var(--space-8); /* 32px */
  --radius-full: 9999px; /* For pills/circular elements */
}



/* ------------------------------------------------------------------------------------------------------------------ 
   NAVBAR
   ------------------------------------------------------------------------------------------------------------------ */

/* Base navbar styles */
.navbar {
  top: 24px;
  margin-bottom: 80px;
}

/* Navigation links - responsive typography */
.navbar-dark .navbar-nav .nav-link {
  color: var(--color-text);
  font-family: var(--font-family-display);
  font-weight: 600;
  letter-spacing: 0.32px;
  transition: color 1ms ease-in-out, background-color 0.2s ease;
}

/* Desktop nav link styles */
.navbar-dark .navbar-nav .nav-link {
  font-size: 16px;
}

/* Mobile nav link styles - only when collapsed menu is shown */
.navbar-collapse.show .nav-link {
  font-size: 15px;
  letter-spacing: 0.3px;
  height: 48px;
  border-radius: var(--radius-sm);
  text-align: left;
  border: none !important;
  border-top: none !important;
}

/* Hover and focus states */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--menu-link-hover-color);
  transition: color 0.2s ease;
}

/* Mobile hover state - only when menu is shown */
.navbar-collapse.show .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Active states */
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .show > .nav-link {
  color: var(--menu-link-active-color);
}

/* Mobile active state - only when menu is shown */
.navbar-collapse.show .nav-link.active {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Override Bootstrap's collapse transitions for instant full-screen */
.navbar-collapse {
  transition: none !important;
}

.navbar-collapse.collapsing {
  transition: none !important;
  height: auto !important;
}

/* Mobile full-screen overlay - only when menu is shown */
.navbar-collapse.show {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgb(1, 4, 32) !important;
  z-index: 9999 !important;
  padding: 0.5rem 0 !important; /* Same as body py-2 */
  margin: 0 !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  display: flex !important;
}

/* Mobile menu content */
.navbar-collapse.show .navbar-nav {
  width: 100%;
  flex: 1;
  margin: 0;
  padding: var(--space-24) var(--space-4) var(--space-6) var(--space-4);
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

/* Mobile nav items */
.navbar-collapse.show .nav-item {
  width: 100%;
  margin-bottom: 0;
}

/* Mobile button container */
.navbar-collapse.show .d-flex {
  width: 100%;
  margin: 0;
  padding: var(--space-6) var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  gap: var(--space-4);
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
}

/* Mobile buttons */
.navbar-collapse.show .btn {
  flex: 1;
  width: auto;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  line-height: 15.68px;
  letter-spacing: 0.28px;
  margin: 0;
}

/* Navbar toggler */
.navbar-toggler {
  border: none !important;
  color: var(--white) !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:hover {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--white) !important;
}

.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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Ensure brand and toggler stay positioned on mobile */
.navbar-brand,
.navbar-toggler {
  z-index: 10001;
}
/* END NAVBAR */







/* ------------------------------------------------------------------------------------------------------------------ 
   GENERAL 
   ------------------------------------------------------------------------------------------------------------------ */

/* Hero title section - ensure it stays above hero images */
.hero-title {
  position: relative;
  z-index: 2;
}

.subtitle {
  position: relative;
  z-index: 2;
}

.main-content {
  position: relative;
  z-index: 1;
}

.aif-app-hero-image1 {
  transform: scale(1.4);
  transform-origin: center;
  image-rendering: crisp-edges;
}

.aif-app-hero-image2 {
  transform: scale(1.2);
  transform-origin: center;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
}

@supports (image-rendering: -webkit-optimize-contrast) {
  .aif-app-hero-image2 {
    image-rendering: -webkit-optimize-contrast;
  }
}

.aif-app-hero-image3 {
  transform: scale(1.4);
  transform-origin: center;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
}

.explore-features-link:hover .color-text-tertiary {
  color: #82D8B1 !important;
}

.explore-features-link:hover img {
  filter: brightness(1.1);
}

.explore-features-link {
  transition: all 0.2s ease;
}

.explore-features-link:hover {
  transform: translateY(-1px);
}
  



  /* Features hero button - position in front of image */
#features-hero-title ~ .subtitle ~ .btn {
  position: relative;
  z-index: 10;
}

.features-hero-title .hero-word {
  display: block;
}

@media (min-width: 992px) {
  .features-hero-title .hero-word {
    display: inline;
    margin-right: 0.0em;
  }

  .features-hero-title .hero-word:last-child {
    margin-right: 0;
  }
}

  .aif-feature-providers {
    min-height: 407px;
    display: flex;
    align-items: center;
    background-color: var(--white) !important;
    z-index: 0;
  }

  /* Features providers section minimum height and centering */
  .aif-providers {
    min-height: 407px;
    display: flex;
    align-items: center;
    background-color: var(--white) !important;
  }
  

  .hero-features {
    margin-top: 8rem;
  }
  
  .aif-faq {
    background-color: var(--white) !important;
  }

  .faq-container {
    max-width: 760px;
    margin: 0 auto;
  }
  

  .accordion-item {
    border-left: 0px !important;
    border-right: 0px !important;
    border-radius: 0px !important;
  }

  /* FAQ accordion button - remove borders on hover/click */
  .accordion-item .btn {
   
    box-shadow: none !important;
    outline: none !important;
    transition: none !important;
  }
  
  .accordion-item .btn:hover,
  .accordion-item .btn:focus,
  .accordion-item .btn:active,
  .accordion-item .btn.active,
  .accordion-item .btn:focus-visible {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    transition: none !important;
  }


  .aif-feature-preferences {
    background-color: var(--brand-darkness-darkness-015) !important;
  }

  .aif-feature-preferences-icon-background {
    width: 56px;
    height: 56px;
    background: var(--brand-darkness-darkness-025);
    border-radius: 50%;
    border: 1px solid var(--general-grey-600);
  }


  .aif-feature-preferences .card {
    border-radius: var(--radius-lg) !important;
  }

  .aif-feature-preferences-badge {
    background-color: var(--text-color-text-tertiary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
  }
/* END GENERAL */




/* ------------------------------------------------------------------------------------------------------------------ 
   PRICING OPTIONS SECTION
   ------------------------------------------------------------------------------------------------------------------ */
.aif-pricing-options {
  background-color: var(--brand-darkness-darkness-015) !important;
}

.aif-pricing-options .billing-toggle-container {
  background-color: transparent;
  border: 1px solid rgba(158,169,253,0.32);
  border-radius: 200px;
  overflow: hidden;
}

.aif-pricing-options .billing-toggle-btn {
  border: none;
  padding: 0 16px;
  height: auto;
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.28px;
  line-height: 1.12;
}

.aif-pricing-options .billing-toggle-btn.monthly {
  border-radius: 200px 0 0 200px;
}

.aif-pricing-options .billing-toggle-btn.yearly {
  border-left: 1px solid var(--brand-darkness-darkness-025);
  border-radius: 0 200px 200px 0;
}

.aif-pricing-options .billing-toggle-btn.active {
  background-color: var(--brand-darkness-darkness-025);
  color: var(--brand-darkness-darkness-500-hue);
}

.aif-pricing-options .billing-toggle-btn.inactive {
  background-color: var(--brand-darkness-darkness-015);
  color: var(--text-color-text-secondary2);
}

.aif-pricing-options .pricing-card {
  background-color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--elevation-2);
}

.aif-pricing-options .pricing-card.standard {
  border: 2px solid var(--brand-bright-blue-bright-blue-500-hue);
  box-shadow: var(--elevation-blue-2);
}

.aif-pricing-options .pricing-card .plan-title {
  color: var(--brand-darkness-darkness-500-hue);
  font-family: var(--font-family-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.aif-pricing-options .pricing-card .plan-description {
  color: var(--text-color-text-secondary2);
  font-family: var(--font-family-body);
  font-size: 16px;
  margin-bottom: 24px;
}

.aif-pricing-options .pricing-card .plan-price {
  color: var(--brand-darkness-darkness-500-hue);
  font-family: var(--font-family-display);
  font-size: 48px;
  font-weight: 700;
}

.aif-pricing-options .pricing-card  {
  color: var(--text-color-text-secondary2);
  font-family: var(--font-family-body);
  font-size: 16px;
  margin-bottom: 32px;
}

.plan-period {
  color: var(--general-grey-300);
  font-family: var(--font-family-body);
  font-size: 14px;
  margin-bottom: 32px;
}

.aif-pricing-options .pricing-card .cta-button {
  background-color: var(--brand-darkness-darkness-500-hue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm) !important;
  padding: var(--space-4);
  font-family: var(--font-family-display);
  font-weight: 600 !important;
  font-size: 16px;
  height: 48px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px !important;
  transition: background-color 0.2s ease;
}

.aif-pricing-options .pricing-card .cta-button:hover {
  background-color: var(--components-buttons-primary-button-primary-hover);
  color: var(--white);
}

.aif-pricing-options .pricing-card .features-title {
  color: var(--text-color-text-secondary2);
  font-family: var(--font-family-body);
  font-size: 14px !important;
  font-weight: bold !important;
  margin-bottom: 16px;
}

.aif-pricing-options .pricing-card .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aif-pricing-options .pricing-card .features-list li {
  color: var(--text-color-text-secondary2);
  font-family: var(--font-family-body);
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.aif-pricing-options .pricing-card .features-list li .checkmark {
  color: var(--brand-bright-blue-bright-blue-500-hue);
  margin-right: 12px;
}

.aif-pricing-options .recommended-badge {
  background-color: var(--brand-bright-blue-bright-blue-500-hue);
  color: var(--white);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 14px;
}

.aif-pricing-options .standard-card-wrapper {
  margin-top: 12px;
}

/* Remove Negative Margins from Pricing Rows */
.aif-pricing-options .row.justify-content-center.mb-5,
.aif-pricing-options .row.justify-content-center {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Billing Toggle Buttons */
.billing-toggle-btn {
  height: 40px !important;
  width: 90px !important;
  min-width: 90px !important;
  text-align: center;
}

/* Pricing Cards */
.pricing-card {
  width: 330px !important;
  max-width: 330px !important;
  box-shadow: 0 0 24px 0 rgba(158, 169, 253, 0.32) !important;
  margin: 0 auto !important; /* Center the card within its column */
}

/* Center the position-relative container as well */
.aif-pricing-options .position-relative {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Pricing Cards Row Spacing */
.aif-pricing-options .row.justify-content-center {
  gap: 24px;
}

/* Recommended Badge Container Positioning */
.recommended-badge-container {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: max-content;
}

/* Standard Card Offset */
.standard-card-offset {
  margin-top: -12px;
}

/* Compensate for badge height in Standard card body */
.standard-card-offset .card-body {
  margin-top: -12px; /* Pull content up to align with Free card */
}

/* Pricing Card Typography */
.pricing-card .plan-title {
  font-size: 20px !important;
  font-weight: normal !important;
}

.pricing-card .plan-price {
  font-size: 34px !important;
}

/* Pricing Card Spacing */
.pricing-card .plan-price {
  margin-bottom: 4px !important;
}

.pricing-card .plan-period {
  margin-top: 0 !important;
}
/* END PRICING OPTIONS */





/* ------------------------------------------------------------------------------------------------------------------ 
   CONTACT FORM STYLES
   ------------------------------------------------------------------------------------------------------------------ */
.contact-send-btn {
  background-color: var(--brand-darkness-darkness-500-hue) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: var(--space-3) var(--space-4) !important;
  font-family: var(--font-family-display) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  width: auto !important;
  min-width: 80px !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 10 !important;
}

.contact-send-btn:hover {
  background-color: var(--components-buttons-primary-button-primary-hover) !important;
  color: var(--white) !important;
}

.contact-send-btn:focus,
.contact-send-btn:active {
  background-color: var(--brand-darkness-darkness-500-hue) !important;
  color: var(--white) !important;
  box-shadow: none !important;
}

/* Support Card Styles */
.aif-contact .support-card {
  background-color: var(--brand-darkness-darkness-700);
  border: 1px solid var(--brand-darkness-darkness-050-light);
  border-radius: var(--radius-lg);
  color: var(--white);
  max-width: 368px;
}

/* Remove max-width constraint on mobile */
@media (max-width: 767.98px) {
  .aif-contact .support-card {
    max-width: none;
  }
}

.support-icon {
  color: var(--white);
}

.support-title {
  color: var(--white);
  font-family: var(--font-family-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.support-description {
  color: var(--text-color-text-secondary);
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

.support-email {
  color: var(--brand-bright-blue-bright-blue-500-hue);
  font-family: var(--font-family-display);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.support-email:hover {
  color: var(--components-chips-bright-blue-chip-bright-blue-text);
}
/* Constyle="background-color: var(--white); border-radius: 16px; box-shadow: var(--elevation-2);" id="contact-form-container">tact Form Container */
.contact-form-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 0 160px 0 rgba(0, 105, 250, 0.32);
}

/* Contact Form Labels */
.contact-form-container .form-label {
  font-size: 14px;
}

/* Contact Form Fields */
.contact-form-container .form-control {
  height: 48px;
}

/* Contact Form Textarea (Message field) */
.contact-form-container textarea.form-control {
  height: auto;
  min-height: 120px;
}

/* Contact Form Field Spacing */
.contact-form-container .mb-3,
.contact-form-container .mb-4 {
  margin-bottom: 24px !important;
}

/* Contact Page Spacing */
.aif-contact {
  margin-bottom: 120px;
}

.contact-subtitle-margin {
  margin-bottom: 40px;
}
/* END CONTACT FORM */






/* ------------------------------------------------------------------------------------------------------------------ 
   FAQ PAGE STYLES
   ------------------------------------------------------------------------------------------------------------------ */
/* FAQ Sidebar Navigation */
.faq-menu-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--brand-darkness-darkness-015);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}



.faq-sidebar-nav ul {
  margin: 0;
  padding: 0;
}

.faq-nav-link {
  display: block;
  padding: var(--space-3) 0;
  text-decoration: none;

  border-left: 2px solid transparent;
  padding-left: 16px;
  transition: all 0.2s ease-in-out;
}

.faq-nav-link:hover {
  color: var(--brand-bright-blue-bright-blue-500-hue);
  text-decoration: none;
}

.faq-nav-link.active {
  color: var(--brand-bright-blue-bright-blue-500-hue);
  border-left-color: var(--brand-bright-blue-bright-blue-500-hue);
}

.faq-nav-text {
  display: block;
}

/* FAQ Content Sections */
.faq-section {
  scroll-margin-top: 120px;
}

.faq-content-container {
  max-width: 760px;
}

/* FAQ Accordion and View More Styles */
.faq-accordion-button {
  padding: 16px 0;
}

.faq-accordion-body {
  padding: 0 0 16px 0;
}

.faq-view-more-container {
  text-align: left;
}

.faq-view-more-link {
  margin: 0;
  padding: 0;
}

.faq-view-more-btn {
  font-weight: 600;
  letter-spacing: 0.32px;
  color: #01062f;
  margin: 0;
  padding: 0;
}

.faq-view-more-icon {
  color: #01062f;
  margin-left: 8px;
}

/* Mobile FAQ Navigation */
@media (max-width: 991.98px) {
  .faq-menu-container {
    position: static;
    margin-bottom: 2rem;
  }
  
  .faq-sidebar-nav {
    background-color: var(--brand-darkness-darkness-015);
    border-radius: var(--radius-md);
    padding: var(--space-5);
  }
  
  .faq-sidebar-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  
  .faq-sidebar-nav li {
    margin-bottom: 0 !important;
  }
  
  .faq-nav-link {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    border-left: none;
    background-color: transparent;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .faq-nav-link.active {
    background-color: var(--brand-bright-blue-bright-blue-500-hue);
    color: var(--white);
    border-left: none;
  }
  
  .faq-nav-link:hover {
    background-color: rgba(var(--bright-blue-rgb), 0.1);
  }
  
  .faq-nav-link.active:hover {
    background-color: var(--brand-bright-blue-bright-blue-500-hue);
    color: var(--white);
  }
}
/* END FAQ PAGE */




/* ------------------------------------------------------------------------------------------------------------------ 
   LEGAL PAGES STYLES (Terms, Privacy, etc.)
   ------------------------------------------------------------------------------------------------------------------ */
.aif-legal-content {
  background-color: var(--white);
}



/* Legal Navigation MOBILE */
@media (max-width: 991.98px) {

  .aif-legal-content {
    padding: var(--space-4);
  }
  
  .legal-main-content {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .legal-menu {
    background-color: var(--brand-darkness-darkness-015);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    overflow: hidden;
  }

  /* Legal-Menu-Inner is to help the scrollbar appear inside the NAV */
  .legal-menu-inner {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--components-chips-info-blue-border) transparent;
    padding-bottom: var(--space-2);
    margin-bottom: calc(-1 * var(--space-2));

  }

  .legal-menu-inner::-webkit-scrollbar {
    height: 6px;
  }

  .legal-menu-inner::-webkit-scrollbar-track {
    border-radius: var(--radius-md);
  }

  .legal-menu-inner::-webkit-scrollbar-thumb {
    border-radius: var(--radius-md);
  }

  .legal-menu-inner::-webkit-scrollbar-thumb:hover {
    border-radius: var(--radius-md);
  }

  .legal-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin-right: var(--space-1);
  
    flex-shrink: 0;
    height: 40px;
  }

  .legal-menu a:last-child {
    margin-right: 0;
  }

  .legal-menu a.btn-primary {
    box-shadow: none !important;
  }

  .legal-menu a.btn-primary:hover {
    box-shadow: none !important;
  }

  .legal-menu a.btn-primary:focus {
    box-shadow: none !important;
  }

  .legal-menu a.btn-primary:active {
    box-shadow: none !important;
  }

  .legal-menu a span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .legal-menu ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .legal-menu li {
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }
} /* End Mobile Legal Menu*/

/* Legal Navigation DESKTOP */
@media (min-width: 992px) {
  .legal-menu-desktop {
    position: relative;
    z-index: 10;
    height: fit-content;
  }

  .legal-menu-sticky {
    background-color: var(--brand-darkness-darkness-015);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    width: 100%;
  }
  
  /* Sticky state applied by JavaScript */
  .legal-menu-sticky.sticky {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
  }
  
  /* Override for when hero is hidden */
  .legal-menu-sticky.sticky.hero-hidden {
    top: 20px !important;
    transform: none !important;
  }

  .legal-menu-sticky a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    height: 48px;
    padding: 0 var(--space-4);
    text-decoration: none;
    margin-bottom: var(--space-1);
  }

  .legal-menu-sticky a:last-child {
    margin-bottom: 0;
  }

  .legal-menu-sticky a span {
    font-family: var(--font-family-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.28px;
    text-align: left;
    width: 100%;
    color: var(--brand-darkness-darkness-500-hue);
  }

  /* Active state - left border only */
  .legal-menu-sticky a.active {
    border-left: 2px solid var(--brand-bright-blue-bright-blue-500-hue);
  }
}
/* END LEGAL PAGES */













/* ------------------------------------------------------------------------------------------------------------------ 
   COOKIE CONSENT TOAST
   ------------------------------------------------------------------------------------------------------------------ */

/* Cookie toast positioning and base styles */
.cookie-toast {
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 1050;
  display: none;
}

/* Cookie toast content styling */
.cookie-toast-content {
  background-color: var(--white);
  border: 1px solid var(--brand-darkness-darkness-500);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Cookie message text */
.cookie-text {
  color: var(--color-text);
  font-family: var(--font-family-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.28px;
}

/* Cookie action buttons */
.cookie-settings-link {
  color: var(--general-grey-300);
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28px;
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: none;
}

.cookie-settings-link:hover {
  color: var(--color-text);
  background-color: var(--brand-darkness-darkness-500);
}

.cookie-reject-btn {
  background-color: transparent;
  border: 1px solid var(--brand-darkness-darkness-400);
  color: var(--color-text-secondary);
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.cookie-reject-btn:hover {
  background-color: var(--brand-darkness-darkness-500);
  border-color: var(--brand-darkness-darkness-300);
  color: var(--color-text);
}

.cookie-accept-btn {
  background-color: var(--btn-primary-bg);
  border: 1px solid var(--btn-primary-bg);
  color: var(--white);
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.cookie-accept-btn:hover {
  background-color: var(--btn-primary-bg);
  border-color: var(--btn-primary-bg);
  color: var(--white);
  box-shadow: var(--elevation-blue-2) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .cookie-toast {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
  
  .cookie-toast-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .cookie-actions {
    justify-content: center;
    margin-left: 0 !important;
  }
  
  .cookie-text {
    text-align: center;
  }
}





/* Preferences Cards Shadow */
.preferences-card-shadow {
  box-shadow: 0 0 24px 0 rgba(158, 169, 253, 0.32) !important;
  transition: box-shadow 0.2s ease;
}

.preferences-card-shadow:hover {
  box-shadow: 0 0 48px 0 rgba(158, 169, 253, 0.4) !important;
}

/* Preferences Animated Icons Control */
.preferences-animated-icon {
  transition: transform 0.2s ease;
}

.preferences-card-shadow:hover .preferences-animated-icon {
  transform: scale(1.05);
}
/* END ELEVATION */





/* ------------------------------------------------------------------------------------------------------------------ 
   CTA SECTION BACKGROUND
   ------------------------------------------------------------------------------------------------------------------ */
.cta-signup {
  position: relative;
  background-color: var(--brand-darkness-darkness-500-hue);
  min-height: 400px;
}

.cta-signup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/assets/images/aif-logo-pattern-outline-white.svg');
  background-repeat: repeat;
  background-size: 80px 80px;

  opacity: 0.2;
}

.cta-signup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, var(--brand-darkness-darkness-500-hue) 80%);

}

.cta-signup > * {
  position: relative;
  z-index: 2;
}


.cta-icon {
  margin-bottom: -70px; /* Counteract bottom bleed */
  margin-top: -80px;    /* Counteract top bleed */
  display: block;
  margin-left: 50%;
  transform: translateX(-50%);
}
/* END CTA SECTION BACKGROUND */


.accordion-section-header .accordion-button {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 1rem 0;
}

.accordion-section-header .accordion-button:not(.collapsed) {
  background: transparent !important;
  box-shadow: none !important;
}

.accordion-section-header .accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-section-header .accordion-button:focus-visible {
  outline: 2px solid var(--brand-bright-blue-bright-blue-500-hue);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(158, 169, 253, 0.2);
}

.accordion-section-header .accordion-body {
  padding: 0;
  border: none !important;
}

.accordion-section-header .faq-header-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
  transform: rotate(0deg) !important;
}

.accordion-section-header .accordion-button.collapsed .faq-header-icon {
  transform: rotate(0deg) !important;
}

.accordion-section-header .accordion-button:not(.collapsed) .faq-header-icon {
  transform: rotate(180deg) !important;
}

.accordion-section-header .accordion-button::after {
  display: none !important;
}






/* ------------------------------------------------------------------------------------------------------------------ 
   FOOTER BACKGROUND
   ------------------------------------------------------------------------------------------------------------------ */
footer {
  background-color: var(--brand-darkness-darkness-500-hue);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Footer link hover states */
footer .color-text a:hover {
  color: var(--menu-link-hover-color) !important;
  text-decoration: underline !important;
  transition: color 0.2s ease;
}

footer .text-primary:hover {
  color: var(--brand-bright-blue-bright-blue-200) !important;
  text-decoration: underline !important;
  transition: color 0.2s ease;
}

footer .link-light:hover {
  color: var(--menu-link-hover-color) !important;
  text-decoration: underline !important;
  transition: color 0.2s ease;
}

/* Social icon hover states */
footer .social-icon-link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

footer .social-icon-link:hover img {
  filter: brightness(1.2);
}

footer .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

footer .row:first-child {
  flex: 0.7; /* Takes 70% of available height */
  display: flex;
  align-items: center;
}

footer .row:last-child,
footer .footer-copyright {
  flex: 0.3; /* Takes 30% of available height */
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-6); /* 24px spacing from top */
  margin-bottom: var(--space-6); /* 24px spacing from bottom of page */
}


/* Footer icon sizing */
.footer-icon {
  width: 16px;
  height: 16px;
}

/* Footer flex gaps */
.footer-mobile-links {
  gap: 24px;
}

.footer-desktop-links {
  gap: 24px;
}

.footer-copyright-row {
  gap: 24px;
}

.footer-copyright-links {
  gap: 24px;
}

/* Mobile responsive footer copyright alignment */
@media (max-width: 767.98px) {
  footer .footer-copyright .col > div:last-child {
    justify-content: flex-start !important;
  }
}

/* Home hero section overlay styles */
.hero-overlay-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.hero-overlay-positioning {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
}

.hero-signup-overlay {
  position: relative;
}

.hero-signup-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: blur(0.1px);
  opacity: 0.85;
}

.hero-signup-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 20px;
}

.hero-signup-content a {
  min-width: 120px;
  white-space: nowrap;
}

.home-features-subtitle-margin {
  margin-bottom: 40px;
}

/* Features section styles */
.features-hero-overflow {
  overflow: hidden;
}

/* Preferences section styles */
.preferences-section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

.preferences-icon-container {
  overflow: hidden;
}




/* ------------------------------------------------------------------------------------------------------------------ 
   LEGAL STANDALONE PAGES
   ------------------------------------------------------------------------------------------------------------------ */

/* Force display of legal sections on standalone pages (privacy-policy.html, terms-of-use.html) */
.legal-standalone .legal-main-section {
  display: block;
}

/* Terms of Use page white background */
.terms-of-use-page {
 
  min-height: 100vh;
}

.terms-of-use-page .main-content {
  background-color: var(--white);
}

.terms-of-use-page .aif-legal {
  background-color: var(--white);
}

/* Privacy Policy page white background */
.privacy-policy-page {
  background-color: var(--white);
  min-height: 100vh;
}

.privacy-policy-page .main-content {
  background-color: var(--white);
}

.privacy-policy-page .aif-legal {
  background-color: var(--white);
}

/* Legal Heading Accordion Custom Styling */
#legal-heading-accordion .accordion-item {
  border: none;
  border-radius: 0;
}

#legal-heading-accordion .accordion-header {
  border-top: none;
  border-bottom: none;
}

#legal-heading-accordion .accordion-button {

  border-radius: 0;
  background-color: transparent;
  padding: 1rem 0;

  font-family: "Funnel Display", sans-serif;
  font-style: normal;
  font-size: 24px;
  font-weight: 700;
  line-height: 112%;
  letter-spacing: -0.2px;
}

#legal-heading-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--color-text);
  box-shadow: none;
}

#legal-heading-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

#legal-heading-accordion .accordion-button::after {
  background-image: url("/assets/images/icon-keyboard-down.svg");
  background-size: 24px 25px;
  width: 24px;
  height: 25px;
}

#legal-heading-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("/assets/images/icon-keyboard-down.svg");
  background-size: 24px 25px;
  width: 24px;
  height: 25px;
  transform: rotate(-180deg);
}

#legal-heading-accordion .accordion-body {
  border-top: none;
  border-bottom: none;
  padding: 0 0 1rem 0;
}