/* ==========================================================================
   Ratio Style Sheet | Rewritten & Refactored
   ==========================================================================
   1.  GLOBAL & ROOT STYLES
   2.  TYPOGRAPHY & UTILITIES
   3.  REUSABLE COMPONENTS (Buttons, Cards)
   4.  HEADER & NAVIGATION
   5.  UNIVERSAL HERO SECTION
   6.  PAGE-SPECIFIC SECTIONS
       - Home Page
       - About Page
       - How It Works Page
       - Customer Story Page
       - Join Waitlist Page
       - Partners Page
       - Pricing Page
   7.  FOOTER
   8.  FLOATING ACTION BUTTON (FAB) & POPOVER
   9.  ASSESSMENT STYLES (PRESERVED AS-IS PER REQUEST)
   10. RESPONSIVE MEDIA QUERIES
   ========================================================================== */


/* ==========================================================================
   1. GLOBAL & ROOT STYLES
   ========================================================================== */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --accent-color: #ff8c00;
    --accent-hover: #e67e00;
    --text-dark: #1f2937;
    --text-medium: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --success-color: #16a34a;
    --error-color: #dc3545;
    --hero-padding-top-mobile: 140px;
    --hero-padding-bottom-mobile: 100px;
    --section-padding-mobile: 60px;
    --container-padding-mobile: 1.5rem;
    /* Navigation & Dropdown Variables */
    --nav-hover-scrolled: #4f46e5;
    --dropdown-border: rgba(79, 70, 229, 0.1);
    --dropdown-shadow: rgba(79, 70, 229, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Prevents page scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}


/* ==========================================================================
   2. TYPOGRAPHY & UTILITIES
   ========================================================================== */
/* Hide the mobile-only text by default on desktop */
.mobile-only-text {
    display: none;
}
.gradient-text {
    background: linear-gradient(135deg, #FF8C00 0%, #ff8c00e1 60%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.rotating-text {
    color: #FFFFFF;
    position: relative;
    display: inline-block;
    min-width: 200px; /* Prevents layout shift */
}

.rotating-text.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.rotating-text.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}


/* ==========================================================================
   3. REUSABLE COMPONENTS (Buttons, Cards)
   ========================================================================== */

/* --- Standard Primary CTA --- */
.cta-primary-standard {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-primary-standard:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-icon-circle {
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.cta-icon-arrow {
    width: 100px;
    height: 100px;
    color: var(--accent-color);
    transform: rotate(-45deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.cta-primary-standard:hover .cta-icon-arrow {
    transform: rotate(0deg);
    opacity: 0.9;
}

/* --- Hero Secondary CTA --- */
.hero-cta.secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- Benefit Cards (Used in Hero Sections) --- */
.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.benefit-content h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: white;
    line-height: 1.3;
    text-align: left;
}
/* --- Reusable Card System --- */
.ratio-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* --- Reusable Card System Update --- */
/* Updated the site-wide orange callout card to add rounded corners */
.ratio-card-orange {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.03), rgba(255, 140, 0, 0.01));
    border: 1px solid rgba(255, 140, 0, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 12px; /* ADDED: To match the visual style of other callouts */
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.04);
    margin: 2rem auto;
    text-align: center;
}

/* This rule should be removed or commented out if it exists elsewhere */
.ratio-card-orange p {
    font-weight: 500;
    color: var(--text-dark);
}

/* --- Partners Page Specific Styles --- */
/* This ensures the updated card has the correct spacing on the partners page */
.partners-status-card {
    margin-top: 4rem;
    padding: 2.5rem;
}

.partners-status-card h2 {
    font-size: 1.75rem;
    font-weight: 800; /* Added for consistency */
    margin-bottom: 1rem;
}

.partners-status-card p {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    color: var(--text-medium); /* Ensure correct text color */
    font-weight: 400; /* Standard paragraph weight */
}


/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    padding: 1.75rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.site-header.scrolled .nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.125rem 0;
    border-bottom: 1px solid var(--dropdown-border);
    box-shadow: 0 8px 32px var(--dropdown-shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    min-height: 70px;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    justify-self: start;
    height: 100%;
    align-self: start;
    margin-top: -.4rem;
}

.logo svg {
    height: 48px;
    width: auto;
    display: block;
}

.logo-path {
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.site-header.scrolled .logo-path {
    fill: var(--primary-color);
}

.logo-dot {
    fill: var(--accent-color);
}

/* Logo 'o' rotation on hover */
.logo svg path:first-of-type {
    transform-box: fill-box;
    transform-origin: center center;
    transition: transform 0.3s ease;
}

/* --- Desktop Navigation Menu --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    justify-self: center;
}

.nav-menu-item {
    position: relative;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    display: block;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.site-header.scrolled .nav-menu a {
    color: var(--text-dark);
    text-shadow: none;
}

.site-header.scrolled .nav-menu a:hover {
    color: var(--nav-hover-scrolled);
}

/* --- Dropdown Menu --- */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -3rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.08), 0 0 0 1px rgba(79, 70, 229, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 260px;
    z-index: 1001;
    padding: 0.5rem;
    overflow: hidden;
}

.nav-menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu a {
    color: #475569;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 12px;
    text-shadow: none;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.08);
    text-shadow: none;
}

.dropdown-icon {
    width: 22px;
    height: 22px;
    color: #64748b;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.dropdown-menu a:hover .dropdown-icon {
    color: var(--primary-color);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 2rem;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(79, 70, 229, 0.06);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    backdrop-filter: blur(20px);
}

/* --- Active Navigation Link Styles --- */
.nav-menu a.nav-active {
    color: var(--accent-color);
    font-weight: 700;
    cursor: default;
    pointer-events: none;
}

.dropdown-menu a.nav-active {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.08);
    font-weight: 600;
    cursor: default;
    pointer-events: none;
    text-shadow: none;
}

.dropdown-menu a.nav-active .dropdown-icon {
    color: var(--primary-color);
}

.site-header.scrolled .nav-menu a.nav-active {
    color: var(--primary-color);
    text-shadow: none;
}

/* --- Right-Side Navigation (Login & CTA) --- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

.nav-login {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-login:hover {
    color: var(--accent-color);
}

.site-header.scrolled .nav-login {
    color: var(--text-dark);
}

.site-header.scrolled .nav-login:hover {
    color: var(--nav-hover-scrolled);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FF8C00 0%, #ff8c00e1 60%, #FF8C00 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(204, 102, 0, 0.3);
}


.nav-cta:hover {
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.4);
}

.nav-cta span {
    position: relative;
    z-index: 1;
}

/* --- Mobile Navigation --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    background: transparent;
    border: none;
    z-index: 1002;
}

.hamburger-line {
    width: 26px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.site-header.scrolled .hamburger-line {
    background: var(--primary-color);
}

.mobile-menu-toggle.active .hamburger-line {
    background: var(--text-dark);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(162deg, #0F172A 71%, #3730A3 100%);
    z-index: 1001;
    flex-direction: column;
    padding: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.mobile-menu-header .logo-path {
    fill: #ffffff;
}

.mobile-menu-header .logo-dot {
    fill: var(--accent-color);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.5rem;
    font-weight: 300;
    line-height: 1;
}

.mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-bottom: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.mobile-menu-nav a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.mobile-menu .nav-login {
    color: var(--primary-color);
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem;
}

.mobile-menu .nav-cta {
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    justify-content: center;
}

/* Hide FAB when mobile menu is open */
body.mobile-menu-open .floating-support {
    display: none !important;
}


/* ==========================================================================
   5. UNIVERSAL HERO SECTION
   ========================================================================== */
   .hero-base.hero-default {
    padding: 140px 0 180px; /* <-- CHANGED 20px to 180px */
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: center;
}

.hero-default {
    background: linear-gradient(162deg, #0F172A 71%, #3730A3 100%);
}

/* Universal hero pattern overlay */
.hero-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(-60deg, transparent, transparent 12px, rgba(79, 70, 229, 0.3) 12px, rgba(79, 70, 229, 0.3) 13px);
    mask-image: radial-gradient(ellipse 60% 65% at 90% 10%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 75%);
    -webkit-mask-image: radial-gradient(ellipse 60% 65% at 90% 10%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 75%);
    pointer-events: none;
    z-index: 1;
}

/* ADD THE WAVE DIVIDER STYLES HERE */
.hero-wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-wave-divider .wave-layer-1 {
    fill: var(--bg-light);
}

/* Add this rule in Section 5, after the .hero-ctas styles */
.hero-subtle-message {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.589);
    margin-top: 1.5rem;
    max-width: none;  /* Remove width constraint */
    line-height: 1.5;
    display: block;   /* Ensure block display */
    text-align: left; /* Left align text */
    width: 100%;      /* Full width like hero-ctas */
}

