/* ========================================
   US BPO Alliance - Modern Architectural Theme
   Clean, Light, Swiss-Style Design
   ======================================== */

:root {
    /* Color System */
    --bg-page: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    
    --color-accent: #0f172a; /* Deep Navy (was #2563eb) */
    --color-accent-dark: #020617; /* Darker Navy */
    --color-accent-light: #f1f5f9; /* Light Slate (was blue tint) */
    
    --border-light: #e2e8f0;
    --border-strong: #cbd5e1;
    
    /* Semantic */
    --color-success: #10b981;
    --color-error: #ef4444;
    
    /* Typography */
    --font-main: 'Manrope', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.75;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* ========================================
   Layout Components
   ======================================== */

.container {
    max-width: 90%; /* 90% viewport width on desktop */
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: #0f172a; /* Deep Navy */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* Wide header layout */
.site-header .container {
    max-width: 95%;
    width: 95%; /* Force width */
    padding: 0; /* Remove padding to maximize space */
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between; /* Push logo and nav to edges */
    align-items: center;
    width: 100%; /* Ensure flex container fills parent */
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px; /* Fit within header */
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, white, transparent);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover {
    color: white;
    transform: translateY(-2px);
}

.main-nav a:hover::before {
    width: 100%;
}

.nav-cta {
    background-color: white;
    color: var(--color-accent) !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease;
    font-weight: 700 !important;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.05); /* Lift + Zoom */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background-color: var(--color-accent); /* Go Blue */
    color: white !important; /* White Text */
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white; /* White hamburger menu */
    margin: 5px 0;
    transition: 0.3s;
}

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

.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--bg-page);
    /* Grid Pattern Background */
    background-image: 
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

/* Fade out grid at bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, transparent, var(--bg-page));
    z-index: 1;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 3rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
}

.hero-subhead {
    font-size: 1.35rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 500;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    border: none;
}

/* ========================================
   Why Section
   ======================================== */

.section-why {
    background-color: var(--bg-page);
}

.bullets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .bullets-grid {
        grid-template-columns: repeat(2, 1fr); /* 2-wide on tablet */
        gap: 1.5rem;
    }
}

@media (min-width: 960px) {
    .bullets-grid {
        grid-template-columns: repeat(4, 1fr); /* 4-wide on desktop */
        gap: 2rem;
    }
}

.bullet-item {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: 0.3s ease;
}

.bullet-item:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.bullet-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.section-close p {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 4rem;
    letter-spacing: -0.02em;
}

/* ========================================
   Vision Section
   ======================================== */

.section-vision {
    background-color: var(--text-primary);
    color: white;
}

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

.vision-content p {
    color: var(--text-tertiary);
    font-size: 1.5rem;
    line-height: 1.8;
}

.vision-content p:first-child {
    color: white;
    font-weight: 600;
}

.section-vision h2 {
    color: white;
}

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

.section-how {
    background-color: var(--bg-tertiary);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2-wide on tablet */
        gap: 1.5rem;
    }
}

@media (min-width: 960px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr); /* 4-wide on desktop */
        gap: 2rem;
    }
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 14px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: 0.3s ease;
}

.card:hover .card-icon {
    background: var(--color-accent);
    color: white;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* ========================================
   Benefits
   ======================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr); /* 2-wide on tablet */
        gap: 1.5rem;
    }
}

@media (min-width: 960px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr); /* 4-wide on desktop */
        gap: 2rem;
    }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: var(--color-success);
    flex-shrink: 0;
}

.benefit-item p {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.pullquote {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--color-accent-light);
    border-radius: var(--radius-lg);
    color: var(--color-accent-dark);
}

.pullquote p {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-accent-dark);
    margin: 0;
}

/* ========================================
   Who It's For
   ======================================== */

.who-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1-wide on mobile */
    gap: 3rem;
}

@media (min-width: 768px) {
    .who-grid {
        grid-template-columns: repeat(2, 1fr); /* 2-wide on tablet/desktop */
    }
}

.who-column {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.who-column h3 {
    font-size: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 2rem;
}

.who-for h3 { border-color: var(--color-success); color: var(--color-success); }
.who-not h3 { border-color: var(--color-error); color: var(--color-error); }

.who-column ul { list-style: none; }
.who-column li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    font-weight: 500;
}

