/* Styles for EvenFi Website */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    padding-top: 80px; /* Account for fixed header */
}

/* Color Variables */
:root {
    --primary-blue: #1E40AF;
    --dark-blue: #0F172A;
    --light-blue: #3B82F6;
    --accent-blue: #60A5FA;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --border-color: #E5E7EB;
}

/* Header and Navigation Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--dark-blue);
    color: var(--white) !important;
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Fix for secondary buttons on light backgrounds */
.service-card .btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.service-card .btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Add spacing to service card buttons */
.service-card .btn {
    margin-top: 1.5rem;
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.partner-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
    padding: 2rem;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.partner-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.partner-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.1rem 0;
    color: #222;
    line-height: 1.2;
}

.partner-header-divider {
    border-bottom: 1px solid #f1f3f5;
    margin-bottom: 1.25rem;
}

.partner-description {
    color: #666;
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    position: relative;
}

.partner-description.collapsed {
    max-height: 4.5em;
    overflow: hidden;
}

.partner-description.expanded {
    max-height: none;
}

.expand-button {
    background: none;
    border: none;
    color: #007bff;
    padding: 0;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.expand-button:hover {
    text-decoration: underline;
}

.partner-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.partner-type {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: #f1f3f5;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 500;
}

.partner-website {
    color: #2563eb;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.partner-website:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.partner-website svg {
    width: 16px;
    height: 16px;
}

.cnmv-logo {
    background: var(--primary-blue);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.125rem;
}

.partner-info h4 {
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.partner-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.partner-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.partner-link:hover {
    color: var(--dark-blue);
}

/* Disclaimer Section */
.disclaimer-section {
    background: var(--light-gray);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

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

.disclaimer-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.disclaimer-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    margin-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-container-full-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content .subheadline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.value-points {
    list-style: none;
    margin-bottom: 2rem;
}

.value-points li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.value-points li::before {
    content: "✓";
    background: var(--accent-blue);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-indicator {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Hero Form */
.hero-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.hero-form h2 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    text-align: center;
}

.hero-form form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.success-message {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.error-message {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* hCaptcha Styling - Invisible/Passive Mode */
.hcaptcha-container {
    /* Hidden container for invisible hCaptcha */
    display: none;
}

/* Section Styles */
.section {
    padding: 1rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Section */
.problem-section {
    background: var(--light-gray);
}

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

.pain-point {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pain-point h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* Solution Overview */
.solution-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.benefit {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue), var(--accent-blue));
}

.benefit:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-blue);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit:hover .benefit-icon {
    transform: scale(1.05);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.15);
    background: var(--white);
}

.benefit-icon img {
    width: 40px;
    height: 40px;
    filter: none;
}

.benefit h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* How It Works */
.how-it-works {
    background: var(--light-gray);
}

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

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-number {
    background: var(--primary-blue);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 0 1.5rem 0;
}

.step h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* Benefits Deep Dive */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.benefit-card h4 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-list li::before {
    content: "→";
    color: var(--primary-blue);
    font-weight: bold;
    margin-top: 2px;
}

/* Service Models */
.service-models {
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card.featured {
    border: 3px solid var(--primary-blue);
    position: relative;
}

.service-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-card.featuredbest {
    border: 3px solid var(--primary-blue);
    position: relative;
}

.service-card.featuredbest::before {
    content: "Best Solution";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-card h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Service card content spacing */
.service-features {
    margin-top: 2rem;
}

.perfect-for {
    margin-top: 2rem;
}

/* Who We Serve */
.target-audience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.audience-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.audience-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.audience-card .perfect-for {
    margin: 2rem 0;
    text-align: left;
}

.audience-card .perfect-for h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.audience-card ul {
    list-style: none;
}

.audience-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.audience-card ul li::before {
    content: "✓";
    background: var(--accent-blue);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    background: var(--light-gray);
}

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

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta .subheadline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.trust-elements {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-element {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* CTA Form */
.cta-form-container {
    max-width: 600px;
    margin: 2rem auto;
}

.cta-form {
    background: rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-form .form-group {
    margin-bottom: 1.5rem;
}

.cta-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
}

.cta-form .form-group input,
.cta-form .form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    transition: border-color 0.3s, background 0.3s;
}

.cta-form .form-group input:focus,
.cta-form .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--white);
}

.cta-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-form .form-group input::placeholder,
.cta-form .form-group textarea::placeholder {
    color: var(--text-light);
}

.cta-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.contact-info {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info strong {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    opacity: 0.6;
}

/* Mobile Navigation Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1003;
    position: relative;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger animation when active */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solution-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 6rem 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1002;
        gap: 0;
    }
    
    /* Hide desktop nav on mobile */
    nav .nav-links {
        display: none;
    }
    
    /* Show mobile nav when active */
    nav .nav-links.active {
        display: flex;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 1rem;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: var(--text-dark);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .nav-links a:hover {
        color: var(--primary-blue);
    }
    
    .nav-links .btn {
        margin-top: 0.5rem;
        text-align: center;
        padding: 0.875rem 1.5rem;
        border-radius: 8px;
    }
    
    .nav-links .btn-primary {
        background: var(--primary-blue);
        color: var(--white) !important;
    }
    
    .nav-links .btn-primary:hover {
        background: var(--dark-blue);
    }
    
    /* Right-align language dropdown in mobile drawer */
    .nav-links li:last-child {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding-right: 0 !important;
    }
    
    .nav-links .language-dropdown,
    nav .nav-links .language-dropdown {
        margin-left: auto !important;
        margin-right: 20px !important;
        align-self: flex-end !important;
        display: flex !important;
        justify-content: flex-end !important;
    }
    
    /* Ensure language list positions correctly from right edge */
    .nav-links .language-dropdown .language-list,
    nav .nav-links .language-dropdown .language-list {
        right: 0 !important;
        left: auto !important;
        transform: translateX(0) !important;
        margin-right: 0 !important;
    }
    
    /* For mobile, make dropdown open below and aligned to the right */
    .nav-links .language-dropdown.active .language-list,
    nav .nav-links .language-dropdown.active .language-list {
        right: 20px !important;
        left: auto !important;
        top: 100% !important;
        transform: translateX(0) !important;
        margin-top: 10px !important;
        margin-right: 0 !important;
        min-width: 160px !important;
        max-width: 200px !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }



    .section-header h2 {
        font-size: 2rem;
    }

    .solution-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit {
        padding: 2rem 1.5rem;
    }

    .target-audience {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .partner-card {
        flex-direction: column;
        text-align: center;
    }

    .partner-logo {
        margin-bottom: 1rem;
    }

    .cta-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cta-form {
        padding: 1.5rem;
    }
}

/* Standardized Card Component */
.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%; /* Ensure cards in a grid row have the same height */
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

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

.benefit-card {
    border: 1px solid var(--border-color);
}

.benefit-card h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-list {
    list-style: none;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.partner-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
    padding: 2rem;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.partner-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.partner-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.1rem 0;
    color: #222;
    line-height: 1.2;
}

.partner-header-divider {
    border-bottom: 1px solid #f1f3f5;
    margin-bottom: 1.25rem;
}

.partner-description {
    color: #666;
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    position: relative;
}

.partner-description.collapsed {
    max-height: 4.5em;
    overflow: hidden;
}

.partner-description.expanded {
    max-height: none;
}

.expand-button {
    background: none;
    border: none;
    color: #007bff;
    padding: 0;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.expand-button:hover {
    text-decoration: underline;
}

.partner-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.partner-type {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: #f1f3f5;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 500;
}

.partner-website {
    color: #2563eb;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.partner-website:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.partner-website svg {
    width: 16px;
    height: 16px;
}


/* Pricing Tools Section */
.pricing-tools-section {
    background: #f1f5f9;
    padding: 4rem 0;
}

.pricing-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-tool {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #10b981;
    text-align: center;
    position: relative;
}

.pricing-tool:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-tool h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.pricing-tool p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.tool-features {
    margin-bottom: 2.5rem;
    text-align: left;
}

.tool-features ul {
    list-style: none;
    padding: 0;
}

.tool-features li {
    padding: 0.6rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.8rem;
    font-size: 0.9rem;
}

.tool-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
}

.pricing-tool .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: auto;
    background: #10b981;
    color: var(--white);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pricing-tool .btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pricing-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.pricing-cta p {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.contact-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #059669;
    text-decoration: underline;
}

/* Investor Banner Styles */
.investor-banner {
    background: #1e40af;
    color: white;
    padding: 12px 0;
    font-size: 14px;
    position: relative;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.investor-banner.hidden {
    transform: translateY(-100%);
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.banner-text {
    font-weight: 500;
}

.banner-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.banner-link {
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.banner-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.banner-btn {
    background: white;
    color: #1e40af;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.banner-btn:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

/* Header positioning handled in critical CSS */

/* Body margin/padding handled in critical CSS and main body rule */

.hero {
    margin-top: 0;
    padding-top: 2rem;
}

/* Client Carousel Styles */
.clients-section {
    background: #f8f9fa;
}

.clients-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    min-height: 250px;
}

.client-slide {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: none;
}

.client-slide.active {
    display: block;
}

.client-logo {
    margin-bottom: 1.5rem;
}

.placeholder-logo {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 8px;
    font-weight: bold;
}

.client-slide h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.client-slide p {
    color: #6c757d;
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: #667eea;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #5a6fd8;
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        gap: 8px;
        padding: 0 1rem;
    }

    .banner-links {
        gap: 0.5rem;
    }

    .banner-text {
        text-align: center;
        font-size: 13px;
    }

    .banner-link, .banner-btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    .client-slide {
        padding: 1.5rem;
    }
    
    .placeholder-logo {
        width: 100px;
        height: 60px;
    }

    .pricing-tools {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .pricing-tool {
        padding: 2rem;
    }
    
    .pricing-tools-section {
        padding: 3rem 0;
    }
    
    .pricing-cta {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .tool-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .pricing-tool h3 {
        font-size: 1.2rem;
    }
}

/* Language Dropdown Styles - Override Webflow */
nav .nav-links .language-dropdown {
    position: relative !important;
    margin-left: 20px !important;
    margin-right: 0 !important;
    margin-top: 6px !important;
    display: inline-block !important;
}

nav .nav-links .language-dropdown .language-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 25px !important;
    height: 25px !important;
    transition: opacity 0.2s ease !important;
    overflow: hidden !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

nav .nav-links .language-dropdown .language-toggle:hover {
    opacity: 0.7 !important;
}

nav .nav-links .language-dropdown .language-toggle span {
    display: none !important;
}

nav .nav-links .language-dropdown .language-toggle div {
    width: 25px !important;
    height: 25px !important;
}

nav .nav-links .language-dropdown .language-list {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    margin-top: 8px !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    z-index: 9999 !important;
    display: none !important;
    min-width: 140px !important;
    overflow: hidden !important;
    padding: 0 !important;
}

nav .nav-links .language-dropdown.active .language-list {
    display: block !important;
}

nav .nav-links .language-dropdown .language-link {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px !important;
    transition: background-color 0.2s ease !important;
    border-bottom: 1px solid #f0f0f0 !important;
    white-space: nowrap !important;
    width: 100% !important;
    gap: 14px !important;
}

nav .nav-links .language-dropdown .language-link:last-child {
    border-bottom: none !important;
}

nav .nav-links .language-dropdown .language-link:hover {
    background-color: #f5f5f5 !important;
}

nav .nav-links .language-dropdown .language-link.current {
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
}

nav .nav-links .language-dropdown .language-link span {
    flex: 1 !important;
}

nav .nav-links .flag-1, 
nav .nav-links .flag-2, 
nav .nav-links .flag-3,
nav .nav-links .flag-4,
nav .nav-links .flag-5 {
    width: 25px !important;
    height: 25px !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: 50% !important;
    border-radius: 100px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

nav .nav-links .flag-1 {
    background-image: url("/assets/61dd4cf2cbf4060ca476f71e_italy.svg") !important;
}

nav .nav-links .flag-2 {
    background-image: url("/assets/61dd4cf2cbf406050c76f70e_spain.svg") !important;
}

nav .nav-links .flag-3 {
    background-image: url("/assets/6267d9b46f5bad175de3ceef_gb.svg") !important;
}

nav .nav-links .flag-4 {
    background-image: url("/assets/france.svg") !important;
}

nav .nav-links .flag-5 {
    background-image: url("/assets/germany.svg") !important;
}

/* Force Override Webflow Language Dropdown */
header nav .nav-links li .language-dropdown .language-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 25px !important;
    height: 25px !important;
    transition: opacity 0.2s ease !important;
    overflow: hidden !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    min-width: 25px !important;
    max-width: 25px !important;
}

header nav .nav-links li .language-dropdown .language-toggle:hover {
    opacity: 0.7 !important;
    background: transparent !important;
    border: none !important;
}

header nav .nav-links li .language-dropdown .language-toggle .flag-1,
header nav .nav-links li .language-dropdown .language-toggle .flag-2,
header nav .nav-links li .language-dropdown .language-toggle .flag-3,
header nav .nav-links li .language-dropdown .language-toggle .flag-4,
header nav .nav-links li .language-dropdown .language-toggle .flag-5 {
    width: 25px !important;
    height: 25px !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: 50% !important;
    border-radius: 100px !important;
    display: block !important;
    margin: 0 !important;
}

header nav .nav-links li .language-dropdown {
    position: relative !important;
    margin-left: 20px !important;
    margin-right: 0 !important;
    margin-top: 6px !important;
    display: inline-block !important;
}

/* Trusted By / Client Logos Section */
.trusted-by-section {
    background: var(--light-gray);
    padding: 2.5rem 0 2rem;
    overflow: hidden;
}

.trusted-by-heading {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1.5rem;
}

.trusted-by-ticker {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.trusted-by-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: trusted-by-scroll 30s linear infinite;
}

.trusted-by-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.trusted-by-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.55);
    transition: filter 0.3s ease;
}

.trusted-by-logo img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes trusted-by-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .trusted-by-section {
        padding: 1.5rem 0;
    }

    .trusted-by-heading {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .trusted-by-track {
        gap: 2rem;
        animation-duration: 20s;
    }

    .trusted-by-logo {
        height: 36px;
    }

    .trusted-by-logo img {
        max-height: 36px;
    }
}