/* Add this rule inside your main mobile media query (@media (max-width: 900px)) */
.hero-subtle-message {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

/* Hero content positioning */
.hero-base .hero-layout,
.hero-base .container > * {
    position: relative;
    z-index: 2;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 100px;
    align-items: start;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

.hero-content .subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* ==========================================================================
   6. PAGE-SPECIFIC SECTIONS
   ========================================================================== */

/* --- Home Page --- */
/* Desktop spacing for testimonial stat cards */
.home-testimonial-stats {
  display: flex;
  flex-direction: column;
  gap: 20px; /* space between the three cards */
}

.home-section {
    padding: 4rem 0;
}

.home-section.home-white-bg {
    background: white;
}

.home-section.home-light-bg {
    background-color: var(--bg-light);
}

.home-section.home-purple-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.home-section.home-purple-bg h2,
.home-testimonial-section h2 {
    color: white;
    text-align: center;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.home-section.home-purple-bg .home-section-subtitle,
.home-testimonial-section .home-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.home-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home-section-subtitle {
    font-size: .9rem;
    text-align: center;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.home-section-subtitle-with-quote {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home-quote-citation {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
}

.home-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.home-problem-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.home-problem-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.home-problem-icon svg {
    width: 32px;
    height: 32px;
}

.home-problem-item h3 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.home-problem-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.home-workflow-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.1);
    max-width: 900px;
    margin: 0 auto 3rem;
}

.home-workflow-step:last-child {
    margin-bottom: 0;
}

.home-step-number {
    min-width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    flex-shrink: 0;
}

.home-step-visual {
    min-width: 200px;
    height: 120px;
    flex-shrink: 0;
}

.home-step-visual svg {
    width: 100%;
    height: 100%;
}

.home-step-content h3 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.home-step-content p {
    font-size: 1rem;
}

.home-workflow-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.home-workflow-cta:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.home-workflow-cta .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.home-workflow-cta:hover .arrow {
    transform: translateX(4px);
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 4rem auto;
    max-width: 1200px;
}

.home-stat-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}



.home-stat-visual {
    position: relative;
    margin-bottom: 2rem;
}

.home-donut-chart {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.home-stat-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
}

.home-stat-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.home-stat-source {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.home-testimonial-section {
    padding: 80px 0;
}

.home-testimonial-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 100px;
    align-items: center;
}

.home-quote-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
}

.home-author {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.home-company {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.home-testimonial-stats .benefit-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
    padding: 24px;
}

.home-stat-card-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.home-stat-card-description {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.home-new-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.home-new-cta-button:hover {
    background: var(--accent-hover);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.home-new-cta-secondary {
    background: #f0f0f0;
    color: var(--primary-color);
}

.home-new-cta-secondary:hover {
    background: #e5e5e5;
    box-shadow: none;
}

.home-cta-testimonial {
    max-width: 700px;
    margin: 4rem auto 0;
    padding: 0 1rem;
}

.home-cta-testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0rem;
    text-align: center;
}

.home-cta-testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.home-cta-testimonial-author span {
    font-weight: 400;
    color: var(--text-medium);
    margin-left: 0.5rem;
}

/* --- About Page --- */
.problem-label .arrow {
  color: var(--accent-color);
  margin-left: 6px;
  font-weight: 1200;
  font-size: 1.1em; /* makes it bigger and visually thicker */
  line-height: 1;
}

.problem-label,
.solution-label {
  font-weight: 900;
  letter-spacing: -0.3px; /* tighter spacing, looks stronger */
  color: #000000; /* darker text */
}


.about-page .hero-layout {
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    text-align: left;
}

.about-page .hero-content,
.about-page .hero-content h1,
.about-page .hero-content .subtitle {
    text-align: left;
    margin-left: 0;
}

.about-section {
    padding: 5rem 0;
}

.about-section.tighter {
    margin-top: -9rem;
}

.about-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.about-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.about-section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.ratio-problems-interactive-section {
    background-color: var(--bg-light);
    padding: 3rem 0 2.5rem;
}

.challenge-nav-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.challenge-nav {
    display: inline-flex;
    gap: 0.5rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.challenge-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.challenge-nav-item:hover {
    background-color: var(--bg-light);
}

.challenge-nav-item.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.nav-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.1);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.challenge-nav-item.active .nav-number {
    background-color: rgba(255,255,255,0.2);
}

.challenge-content-container {
    position: relative;
    min-height: 350px;
    overflow: hidden;
}

.challenge-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.challenge-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.challenge-card {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.03), rgba(255, 140, 0, 0.01));
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 140, 0, 0.1);
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.04);
}

.cs-challenge-section .challenge-card {
    max-width: 900px; /* You can easily adjust this value */
    margin: 0 auto;
}

.challenge-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.challenge-content-grid.with-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
  align-items: stretch; /* let all columns match tallest height */
}

.challenge-divider {
  display: flex;
  align-items: center;   /* vertical center within full row */
  justify-content: center;
}

.challenge-divider .sparkles-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-color);
}


/* Alternative approach using flexbox */




.content-label {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    margin-bottom: .5rem;
}

.problem-side p, .solution-side p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