.who-for li::before { content: '✓'; color: var(--color-success); position: absolute; left: 0; font-weight: 800; }
.who-not li::before { content: '✕'; color: var(--color-error); position: absolute; left: 0; font-weight: 800; }

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

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer p {
    padding-bottom: 2rem;
    max-width: 800px;
}

/* ========================================
   Form
   ======================================== */

.section-apply {
    background: var(--bg-tertiary);
}

.membership-form {
    background: white;
    padding: 5rem; /* More breathing room */
    border-radius: 24px; /* Much softer corners */
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -6px rgba(0, 0, 0, 0.05); /* Layered soft shadow */
    border: 1px solid var(--border-light);
}

.form-section h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: block;
    color: var(--text-primary);
}

.required { color: var(--color-accent); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem; /* Larger touch targets */
    border: 1px solid #e2e8f0;
    border-radius: 12px; /* Smooth input corners */
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f8fafc; /* Subtle light background */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); /* Soft focus ring */
    transform: translateY(-1px);
}

/* Checkboxes */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.checkbox-label:hover {
    background: #f8fafc;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 4px;
    accent-color: var(--color-accent);
}

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

.site-footer {
    background: var(--text-primary); /* Deep Navy */
    color: white;
    padding: 6rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Brand gets more space */
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: start;
}

/* Left Column - Brand */
.footer-brand {
    max-width: 400px;
}

.footer-main-logo {
    height: 56px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* Make logo white for footer */
    opacity: 0.9;
}

.footer-tagline {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* Middle Column - Quick Links */
.footer-nav-col h4 {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col li {
    margin-bottom: 0.75rem;
}

.footer-nav-col a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.footer-nav-col a:hover {
    opacity: 1;
    color: var(--color-accent-light);
    padding-left: 4px; /* Subtle movement */
}

/* Right Column - Info */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-end; /* Right align content */
    text-align: right;
}

.footer-powered {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-powered span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.powered-logo {
    height: 32px;
    width: auto;
    opacity: 0.8;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.back-to-top {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.back-to-top:hover {
    color: white !important;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr; /* Stack on mobile/tablet */
        gap: 3rem;
    }

    .footer-info {
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-powered {
        align-items: flex-start;
    }
}

/* ========================================
   Partners Page
   ======================================== */

.partners-hero {
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, #1e293b 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.partners-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.partners-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

.partners-hero-content h1 {
    color: white;
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, white 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.partners-intro {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.partners-section {
    background: var(--bg-page);
}

.partner-category {
    margin-bottom: 6rem;
}

.partner-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partner-logo {
    max-width: 300px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    animation: logoEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s backwards;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    50% {
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.category-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.solution-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #2563eb, var(--color-accent));
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.solution-card:hover::before {
    transform: translateX(0);
}

.solution-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    border-color: var(--color-accent);
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
    border-color: var(--color-accent);
}

.solution-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.solution-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-accent), #2563eb);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.solution-card:hover .solution-icon {
    background: var(--color-accent);
    color: white;
    transform: scale(1.25) rotate(360deg);
}

.solution-card:hover .solution-icon::after {
    opacity: 0.2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.solution-icon svg {
    width: 32px;
    height: 32px;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.solution-link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.solution-link:hover {
    gap: 0.75rem;
    transform: translateX(4px);
}

.coming-soon-notice {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px dashed var(--border-strong);
}

.coming-soon-notice p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}

.partners-cta-section {
    background: var(--bg-tertiary);
}

.partners-cta {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.partners-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.partners-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.partners-cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

.reveal {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation delays for cascading effect */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.45s; }
.reveal:nth-child(5) { transition-delay: 0.6s; }
.reveal:nth-child(6) { transition-delay: 0.75s; }

/* Dramatic entrance for hero sections */
@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.partners-hero-content {
    animation: heroEntrance 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.partners-hero-content h1 {
    animation: heroEntrance 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.partners-hero-content p {
    animation: heroEntrance 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: white;
        flex-direction: column;
        padding: 2rem;
        transform: translateX(100%);
        transition: 0.3s ease;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .mobile-menu-toggle { display: block; }
    
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero-cta-group { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .membership-form { padding: 2rem 1.5rem; }
}
