/*
Theme Name: Capital Edge Landing Page Theme
Theme URI: https://lovable.app
Author: Antigravity AI
Author URI: https://lovable.app
Description: Standalone production-ready landing page theme for Capital Edge, preserving exact styles and layout without WordPress theme conflicts.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capitaledge
*/

/* ==========================================================================
   Capital Edge Custom Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Dimensions */
  --radius: 0.75rem;
  
  /* Color Palette (Matching OKLCH mappings) */
  --background: #F7F9FC;
  --foreground: #111827;
  --card: #ffffff;
  --primary: #0A3D91;
  --primary-light: #2E6BFF;
  --primary-2: #154FB3;
  --primary-3: #2E6BFF;
  --navy: #072A63;
  --accent-cyan: #00AEEF;
  --success: #16A34A;
  
  --secondary: #F3F4F6;
  --secondary-foreground: #072A63;
  --muted: #F3F4F6;
  --muted-foreground: #5B6472;
  --accent: #EBF5FF;
  --accent-foreground: #0A3D91;
  --border: #E5E7EB;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0A3D91 0%, #2E6BFF 100%);
  --gradient-hero: linear-gradient(135deg, #072A63 0%, #0A3D91 50%, #154FB3 100%);
  
  /* Shadows */
  --shadow-card: 0 10px 30px -12px rgba(10, 61, 145, 0.18);
  --shadow-soft: 0 4px 20px -6px rgba(17, 24, 39, 0.08);
  --shadow-glow: 0 20px 60px -20px rgba(46, 107, 255, 0.45);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
}

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

