/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Page background wrapper */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: var(--bg-secondary);
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* CSS Variables for Brand Colors - Navy to match PolyProfits logo */
:root {
    --primary-color: #1a2f4a;
    --primary-dark: #0f2037;
    --primary-light: #243b52;
    --secondary-color: #1a2f4a;
    --accent-color: #1a2f4a;
    --accent-complement: #e6a817;
    --text-primary: #1a2f4a;
    --text-secondary: #2a4a6a;
    --text-muted: #3d5a7a;
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f8f9fa;
    --bg-card: #ffffff;
    --border-color: rgba(26, 47, 74, 0.15);
    --gradient-primary: linear-gradient(135deg, #1a2f4a 0%, #0f2037 100%);
    --gradient-secondary: linear-gradient(135deg, #1a2f4a 0%, #0f2037 100%);
    --divider-color: rgba(26, 47, 74, 0.2);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    background: var(--bg-secondary) !important;
    color: var(--text-primary);
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 72px;
}

body.menu-open {
    overflow: hidden;
}

/* Keyboard navigation styles */
.keyboard-navigation *:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Logo Styles */
.nav-logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.nav-logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
}

.nav-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--primary-color);
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

.footer-logo,
.footer-logo-link img.footer-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    margin-bottom: 0;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.footer-logo-link:hover .footer-logo-text {
    color: var(--primary-dark);
}

.footer-logo-text--white {
    color: #ffffff;
}

.footer-logo-link:hover .footer-logo-text--white {
    color: rgba(255, 255, 255, 0.9);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-emblem {
    height: 32px;
    width: auto;
    opacity: 0.9;
    flex-shrink: 0;
}

.footer-brand .footer-logo {
    margin-bottom: 0;
}

.footer-bottom-emblem {
    height: 24px;
    width: auto;
    opacity: 0.85;
}

.policy-footer-emblem {
    height: 36px;
    width: auto;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Navigation - Floating bubble (pill) style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px 0;
    z-index: 1000;
    pointer-events: none;
}
.navbar > .nav-container {
    pointer-events: auto;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.navbar.scrolled > .nav-container {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Light nav: dark text, blue CTA */
.nav-light .nav-menu a:not(.cta-button) {
    color: var(--text-secondary);
}
.nav-light .nav-menu a:not(.cta-button):hover {
    color: var(--text-primary);
}
.nav-light .nav-menu a:not(.cta-button)::after {
    background: var(--primary-color);
}
.nav-light .hamburger span {
    background: var(--text-primary);
}

.nav-container {
    /* Bubble styles moved to .navbar > .nav-container above */
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    gap: 1.5rem;
}

.nav-logo a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

/* Nav link style - text only, underline on hover */
.nav-menu a:not(.cta-button) {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
    padding: 8px 0;
    background: none;
    border: none;
}

.nav-menu a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.25s ease;
}

.nav-menu a:not(.cta-button):hover {
    color: var(--text-primary);
}

.nav-menu a:not(.cta-button):hover::after {
    width: 100%;
}

.nav-menu a:not(.cta-button).active {
    color: var(--text-primary);
}

.nav-menu a:not(.cta-button).active::after {
    width: 100%;
    background: var(--primary-color);
}

.cta-button {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    border: none !important;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-light) !important;
    transform: none;
    box-shadow: 0 4px 14px rgba(62, 58, 241, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    gap: 5px;
    font: inherit;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay (Transcend-style backdrop) */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

body.menu-open .nav-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Center the Access all resources button */
.cta-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
}

/* Video wrapper styles */
.video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(62, 58, 241, 0.5), 0 0 60px rgba(62, 58, 241, 0.3), 0 4px 15px rgba(62, 58, 241, 0.3);
    overflow: visible;
    padding: 30px;
    box-sizing: border-box;
}

.video-wrap > div:first-child {
    overflow: hidden;
    border-radius: 9px;
    position: relative;
    z-index: 1;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* .hero::before gradient removed to show Silk background */
/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(62, 58, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(62, 58, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(62, 58, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
} */

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Background removed to show Silk background */
    /* background: radial-gradient(circle at 30% 20%, rgba(62, 58, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(62, 58, 241, 0.05) 0%, transparent 50%); */
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    width: 100%;
}

.hero-badge {
    display: none; /* Hidden - replaced by GradientText component */
}

/* Hero GradientText - above hero container */
#hero-gradient-text {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* Style the GradientText component - half size */
#hero-gradient-text .hero-gradient-text {
    font-size: 2rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    #hero-gradient-text {
        display: none;
    }
}

@media (max-width: 480px) {
    #hero-gradient-text {
        display: none;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

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

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff !important;
    box-shadow: var(--shadow-md);
}
.btn-primary span,
.btn-primary i {
    color: #ffffff !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    overflow: visible;
}

/* Light hero - centered, reference style */
.hero-light {
    min-height: auto;
    padding: 4rem 0 5rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}
.hero-light .hero-grid-bg {
    background-image:
        linear-gradient(rgba(26, 47, 74, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 47, 74, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0;
}

/* Small squares match background grid; blue hover spans full hero width */
.hero-pillars-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
}
/* Invisible by default; only hero-grid-bg squares show. On hover: that square lights up navy */
.hero-pillar {
    --rise: 0;
    position: relative;
    width: 100%;
    min-height: 8px;
    border-radius: 0;
    transform-origin: bottom center;
    transform: scaleY(calc(1 + var(--rise) * 0.4)) translateZ(0);
    transition: transform 0.04s linear, box-shadow 0.04s linear, background 0.04s linear;
    will-change: transform;
    background: rgba(26, 47, 74, calc(var(--rise) * 0.82));
    border: none;
    outline: none;
    box-shadow:
        0 calc(var(--rise) * 3px) calc(var(--rise) * 10px) rgba(26, 47, 74, 0.28),
        0 calc(var(--rise) * 1px) calc(var(--rise) * 4px) rgba(26, 47, 74, 0.18);
}
.hero-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(26, 47, 74, 0.45));
    opacity: var(--rise);
    pointer-events: none;
}
@media (max-width: 768px) {
    .hero-pillars-wrap { gap: 0; padding: 12px; }
    .hero-pillar { min-height: 6px; }
}
.light-theme .hero-bg-pattern {
    display: none; /* Use CSS grid instead of WebGL on light hero */
}
.hero-preheadline {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    text-align: center;
}
.hero-light .hero-title {
    color: var(--text-primary);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 1.25rem;
}
.hero-title-accent {
    color: var(--primary-color);
    font-weight: 800;
}
.hero-light .hero-subtitle {
    color: var(--primary-color);
    font-size: 1.15rem;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}