.about-team-section {
    background-color: var(--bg-light);
    padding-top: 0;
    margin-top: -5rem;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-team-member {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.about-member-header {
    padding: 1.5rem;
    text-align: center;
}

.about-member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background-size: cover;
    background-position: center;
}

.about-team-member:first-child .about-member-avatar {
    background-image: url('/images/ratio_headshot_md.jpg');
}
.about-team-member:nth-child(2) .about-member-avatar {
    background-image: url('/images/ratio_headshot_kl.jpg');
}
.about-team-member:nth-child(3) .about-member-avatar {
    background-image: url('/images/ratio_headshot_tv.png');
    background-size: cover;
    background-position: center;
}

.about-team-member h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.about-member-linkedin-text {
    color: #1275B1;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.about-member-linkedin-text:hover {
    color: var(--accent-color);
}

.about-member-title {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.about-member-strengths {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.about-strength-pill {
    background: #eef2ff;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.about-member-content {
    padding: 1.5rem 1.5rem 0.5rem;
    flex-grow: 1;
}

.about-member-highlight {
    font-size: 0.9rem;
    font-weight: 400;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    line-height: 1.5;
}

.about-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-cta-content .cta-primary-standard {
    margin-bottom: 1.5rem;
}

.about-cta-message-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.about-waitlist-circles-icon svg {
    width: 100px;
    height: 32px;
}

.about-cta-message {
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* =================================================================
   How It Works Page Sections
   ========================================================================== */

/* Hero Section Override & Specific Styles
   -------------------------------------------------------------------------- */
.hiw-answer-key-section-demo {
    margin-bottom: 3.5rem; /* This adds the needed space */
}

.hiw-answer-key-list-demo {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hiw-hero::before {
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.08) 10px,
            rgba(255, 255, 255, 0.08) 11px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 15px,
            rgba(255, 255, 255, 0.04) 15px,
            rgba(255, 255, 255, 0.04) 16px
        );
    mask-image: radial-gradient(ellipse 80% 70% at 70% 70%, black 10%, transparent 70%);
}

.hiw-hero .hero-layout {
    grid-template-columns: minmax(0, 1fr) 1.2fr;
}

/* Hero Diagram */
.hiw-hero-diagram-final {
    position: relative;
    height: 350px;
}

.hiw-diagram-arrows-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.hiw-diagram-arrow {
    stroke: rgba(255,255,255,0.4);
    stroke-width: 2px;
    fill: none;
    opacity: 0;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: hiw-draw-arrow 0.8s ease-in-out forwards, 
               hiw-fade-in-element 0.8s ease-out forwards;
}

.hiw-diagram-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    padding: 1rem 1.25rem;
    width: 220px;
    opacity: 0;
    transform: scale(0.95);
    animation: hiw-fade-in-element 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

.hiw-diagram-card-link {
    text-decoration: none;
}

.hiw-diagram-card-link:hover .hiw-diagram-card {
    transform: scale(1.03);
    background: rgba(255,255,255,0.2);
}

#card-input { animation-delay: 0.2s; }
#arrow-1 { animation-delay: 0.6s; }
#card-generate { animation-delay: 1.0s; }
#arrow-2 { animation-delay: 1.4s; }
#card-output { animation-delay: 1.8s; }

@keyframes hiw-fade-in-element { 
    to { 
        opacity: 1; 
        transform: scale(1); 
    } 
}

@keyframes hiw-draw-arrow { 
    to { 
        stroke-dashoffset: 0; 
    } 
}

.hiw-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.hiw-card-header svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: white;
}

.hiw-card-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.hiw-card-body {
    padding-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

#card-input { top: 20px; left: 0; }
#card-generate { top: 110px; right: -20px; }
#card-output { top: 240px; left: -4px; }

/* Main Content Sections
   -------------------------------------------------------------------------- */
/* How It Works page — match main bg to wave/section */
.hiw-page main {
background-color: var(--bg-light);
}

   .hiw-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.hiw-process-container {
    max-width: 1000px;
    margin: 0 auto;
}

.hiw-process-step {
    margin-bottom: 5rem;
    scroll-margin-top: 120px;
}

.hiw-process-step:last-child {
    margin-bottom: 0;
}

.hiw-step-badge {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background-color: #f3f2fd;
    border-radius: 999px;
    color: #5b52f5;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hiw-step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hiw-step-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hiw-integrated-visual-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(255, 140, 0, 0.03));
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-height: 175px;
    margin-top: 3rem;
}

.hiw-what-happens-text {
    flex-basis: 45%;
    flex-shrink: 0;
}

.hiw-what-happens-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.hiw-what-happens-text p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

.hiw-transformation-visual, .hiw-step-2-visual, .hiw-step-3-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex: 1;
}

.hiw-structured-blueprint::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.hiw-structured-blueprint::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-left: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    opacity: 0.3;
}

.hiw-floating-docs {
    position: relative;
    width: 70px;
    height: 70px;
}

.hiw-floating-doc {
    width: 44px;
    height: 55px;
    background: var(--white);
    border-radius: 4px;
    border: 1.5px solid var(--text-light);
    position: absolute;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.hiw-floating-doc:nth-child(1) { transform: rotate(-10deg); top: 0; left: 0; }
.hiw-floating-doc:nth-child(2) { transform: rotate(8deg); top: 10px; left: 25px; }

.hiw-ai-sparkle-icon {
    width: 44px;
    height: 44px;
    color: var(--primary-color);
    fill: var(--primary-color);
    flex-shrink: 0;
}

.hiw-structured-blueprint {
    width: 120px;
    height: 75px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
    flex-shrink: 0;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hiw-structured-blueprint::before,
.hiw-structured-blueprint::after {
    display: none;
}

/* Skill row base */
.hiw-structured-blueprint .skill-row {
    height: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hiw-structured-blueprint .skill-bar {
    height: 3px;
    border-radius: 2px;
    flex: 1;
}

.hiw-structured-blueprint .skill-indicator {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.hiw-structured-blueprint .skill-level {
    display: flex;
    gap: 2px;
}

.hiw-structured-blueprint .level-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
}

/* Skill variations */
.hiw-structured-blueprint .skill-bar.primary { background: var(--primary-color); opacity: 0.8; }
.hiw-structured-blueprint .skill-bar.secondary { background: var(--primary-color); opacity: 0.5; }
.hiw-structured-blueprint .skill-bar.tertiary { background: var(--primary-color); opacity: 0.25; }

.hiw-structured-blueprint .indicator-must { background: #dc2626; }
.hiw-structured-blueprint .indicator-preferred { background: #ea580c; }
.hiw-structured-blueprint .indicator-nice { background: var(--accent-color); }

.hiw-structured-blueprint .level-dot { background: var(--primary-color); }
.hiw-structured-blueprint .level-dot.empty { background: var(--border-color); }

.hiw-skills-model-demo {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hiw-skills-model-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.hiw-skills-model-title h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.hiw-skills-count {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.hiw-skills-model-header, .hiw-skill-item {
    display: grid;
    grid-template-columns: 60px 1fr 120px 200px 100px 60px;
    gap: 1.5rem;
    align-items: center;
    padding: 0.75rem 2rem;
}

.hiw-skills-model-header {
    border-bottom: 1px solid var(--border-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.hiw-model-header-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hiw-skill-item {
    border-bottom: 1px solid var(--border-color);
}
.hiw-skill-item:last-child {
    border-bottom: none;
}

.hiw-skill-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.hiw-skill-category {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    justify-self: start;
    width: fit-content;
}
.hiw-skill-category.technical { background: rgba(79, 70, 229, 0.1); color: var(--primary-color); }
.hiw-skill-category.domain { background: rgba(6, 182, 212, 0.1); color: #0891b2; }
.hiw-skill-category.core { background: rgba(255, 140, 0, 0.1); color: var(--accent-color); }

.hiw-skill-priority {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-medium);
}

.hiw-skill-dots {
    display: flex;
    gap: 4px;
}

.hiw-skill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}
.hiw-skill-dot.filled {
    background: var(--primary-color);
}

.hiw-skill-actions {
    display: flex;
    gap: 0.75rem;
}

.hiw-action-icon {
    width: 16px;
    height: 16px;
    color: var(--text-light);
}

.hiw-model-settings-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 450px;
}

.hiw-settings-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hiw-settings-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    text-align: center;
}

.hiw-settings-option {
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.hiw-settings-option.active {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.hiw-assessment-card-demo {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.hiw-card-header-demo {
    background: #3730a3;
    color: white;
    padding: 1.8rem 2.5rem 1.2rem;
}

.hiw-progress-container-demo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.hiw-progress-bar-demo {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    margin: 0 1.5rem;
}

.hiw-progress-fill-demo {
    height: 100%;
    background: #ffffff;
    width: 60%;
}

.hiw-job-title-demo {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hiw-skill-title-demo {
    font-size: 1.1rem;
    font-weight: 700;
}

.hiw-question-type-demo {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
}

.hiw-card-body-demo {
    padding: 2rem 2.5rem;
}

.hiw-question-text-demo {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hiw-answer-key-title-demo {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-medium);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hiw-answer-key-item-demo {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.hiw-answer-key-icon {
    width: 18px;
    height: 18px;
    color: var(--success-color);
    flex-shrink: 0;
    margin-top: 1px;
}

.hiw-rating-options-demo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.hiw-rating-button-demo {
    padding: 1rem 0.75rem;
    border: 2px solid #6366f1;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.05);
    font-size: 0.8rem;
    text-align: center;
}

.hiw-rating-button-demo.could-not-answer {
    border-color: var(--error-color);
    background: rgba(239, 68, 68, 0.05);
    color: var(--error-color);
}

.hiw-navigation-buttons-demo {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.hiw-nav-button-demo {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.hiw-nav-button-demo.secondary {
    background: var(--bg-light);
    color: var(--text-medium);
    border: 1px solid var(--border-color);
}

.hiw-dashboard-demo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 450px;
}

.hiw-modern-donut {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: conic-gradient(#5b52f5 0deg 313deg, rgba(91, 82, 245, 0.12) 313deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hiw-modern-donut::before {
    content: '';
    position: absolute;
    width: 75px;
    height: 75px;
    background: var(--white);
    border-radius: 50%;
}

.hiw-score-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #5b52f5;
    z-index: 1;
}

.hiw-score-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.hiw-scorecard-text {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.hiw-cta-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hiw-cta-message-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hiw-waitlist-circles-icon svg {
    width: 120px;
    height: 40px;
}

.hiw-cta-message {
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* --- Customer Story Page --- */
.cs-page main {
    background-color: var(--bg-light);
}

.cs-challenge-section,
.cs-solution-section,
.cs-result-section {
    padding: 4rem 0;
}

/* --- Customer Story Page --- */
.cs-page .challenge-content-container {
    min-height: auto;
}

.cs-challenge-section,
.cs-result-section {
    background-color: var(--bg-light);
    padding-bottom: 3rem;
}

.cs-challenge-section {
    padding-bottom: 2rem; /* Changed from 0 */
}

.cs-solution-section {
    background-color: var(--bg-light);
}

.cs-solution-section {
    padding-bottom: 0; /* Adjust this from the original 5rem */
}

.cs-challenge-header,
.cs-solution-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.cs-challenge-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 4rem; /* This adds the necessary space */
}

.cs-challenge-header h2,
.cs-solution-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cs-challenge-header p,
.cs-solution-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.cs-challenge-badge {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background-color: #eef2ff;
    border-radius: 999px;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.cs-challenge-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.cs-challenge-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cs-challenge-nav-item:hover {
    background-color: var(--bg-light);
}

.cs-challenge-nav-item.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.cs-challenge-nav-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.1);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cs-challenge-nav-item.active .cs-challenge-nav-number {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Customer Story Smooth Transitions */
.cs-challenge-content-container {
    position: relative;
    min-height: 350px;
    overflow: hidden;
}

.cs-challenge-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cs-challenge-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cs-challenge-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    max-width: 900px;
    margin: 0 auto;
}

.cs-challenge-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cs-challenge-card p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.cs-challenge-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cs-challenge-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cs-challenge-point-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-challenge-point-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cs-challenge-point-content p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.cs-solution-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 3rem;
}

.cs-visual-group-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cs-visual-element.cs-docs {
    position: relative;
    width: 70px;
    height: 70px;
}

.cs-doc-item {
    width: 44px;
    height: 55px;
    background: var(--white);
    border-radius: 4px;
    border: 1.5px solid var(--text-light);
    position: absolute;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cs-doc-item:nth-child(1) { transform: rotate(-10deg); top: 0; left: 0; }
.cs-doc-item:nth-child(2) { transform: rotate(8deg); top: 10px; left: 25px; }

.cs-visual-element.cs-arrow svg {
    width: 44px;
    height: 44px;
    color: var(--primary-color);
    fill: var(--primary-color);
}

.cs-blueprint-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    width: 250px;
}

.cs-blueprint-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cs-blueprint-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cs-blueprint-icon svg { width: 20px; height: 20px; }

.cs-blueprint-header h4 { font-size: 1.1rem; font-weight: 700; }

.cs-blueprint-stats {
    margin-bottom: 1rem;
}

.cs-blueprint-skills { display: flex; flex-direction: column; gap: 0.5rem; }
.cs-skill-category-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cs-skill-color-bar { width: 4px; height: 16px; border-radius: 2px; }
.cs-skill-color-bar.technical { background: #3b82f6; }
.cs-skill-color-bar.domain { background: #14b8a6; }
.cs-skill-color-bar.core { background: #ff8c00; }

.cs-blueprint-chart { position: relative; width: 150px; height: 150px; transform: translateX(17px); }
.cs-donut-chart { transform: rotate(-90deg); }
.cs-chart-callout { position: absolute; font-size: 0.8rem; font-weight: 600; background: var(--white); padding: 2px 4px; border-radius: 4px; }
.cs-technical-callout { top: 10px; right: -10px; color: #3b82f6; }
.cs-domain-callout { bottom: 0; right: 0; color: #14b8a6; }
.cs-core-callout { bottom: 30px; left: -20px; color: #ff8c00; }

.cs-result-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cs-result-quote-content .quote-icon {
    margin-bottom: 1rem;
}

.cs-result-quote-content .quote-icon svg {
    width: 64px;
    height: 64px;
    fill: var(--accent-color);
}

.cs-result-quote-content blockquote {
    font-size: 1.2rem; /* This is the line to change */
    font-weight: 400;
    line-height: 1.6;
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    padding-right: 2.5rem;
    margin: 0 0 1.5rem 0;
}

.cs-result-quote-content cite {
    font-style: normal;
    font-weight: 600;
    color: var(--text-medium);
}

.cs-candidate-slate-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cs-candidate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.cs-candidate-info h4 { font-size: 1.1rem; font-weight: 600; }
.cs-candidate-info p { font-size: 0.9rem; color: var(--text-medium); margin: 0; }

.cs-match-score-visual { position: relative; width: 60px; height: 60px; }
.cs-match-score-donut {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cs-match-score-donut::before {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
}
.cs-match-score-text {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-color);
    z-index: 1;
}

.cs-cta-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.cs-cta-message-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cs-waitlist-circles-icon svg {
    width: 120px;
    height: 40px;
}

.cs-cta-message {
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* --- Join Waitlist Page --- */
        /* Additional styles for the simplified hero */
        .simplified-hero {
            padding: 120px 0 100px;
            background: linear-gradient(162deg, #0F172A 71%, #3730A3 100%);
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        /* Subtle pattern overlay */
        .simplified-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: repeating-linear-gradient(-60deg, transparent, transparent 12px, rgba(79, 70, 229, 0.15) 12px, rgba(79, 70, 229, 0.15) 13px);
            mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 80%);
            -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 80%);
            pointer-events: none;
            z-index: 1;
        }
        
        .simplified-hero-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .hero-headline {
            font-size: clamp(2.2rem, 4.5vw, 3rem);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .hero-subline {
            font-size: 1.3rem;
            font-weight: 400;
            line-height: 1.5;
            margin-bottom: 3rem;
            color: rgba(255, 255, 255, 0.9);
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .hero-promise {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            background: #FF8C00;
            border: 1px solid #FFFFFF;
            color: white;
            padding: 1rem 2rem;
            border-radius: 999px;
            font-size: 1rem;
            font-weight: 600;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin-bottom: 4rem;
        }
        
        .promise-icon {
            width: 20px;
            height: 20px;
            color: #FFFFFF;
        }
        
        /* Wave divider matching your existing style */
        .hero-wave-divider {
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
        }
        
        .hero-wave-divider svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 80px;
        }
        
        .hero-wave-divider .wave-layer-1 {
            fill: var(--bg-light, #f8fafc);
        }
        
        /* Mobile optimizations */
        @media (max-width: 768px) {
            .simplified-hero {
                padding: 100px 0 80px;
            }
            
            .hero-subline {
                font-size: 1.1rem;
                margin-bottom: 2.5rem;
            }
            
            .hero-promise {
                font-size: 0.9rem;
                padding: 0.75rem 1.5rem;
            }
        }

.join-waitlist-hero-integrated {
    text-align: center;
    padding-top: 140px;
    padding-bottom: 180px;
}

.join-waitlist-hero-integrated h1 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: white;
}

.waitlist-section-spaced {
    background: var(--bg-light);
    padding: 2rem 0 5rem 0;
}

.integrated-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.waitlist-container-integrated {
    background: var(--accent-color);
    padding: 1.5px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.waitlist-form-wrapper-integrated {
    border-radius: 16px;
    background: white;
    padding: 2rem;
}

.form-grid-integrated {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
}

.form-grid-integrated .form-field.full-width {
    grid-column: 1 / -1;
}

.form-grid-integrated .form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-grid-integrated .form-field .required {
    color: var(--accent-color);
}

.form-grid-integrated input,
.form-grid-integrated textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-grid-integrated input:focus,
.form-grid-integrated textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-grid-integrated .recaptcha-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.form-grid-integrated .submit-container {
    grid-column: 1 / -1;
    margin-top: 1rem;
    text-align: center;
}

.form-grid-integrated .form-footer {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.form-grid-integrated .form-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Partners Page --- */
.partnership-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0 2.5rem 0; /* Increased bottom margin from 3rem to 2.5rem */
}

.partners-page .content-section {
    padding: 5rem 0 0; /* Set bottom padding to 0 */
    background: var(--bg-light);
}

.partners-page .status-section {
    padding: 8rem 0 6rem; /* Set top padding to 8rem */
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto; 
}

.opportunity-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.opportunity-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.opportunity-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.opportunity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opportunity-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: white;
    font-size: 12px;
}

.check-icon.market-reality {
    background: var(--accent-color);
}

.check-icon.partnership-opportunity {
    background: var(--primary-color);
}

/* ================================================
   FOOTER SPACING FIX v2 - With Color Matching
   ================================================ */

/* EASILY ADJUST THIS NUMBER to control spacing */
:root {
    --footer-top-spacing: 120px; /* 👈 CHANGE THIS (try 80px, 100px, 150px) */
}

/* Remove ALL default spacing from main */
main {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Add controlled padding to LAST section instead of main */
main > section:last-of-type,
main > .home-section:last-child,
main > .hiw-section:last-child,
main > .waitlist-section-spaced:last-child,
main > .status-section:last-child,
main > .pricing-content:last-child,
main > .about-team-section:last-child,
main > .assessment-framework-section:last-child,
main > .cs-result-section:last-child,
main > .content-section:last-child,
main > .about-section:last-child {
    padding-bottom: var(--footer-top-spacing) !important;
    margin-bottom: 0 !important;
}

/* FIX for homepage extra spacing */
.home-section.home-light-bg:last-child .container {
    padding-bottom: 0 !important;
}

.home-benefits-content {
    margin-bottom: 0 !important;
}

.home-stats-grid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Keep floating button in correct position */
.floating-support {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* Less space on mobile */
@media (max-width: 768px) {
    :root {
        --footer-top-spacing: 80px;
    }
}

/* Even less on very small screens */
@media (max-width: 480px) {
    :root {
        --footer-top-spacing: 60px;
    }
}

/* FIX: Homepage on mobile losing padding */
.home-section:last-child {
    padding-bottom: var(--footer-top-spacing) !important;
    min-height: auto !important;
}

/* Specific fix for the skills-based hiring section on homepage */
.home-section.home-light-bg:last-of-type {
    padding-bottom: var(--footer-top-spacing) !important;
}

/* FIX: Partners page sections */
.status-section,
.partners-cta-wrapper {
    margin-bottom: 0 !important;
}

main > .status-section:last-child {
    padding-bottom: var(--footer-top-spacing) !important;
}

/* Ensure mobile spacing is actually applied */
@media (max-width: 768px) {
    main > section:last-of-type,
    main > .home-section:last-child,
    .home-section.home-light-bg:last-of-type {
        padding-bottom: 80px !important;  /* Force mobile spacing */
    }
}

@media (max-width: 480px) {
    main > section:last-of-type,
    main > .home-section:last-child,
    .home-section.home-light-bg:last-of-type {
        padding-bottom: 60px !important;  /* Force phone spacing */
    }
}

/* Additional safety for floating button on mobile */
@media (max-width: 768px) {
    .floating-support {
        bottom: 10px !important;
        right: 10px !important;
    }
}

/* NUCLEAR OPTION FOR PARTNERS PAGE */
body.partners-page main section.status-section {
    padding-bottom: 120px !important;
    margin-bottom: 0 !important;
}

/* Remove ALL bottom spacing from everything inside */
body.partners-page .status-card,
body.partners-page .partners-cta-wrapper,
body.partners-page .cta-section,
body.partners-page .waitlist-message,
body.partners-page .partnership-types,
body.partners-page .cta-primary {
    margin-bottom: 0 !important;
}

/* Force the container inside to not add spacing */
body.partners-page .status-section > .container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Mobile overrides */
@media (max-width: 768px) {
    body.partners-page main section.status-section {
        padding-bottom: 80px !important;
    }
}

@media (max-width: 480px) {
    body.partners-page main section.status-section {
        padding-bottom: 60px !important;
    }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.partners-cta-wrapper {
    /* Match the max-width of the status-card above it */
    max-width: 800px; 
    margin: 0 auto;
}

.cta-section {
    text-align: center;
    /* Removed max-width here since the wrapper controls it */
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.partnership-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.partnership-type {
    display: flex;
    align-items: center; /* Vertically align icon and text */
    gap: 0.75rem; /* Reduced gap slightly */
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.type-icon-check {
    width: 24px;
    height: 24px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevents icon from shrinking when text is long */
}

.type-icon-check svg {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
}

.type-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3; /* Ensures text doesn't wrap awkwardly */
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff9500 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
    margin-bottom: 2rem;
}

.cta-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
    transform: translateY(-1px);
}

.waitlist-message {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.waitlist-message p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem; /* Increased for better spacing */
}

.waitlist-message p:last-child {
    margin-bottom: 0;
}

.partner-waitlist-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.partner-waitlist-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* --- Pricing Page --- */
.pricing-page .hero-benefits {
    align-items: flex-end; /* Align cards to the right edge of their container */
}

.pricing-page .hero-base {
    padding: 140px 0 180px; /* Standardize both top and bottom */
}

.pricing-page .hero-base::before {
    display: none;
}

.pricing-page .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.pricing-page .hero-content {
    text-align: left;
}

.pricing-content {
    padding: 5rem 0;
    background: var(--bg-light);
}

.transparent-message {
    text-align: center;
    margin-bottom: 4rem;
}

.transparent-message h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.transparent-message p {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.content-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.pricing-page .hero-benefits .benefit-card {
    max-width: 400px; /* Constrain the maximum width */
    width: 100%; /* Allow flexibility below max-width */
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.header-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon svg {
    width: 28px;
    height: 28px;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.content-card > p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}
.benefit-item:last-child {
    border-bottom: none;
}

.benefit-check {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.benefit-description {
    display: block;
    color: var(--text-medium);
    font-size: 0.9rem;
}
/* =========================
   Footer (cleaned & scoped)
   ========================= */
.site-footer {
  background: #151c2d;
  color: #ffffff;
  padding: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 2rem 40px;
}

/* Hero CTA block at top of footer */
.footer-hero-section {
  text-align: center;
  margin-bottom: 40px;      /* less gap before main content */
  padding-bottom: 32px;     /* match footer-bottom padding-top */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Keep CTA button exactly where it is (.cta-primary-standard is defined sitewide) */

/* Headline and subtext spacing under CTA */
.footer-hero-text {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: #ffffff;
  margin-top: 1.75rem;           /* move text down under CTA */
  margin-bottom: 12px;
}

.footer-hero-subtext {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.75rem;           /* maintain target gap from headline */
  margin-bottom: 0;              /* no extra bottom margin; circles control spacing */
}

/* Progress circles row */
.footer-progress-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
  margin-bottom: 12px;           /* decreased space above divider line */
}

.footer-progress-visual svg {
  width: 96px;
  height: 30px;
  opacity: 0.9;
}

/* Main content grid */
.footer-main-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "brand middle right";
  align-items: start;
  margin-bottom: 40px;      /* leave space before bottom divider */
}

.footer-brand-column { grid-area: brand; }
.footer-nav-column:nth-of-type(1) { grid-area: middle; }
.footer-nav-column:nth-of-type(2) { grid-area: right; justify-self: end; }


/* Brand column */
.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 8px;
}

.footer-logo svg {
  height: 36px;
  width: auto;
}
.footer-logo .logo-path { fill: #ffffff; }
.footer-logo .logo-dot { fill: #FF8C00; }

.footer-brand-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.6;
  max-width: 220px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social-link:hover {
  background: #FF8C00;
  transform: translateY(-1px);
}
.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.7);
}
.footer-social-link:hover svg {
  fill: #FFFFFF;
}

/* Link columns */
.footer-nav-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #ffffff;
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-links li { margin-bottom: 12px; }

.footer-nav-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}
.footer-nav-links a:hover { color: #FF8C00; }

/* Bottom line */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;        /* equal to hero-section padding-bottom */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0;
}

/* ================
   Responsive
   ================ */
/* Mobile footer layout: stack and center everything */
@media (max-width: 768px) {
  /* Hero section adjustments */
  .footer-hero-text { 
    font-size: 20px; 
    text-align: center;
  }
  .footer-hero-subtext { 
    font-size: 14px;
    text-align: center;
  }
  .footer-progress-visual svg {
    width: 120px;
    height: 40px;
  }
  
  /* Main footer content - single column stack */
  .footer-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 32px 0;
    padding: 0 20px;
  }
  
  /* Brand column */
  .footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 320px;
  }
  
  .footer-brand-description {
    text-align: center;
    margin: 12px 0 20px 0;
    max-width: 320px;
  }
  
  .footer-social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
  }
  
  /* Navigation columns */
  .footer-nav-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .footer-nav-column h4 {
    margin-bottom: 16px;
    font-size: 16px;
  }
  
  .footer-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0;
    list-style: none;
  }
  
  .footer-nav-links li {
    margin: 0;
  }
  
  .footer-nav-links a {
    display: inline-block;
    padding: 4px 8px;
  }
  
  /* Bottom section */
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px 24px;
    text-align: center;
  }
  
  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}



/* ==========================================================================
   8. FLOATING ACTION BUTTON (FAB) & POPOVER
   ========================================================================== */

/* --- Floating Button (Styles provided by you) --- */
.floating-support {
    position: fixed !important;
    bottom: -20px !important;
    right: -10px !important;
    z-index: 9999 !important;
}

.floating-support .support-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 150px !important;
    height: 150px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    transition: transform 0.3s ease !important;
    box-shadow: none !important;
    outline: none !important;
}

.floating-support .support-button svg {
    display: block !important;
    width: 60% !important;
    height: 60% !important;
}

.floating-support .support-button:hover {
    background: transparent !important;
}

.floating-support .support-icon {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    transition: filter 0.3s ease, transform 0.3s ease !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25)) !important;
    transform-box: fill-box;
    transform-origin: center center;
}

.floating-support .support-button:hover .support-icon {
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35)) !important;
    transform: rotate(30deg) !important;
}

.floating-support .support-icon path {
    fill: #FF8C00 !important;
}



/* ==========================================================================
   9. ASSESSMENT FRAMEWORK PAGE STYLES
   ========================================================================== */

/* Hero Section Override
   -------------------------------------------------------------------------- */
.assessment-hero {
    padding: 120px 0 180px; /* Add standardized padding */
    text-align: center;
}

.assessment-hero::before {
    display: none;
}

.assessment-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.assessment-hero .subtitle {
    max-width: 750px;
    margin: 0 auto 3.5rem auto;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.assessment-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.assessment-pillars > div {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.assessment-pillars > div:hover {
    background: rgba(40, 51, 69, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.assessment-pillars .icon-wrapper {
    background: rgba(55, 65, 81, 0.7);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #ffffff;
}

.assessment-pillars .icon-wrapper svg {
    height: 24px;
    width: 24px;
    fill: currentColor;
}

.assessment-pillars h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.assessment-pillars p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light);
    margin: 0;
}

.assessment-framework-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.assessment-framework-section.assessment-bg-light {
    background-color: var(--bg-light);
}

.assessment-section-header {
    max-width: 900px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.assessment-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.assessment-section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.assessment-problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.assessment-problem-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.assessment-problem-card-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background-color: #fff7ed;
}

.assessment-problem-card-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
}

.assessment-problem-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.assessment-problem-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.assessment-ratio-value-prop-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.assessment-ratio-value-content {
    max-width: 700px;
    margin: 0 auto;
}

.assessment-ratio-value-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.assessment-ratio-value-content p {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0;
    color: #fff;
    line-height: 1.5;
}

.assessment-question-types-grid-improved {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.assessment-question-card-improved:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 580px;
    margin: 0 auto;
}

.assessment-question-card-improved {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.assessment-question-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.assessment-question-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.assessment-question-card-improved h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.assessment-question-purpose {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.75rem;
    font-weight: 500;
}

.assessment-format-section {
    margin-bottom: 1.75rem;
}

.assessment-format-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.assessment-format-list {
    margin: 0.5em 0 0 1em;
    padding: 0;
    list-style-type: disc;
}

.assessment-format-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0.25em;
}

.assessment-example-section {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 4px solid var(--accent-color);
    position: relative;
}

.assessment-example-section::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 2rem;
    color: var(--accent-color);
    font-family: serif;
    opacity: 0.6;
}

.assessment-example-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
    font-weight: 500;
}

.assessment-difference-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.assessment-difference-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.assessment-benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.assessment-benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.assessment-benefit-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: #eef2ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.assessment-benefit-icon svg {
    width: 16px;
    height: 16px;
}

.assessment-benefit-item-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.assessment-answer-key-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.08), 0 1px 2px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color);
}

.assessment-answer-key-question {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.assessment-checklist-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.assessment-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.assessment-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   10. RESPONSIVE MEDIA QUERIES (REFACTORED)
   ========================================================================== */

/* =========================================================
   Desktop Protection & Utilities (min-width: 901px)
   ========================================================= */
/* Desktop/tablet rules (replaces your old 768px + 901px chunks) */
@media (min-width: 768px) {
  /* Keep hero padding across pages */
  .hero-base.hero-default,
  .assessment-hero,
  .join-waitlist-hero-integrated,
  .pricing-page .hero-base,
  .hiw-hero {
    padding: 140px 0 180px; /* preserve original desktop hero spacing */
  }

  /* Hide mobile-only bullets on larger screens */
  .hiw-mobile-bullets {
    display: none;
  }

  /* Testimonial layout spacing (unchanged behavior) */
  .home-testimonial-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

    /* Partners page: Add space between content blocks */
  .partners-page .partners-cta-wrapper {
    margin-top: 6rem; /* Creates consistent space below the "at capacity" card */
  }
}


/* =========================================================
   Tablet & Small Desktop (max-width: 1024px)
   ========================================================= */
@media (max-width: 1024px) {
    /* Home: testimonial layout */
    .home-testimonial-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .home-testimonial-content,
    .home-testimonial-content h2,
    .home-testimonial-content .home-section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }
    .home-testimonial-stats {
    order: -1;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
}
    .home-testimonial-stats .benefit-card {
        align-items: center;
        text-align: center;
    }

    /* About hero */
    .about-page .hero-layout { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .about-page .hero-content,
    .about-page .hero-content h1,
    .about-page .hero-content .subtitle {
        text-align: center; 
        margin-left: auto; 
        margin-right: auto;
    }

    .challenge-nav { 
        flex-wrap: wrap; 
        justify-content: center; 
    }
}

/* =========================================================
   Main Mobile Breakpoint (max-width: 900px)
   ========================================================= */
@media (max-width: 900px) {
    .about-team-section {
        margin-top: 0;
        padding-top: 2rem;
    }

.partners-page .status-section {
    margin-bottom: 2rem !important;
}

.partners-page .cta-section {
    margin-top: 2rem !important;
}

.partners-page .cta-primary {
        margin-top: 4rem !important;
    }

.partners-page .waitlist-message {
        margin-top: 4rem !important;
    }

    /* About page challenge navigation mobile fix — REPLACEMENT */
.challenge-nav {
    /* layout */
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    gap: 0.5rem !important;

    /* remove desktop pill container */
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.challenge-nav-item {
    /* fixed-width blue pills */
    width: 250px !important;          /* tweak this value */
    max-width: 100% !important;       /* prevents overflow on small screens */
    margin: 0 auto !important;        /* center the pills */
    justify-content: center !important;
    border-radius: 999px !important;

    background-color: rgba(79, 70, 229, 0.08) !important; /* faded blue */
    color: var(--primary-color) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
    padding: 0.9rem 1rem !important;
    font-weight: 600 !important;
    transition: background-color .2s ease, border-color .2s ease !important;
}


.challenge-nav-item:hover {
    background-color: rgba(79, 70, 229, 0.15) !important;
    border-color: rgba(79, 70, 229, 0.25) !important;
}

.challenge-nav-item.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
}

/* remove the small circular number backgrounds */
.challenge-nav-item .nav-number {
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-right: 6px !important;
    color: currentColor !important;
}

/* single-column content; hide divider on mobile */
.challenge-content-grid.with-divider {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
}

.challenge-divider {
    display: none !important;
}

/* center text for both sides on mobile */
.problem-side,
.solution-side {
    text-align: center !important;
}
    /* --- GLOBAL & UNIVERSAL MOBILE STYLES --- */
    .container {
        padding: 0 var(--container-padding-mobile);
    }
    .hero-base, .hero-default, .hiw-hero, .assessment-hero,
    .join-waitlist-hero-integrated, .pricing-page .hero-base {
        padding-top: var(--hero-padding-top-mobile) !important;
        padding-bottom: var(--hero-padding-bottom-mobile) !important;
    }
    .home-section, .about-section, .hiw-section, .cs-challenge-section,
    .cs-solution-section, .cs-result-section, .assessment-framework-section,
    .partners-page .content-section, .partners-page .status-section,
    .pricing-content, .waitlist-section-spaced {
        padding-top: var(--section-padding-mobile) !important;
        padding-bottom: var(--section-padding-mobile) !important;
    }
    .hero-wave-divider {
        display: none !important;
    }
    .nav-container { 
        grid-template-columns: auto 1fr; 
        padding: 0 var(--container-padding-mobile); 
    }
    .nav-menu, .nav-right .nav-login, .nav-right .nav-cta { 
        display: none !important; 
    }
    .nav-right, .mobile-menu-toggle { 
        display: flex !important; 
    }
    .mobile-menu-toggle {
        justify-self: end; 
    }
    .site-header:not(.scrolled) .hamburger-line { 
        background-color: white; 
    }
    .site-header.scrolled .hamburger-line { 
        background-color: var(--primary-color); 
    }
    .desktop-only-text { 
        display: none !important; 
    }
    .mobile-only-text { 
        display: inline !important; 
    }

    /* --- UNIVERSAL HERO LAYOUT --- */
    .hero-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        align-items: center;
    }
    .hero-content { 
        order: 1;
        text-align: center !important;
    }
    .hero-subtle-message {
    order: 4;  /* Places it after hero-ctas which is order: 3 */
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
    .hero-content h1, .hero-content .subtitle {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-benefits { 
        order: 2;
        max-width: 400px !important; 
        margin: 0 auto !important; 
        width: 100% !important; 
    }
    .hero-ctas { 
        order: 3;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
        margin-top: 1.5rem !important; 
    }
    .hero-cta.secondary {
        display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    }
    /* Hero Order Fix for pages with nested CTAs */
    :is(.cs-page, .pricing-page, .partners-page, .about-page) .hero-content,
    .hero-left-column {
        display: contents;
    }

    /* --- HOMEPAGE --- */
    .home-section h2 { font-size: 1.8rem !important; }
    .home-problem-grid, .home-stats-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .home-workflow-step { flex-direction: column !important; text-align: center !important; gap: 1.5rem !important; }
    .home-testimonial-layout { display: flex; flex-direction: column; }
    .home-testimonial-stats { order: 1; margin-bottom: 1rem; }
    .home-testimonial-content { order: 2; }
    .home-new-cta-secondary { display: none !important; }
    .home-cta-testimonial { margin-top: 0; padding-top: 2.5rem; } /* Adjusted for new parent padding */
    main > .home-section:last-of-type { padding-bottom: 0 !important; }

    /* --- CUSTOMER STORY PAGE --- */
    .cs-page .cs-challenge-header .desktop-only-text { display: none; }
    .cs-page .challenge-nav-container { display: flex; justify-content: center; margin-bottom: 1.5rem !important; }
    .cs-page .challenge-nav { flex-wrap: wrap !important; justify-content: center !important; background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; }
    .cs-page .cs-challenge-points { grid-template-columns: 1fr; gap: 2.5rem; }
    .cs-page .cs-challenge-point { flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
    .cs-solution-visual, .cs-visual-group-left { flex-direction: column; align-items: center; gap: 2.5rem; }
    .cs-visual-element.cs-arrow svg { transform: rotate(90deg); }
    .cs-blueprint-chart { transform: none; margin-top: 2.5rem; }
    .cs-result-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .cs-result-quote-content blockquote { padding-right: 0; }
    .cs-result-quote-content cite { display: block; text-align: center; margin-top: 0.5rem; }

    /* --- HOW IT WORKS PAGE --- */
    .hiw-hero-diagram-final { display: none !important; }
    .hiw-mobile-bullets { display: grid !important; gap: 10px; margin: 14px auto 2rem; padding-left: 0; list-style: none; text-align: center; max-width: 560px; }
    .hiw-mobile-bullets li { font-size: 1rem; line-height: 1.5; padding-left: 0; }
    .hiw-mobile-bullets li::before { content: "•"; margin-right: 6px; color: var(--accent-color); }
    .hiw-process-step { text-align: center !important; }
    .hiw-step-title { font-size: 1.4rem !important; }
    /* Skills Model Mobile - Final Version */
.hiw-skills-model-header, .hiw-skill-item .hiw-skill-id, .hiw-skill-item .hiw-skill-actions { display: none !important; }

.hiw-skill-item {
    display: block !important;
    padding: 1rem !important;
    border-bottom: 1px solid var(--border-color) !important;
}

/* Row 1: Skill Name */
.hiw-skill-name {
    display: block !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    margin-bottom: 0.5rem !important;
}

/* Row 2: All badges inline - now in correct order */
.hiw-skill-priority,
.hiw-skill-category {
    display: inline-block !important;
    font-size: 0.6rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 4px !important;
    margin-right: 0.4rem !important;
    letter-spacing: 0.02em !important;
}

/* Priority badge colors */
.hiw-skill-item:nth-child(1) .hiw-skill-priority,
.hiw-skill-item:nth-child(2) .hiw-skill-priority,
.hiw-skill-item:nth-child(3) .hiw-skill-priority {
    background: rgba(220, 38, 38, 0.1) !important;
    color: #dc2626 !important;
}

.hiw-skill-item:nth-child(4) .hiw-skill-priority,
.hiw-skill-item:nth-child(5) .hiw-skill-priority {
    background: rgba(251, 146, 60, 0.1) !important;
    color: #ea580c !important;
}

/* Proficiency badge */
.hiw-skill-dots {
    display: inline-block !important;
    font-size: 0.6rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 4px !important;
    background: rgba(107, 114, 128, 0.1) !important;
    color: var(--text-medium) !important;
}

.hiw-skill-dots .hiw-skill-dot { display: none !important; }

/* Add proficiency text */
.hiw-skill-item:nth-child(1) .hiw-skill-dots::after { content: 'ADV' !important; }
.hiw-skill-item:nth-child(2) .hiw-skill-dots::after { content: 'INTER' !important; }
.hiw-skill-item:nth-child(3) .hiw-skill-dots::after { content: 'INTER' !important; }
.hiw-skill-item:nth-child(4) .hiw-skill-dots::after { content: 'INTER' !important; }
.hiw-skill-item:nth-child(5) .hiw-skill-dots::after { content: 'BASIC' !important; }

/* Simplify header text on mobile */
.hiw-skills-count {
    font-size: 0 !important;
}
.hiw-skills-count::after {
    content: '5 of 15 skills' !important;
    font-size: 0.8rem !important;
}

.hiw-skill-item:nth-child(1) .hiw-skill-dots::after { content: 'ADV' !important; }
.hiw-skill-item:nth-child(2) .hiw-skill-dots::after { content: 'INTER' !important; }
.hiw-skill-item:nth-child(3) .hiw-skill-dots::after { content: 'INTER' !important; }
.hiw-skill-item:nth-child(4) .hiw-skill-dots::after { content: 'INTER' !important; }
.hiw-skill-item:nth-child(5) .hiw-skill-dots::after { content: 'BASIC' !important; }

/* Simplify header text on mobile */
.hiw-skills-count {
    font-size: 0 !important;
}
.hiw-skills-count::after {
    content: '5 of 15 skills' !important;
    font-size: 0.8rem !important;
}

.hiw-model-settings-demo { grid-template-columns: 1fr 1fr !important; }
.hiw-rating-options-demo { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 0.75rem !important; 
}
.hiw-integrated-visual-card { flex-direction: column !important; gap: 1.5rem !important; }
    /* --- PRICING & PARTNERS PAGES --- */
    .content-grid, .opportunity-grid, .partnership-types { grid-template-columns: 1fr !important; }
    .status-card { padding: 2.5rem 1.5rem !important; }

    /* --- OTHER PAGES (ABOUT, ASSESSMENT, ETC.) --- */
    .form-grid-integrated { grid-template-columns: 1fr !important; }
    .about-team-grid { grid-template-columns: 1fr !important; }
    .assessment-pillars, .assessment-problem-grid, .assessment-question-types-grid-improved, .assessment-difference-grid { grid-template-columns: 1fr !important; }
.hiw-answer-key-section-demo {
    text-align: left !important;
}

.hiw-answer-key-list-demo {
    text-align: left !important;
}

.hiw-answer-key-item-demo {
    text-align: left !important;
    justify-content: flex-start !important;
}

.hiw-question-text-demo {
    text-align: left !important;
}

    /* --- FOOTER --- */
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }
    .footer-logo { margin-bottom: 0.5rem; }
    .footer-column { margin: 0; }
    .footer-column h4 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
    .footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
    .social-links { justify-content: center; margin-top: 0.75rem; gap: 0.75rem; }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    .home-testimonial-section {
        padding: 100px 0;
    }
}

/* =========================================================
   Smaller Phone Refinements
   ========================================================= */
@media (max-width: 768px) {
    .container { padding: 0 1.25rem !important; }
    .home-section, .about-section, .hiw-section, .cs-challenge-section,
    .cs-solution-section, .cs-result-section, .assessment-framework-section,
    .partners-page .content-section, .partners-page .status-section,
    .pricing-content, .waitlist-section-spaced {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}
@media (max-width: 768px) {
    .challenge-nav-item .nav-number {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem !important; }
    .home-section, .about-section, .hiw-section, .cs-challenge-section,
    .cs-solution-section, .cs-result-section, .assessment-framework-section,
    .partners-page .content-section, .partners-page .status-section,
    .pricing-content, .waitlist-section-spaced {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .floating-support { bottom: 16px !important; right: 16px !important; }
    .floating-support .support-button { width: 60px !important; height: 60px !important; }
    .fab-popover { right: 16px !important; bottom: 100px !important; }
}

/* ================================================
   FOOTER SPACING FIX v2 - With Color Matching
   ================================================ */

/* EASILY ADJUST THIS NUMBER to control spacing */
:root {
    --footer-top-spacing: 120px; /* 👈 CHANGE THIS (try 80px, 100px, 150px) */
}

/* Remove ALL default spacing from main */
main {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Add controlled padding to LAST section instead of main */
main > section:last-of-type,
main > .home-section:last-child,
main > .hiw-section:last-child,
main > .waitlist-section-spaced:last-child,
main > .status-section:last-child,
main > .pricing-content:last-child,
main > .about-team-section:last-child,
main > .assessment-framework-section:last-child,
main > .cs-result-section:last-child,
main > .content-section:last-child,
main > .about-section:last-child {
    padding-bottom: var(--footer-top-spacing) !important;
    margin-bottom: 0 !important;
}

/* FIX for homepage extra spacing */
.home-section.home-light-bg:last-child .container {
    padding-bottom: 0 !important;
}

.home-benefits-content {
    margin-bottom: 0 !important;
}

.home-stats-grid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Keep floating button in correct position */
.floating-support {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* Less space on mobile */
@media (max-width: 768px) {
    :root {
        --footer-top-spacing: 80px;
    }
}

/* Even less on very small screens */
@media (max-width: 480px) {
    :root {
        --footer-top-spacing: 60px;
    }
}

/* FIX: Homepage on mobile losing padding */
.home-section:last-child {
    padding-bottom: var(--footer-top-spacing) !important;
    min-height: auto !important;
}

/* Specific fix for the skills-based hiring section on homepage */
.home-section.home-light-bg:last-of-type {
    padding-bottom: var(--footer-top-spacing) !important;
}

/* FIX: Partners page sections */
.status-section,
.partners-cta-wrapper {
    margin-bottom: 0 !important;
}

main > .status-section:last-child {
    padding-bottom: var(--footer-top-spacing) !important;
}

/* Ensure mobile spacing is actually applied */
@media (max-width: 768px) {
    main > section:last-of-type,
    main > .home-section:last-child,
    .home-section.home-light-bg:last-of-type {
        padding-bottom: 80px !important;  /* Force mobile spacing */
    }
}

@media (max-width: 480px) {
    main > section:last-of-type,
    main > .home-section:last-child,
    .home-section.home-light-bg:last-of-type {
        padding-bottom: 60px !important;  /* Force phone spacing */
    }
}

/* Additional safety for floating button on mobile */
@media (max-width: 768px) {
    .floating-support {
        bottom: 10px !important;
        right: 10px !important;
    }
}

/* NUCLEAR OPTION FOR PARTNERS PAGE */
body.partners-page main section.status-section {
    padding-bottom: 120px !important;
    margin-bottom: 0 !important;
}

/* Remove ALL bottom spacing from everything inside */
body.partners-page .status-card,
body.partners-page .partners-cta-wrapper,
body.partners-page .cta-section,
body.partners-page .waitlist-message,
body.partners-page .partnership-types,
body.partners-page .cta-primary {
    margin-bottom: 0 !important;
}

/* Force the container inside to not add spacing */
body.partners-page .status-section > .container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Mobile overrides */
@media (max-width: 768px) {
    body.partners-page main section.status-section {
        padding-bottom: 80px !important;
    }
}

@media (max-width: 480px) {
    body.partners-page main section.status-section {
        padding-bottom: 60px !important;
    }
}

/* --- Partners Page Redesign --- */
.partners-content-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.partners-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* This block is from the original, included for completeness */
.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto; 
}

.opportunity-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.opportunity-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.opportunity-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.opportunity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opportunity-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: white;
    font-size: 12px;
}

.check-icon.market-reality { background: var(--accent-color); }
.check-icon.partnership-opportunity { background: var(--primary-color); }
/* End original block */

.partners-status-card {
    margin-top: 4rem; /* Space above status card */
    padding: 2.5rem;
}

.partners-status-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.partners-status-card p {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.status-badge {
    display: inline-block;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.partners-exploring-card {
    max-width: 700px;
    margin: 4rem auto 0; /* Space above exploring card */
    text-align: center;
}

.partners-exploring-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.exploring-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.exploring-type-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.exploring-type-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.exploring-waitlist-box {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.exploring-waitlist-box p {
    margin: 0 0 1rem 0;
    color: var(--text-medium);
}

.partner-waitlist-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive adjustments for the new layout */
@media (max-width: 900px) {
    .partners-content-section {
        padding: 3rem 0;
    }
    .partners-section-header h2 {
        font-size: 2rem;
    }
    .opportunity-grid {
        grid-template-columns: 1fr;
    }
    .partners-status-card,
    .partners-exploring-card {
        margin-top: 3rem;
    }
    .exploring-types-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   >>> THANK YOU REDIRECT PAGE <<<
   ========================================================================== */

   /* Small helper styles for this page */
        .thank-you-hero-content {
            max-width: 700px;
            margin: 0 auto;
            text-align: center;
        }
        .personal-note-card {
            max-width: 600px;
            margin: 4rem auto 0;
            padding: 2rem;
            text-align: center;
            background: var(--white);
            border-radius: 16px;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }
        .personal-note-card em {
            font-size: 1.1rem;
            color: var(--text-medium);
            line-height: 1.6;
        }
        .personal-note-card p {
            margin-top: 1.5rem;
            font-weight: 600;
            color: var(--text-dark);
        }
        /* New styles for the Explore & Learn card */
        .explore-links-list {
            margin-top: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .explore-link-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.25rem;
            border-radius: 12px;
            background-color: var(--bg-light);
            border: 1px solid var(--border-color);
            text-decoration: none;
            transition: all 0.2s ease-in-out;
        }
        .explore-link-item:hover {
            transform: translateY(0px);
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.08);
            border-color: rgba(79, 70, 229, 0.2);
            background-color: var(--white);
        }
        .explore-link-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(79, 70, 229, 0.1);
            color: var(--primary-color);
        }
        .explore-link-icon svg {
            width: 20px;
            height: 20px;
        }
        .explore-link-title {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.25rem;
        }
        .explore-link-description {
            font-size: 0.9rem;
            color: var(--text-medium);
            line-height: 1.5;
        }

.hero-content.thank-you-hero-content {
    text-align: center;
}

/* --- Override for Thank You Page Hero Height --- */
.hero-thank-you {
    padding-top: 100px;
    padding-bottom: 120px;
}

/* Add this inside your existing @media (max-width: 900px) block */
.hero-thank-you {
    padding-top: 140px !important;
    padding-bottom: 130px !important;
}

/* ==========================================================================
   NEW STYLES FOR REDESIGNED PARTNERS PAGE
   ========================================================================== */

/* --- Partnership Models Section --- */
.partnership-models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch; /* Ensures cards are the same height */
}

/* Ensures the card content stretches to fill the space */
.partnership-models-grid .ratio-card {
    display: flex;
    flex-direction: column;
}

/* Styles for the new header inside the model cards */
.partnership-models-grid .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* Styles for the icon container in the card header */
.partnership-models-grid .header-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partnership-models-grid .header-icon svg {
    width: 28px;
    height: 28px;
}

/* Helper class for the "Ideal For:" text to give it distinction */
.model-detail {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
    margin-top: auto; /* Pushes this text to the bottom of the card */
    padding-top: 1.5rem;
}


/* --- FAQ Section --- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --- Responsive Adjustments for New Styles --- */
@media (max-width: 900px) {
    .partnership-models-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}



.hero-footer-elements .hero-scroll-down {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 auto !important;
    position: static !important;
    transform: none !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-footer-elements {
        margin-top: 2rem !important;
    }
}

/* Stacked pills for Join Waitlist page */
.hero-benefit-pills-stacked {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-benefit-pills-stacked .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    justify-content: center;
}

/* Begin link styling */
.hero-begin-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-top: 2.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-begin-link:hover {
    opacity: 1;
}

.hero-begin-link .hero-time-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.hero-begin-link > span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.hero-begin-link > svg {
    animation: bob 2s ease-in-out infinite;
}

/* Mobile adjustments - STACK ONLY ON MOBILE */
@media (max-width: 768px) {
    .hero-benefit-pills-stacked {
        flex-direction: column;
    }
    
    .hero-benefit-pills-stacked .pill {
        width: 260px;
        font-size: 0.85rem;
        padding: 0.55rem 1.25rem;
    }
}

.hero-benefit-pills-simple .pill {
  width: 250px;            /* fixed, consistent width */
  text-align: center;
}

/* Mobile adjustments - stack pills vertically but keep text on one line */
@media (max-width: 768px) {
    .hero-benefit-pills-simple {
        flex-direction: column; /* Stack vertically */
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-benefit-pills-simple .pill {
        width: 100%; /* Full width within container */
        max-width: 450px; /* Increase max-width to accommodate text */
        white-space: nowrap; /* Prevent text from wrapping */
        overflow: hidden; /* Hide overflow if any */
        text-overflow: ellipsis; /* Add ellipsis if text is too long */
        padding: 0.6rem 1.25rem; /* Adequate padding */
    }
}

/* Even smaller screens */
@media (max-width: 480px) {
    .hero-benefit-pills-simple .pill {
        max-width: 420px; /* Slightly reduce on very small screens */
        font-size: 0.85rem; /* Slightly smaller font if needed */
        padding: 0.7rem 1.4rem; /* Adjust padding */
    }
}

/* ==========================================================================
   >>> START: RATIO PARTNERS PAGE V2 STYLES <<<
   ========================================================================== */

/* ========================================
   1. PAGE LAYOUT & SPACING SYSTEM
   ======================================== */

/* Master Rule: All content sections will have consistent vertical padding.
   This eliminates stacked padding/margin issues. */
.partners-page .partners2-transformation-section,
.partners-page .partners2-content-section {
    padding: 3rem 0; /* 80px top and bottom padding */
    background: #f8fafc; /* Explicitly set the light background color */
}

/* Add mobile horizontal padding for partners page sections */
@media (max-width: 768px) {
    .partners-page .partners2-transformation-section .container,
    .partners-page .partners2-content-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .partners-page .partners2-transformation-section .container,
    .partners-page .partners2-content-section .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* ========================================
   2. HERO SECTION
   ======================================== */
.partners2-hero {
    padding: 140px 0 100px; /* Reduced bottom padding for better balance */
    background: linear-gradient(162deg, #0F172A 71%, #3730A3 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative pattern overlay */
.partners2-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(-60deg, transparent, transparent 12px, rgba(79, 70, 229, 0.3) 12px, rgba(79, 70, 229, 0.3) 13px);
    mask-image: radial-gradient(ellipse 60% 65% at 90% 10%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 75%);
    pointer-events: none;
    z-index: 1;
}

.partners2-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.partners2-hero-text {
    max-width: 550px;
    margin: 0 auto 3.5rem;
}

.partners2-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.partners2-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Pillars */
.partners2-hero-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.partners2-hero-pillars > div {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partners2-icon-wrapper {
    background: rgba(55, 65, 81, 0.7);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #ffffff;
}

.partners2-icon-wrapper svg {
    height: 24px;
    width: 24px;
    fill: currentColor;
}

.partners2-hero-pillars h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.partners2-hero-pillars p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ========================================
   3. REUSABLE COMPONENTS & HEADERS
   ======================================== */
.partners2-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem; /* Reduced from 3.5rem, removed any top margin */
}

.partners2-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.partners2-section-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========================================
   4. TRANSFORMATION GRID SECTION
   ======================================== */
.partners2-transformation-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.partners2-transformation-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* Problem & Solution Cards */
.partners2-problem-card,
.partners2-solution-card {
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.partners2-problem-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.partners2-solution-card {
    background: var(--white);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.04);
}

.partners2-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.partners2-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partners2-problem-card .partners2-card-icon {
    background: rgba(255, 140, 0, 0.1);
    color: var(--accent-color);
}

.partners2-solution-card .partners2-card-icon {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
}

.partners2-card-icon svg {
    width: 24px;
    height: 24px;
}

.partners2-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.partners2-card-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.partners2-stat-highlight {
    font-weight: 600;
    color: var(--text-dark);
}

/* Connector between cards */
.partners2-transformation-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
}

.partners2-sparkle-icon {
    width: 44px;
    height: 44px;
    color: var(--primary-color);
}

/* ========================================
   5. FOUNDING PARTNER BENEFITS SECTION
   ======================================== */
.partners2-benefits-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.partners2-benefits-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.partners2-benefit-item {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.partners2-benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.partners2-benefit-icon svg {
    width: 20px;
    height: 20px;
}

.partners2-benefit-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   6. PROGRAM STATUS & FAQ SECTION
   ======================================== */
.partners2-status-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.03), rgba(255, 140, 0, 0.01));
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 140, 0, 0.1);
    border-left: 4px solid var(--accent-color);
    text-align: center;
}

.partners2-status-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0rem;
}

.partners2-status-card p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.partners2-status-card p:last-of-type {
    margin-bottom: 2rem;
    font-weight: 500;
}

.partners2-status-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partners2-status-badge {
    display: inline-block;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.95rem;
}

.partners2-waitlist-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.partners2-waitlist-link:hover {
    color: var(--accent-color);
}

/* FAQ Grid */
.partners2-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    margin-top: 3rem; /* Normalized to match section spacing */
    margin-bottom: 0; /* Remove bottom margin - let section padding handle it */
}

.partners2-content-section .partners2-section-header:nth-of-type(2) {
    padding-top: 6rem; /* Add space above the FAQ title */
}

.partners2-faq-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.partners2-faq-item p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ========================================
   7. FINAL CTA SECTION
   ======================================== */
.partners2-cta-section {
    text-align: center;
    margin-top: 6rem; /* Add space above the CTA button */
}

.partners2-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff9500 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.25);
}

.partners2-cta-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
    transform: translateY(-2px);
}

.partners2-cta-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partners2-cta-icon-arrow {
    width: 20px;
    height: 20px;
    color: white;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.partners2-cta-primary:hover .partners2-cta-icon-arrow {
    transform: translateX(4px);
}

/* ========================================
   8. RESPONSIVE MEDIA QUERIES - PARTNERS PAGE
   ======================================== */

/* Tablet (992px) */
@media (max-width: 992px) {
    .partners-page .partners2-transformation-section,
    .partners-page .partners2-content-section {
        padding: 4rem 0;
        background: var(--bg-light);
    }
    
    .partners2-hero-pillars,
    .partners2-benefits-list,
    .partners2-faq-grid,
    .partners2-transformation-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partners2-transformation-connector {
        height: 60px;
        width: 100%;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    /* Section spacing */
    .partners-page .partners2-transformation-section,
    .partners-page .partners2-content-section {
        padding: 3rem 0;
    }
    
    /* Hero adjustments */
    .partners2-hero {
        padding: 100px 0 60px !important;  /* Reduced padding */
    }
    
    .partners2-hero-text {
        margin-bottom: 2rem !important;  /* Reduced from 3.5rem */
        padding: 0 1rem;
    }
    
    .partners2-hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem !important;
    }
    
    .partners2-subtitle {
        margin-bottom: 0 !important;
    }
    
    .partners2-hero-pillars {
        margin-top: 0;  /* Remove any top margin */
    }
    
    /* Other elements */
    .partners2-section-header h2 {
        font-size: 2rem;
    }
    
    .partners2-status-card {
        padding: 2rem 1.5rem;
    }
    
    .partners2-status-footer {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .partners2-faq-grid {
        margin-top: 3rem;
        margin-bottom: 3rem;
        gap: 2rem;
    }
    
  /* Transformation cards with numbered badges */
    .partners2-transformation-grid {
        counter-reset: transform-counter;
    }
    
    .partners2-transformation-row {
        background: rgba(79, 70, 229, 0.02);
        border-radius: 20px;
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
        margin-bottom: 1.5rem;
        border: 1px solid rgba(79, 70, 229, 0.08);
        position: relative;
        counter-increment: transform-counter;
    }
    
    .partners2-transformation-row::before {
        content: counter(transform-counter);
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 28px;
        background: #4f46e5;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.9rem;
        z-index: 2;
        border: 2px solid var(--bg-light);
    }
    
    .partners2-transformation-connector {
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .partners2-transformation-connector::after {
        content: "↓";
        font-size: 2.75rem;
        color: #4f46e5;
        font-weight: 600;
    }
    
    .partners2-sparkle-icon {
        display: none;
    }

    /* Founding Partner Benefits - add breathing room */
.partners2-benefits-section {
    padding: 0 1.5rem;  /* Add horizontal padding to the section */
}

.partners2-benefits-list {
    max-width: 320px;  /* Constrain card width */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
@media (max-width: 768px) {
    /* existing styles... */
    
    /* Add space below Founding Partner subtitle */
    .partners2-section-header p.partners2-benefits-intro {
        padding-bottom: 1.5rem;
        margin-bottom: 0;  /* Remove default margin to control spacing with padding */
    }
}
/* Center FAQ content with side padding */
.partners2-faq-grid {
    padding: 0 1.5rem;  /* Add breathing room from screen edges */
}

.partners2-faq-item {
    text-align: center;  /* Center the text */
}

.partners2-faq-item h4 {
    margin-bottom: 0.75rem;  /* Keep spacing between Q and A */
}

.partners2-faq-item p {
    margin: 0 auto;
    max-width: 380px;  /* Optional: limit width for better readability */
}
/* Add space between title and subtitle in status card */
.partners2-status-card h2 {
    margin-bottom: 1rem !important;  /* Add space after the title */
}
/* Add space below CTA button before footer */
.partners2-cta-section {
    padding-bottom: 3rem;  /* Add breathing room before footer */
}
}

/* Small mobile subtitle adjustment (640px) */
@media (max-width: 640px) {
    .partners-page .partners2-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}


/* ==========================================================================
   >>> END: RATIO PARTNERS PAGE V2 STYLES <<<
   ========================================================================== */

/* ==========================================================================
   TYPEFORM STYLES - CONSOLIDATED & ORGANIZED
   ========================================================================== */

/* --- Base TypeForm Container & Structure --- */
.typeform-container {
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--bg-light);
    color: var(--text-dark);
}

/* --- TypeForm Content Area --- */
.typeform-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    background: white;
}

.typeform-question-container {
    max-width: 600px;
    width: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.typeform-question-container.transitioning {
    opacity: 0;
    transform: translateY(20px);
}

/* --- Question Header Elements --- */
.typeform-question-header {
    /* Injected dynamically via JS */
}

.typeform-header {
    justify-content: flex-end; /* Pushes the progress bar to the right */
}

.typeform-question-number {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.typeform-progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.typeform-progress-bar {
    width: 180px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.typeform-progress-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.typeform-progress-text {
    font-size: 0.9rem;
    color: var(--text-medium);
    min-width: 60px;
    font-weight: 500;
}

/* --- Question Content --- */
.typeform-question-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.typeform-question-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* --- Form Inputs --- */
.typeform-input-container {
    position: relative;
    margin-bottom: 2rem;
}

.typeform-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 3px solid var(--border-color);
    padding: 1rem 0;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.typeform-input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.typeform-input::placeholder {
    color: var(--text-light);
}

.typeform-textarea {
    background: rgba(79, 70, 229, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    min-height: 120px;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: all 0.3s ease;
}

.typeform-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(79, 70, 229, 0.08);
}

.typeform-textarea::placeholder {
    color: var(--text-medium);
}

/* --- Navigation --- */
.typeform-navigation {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-top: 1px solid var(--border-color);
}

.typeform-nav-hint {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.typeform-key-hint {
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.typeform-nav-buttons {
    display: flex;
    gap: 1rem;
}

.typeform-nav-button {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.typeform-nav-button:hover {
    background: var(--bg-light);
}

.typeform-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.typeform-nav-button.typeform-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff9500 100%);
    border-color: transparent;
    color: white;
}

.typeform-nav-button.typeform-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #e67300 100%);
}

/* --- Special Screens --- */
.typeform-welcome-screen,
.typeform-thank-you-screen {
    text-align: center;
    max-width: 600px;
}

.typeform-welcome-screen {
    margin-top: -4rem; /* Nudge content up slightly */
}

.typeform-welcome-screen .typeform-question-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.typeform-welcome-cta-area {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.typeform-welcome-start-button {
    padding: 1.25rem 2rem; /* Make button larger */
    font-size: 1.25rem;
}

.typeform-welcome-hint-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.typeform-welcome-enter-hint {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.typeform-welcome-time-hint {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Hide default navigation on the welcome screen */
.on-welcome-screen .typeform-navigation {
    display: none;
}

/* --- Loading State --- */
.typeform-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.typeform-loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-top: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: typeform-spin 0.8s linear infinite;
}

@keyframes typeform-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.typeform-error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   TYPEFORM PAGE HERO SECTION
   ========================================================================== */

/* --- Base Hero Layout --- */
.typeform-page-hero {
    /* Primary sizing for stable height across devices */
    min-height: 100svh;
    min-height: -webkit-fill-available; /* Fallback for older iOS */
    min-height: 100vh; /* Standard fallback */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 0 80px;
    position: relative;
}

.typeform-page-hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

/* --- Hero with Assessment Class --- */
.typeform-page-hero.assessment-hero {
    padding-top: 0;
    padding-bottom: 0;
    justify-content: flex-start;
}

.typeform-page-hero.assessment-hero .container {
    padding-top: 140px;
    flex: none;
    max-width: 900px;
}

/* --- Hero Content Styling --- */
.typeform-page-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    margin-bottom: 1.5rem;
}

.typeform-page-hero .subtitle {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- Hero Benefit Pills --- */
.hero-benefit-pills-simple {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    flex-direction: column;
}

.typeform-page-hero .hero-benefit-pills-simple {
    margin-top: 3rem;
    margin-bottom: 2.5rem;
    gap: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 2.5rem 0 3rem 0;
}

.hero-benefit-pills-simple .pill {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
}

.typeform-page-hero .hero-benefit-pills-simple .pill {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-benefit-pills-simple .pill svg,
.typeform-page-hero .hero-benefit-pills-simple .pill svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* --- Hero Footer Elements & Scroll Down --- */
.typeform-page-hero .hero-footer-elements {
    position: absolute;
    bottom: calc(clamp(30px, 5vh, 60px) + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

.typeform-page-hero .hero-begin-link {
    margin-top: 1.5rem;
}

.hero-scroll-down,
.typeform-page-hero .hero-scroll-down {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin: 3.5rem auto 0;
    width: fit-content;
}

.hero-scroll-down:hover,
.typeform-page-hero .hero-scroll-down:hover {
    opacity: 1;
}

.hero-scroll-down span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.hero-scroll-down > svg {
    width: 32px;
    height: 32px;
    animation: bob 2s ease-in-out infinite;
}

.hero-time-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-time-hint svg {
    width: 24px;
    height: 24px;
    animation: none;
}

@keyframes bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

/* --- Navigation Bar Styling for Typeform Pages --- */

/* Unscrolled state - dark navigation */
body:has(.typeform-page-hero) .site-header:not(.scrolled) {
    background: #0F172A;
}

body:has(.typeform-page-hero) .site-header:not(.scrolled) .logo-path {
    fill: var(--white);
}

body:has(.typeform-page-hero) .site-header:not(.scrolled) .nav-menu a,
body:has(.typeform-page-hero) .site-header:not(.scrolled) .nav-login {
    color: var(--white);
    text-shadow: none;
}

body:has(.typeform-page-hero) .site-header:not(.scrolled) .hamburger-line {
    background: var(--white);
}

/* Fix dropdown colors in unscrolled state */
body:has(.typeform-page-hero) .site-header:not(.scrolled) .dropdown-menu a {
    color: #475569;
    text-shadow: none;
}

body:has(.typeform-page-hero) .site-header:not(.scrolled) .nav-menu a:hover,
body:has(.typeform-page-hero) .site-header:not(.scrolled) .nav-login:hover {
    color: var(--accent-color);
}

body:has(.typeform-page-hero) .site-header:not(.scrolled) .dropdown-menu a:hover {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.08);
}

body:has(.typeform-page-hero) .site-header:not(.scrolled) .dropdown-menu a:hover .dropdown-icon {
    color: var(--primary-color);
}

/* Scrolled state - restore default navigation */
body:has(.typeform-page-hero) .site-header.scrolled .nav-menu a {
    color: var(--text-dark);
}

body:has(.typeform-page-hero) .site-header.scrolled .nav-menu a:hover {
    color: var(--nav-hover-scrolled);
}

body:has(.typeform-page-hero) .site-header.scrolled .nav-login {
    color: var(--text-dark);
}

body:has(.typeform-page-hero) .site-header.scrolled .nav-login:hover {
    color: var(--nav-hover-scrolled);
}

body:has(.typeform-page-hero) .site-header.scrolled .logo-path {
    fill: var(--primary-color);
}

body:has(.typeform-page-hero) .site-header.scrolled .hamburger-line {
    background: var(--primary-color);
}

/* Hide FAB on Typeform Pages */
body:has(.typeform-page-hero) .floating-support {
    display: none !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 768px) {
    /* Typeform Container */
    .typeform-content {
        padding: 1.5rem;
    }
    
    .typeform-question-title {
        font-size: 2rem;
    }
    
    .typeform-input {
        font-size: 1.2rem;
    }
    
    .typeform-progress-bar {
        width: 120px;
    }
    
    /* Navigation */
    .typeform-navigation {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .typeform-nav-hint {
        order: 1;
    }
    
    .typeform-nav-buttons {
        order: 2;
    }
    
    /* Hero */
    .typeform-page-hero .hero-benefit-pills-simple {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .typeform-page-hero .hero-benefit-pills-simple .pill {
        font-size: 0.78rem;
        padding: 0.4rem 0.9rem;
        width: 260px;
        max-width: 90%;
    }
    
    .typeform-page-hero .hero-footer-elements {
        bottom: 60px;
    }
    
    .typeform-page-hero.assessment-hero {
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .typeform-page-hero .hero-scroll-down {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .typeform-page-hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        padding: 80px 0 40px;
    }
    
    .typeform-page-hero .hero-benefit-pills-simple .pill {
        padding: 0.35rem 0.75rem;
        width: 240px;
        max-width: 90%;
    }
    
    .typeform-page-hero .hero-footer-elements {
        bottom: 40px;
    }
}

/* iPad-specific adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .typeform-page-hero {
        min-height: 100svh;
    }
    
    .typeform-page-hero .hero-footer-elements {
        bottom: max(40px, calc(env(safe-area-inset-bottom, 0px) + 28px));
    }
}

/* Final iPad override for better positioning */
@media (min-width: 768px) and (max-width: 1366px) {
    .typeform-page-hero .hero-footer-elements {
        bottom: 150px !important;
    }
}