.container {
  width: 100%;
  max-width: 80rem; /* 1285px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-success { color: var(--success); }
.cyan-text { color: var(--accent-cyan); }
.text-white { color: #ffffff; }
.text-white-75 { color: rgba(255, 255, 255, 0.75); }

/* ==========================================================================
   Layout Helpers & Utilities
   ========================================================================== */

.section-pad {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.card-soft {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(10, 61, 145, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .btn {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
  }
}

.btn-primary {
  background-image: var(--gradient-primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 20px 60px -15px rgba(46, 107, 255, 0.55);
}

.btn-primary:active {
  transform: translateY(-0.5px);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(10, 61, 145, 0.15);
}

.btn-secondary:hover {
  border-color: rgba(10, 61, 145, 0.40);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(10, 61, 145, 0.08);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-sm {
  padding: 0.5rem 1rem !important;
  font-size: 0.75rem !important;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */

.announcement-bar {
  background: var(--gradient-hero);
  color: #ffffff;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .announcement-bar {
    font-size: 0.875rem;
  }
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.announcement-text svg {
  opacity: 0.8;
  flex-shrink: 0;
}

.announcement-text .mobile-text {
  display: inline;
}

.announcement-text .desktop-text {
  display: none;
}

@media (min-width: 640px) {
  .announcement-text .mobile-text {
    display: none;
  }
  .announcement-text .desktop-text {
    display: inline;
  }
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
}

.announcement-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */

.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.header-container {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--gradient-primary);
}

.logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.logo-highlight {
  color: var(--primary-3);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  transition: color 0.2s ease;
}

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

.header-cta {
  display: none;
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 5rem;
    padding-bottom: 7rem;
  }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: 
    radial-gradient(1200px 600px at 80% -10%, rgba(46, 107, 255, 0.18), transparent 60%), 
    radial-gradient(900px 500px at -10% 10%, rgba(0, 174, 239, 0.12), transparent 60%);
}

.hero-container {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.hero-badge .stars {
  color: var(--accent-cyan);
}

.hero-title {
  margin-top: 1.25rem;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

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

.hero-meta-badges {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.meta-badge-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 700;
}

.meta-badge-outline {
  border: 1px solid rgba(10, 61, 145, 0.2);
  background-color: #ffffff;
  color: var(--primary);
  font-weight: 600;
}

.hero-description {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--muted-foreground);
  max-w: 36rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.hero-bullets {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.625rem;
  font-size: 0.875rem;
  list-style: none;
}

@media (min-width: 640px) {
  .hero-bullets {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-bullets li svg {
  flex-shrink: 0;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-footnote {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-visual-wrapper {
  position: relative;
}

.hero-image-card {
  overflow: hidden;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-card {
  display: none;
  position: absolute;
  padding: 0.75rem 1rem;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .floating-card {
    display: flex;
  }
}

.floating-card-left {
  left: -1rem;
  top: 2.5rem;
}

.floating-card-right {
  right: -1rem;
  bottom: 2rem;
}

.icon-success {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background-color: var(--success);
}

.icon-gradient {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--gradient-primary);
}

.floating-card-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  font-weight: 600;
}

.floating-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}

/* ==========================================================================
   Featured In Trust Bar
   ========================================================================== */

.trust-bar-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: #ffffff;
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.trust-bar-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-3);
  font-weight: 700;
}

.trust-bar-subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.trust-logos-grid {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 2.5rem;
  row-gap: 1rem;
}

.partner-logo {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  color: var(--muted-foreground);
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  cursor: default;
  user-select: none;
}

@media (min-width: 768px) {
  .partner-logo {
    font-size: 1.25rem;
  }
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  color: var(--primary);
}

/* ==========================================================================
   Metrics Section
   ========================================================================== */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-card {
  padding: 1.5rem;
  text-align: center;
}

.metric-number {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .metric-number {
    font-size: 2.25rem;
  }
}

.font-gradient {
  background-image: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .metric-label {
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   Financing Options Section
   ========================================================================== */

.section-header {
  margin-bottom: 2rem;
}

.section-tag {
  font-size: 0.875rem;
  color: var(--primary-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.15;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}

.financing-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .financing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .financing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.financing-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.financing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(10, 61, 145, 0.22);
}

.financing-icon-box {
  height: 3rem;
  width: 3rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--gradient-primary);
  margin-bottom: 1rem;
}

.financing-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.financing-card-amount {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-3);
  margin-top: 0.25rem;
}

.financing-card-list {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  flex-grow: 1;
}

.financing-card-list li {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.financing-card-list li svg {
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.financing-card-list li span {
  color: var(--muted-foreground);
}

.financing-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s ease;
}

.financing-card:hover .financing-card-cta {
  gap: 0.5rem;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.steps-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  padding: 1.5rem;
  position: relative;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  opacity: 0.1;
  color: var(--primary);
  line-height: 1;
  display: block;
}

.step-title {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.step-description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.steps-actions {
  margin-top: 2.5rem;
}

/* ==========================================================================
   Success Stories Section
   ========================================================================== */

.stories-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.stories-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stories-nav-btn {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background-color: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.stories-nav-btn:hover {
  border-color: rgba(10, 61, 145, 0.4);
}

.stories-nav-btn svg {
  color: var(--primary);
}

.stories-slider-container {
  position: relative;
  overflow: hidden;
  min-height: 18.5rem;
}

.stories-page {
  display: none;
  gap: 1.25rem;
}

.stories-page.active {
  display: grid;
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 640px) {
  .stories-page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stories-page {
    grid-template-columns: repeat(4, 1fr);
  }
}

.story-card {
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.story-bg-decoration {
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  height: 8rem;
  width: 8rem;
  border-radius: 9999px;
  opacity: 0.1;
  background: var(--gradient-primary);
  transition: transform 0.4s ease;
}

.story-card:hover .story-bg-decoration {
  transform: scale(1.15);
}

.story-amount {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.story-type {
  margin-top: 0.5rem;
  color: var(--navy);
}

.story-biz {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.story-term {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(10, 61, 145, 0.05);
  color: var(--primary);
}

.stories-pagination-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.stories-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(10, 61, 145, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.stories-dot.active {
  width: 2rem;
  background-color: var(--primary);
}

.stories-actions {
  margin-top: 2.5rem;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-choose-us-section {
  background: var(--gradient-hero);
  color: #ffffff;
  overflow: hidden;
}

.why-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background: radial-gradient(800px 400px at 20% 0%, rgba(0, 174, 239, 0.35), transparent 60%);
  z-index: 0;
}

.why-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.2s ease;
}

.why-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.why-icon-box {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.why-text {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ==========================================================================
   Minimum Qualifications Section
   ========================================================================== */

.qualifications-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .qualifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .qualifications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.qualification-card {
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.qualification-check {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--gradient-primary);
  flex-shrink: 0;
}

.qualification-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.qualifications-actions {
  margin-top: 2.5rem;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonial-quote-icon {
  margin-left: auto;
  margin-right: auto;
  color: var(--primary-3);
  opacity: 0.5;
}

.testimonial-frame {
  margin-top: 1rem;
  min-height: 9rem;
}

.stars {
  font-size: 1.125rem;
  letter-spacing: 0.1em;
}

.stars-yellow {
  color: #EAB308;
}

.testimonials-wrapper {
  position: relative;
  margin-top: 0.75rem;
}

.testimonial-item {
  display: none;
}

.testimonial-item.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
}

@media (min-width: 768px) {
  .testimonial-quote {
    font-size: 1.5rem;
  }
}

.testimonial-author {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.author-name {
  font-weight: 600;
  color: var(--foreground);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.testimonial-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(10, 61, 145, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  width: 2rem;
  background-color: var(--primary);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-question {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .faq-question {
    font-size: 1.05rem;
  }
}

.faq-trigger svg {
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  max-height: 12.5rem; /* Adjust if needed */
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}

.faq-actions {
  margin-top: 2.5rem;
}

.faq-cta-prompt {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.final-cta-section {
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .final-cta-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.final-cta-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background: radial-gradient(600px 300px at 50% 0%, rgba(0, 174, 239, 0.4), transparent 60%);
  z-index: 0;
}

.final-cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .final-cta-title {
    font-size: 3.5rem;
  }
}

.final-cta-description {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-w: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .final-cta-actions {
    flex-direction: row;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon-primary {
  background: var(--gradient-primary);
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.footer-col-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  margin-top: 1rem;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer-bottom-content {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
}

/* ==========================================================================
   Sticky Layout / Overlays / Modals
   ========================================================================== */

/* Utility helper to hide elements */
.hidden {
  display: none !important;
}

/* Sticky Trust Bar (Desktop) */
.sticky-trust-bar {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
}

@media (min-width: 768px) {
  .sticky-trust-bar {
    display: block;
  }
}

.sticky-trust-bar.hidden {
  display: none;
}

.sticky-trust-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sticky-stars {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sticky-divider {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.sticky-stat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  display: none;
}

@media (min-width: 1024px) {
  .sticky-stat {
    display: inline;
  }
  .sticky-divider {
    display: inline;
  }
}

/* Extra media queries for extra large stats on sticky bar */
@media (max-width: 1200px) {
  .sticky-trust-content .sticky-stat:nth-of-type(4),
  .sticky-trust-content .sticky-stat:nth-of-type(3),
  .sticky-trust-content .sticky-divider:nth-of-type(5),
  .sticky-trust-content .sticky-divider:nth-of-type(4) {
    display: none;
  }
}

@media (max-width: 1024px) {
  .sticky-trust-content .sticky-stat,
  .sticky-trust-content .sticky-divider {
    display: none;
  }
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.15);
}

.w-full {
  width: 100%;
}

@media (min-width: 768px) {
  .sticky-mobile-cta {
    display: none;
  }
}

/* Spacer for Mobile Sticky CTA in layout */
body {
  padding-bottom: 4.5rem; /* Space so content isn't covered by mobile CTA */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Floating Desktop CTA */
.floating-desktop-cta {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (min-width: 768px) {
  .floating-desktop-cta {
    display: block;
  }
}

.floating-desktop-cta.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

/* Exit Intent Modal */
.exit-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1rem;
  animation: fadeIn 0.3s ease forwards;
}

.exit-modal-overlay.hidden {
  display: none !important;
}

.exit-modal-content {
  position: relative;
  background-color: #ffffff;
  border-radius: 1rem;
  max-width: 28rem;
  width: 100%;
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.exit-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  height: 2rem;
  width: 2rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  cursor: pointer;
  color: var(--muted-foreground);
  transition: background-color 0.2s ease;
}

.exit-modal-close:hover {
  background-color: #F3F4F6;
  color: var(--foreground);
}

.exit-modal-icon {
  height: 3rem;
  width: 3rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--gradient-primary);
}

.exit-modal-title {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.exit-modal-description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.exit-modal-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-skip-text {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  cursor: pointer;
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 500;
}

.btn-skip-text:hover {
  color: var(--foreground);
  text-decoration: underline;
}