/* Video box - placeholder for embed later */
.hero-video-box {
    max-width: 800px;
    margin: 0 auto 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-tertiary);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
}
.hero-video-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.hero-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0;
}
.hero-cta {
    padding: 16px 40px;
    font-size: 1.05rem;
    border-radius: 8px;
}


/* VSL Video Container Styles */
.vsl-video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
}

.video-placeholder {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(62, 58, 241, 0.1) 0%, rgba(62, 58, 241, 0.05) 100%);
    pointer-events: none;
}

.video-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.video-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.video-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.video-placeholder p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Video Container Styles */
.vsl-video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-wrap {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(62, 58, 241, 0.5), 0 0 60px rgba(62, 58, 241, 0.3), 0 4px 15px rgba(62, 58, 241, 0.3);
    overflow: visible;
    padding: 30px;
    box-sizing: border-box;
}

.video-wrap:hover {
    transform: scale(1.02);
}

/* Responsive adjustments for VSL video */
@media (max-width: 768px) {
    .vsl-video-container {
        max-width: 100%;
        padding: 0 1rem;
        border-radius: 8px;
    }
    
    .video-wrap {
        max-width: 100%;
    }
    
    .video-wrap:hover {
        transform: none; /* Disable hover transform on mobile */
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--primary-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Traditional navbar - floating bubble (no full-width bar) */
.nav-traditional {
    z-index: 1000;
    background: transparent !important;
    backdrop-filter: none;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Pillars Section */
.pillars {
    padding: 6rem 0;
    background: var(--bg-secondary) !important;
    position: relative;
    z-index: 2;
}

.pillars-layout {
    margin-top: 4rem;
}

.pillar-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pillar-row:last-child {
    border-bottom: none;
}

.pillar-row:hover {
    background: rgba(62, 58, 241, 0.06);
    border-radius: 16px;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
}

.pillar-number-large {
    background: var(--gradient-primary);
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: 800;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(62, 58, 241, 0.3);
}

.pillar-content {
    flex: 1;
}

.pillar-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pillar-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ========== Key Figures (DM-style stats strip) ========== */
.key-figures {
    padding: 3.5rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.key-figures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.key-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.key-figure-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.key-figure-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 12em;
}

@media (max-width: 900px) {
    .key-figures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
}

@media (max-width: 500px) {
    .key-figures {
        padding: 2.5rem 0;
    }
    .key-figures-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

/* ========== The PolyProfits System Section (DM-style, tailored) ========== */
.system-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, #E0E8FF 0%, #F0F4FF 40%, #ffffff 100%);
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.system-section.system-visible {
    opacity: 1;
    transform: translateY(0);
}

.system-header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.system-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.system-header h2 {
    font-size: clamp(1.875rem, 4.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.system-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 40em;
    margin: 0 auto;
    line-height: 1.65;
}

.system-phase-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 2.75rem;
}

.system-phase-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.system-phase-tab:hover {
    color: var(--primary-color);
    background: #fff;
    border-color: rgba(62, 58, 241, 0.2);
    box-shadow: 0 2px 12px rgba(62, 58, 241, 0.08);
}

.system-phase-tab.active {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(62, 58, 241, 0.25);
}

.system-phase-arrow {
    color: var(--text-muted);
    font-size: 0.65rem;
    opacity: 0.8;
}

/* Path flow: stacked cards with map-style connector */
.system-path-flow {
    position: relative;
    padding: 0 0 1rem;
}

.system-path-svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    color: rgba(26, 47, 74, 0.24);
    z-index: 0;
    overflow: hidden;
}

.system-path-line {
    transition: color 0.3s ease;
}

.system-path-dot {
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
}

.system-section:hover .system-path-line,
.system-section:hover .system-path-dot {
    color: rgba(26, 47, 74, 0.38);
}

.system-section:hover .system-path-dot {
    transform: scale(1.2);
}

.system-cards {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.system-card {
    display: block;
    position: relative;
    scroll-margin-top: 100px;
    max-width: 720px;
    margin-bottom: 2.5rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
    overflow: hidden; /* keep large step numbers (01, 02, 03) from bleeding out */
}

.system-card.system-card-visible {
    opacity: 1;
    transform: translateY(0);
}

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

.system-step-left {
    margin-right: auto;
    margin-left: 0;
}

.system-step-right {
    margin-left: auto;
    margin-right: 0;
}

.system-step-num {
    position: absolute;
    top: -0.15em;
    left: -0.05em;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.system-step-right .system-step-num {
    left: auto;
    right: -0.05em;
}

.system-card-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.system-section .system-card-inner:hover {
    box-shadow: 0 12px 40px rgba(62, 58, 241, 0.1), 0 4px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(62, 58, 241, 0.12);
}

.system-card-content {
    min-width: 0;
}

.system-card-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.system-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.system-card-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.system-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.system-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(62, 58, 241, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(62, 58, 241, 0.08);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.system-benefit:hover {
    background: rgba(62, 58, 241, 0.07);
    border-color: rgba(62, 58, 241, 0.12);
}

.system-benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    font-size: 0.95rem;
}

.system-benefit-icon i {
    color: #ffffff !important;
}

.system-benefit div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.system-benefit strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.system-benefit span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Interactive visual orb */
.system-card-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.system-visual-orb {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-visual-core {
    width: 96px;
    height: 96px;
    border-radius: 0;
    object-fit: contain;
    box-shadow: 0 8px 24px rgba(26, 47, 74, 0.25);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}


.system-card-visual:hover .system-visual-core {
    transform: rotate(360deg);
    box-shadow: 0 12px 32px rgba(26, 47, 74, 0.3);
}

.system-visual-core--glow {
    box-shadow: 0 8px 24px rgba(26, 47, 74, 0.25), 0 0 40px rgba(26, 47, 74, 0.2);
}

.system-visual-core--quiet {
    opacity: 0.9;
}

/* Stacked icon: same look as other section icons – shadow like .system-visual-core, navy hand/gear, dots visible */
.system-visual-core--stacked {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 0 !important;
    color: #1a2f4a !important;
    background: transparent !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(26, 47, 74, 0.25) !important;
}

.system-visual-core--stacked i {
    position: absolute;
    line-height: 1;
    color: #1a2f4a !important;
}

.system-visual-core--stacked .icon-base {
    font-size: 3.2rem;
    top: 46px;
    left: 16px;
}

.system-visual-core--stacked .icon-top {
    font-size: 2.1rem;
    top: 18px;
    left: 48px;
}

.system-visual-core--stacked .icon-check {
    font-size: 1.05rem;
    top: 32px;
    left: 68px;
}

.system-visual-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.35;
    transform: rotate(calc(var(--i) * 60deg)) translateY(-72px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.system-card-visual:hover .system-visual-node {
    opacity: 0.9;
}

@media (max-width: 768px) {
    /* Mobile: keep orb dots slightly smaller only; icon same size/look as desktop */
    .system-visual-orb .system-visual-node {
        opacity: 0.35;
        width: 10px;
        height: 10px;
        transform: rotate(calc(var(--i) * 60deg)) translateY(-72px);
    }
}

.system-visual-node--active {
    opacity: 0.85;
    background: var(--primary-color);
}

.system-visual-orb--pulse .system-visual-node {
    animation: systemNodePulse 2s ease-in-out infinite;
}

.system-visual-orb--pulse .system-visual-node:nth-child(n+4) {
    animation-delay: 0.5s;
}

@keyframes systemNodePulse {
    0%, 100% { opacity: 0.6; transform: rotate(calc(var(--i) * 60deg)) translateY(-80px) scale(1); }
    50% { opacity: 1; transform: rotate(calc(var(--i) * 60deg)) translateY(-80px) scale(1.15); }
}

.system-visual-label {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .system-step-left,
    .system-step-right {
        margin-left: auto;
        margin-right: auto;
    }
    .system-card {
        max-width: 100%;
    }
    .system-path-svg {
        opacity: 0.6;
    }
    .system-step-num {
        font-size: clamp(3rem, 10vw, 5rem);
    }
    .system-card-inner {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .system-card-visual {
        order: -1;
    }
    .system-visual-orb {
        width: 160px;
        height: 160px;
    }
    .system-visual-node {
        transform: rotate(calc(var(--i) * 60deg)) translateY(-60px);
    }
    @keyframes systemNodePulse {
        0%, 100% { opacity: 0.6; transform: rotate(calc(var(--i) * 60deg)) translateY(-60px) scale(1); }
        50% { opacity: 1; transform: rotate(calc(var(--i) * 60deg)) translateY(-60px) scale(1.15); }
    }
}

@media (max-width: 600px) {
    .system-phase-nav {
        gap: 0.35rem 0.5rem;
    }
    .system-phase-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .system-phase-tab span {
        display: none;
    }
    .system-card {
        scroll-margin-top: 80px;
    }
    .system-card-inner {
        padding: 1.5rem;
    }
    .system-card-title {
        font-size: 1.4rem;
    }
    .system-step-num {
        font-size: 2.5rem;
    }
}

/* Home page – headlines and subheadlines navy to match logo */
.home-page {
    font-size: 1.0625rem; /* 17px base */
    color: #1a1a2e;
}

.home-page .hero-title,
.home-page .hero-title .hero-title-accent,
.home-page .system-header h2,
.home-page .system-card-label,
.home-page .system-card-title,
.home-page .system-benefit strong,
.home-page .system-badge,
.home-page .cta-badge,
.home-page .cta-content h2,
.home-page .compare-section-header h2,
.home-page .testimonials-header h2 {
    color: var(--primary-color);
}

.home-page .compare-section-subtitle,
.home-page .testimonials-subtitle {
    color: var(--primary-color);
}

.home-page .testimonial-quote {
    color: #1a1a2e;
}

.home-page .section-header h2 {
    color: var(--primary-color);
}

.home-page .key-figure-value {
    color: var(--primary-color);
}
.home-page .key-figure-label {
    color: var(--primary-color);
}

.home-page .hero-subtitle,
.home-page .system-subtitle,
.home-page .cta-content p {
    color: var(--primary-color);
}

.home-page .system-card-desc,
.home-page .system-benefit span:not(.system-benefit-icon) {
    color: #1a2f4a;
}

/* System card visuals: white logos inside navy orbs (home) */
.home-page .system-card-visual .system-visual-core img {
    filter: brightness(0) invert(1);
}
.home-page .footer .footer-section p {
    color: rgba(255, 255, 255, 0.9);
}

.home-page .section-header p {
    color: var(--primary-color);
}

.home-page .hero {
    min-height: 85vh;
    padding-top: 2rem;
}

.home-page .hero-container {
    padding-top: 2rem;
    max-width: 720px;
}

.home-page .hero-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.home-page .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--primary-color);
    margin-bottom: 2rem;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

.home-page .hero-buttons {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.home-page .section-header {
    margin-bottom: 3rem;
}

.home-page .section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.home-page .section-header p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-color);
    max-width: 32em;
}

.home-page .pillars {
    padding: 4.5rem 0;
}

.home-page .system-section {
    padding: 4.5rem 0 5.5rem;
}

.home-page .pillar-row {
    padding: 2.25rem 0;
}

.home-page .pillar-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #5959FF;
}

.home-page .pillar-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #1a1a2e;
}

.home-page .pillar-number-large {
    font-size: 2rem;
    width: 72px;
    height: 72px;
}

.home-page .final-cta {
    padding: 4.5rem 0;
}

.home-page .final-cta .cta-content {
    max-width: 560px;
}

.home-page .cta-content h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.home-page .cta-content p {
    font-size: 1.2rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.home-page .btn {
    font-size: 1.05rem;
    padding: 14px 28px;
}
.home-page .btn-primary,
.home-page .btn-primary span,
.home-page .btn-primary i {
    color: #ffffff !important;
}

.home-page .footer-section p {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .home-page .hero-title {
        font-size: 1.75rem;
    }
    .home-page .hero-subtitle {
        font-size: 1.1rem;
    }
    .home-page .pillar-content p {
        font-size: 1.1rem;
    }
    .home-page .pillar-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .home-page .pillar-number-large {
        margin: 0 auto;
    }
}

/* Arbitrage OS Section */
.arbitrage-os {
    padding: 6rem 0;
    background: var(--bg-secondary) !important;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.arbitrage-os-box {
    color: #ffffff;
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: transparent;
}

.arbitrage-os-video {
    max-width: 900px;
    margin: 3rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: #000;
    border: 1px solid #ffffff;
    padding: 1px;
}

.arbitrage-os-video > div {
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

/* Results Section */
.results {
    padding: 6rem 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
}

.result-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.process-steps {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Case Studies Section */
.case-studies {
    padding: 6rem 0;
    background: transparent !important;
    position: relative;
    z-index: 2;
}

.case-studies .container {
    background: transparent !important;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 700px;
    margin: 0 auto;
}

.case-study-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-study-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.case-study-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 2rem 2rem 0 2rem;
}

.case-study-headline-link {
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.case-study-headline-link:hover {
    transform: translateX(5px);
}

.case-study-content h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
    line-height: 1.3;
    transition: color 0.3s ease;
    cursor: pointer;
}

.case-study-headline-link:hover h4 {
    color: var(--primary-color);
}

.story-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.case-study-cta {
    display: flex;
    gap: 1rem;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 1.5rem;
    justify-content: center;
}

.case-study-image {
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-content {
    padding: 2rem;
}

.case-study-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case-study-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

/* Playbook Section */
.playbook {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.playbook-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.playbook-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.playbook-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.playbook-form {
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    flex: 1;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
}

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

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-message.success {
    background: rgba(62, 58, 241, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(62, 58, 241, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Resources Section */
.resources {
    padding: 6rem 0;
    background: var(--bg-secondary) !important;
    position: relative;
    z-index: 2;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-category {
    display: inline-block;
    background: rgba(62, 58, 241, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.resource-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.resource-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: transparent !important;
    position: relative;
    z-index: 2;
}

.final-cta .container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding: 0 20px;
}

.cta-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cta-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.cta-main-btn {
    padding: 18px 36px !important;
    font-size: 1.1rem !important;
    border-radius: 9999px;
}

/* Responsive adjustments for glass CTA */
@media (max-width: 768px) {
    .final-cta {
        padding: 4rem 0;
    }
    
    .final-cta .cta-content {
        padding: 3rem 2rem;
        border-radius: 20px;
    }
    
    .final-cta .cta-content h2 {
        font-size: 2rem;
    }
}

/* ========== Comparison table – Traditional vs PolyProfits (stacked, light) ========== */
.compare-section {
    padding: 4.5rem 0 5.5rem;
    background: linear-gradient(180deg, #E0E8FF 0%, #F0F4FF 40%, #ffffff 100%);
    position: relative;
    z-index: 2;
}

.compare-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.compare-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.compare-section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.compare-section-subtitle {
    font-size: 1.05rem;
    color: var(--primary-color);
    max-width: 36em;
    margin: 0 auto;
}

.compare-table-wrap {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    background: var(--bg-card);
}

@media (max-width: 900px) {
    .compare-section {
        overflow-x: hidden;
    }
    .compare-section .container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
        overflow-x: hidden;
    }
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
}

.compare-th {
    padding: 1.5rem 1.75rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    background: var(--bg-tertiary);
    border-bottom: 2px solid var(--border-color);
}

.compare-th-topic {
    width: 20%;
    color: var(--text-muted);
    font-weight: 600;
}

.compare-th-left {
    width: 40%;
    color: var(--text-secondary);
}

.compare-th-right {
    width: 40%;
    color: var(--primary-color);
}

.compare-td {
    padding: 1.35rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    line-height: 1.55;
}

.compare-cell-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.compare-ico {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.compare-ico-x {
    background: rgba(200, 60, 60, 0.12);
    color: #c0392b;
}

.compare-ico-check {
    background: rgba(62, 58, 241, 0.12);
    color: var(--primary-color);
}

.compare-table tbody tr:last-child .compare-td {
    border-bottom: none;
}

.compare-table tbody tr:nth-child(even) .compare-td {
    background: rgba(62, 58, 241, 0.02);
}

.compare-td-topic {
    font-weight: 600;
    color: var(--text-primary);
}

.compare-td-left {
    color: var(--text-secondary);
}

.compare-td-right {
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 900px) {
    /* Mobile/tablet: stack rows as full-width cards so whole table is visible, no horizontal scroll */
    .compare-table-wrap {
        overflow: visible;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        background: var(--bg-card);
        max-width: 100%;
    }
    .compare-table,
    .compare-table tbody,
    .compare-table tr,
    .compare-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .compare-table thead {
        display: none;
    }
    .compare-table tbody tr {
        margin-bottom: 1rem;
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
        background: var(--bg-card);
    }
    .compare-table tbody tr:last-child {
        margin-bottom: 0;
    }
    .compare-td {
        padding: 0.85rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .compare-table tbody tr .compare-td:last-child {
        border-bottom: none;
    }
    .compare-td-topic {
        font-size: 1.02rem;
        font-weight: 700;
        color: var(--text-primary);
        background: rgba(26, 47, 74, 0.05);
    }
    .compare-cell-inner {
        align-items: flex-start;
        gap: 0.75rem;
    }
    .compare-td-left::before,
    .compare-td-right::before {
        display: block;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        margin-bottom: 0.45rem;
    }
    .compare-td-left::before {
        content: "Traditional Trading";
        color: var(--text-muted);
    }
    .compare-td-right::before {
        content: "PolyProfits";
        color: var(--primary-color);
    }
    .compare-ico {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* ========== Section CTA (Get Started after each section) ========== */
.section-cta {
    padding: 2.5rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
    text-align: center;
}

.section-cta .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-cta-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.section-cta .btn-primary {
    color: #ffffff !important;
}
.section-cta .btn-primary span,
.section-cta .btn-primary i {
    color: #ffffff !important;
}

/* ========== Testimonials ========== */
.testimonials {
    padding: 4.5rem 0 5rem;
    background: #f8f9fa;
    position: relative;
    z-index: 2;
    min-height: 320px;
    opacity: 1;
    visibility: visible;
}

.testimonials .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.testimonials-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonials-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.testimonials-subtitle {
    font-size: 1.05rem;
    color: var(--primary-color);
    max-width: 36em;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    visibility: visible;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    min-height: 200px;
}

.testimonial-card:hover {
    box-shadow: 0 8px 28px rgba(62, 58, 241, 0.08);
    border-color: rgba(62, 58, 241, 0.15);
}

.testimonial-image-wrap {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: rgba(62, 58, 241, 0.08);
    flex-shrink: 0;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    font-style: italic;
}

.testimonial-cite {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========== Meet The Founders ========== */
.founders-section {
    padding: 4.5rem 0 5rem;
    background: #f5f6f8;
    position: relative;
    z-index: 2;
}

.founders-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.founders-heading {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.founder-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.founder-row:last-child {
    margin-bottom: 0;
}

/* Row 2: text left, image right (HTML order is content then image) */

.founder-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(62, 58, 241, 0.06);
    aspect-ratio: 480 / 560;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-content {
    padding: 0 0.5rem;
}

.founder-name {
    font-size: clamp(1.35rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.founder-title {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.founder-bio {
    margin-bottom: 1.5rem;
}

.founder-bio p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #1a1a2e;
    margin: 0 0 1rem;
}

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

.founder-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.founder-social-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

@media (max-width: 900px) {
    .founder-row,
    .founder-row--image-right {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .founder-row--image-right .founder-content,
    .founder-row--image-right .founder-image-wrap {
        direction: ltr;
    }

    .founder-row--image-right .founder-image-wrap {
        order: 1;
    }

    .founder-row--image-right .founder-content {
        order: 2;
    }

    .founder-image-wrap {
        max-width: 400px;
        margin: 0 auto;
    }

    .founder-content {
        text-align: left;
    }
}

/* ========== FAQ (accordion) ========== */
.faq-section {
    padding: 4.5rem 0 5rem;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.faq-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-heading {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-bottom: none;
    background: #ffffff;
}

.faq-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:first-child {
    border-radius: 12px 12px 0 0;
}

.faq-item:last-child {
    border-radius: 0 0 12px 12px;
}

.faq-item:only-child {
    border-radius: 12px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
    background: rgba(62, 58, 241, 0.06);
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.faq-icon {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--primary-color);
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    padding: 0.75rem 1.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.compare-column-old {
    display: none;
}

.compare-col-header {
    width: 100%;
    padding: clamp(1rem, 2vw, 1.5rem) 1.5rem;
    border-radius: 16px;
    text-align: center;
    font-weight: 800;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.compare-hard .compare-col-header {
    background: rgba(180, 50, 50, 0.2);
    border: 2px solid #c0392b;
    color: #e88a8a;
}

.compare-tactical .compare-col-header {
    background: rgba(34, 140, 90, 0.2);
    border: 2px solid #22c55e;
    color: #86efac;
}

.compare-col-line {
    width: 2px;
    min-height: 20px;
    flex-shrink: 0;
}

.compare-hard .compare-col-line {
    background: rgba(192, 57, 43, 0.5);
}

.compare-tactical .compare-col-line {
    background: rgba(34, 197, 94, 0.5);
}

.compare-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.35rem) 1.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-hard .compare-item {
    border-color: rgba(192, 57, 43, 0.35);
    background: rgba(30, 15, 15, 0.6);
}

.compare-tactical .compare-item {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(15, 35, 25, 0.6);
}

.compare-item-text {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.45;
    color: #f0f0f5;
    font-weight: 500;
}

.compare-item-ico {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.compare-ico-no {
    background: rgba(192, 57, 43, 0.35);
    color: #f87171;
}

.compare-ico-yes {
    background: rgba(34, 197, 94, 0.35);
    color: #4ade80;
}

.compare-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.25rem;
}

.compare-footer-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: clamp(1.1rem, 2vw, 1.5rem) 1.5rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.compare-hard .compare-footer-box {
    border: 2px solid rgba(192, 57, 43, 0.6);
    background: rgba(180, 50, 50, 0.15);
    color: #fca5a5;
}

.compare-tactical .compare-footer-box {
    border: 2px solid rgba(34, 197, 94, 0.6);
    background: rgba(34, 140, 90, 0.15);
    color: #86efac;
}

.compare-footer-text {
    color: inherit;
}

/* Prominent “results” callout in tactical column */
.compare-results-callout {
    width: 100%;
    padding: clamp(1.25rem, 2.5vw, 1.75rem) 1.5rem;
    border-radius: 14px;
    border: 2px solid rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
}

.compare-results-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #86efac;
}

.compare-results-value {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.compare-results-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 800px) {
    .then-now {
        min-height: auto;
        padding: 3rem 1rem;
    }
    .then-now-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .compare-column {
        max-width: 480px;
        margin: 0 auto;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer – PolyProfits navy with white text */
.footer {
    background: #1a2f4a;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    position: relative;
    z-index: 1;
    display: block;
    visibility: visible;
    opacity: 1;
    min-width: 200px;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: block;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: block;
    visibility: visible;
}

.footer-section ul {
    list-style: none;
    display: block;
    visibility: visible;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Policy / legal page logo and footer */
.policy-page-logo {
    display: block;
    height: 48px;
    width: auto;
}

.policy-page-logo-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
}

.policy-hero-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 220px;
    margin: 0 auto 1.5rem;
    object-fit: contain;
}

.policy-footer {
    text-align: center;
    padding: 3rem 20px 2rem;
    border-top: 1px solid var(--border-color);
}

.policy-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.policy-footer-logo-link {
    display: inline-block;
}

.policy-footer .footer-logo {
    margin-bottom: 0;
}

.policy-footer-copy {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 769px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Base Styles */
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        font-size: 16px;
    }
    
    .container {
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }
    
    /* Mobile Navigation - bubble stays pill-shaped with side margin */
    .navbar {
        padding: 10px 12px 0;
    }
    .navbar > .nav-container {
        margin: 0 auto;
        max-width: 100%;
        border-radius: 9999px;
    }
    .nav-container {
        height: 52px;
        padding: 0 16px;
        overflow-x: hidden;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    body {
        padding-top: 72px;
    }
    
    .nav-logo-img {
        height: 32px;
        width: auto;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 100vw);
        max-width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 88px 1.5rem 2rem;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1001;
        border-left: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        list-style: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1rem;
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--text-primary);
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
        border-radius: 8px;
        margin-bottom: 0.25rem;
    }
    
    .nav-menu a:not(.cta-button)::after {
        display: none;
    }
    
    .nav-menu a:hover {
        background: rgba(62, 58, 241, 0.08);
        color: var(--text-primary);
    }
    
    .nav-menu a.active {
        background: rgba(62, 58, 241, 0.1);
        color: var(--primary-color);
    }

    .nav-menu .cta-button {
        margin-top: 0.5rem;
        text-align: center;
    }

    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Hero Section */
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 0 24px;
    }
    .hero-preheadline {
        padding: 0 20px;
    }
    .hero-video-box {
        margin-left: 6px;
        margin-right: 6px;
        width: calc(100% - 12px);
        max-width: none;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 8px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 100%;
        padding: 0 12px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .btn i {
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Override inline styles for case studies grid on mobile */
    .case-studies-grid[style*="max-width"] {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        padding: 0;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0;
        width: 100% !important;
    }
    
    /* Make case study card full width on mobile */
    .case-study-card {
        width: 100% !important;
        margin: 0;
        max-width: 100% !important;
    }
    
    .case-study-content {
        width: 100%;
        padding: 0 20px;
    }
    
    /* Make video full width on mobile */
    .case-study-video {
        width: 100% !important;
        margin: 2rem 0 !important;
        max-width: 100% !important;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Mobile Sections Styling */
    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 100%;
    }

    /* Mobile Results Section */
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .result-item {
        text-align: center;
        padding: 1.5rem 1rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .result-number {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }
    
    .result-label {
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

    /* Mobile Pillars Section */
    .pillars-layout {
        gap: 2rem;
    }

    .pillar-row {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .pillar-number-large {
        font-size: 3.5rem;
        font-weight: 800;
        color: #ffffff;
        line-height: 1;
    }

    .pillar-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: var(--text-primary);
    }

    .pillar-content p {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }

    /* Mobile Case Studies */
    .case-study-card {
        padding: 2rem 1.5rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .case-study-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .case-study-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .read-more {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .read-more:hover {
        color: var(--primary-dark);
        transform: translateX(5px);
    }

    /* Mobile Resources */
    .resource-card {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }
    
    .resource-card:hover {
        background: rgba(255, 255, 255, 0.04);
        transform: translateY(-2px);
    }

    .resource-card h3 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .resource-category {
        font-size: 0.8rem;
        color: var(--primary-color);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }
    
    .resource-date {
        font-size: 0.9rem;
        color: var(--text-muted);
    }

    /* Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        color: #ffffff;
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-section ul li a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-section ul li a:hover {
        color: #ffffff;
    }

    .footer-logo {
        height: 35px;
        margin-bottom: 1rem;
    }
    
    .social-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(62, 58, 241, 0.1);
        color: var(--primary-color);
        border-radius: 50%;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .social-links a:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }
    
    /* Mobile Touch Improvements */
    .btn, .nav-menu a, .hamburger, .social-links a {
        -webkit-tap-highlight-color: rgba(62, 58, 241, 0.3);
        touch-action: manipulation;
    }
    
    /* Mobile Scroll Improvements */
    .nav-menu {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    /* Mobile Focus States */
    .btn:focus, .nav-menu a:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Mobile Button Active States */
    .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .nav-menu a:active {
        background: rgba(62, 58, 241, 0.2);
        transform: scale(0.98);
    }
    
    /* Mobile Video Container */
    .vsl-video-container {
        margin: 0;
        border-radius: 8px;
    }
    
    /* Mobile Form Improvements */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-primary);
        width: 100%;
        box-sizing: border-box;
    }
    
    input:focus, textarea:focus, select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(62, 58, 241, 0.2);
    }
    
    /* Mobile Loading States */
    .btn.loading {
        opacity: 0.7;
        pointer-events: none;
    }
    
    .btn.loading::after {
        content: '';
        width: 16px;
        height: 16px;
        border: 2px solid transparent;
        border-top: 2px solid currentColor;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-left: 8px;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Responsive logo sizing */
    .nav-logo-img {
        height: 35px;
        width: auto;
        display: block;
    }
    
    .footer-logo {
        height: 40px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .nav-container {
        height: 55px;
        padding: 0 15px;
        max-width: 100%;
    }
    
    body {
        padding-top: 55px;
    }

    .nav-logo-img {
        height: 28px;
        width: auto;
        display: block;
    }
    
    .nav-menu {
        top: 55px;
        max-height: calc(100vh - 55px);
        padding: 1.5rem 0;
    }
    
    .nav-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0.1rem 0.5rem;
    }

    /* Extra small hero section */
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    /* Extra small sections */
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Extra small results */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-item {
        padding: 1.2rem 0.8rem;
    }
    
    .result-number {
        font-size: 1.8rem;
    }
    
    .result-label {
        font-size: 0.85rem;
    }

    /* Extra small pillars */
    .pillar-row {
        padding: 1.5rem 0.8rem;
        gap: 1rem;
    }
    
    .pillar-number-large {
        font-size: 3rem;
        color: #ffffff;
    }
    
    .pillar-content h3 {
        font-size: 1.3rem;
    }
    
    .pillar-content p {
        font-size: 0.95rem;
    }

    /* Extra small case studies */
    .case-study-card {
        padding: 1.5rem 1rem;
    }
    
    .case-study-content h3 {
        font-size: 1.2rem;
    }
    
    .case-study-content p {
        font-size: 0.95rem;
    }

    /* Extra small resources */
    .resource-card {
        padding: 1.2rem;
    }
    
    .resource-card h3 {
        font-size: 1.1rem;
    }
    
    .resource-category {
        font-size: 0.75rem;
    }
    
    .resource-date {
        font-size: 0.85rem;
    }

    /* Extra small footer */
    .footer-logo {
        height: 30px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Ensure all buttons and footer content are centered on small mobile */
    .hero-buttons {
        justify-content: center;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .policy-section {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-card,
.result-item,
.step,
.case-study-card,
.resource-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-card.animate-in,
.result-item.animate-in,
.step.animate-in,
.case-study-card.animate-in,
.resource-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced mobile menu (aligns with Transcend-style right slide) */
@media (max-width: 768px) {
    .nav-container {
        height: 72px;
        padding: 0 20px;
    }
}

/* Page Header Styles */
.page-header {
    padding: 120px 0 60px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.header-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Policy Content Styles */
.policy-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.policy-section:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.policy-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.policy-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.policy-section ul {
    list-style: none;
    padding-left: 0;
}

.policy-section ul li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.policy-section ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-info {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: var(--primary-color);
}

/* AOS Animation Overrides */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Modern loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Stagger animations for grid items */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }


/* About Page Styles */
.mission-vision {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-primary);
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.our-story {
    padding: 6rem 0;
}

.story-timeline {
    margin-top: 3rem;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin: 0 2rem;
    flex: 1;
    max-width: 400px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.our-team {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.our-impact {
    padding: 6rem 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.impact-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.impact-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.join-team {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.careers-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.careers-text ul {
    list-style: none;
    padding-left: 0;
}

.careers-text ul li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.careers-text ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.careers-cta h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.position-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.position-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.position-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.position-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.position-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-cta {
    padding: 6rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .story-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 40px;
    }
    
    .timeline-marker {
        position: absolute;
        left: -60px;
        top: 0;
    }
    
    .timeline-content {
        margin: 0;
        max-width: none;
    }
    
    .careers-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Center social links on mobile */
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -50px;
        min-width: 100px;
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
}

/* Team Headshot Styles */
.team-headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.team-photo:hover .team-headshot {
    transform: scale(1.05);
}

/* Quote Headshot Styles */
.quote-headshot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    vertical-align: middle;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(62, 58, 241, 0.3);
    transition: transform 0.3s ease;
}

.quote-headshot:hover {
    transform: scale(1.1);
}

/* Mobile adjustments for headshots */
@media (max-width: 768px) {
    .quote-headshot {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
}

/* Force white text on all CTA buttons site-wide */
a.cta-button,
a.btn-primary,
a.hero-cta,
a.cta-main-btn,
.btn-primary,
.cta-button {
    color: #ffffff !important;
}
a.cta-button span,
a.cta-button i,
a.btn-primary span,
a.btn-primary i,
a.hero-cta span,
a.hero-cta i,
a.cta-main-btn span,
a.cta-main-btn i,
.btn-primary span,
.btn-primary i {
    color: #ffffff !important;
} 