/* Custom styles for Bootstrap layout */
/* Reset and base styles */

/* Disable all button clicks within navbar-collapse */
.navbar-nav .deactivate-link {
    pointer-events: none;
    cursor: default;
}

.cta-buttons .disabled{
    pointer-events: none;
    cursor: not-allowed;
}

:root {
    /* Nordic-inspired color palette */
    --primary-green-color: #3d7a73;
    --secondary-green-color: #6b9690;
    --light-green-color: #a8c1bc;
    --white-green-color: #e5ece9;
    --background-color: #ffffff;
    --text-color: #2c2c2c;
    --nordic-gray: #f7f7f5;
    --nordic-stone: #e8e8e3;
    --nordic-warm: #f5f3ef;
    --nordic-dark: #454545;
    --nordic-accent: #6b7f78;
    
    /* Responsive spacing variables */
    --content-spacing: 2rem;
    --mobile-spacing: 1rem;
    --button-spacing: 1rem;
    
    /* Responsive font sizes */
    --heading-font-size: 54px;
    --brand-font-size: 46px;
    --desc-font-size: 17px;
    --button-font-size: 16px;
    --card-background-color: #f7f7f5;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    /* Add smooth scrolling behavior */
    scroll-behavior: smooth;
    /* Prevent horizontal scroll */
    overflow-x: hidden;
    width: 100%;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.section-container{
    margin: 0 auto;
    padding-right: 4rem;
    padding-left: 4rem;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
}
.section-sub{
    padding-top: 100px;
}

/* Header container specific styles */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Loading animations keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add video play button animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Header styles */
.header {
    margin-top: 0.7rem;
    z-index: 1000;
    /* Initial loading animation */
    animation: slideInFromTop 0.8s ease-out;
}

.navbar {
    padding: 0.3rem 0;
}

/* Logo styles */
.navbar-brand {
    text-decoration: none !important;
    margin-right: 0;
    /* Logo loading animation */
    animation: fadeInLeft 0.6s ease-out 0.2s both;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.by-99x-container {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
}

.logo-99x {
    height: 16px;
    width: auto;
}

.by-99x {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    pointer-events: none;
}

.logo{
    width: auto;
    height: 40px;
    transition: transform 0.3s ease;
}

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

/* Navigation styles */
.navbar-nav {
    border-radius: 20px;
    padding-right: 1rem !important;
    /* Navigation loading animation */
    animation: fadeInUp 0.6s ease-out 0.4s both;
    /* Add smooth transition for padding changes */
    transition: padding 0.3s ease-in-out;
}

.nav-link {
    color: var(--text-color);
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 0.65rem 0 !important;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #1f2937 !important;
    transform: translateY(-2px);
}

.nav-item {
    /* Staggered animation for nav items */
    opacity: 0;
    animation: fadeInUp 0.4s ease-out forwards;
}

.nav-item:nth-child(1) {
    animation-delay: 0.5s;
}

.nav-item:nth-child(2) {
    animation-delay: 0.6s;
}

.nav-item:nth-child(3) {
    animation-delay: 0.7s;
}


.open-source-btn {
    background-color: #101010 !important;
    color: #ffffff !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 20px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.open-source-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;
}

.open-source-btn:hover::before {
    left: 100%;
}

.open-source-btn:hover {
    background-color: #374151 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

/* Button styles - Override Bootstrap */
.btn-outline-secondary {
    border-color: #d1d5db;
    color: #374151;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 18px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 114, 128, 0.1), transparent);
    transition: left 0.3s;
}

.btn-outline-secondary:hover::before {
    left: 100%;
}

.btn-outline-secondary:hover {
    border-color: #9ca3af;
    background-color: #f9fafb;
    color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.15);
}

.btn-link {
    color: var(--background-color) !important;
    background-color: var(--primary-green-color);
    text-decoration: none !important;
    font-size: 16px;
    font-weight: bold;
    padding: 0.5rem 1rem !important;
    border-radius: 18px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--text-color) !important;
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

/* Auth buttons container animation */
.d-flex.gap-2 {
    animation: fadeInRight 0.6s ease-out 0.6s both;
}

/* Individual button animations */
.d-flex.gap-2 .btn {
    opacity: 0;
    animation: scaleIn 0.4s ease-out forwards;
}

.d-flex.gap-2 .btn:nth-child(1) {
    animation-delay: 0.7s;
}

.d-flex.gap-2 .btn:nth-child(2) {
    animation-delay: 0.8s;
}

.d-flex.gap-2 .btn:nth-child(3) {
    animation-delay: 0.9s;
}

/* Custom gap utility for older Bootstrap versions */
.gap-2 {
    gap: 0.5rem !important;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .d-flex.gap-2 {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 20px;
    }
    
    /* Hide first button only in desktop auth buttons, not mobile auth buttons */
    .d-none.d-lg-flex.gap-2 .btn:first-child {
        display: none;
    }
    
    .btn-sm {
        font-size: 13px;
        padding: 0.375rem 0.75rem;
        min-height: 40px;
    }
}

/* Mobile Auth Buttons Improvements */
@media (max-width: 991px) {
    .mobile-auth-buttons {
        gap: 0.75rem !important;
        justify-content: flex-end;
        margin-left: auto;
    }
    
    /* Remove custom mobile styling to inherit desktop button design */
    .mobile-docs-btn,
    .mobile-login-btn {
        /* Let buttons inherit their default Bootstrap and custom styles */
        min-height: 44px; /* Keep accessibility requirement */
    }
}

/* Enhanced mobile button styling for smaller screens */
@media (max-width: 767px) {
    .mobile-auth-buttons {
        gap: 0.5rem !important;
        justify-content: flex-end;
        width: auto;
        margin-left: auto;
    }
    
    .mobile-docs-btn,
    .mobile-login-btn {
        flex: 0 0 auto;
        max-width: 120px;
        font-size: 13px;
        padding: 0.7rem 1rem;
        border-radius: 10px;
    }
}

/* Extra small screens optimization */
@media (max-width: 575px) {
    .mobile-auth-buttons {
        gap: 0.4rem !important;
        justify-content: flex-end;
        width: auto;
        margin-left: auto;
        padding: 0;
    }
    
    .mobile-docs-btn, 
    .mobile-login-btn {
        min-height: 44px;
        font-size: 12px;
        padding: 0.65rem 0.8rem;
        max-width: 100px;
        border-radius: 15px;
        flex: 0 0 auto;
    }

    .mobile-docs-btn {
        border: 1px solid #000;
    }
}

/* Navbar toggler custom styling */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
    animation: fadeInRight 0.6s ease-out 0.3s both;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:hover {
    transform: scale(1.1);
}

/* Navbar toggler icon animation */
.navbar-toggler-icon {
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(180deg);
}

/* Mobile menu animation */
.navbar-collapse {
    transition: all 0.3s ease;
}

.navbar-collapse.collapsing {
    transition: height 0.3s ease;
}

/* Navbar button styling */
.navbar .btn-outline-primary {
    font-weight: 500;
    border-width: 1.5px;
    transition: all 0.2s ease;
}

.navbar .btn-outline-primary.btn-sm {
    padding: 0.25rem 0.75rem;
}

.navbar .btn-outline-primary:hover {
    background-color: var(--primary-green-color);
    border-color: var(--primary-green-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 139, 131, 0.2);
}

/* Loading state for entire header */
.header.loading {
    opacity: 0;
    transform: translateY(-100%);
}

.header.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

/* Main content */
.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
}



.btn-action {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: var(--button-font-size);
    border-radius: 18px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transform-origin: center;
}

.btn-action-secondary {
    padding: 0.5rem 1.5rem;
    font-weight: 550;
    font-size: var(--button-font-size);
    border-radius: 18px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transform-origin: center;
}


/* Add shimmer effect for all action buttons */
.btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 56, 56, 0.4), transparent);
    transition: left 0.2s ease;
    z-index: 1;
}

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

/* Active click animation */
.btn-action:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

/* Click ripple effect */
.btn-action::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: 0;
}

.btn-action:active::after {
    width: 300px;
    height: 300px;
}

/* Ensure text is above ripple effect */
.btn-action span,
.btn-action i {
    position: relative;
    z-index: 2;
}

.btn-action i {
    margin-left: 0.2rem;
}

.btn-outline-dark.btn-action {
    border-color: #1f2937;
    color: #1f2937;
    background-color: transparent;
}

.btn-outline-dark.btn-action:hover {
    background-color: #1f2937;
    border-color: #1f2937;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.2);
}

.btn-outline-dark.btn-action:active {
    background-color: #374151;
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

/* Dark button specific ripple effect */
.btn-outline-dark.btn-action::after {
    background: transparent;
}

.btn-outline-secondary.btn-action {
    border-color: transparent;
    color: #262626;
    background-color: #f6f6f6;
}

.btn-outline-secondary.btn-action:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.15);
}

.btn-outline-secondary.btn-action:active {
    background-color: #e5e7eb;
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2);
}

/* Secondary button specific shimmer effect */
.btn-outline-secondary.btn-action::before {
    background: linear-gradient(90deg, transparent, rgba(107, 114, 128, 0.2), transparent);
}

/* Enhanced click feedback with subtle bounce */
@keyframes clickBounce {
    0% { transform: translateY(-2px) scale(1); }
    50% { transform: translateY(-4px) scale(0.98); }
    100% { transform: translateY(-2px) scale(1); }
}

.btn-action.clicked {
    animation: clickBounce 0.2s ease;
}


/* High-DPI screens (Retina displays) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Placeholder for Retina-specific optimizations if needed */
}

/* Mobile agent image for small screens */
.mobile-agent-img {
    max-width: 80%;
    height: auto;
    margin: 2rem auto;
    display: block;
}

@media (max-width: 575px) {
    .mobile-agent-img {
        max-width: 70%;
        margin: 1rem auto;
    }
}

@media (max-width: 375px) {
    .mobile-agent-img {
        max-width: 60%;
        margin: 0.5rem auto;
    }
}


/* Feature indicator styles using circles - New Format */
.feature-check,
.feature-partial,
.feature-cross {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 2px;
    text-indent: -9999px; /* Hide any text content */
    overflow: hidden;
    vertical-align: middle;
}

/* Full support - Full color circle */
.feature-check {
    background: var(--primary-green-color);
    border: 2px solid var(--primary-green-color);
}

/* Partial support - Half-filled circle */
.feature-partial {
    background: linear-gradient(90deg, var(--primary-green-color) 50%, transparent 50%);
    border: 2px solid var(--primary-green-color);
}

/* No support - Outline circle only */
.feature-cross {
    background: transparent;
    border: 2px solid #9ca3af;
}

.comparison-table td:hover .feature-check,
.comparison-table td:hover .feature-partial,
.comparison-table td:hover .feature-cross {
    transform: scale(1.2);
}


/* Comparison legend styling */
.comparison-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-text {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive styling for smaller screens */
@media (max-width: 576px) {
    .comparison-legend {
        flex-direction: column;
        gap: 1rem;
    }
}

.section-description{
    color: var(--text-color);
    font-size: 20px;
    font-weight: normal;
}

/* Testimonials Section Styles */

.testimonials {
    background-color: #D9E7E6;
    margin: 120px;
    padding: 2rem;
    border-radius: 50px;
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-container {
    position: relative;
    width: 100%;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    padding: 2rem 2rem;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
}

.testimonial-quote {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    margin-top: 2rem;
}

.author-name {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-position {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    border: #333 1.5px solid;
    border-radius: 50px;
}

/* Navigation Arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.testimonial-nav:hover {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.prev-testimonial {
    left: 10px;
}

.next-testimonial {
    right: 10px;
}

.arrow {
    font-size: 1.2rem;
    color: #333;
}

@media (max-width: 768px) {
    .testimonial-slide {
        padding: 2rem 2rem;
    }
    
    .testimonial-quote {
        font-size: 1.2rem;
    }
    
    .author-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .testimonial-slide {
        padding: 1rem 1rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .author-name {
        font-size: 1rem;
    }
}

/* Footer Styles */
.footer {
    background-color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #666;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-green-color);
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-column {
        align-items: center;
    }
}

/* Final CTA Section Styles */
.final-cta {
    background: var(--nordic-dark);
    color: #ffffff;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta .section-title {
    color: #ffffff !important;
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.2;
    opacity: 1 !important;
    animation: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: initial !important;
    letter-spacing: -0.02em;
}

.final-cta .section-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.final-cta .cta-buttons {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.final-cta .btn {
    padding: 18px 50px;
    font-size: 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 220px;
    position: relative;
    overflow: hidden;
    margin: 0 15px 15px;
}

.final-cta .btn-primary {
    background: var(--primary-green-color);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.final-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    background: var(--secondary-green-color);
}

.final-cta .btn-outline-primary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.final-cta .btn-outline-primary:hover {
    background-color: #ffffff;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.cta-buttons {
    margin: 0 auto;
    font-size: 14px;
    max-width: 800px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .readiness .section-title {
        font-size: 32px;
    }
    
    .readiness .btn {
        min-width: 150px;
        padding: 10px 15px;
        font-size: 14px;
        font-weight:normal;
        white-space: nowrap;
    }
    
    .cta-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
    }
}



/* Animation styles for testimonials, readiness, and footer sections */

/* Common scroll animation styles */
.testimonials .testimonial-content,
.readiness .section-title,
.readiness .cta-buttons,
.footer .footer-content,
.footer .footer-bottom {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonials.in-view .testimonial-content,
.readiness.in-view .section-title,
.readiness.in-view .cta-buttons,
.footer.in-view .footer-content,
.footer.in-view .footer-bottom {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for testimonials */
.testimonials .testimonial-quote {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}

.testimonials .testimonial-author {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.4s;
}

.testimonials.in-view .testimonial-quote,
.testimonials.in-view .testimonial-author {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for testimonial navigation */
.testimonials .testimonial-nav {
    opacity: 0;
    transition: opacity 0.8s ease;
    transition-delay: 0.6s;
}

.testimonials.in-view .testimonial-nav {
    opacity: 1;
}

/* Staggered animation for readiness buttons */
.readiness .btn:nth-child(1) { 
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}

.readiness .btn:nth-child(2) { 
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.4s;
}

.readiness .btn:nth-child(3) { 
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.6s;
}

.readiness.in-view .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for footer elements */
.footer .footer-social {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}

.footer .footer-links {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.4s;
}

.footer.in-view .footer-social,
.footer.in-view .footer-links {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation for new sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonials.loaded .testimonial-slide.active,
.readiness.loaded .section-title,
.footer.loaded .footer-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Special padding classes for navbar based on active button */
body .navbar .navbar-nav.padding-left-reduced {
    padding-left: 0.5rem !important;
    padding-right: 2.5rem !important;
}

body .navbar .navbar-nav.padding-right-reduced {
    padding-left: 2.5rem !important;
    padding-right: 0.5rem !important;
}

body .navbar .navbar-nav.padding-balanced {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}



/* Hero Section Styles */

.hero-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    padding: 2rem 0;
    margin-bottom: 40px;
}

.hero-content {
    z-index: 2;
    position: relative;
    animation: fadeInLeft 0.8s ease-out;
    padding: var(--hero-padding) 0;
}

/* Hero image container styling */
.hero-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    animation: rotateContainer 0.6s ease-out 0.4s both;
}

.hero-image {
    max-width: 100%;
    object-fit: contain;
    margin: auto;
    animation: scaleIn 1.0s ease-out 0.6s both;
}

/* Hero Brand */
.hero-brand {
    margin-bottom: 2.5rem;
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-size: var(--brand-font-size);
    font-weight: 400;
    color: white;
    background-color: var(--primary-green-color);
    padding: 0.01rem 3rem;
    border-radius: 60px;
    display: inline-block;
    animation: scaleIn 0.6s ease-out 0.2s both;
    letter-spacing: 0.5px;
}

/* Hero Heading */
.hero-heading {
    font-size: var(--heading-font-size);
    font-weight: 400;
    line-height: 1.3;
    color: #262626;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Description */
.hero-description {
    font-size: var(--desc-font-size);
    line-height: 1.7;
    color: #262626;
    margin-bottom: 2.5rem;
    max-width: 100%;
    text-align: justify;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-description a {
    color: var(--primary-green-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.hero-description a:hover {
    border-bottom-color: var(--primary-green-color);
}

/* Hero button hover fixes */
.btn-start-pilot.btn-primary {
    background-color: var(--primary-green-color) !important;
    border-color: var(--primary-green-color) !important;
    color: white !important;
}

.btn-start-pilot.btn-primary:hover,
.btn-start-pilot.btn-primary:focus,
.btn-start-pilot.btn-primary:active {
    background-color: var(--primary-green-color) !important;
    border-color: var(--primary-green-color) !important;
    color: white !important;
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 139, 131, 0.3);
}

.btn-talk-expert.btn-outline-primary {
    background-color: transparent !important;
    color: var(--primary-green-color) !important;
    border-color: var(--primary-green-color) !important;
}

.btn-talk-expert.btn-outline-primary:hover,
.btn-talk-expert.btn-outline-primary:focus,
.btn-talk-expert.btn-outline-primary:active {
    background-color: transparent !important;
    color: var(--primary-green-color) !important;
    border-color: var(--primary-green-color) !important;
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 139, 131, 0.2);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn-action {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: var(--button-font-size);
    border-radius: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transform-origin: center;
}

/* Add shimmer effect for all action buttons */
.btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 56, 56, 0.4), transparent);
    transition: left 0.2s ease;
    z-index: 1;
}

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

/* Active click animation */
.btn-action:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

/* Click ripple effect */
.btn-action::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: 0;
}

.btn-action:active::after {
    width: 300px;
    height: 300px;
}

/* Ensure text is above ripple effect */
.btn-action span,
.btn-action i {
    position: relative;
    z-index: 2;
}

.btn-action i {
    margin-left: 0.2rem;
}

.btn-outline-dark.btn-action {
    border-color: var(--text-color);
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
    background-color: transparent;
}

.btn-outline-dark.btn-action:hover {
    background-color: #1f2937;
    border-color: #1f2937;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.2);
}

/* Default desktop styles for hero image alignment */
@media (min-width: 992px) {
    .hero-image-container {
        height: 100%;
        display: flex;
        align-items: center;
        padding-left: 1.5rem;
    }
}



/* MOBILE RESPONSIVE STYLES FOR HERO SECTION */

/* Make sure the image is centered vertically on mobile */
@media (max-width: 991px) {
    .hero-image-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* Extra large screens (1600px and up) */
@media (min-width: 1600px) {

    .hero-heading {
        font-size: 72px;
        line-height: 1.3;
    }

    .brand-text {
        font-size: 64px;
    }

    .hero-description {
        font-size: 21px;
        max-width: 80%;
    }

    .hero-actions .btn-action {
        padding: 0.8rem 2.5rem;
        font-size: 18px;
    }

    .cognitive-loop-container {
        width: 450px;
        height: 450px;
    }

    .circle {
        width: 210px;
        height: 105px;
        font-size: 36px;
    }
}

/* Large screens (2000px to 2600px) */
@media (min-width: 2000px) and (max-width: 2600px) {
    .section-container {
        margin: 0 auto;
        padding-right: 8rem;
        padding-left: 8rem;
    }

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

/* Large screens (1600px to 2000px) */
@media (min-width: 1600px) and (max-width: 2000px) {
    .hero-section {
        padding: 2rem 0;
        margin-top: 1.5rem;
    }
}

/* Large screens (1200px to 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .hero-section {
        padding: 1.5rem 0;
    }

    .hero-heading {
        font-size: 50px;
        margin-bottom: 1.2rem;
    }

    .brand-text {
        font-size: 52px;
        padding: 0.01rem 2.3rem;
    }

    .hero-brand {
        margin-bottom: 2rem;
    }

    .hero-content {
        padding: 1.5rem 0;
    }

    .hero-description {
        margin-bottom: 2rem;
    }
}

/* Medium-large screens (1000px to 1199px) */
@media (min-width: 1000px) and (max-width: 1199px) {
    .hero-section {
        padding: 1.5rem 0;
    }

    .row.min-vh-100 {
        min-height: 70vh !important;
    }

    .hero-content {
        padding: 1.5rem 0;
    }

    .hero-heading {
        font-size: 44px;
        margin-bottom: 1.2rem;
    }

    .brand-text {
        font-size: 46px;
        padding: 0.01rem 1.8rem;
    }

    .hero-brand {
        margin-bottom: 2rem;
    }

    .hero-description {
        margin-bottom: 2rem;
    }

    .cognitive-loop-container {
        width: 320px;
        height: 320px;
        margin-top: -40px;
    }

    .circle {
        width: 140px;
        height: 70px;
        font-size: 24px;
    }
}

/* Tablets and small desktops (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        padding-top: 1rem;
        min-height: auto;
    }

    .row.min-vh-100 {
        min-height: auto !important;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .brand-text {
        font-size: 42px;
        padding: 0.02rem 1.5rem;
        border-radius: 45px;
    }

    .hero-heading {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 2rem;
    }

    /* Centered cognitive loop on tablets */
    .cognitive-loop-container {
        width: 300px;
        height: 300px;
        margin: 1rem auto;
    }

    .circle {
        width: 130px;
        height: 65px;
        font-size: 22px;
        border-width: 3px;
    }

    /* Adjust cognitive loop positioning for tablets */
    .converse {
        top: -8%;
    }

    .act {
        bottom: -8%;
    }
}

/* Landscape phones and tablets (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section {
        padding-top: 1rem;
        min-height: auto;
    }

    .hero-content {
        padding: 1.5rem 0;
        text-align: center;
    }

    .brand-text {
        font-size: 32px;
        padding: 0.01rem 1.1rem;
        border-radius: 32px;
    }

    .hero-heading {
        font-size: 28px;
        margin-bottom: 1.3rem;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 2rem;
        text-align: left;
    }

    .hero-actions {
        justify-content: center;
    }

    /* Make cognitive loop visible on landscape phones */
    .d-none.d-md-block {
        display: block !important;
    }

    .cognitive-loop-container {
        width: 260px;
        height: 260px;
        margin: 2rem auto;
    }

    .circle {
        width: 110px;
        height: 55px;
        font-size: 19px;
        border-width: 3px;
    }
}

/* Small phones (575px and below) */
@media (max-width: 575px) {
    .hero-section {
        padding: 0.5rem 0;
        min-height: auto;
    }

    .hero-content {
        padding: 1rem 0;
        text-align: center;
    }

    .hero-brand {
        margin-bottom: 2rem;
    }

    .brand-text {
        font-size: 26px;
        padding: 0.01rem 1rem;
        border-radius: 26px;
    }

    .hero-heading {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 1.3rem;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 2rem;
        text-align: left;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
    }

    .btn-action {
        width: 100%;
        padding: 0.7rem 1rem;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Show smaller cognitive loop on very small screens */
    .d-none.d-md-block {
        display: block !important;
    }

    .cognitive-loop-container {
        width: 220px;
        height: 220px;
        margin: 1.5rem auto;
    }

    .circle {
        width: 95px;
        height: 48px;
        font-size: 16px;
        border-width: 2px;
    }
}

/* Extra small phones (375px and below) */
@media (max-width: 375px) {
    .hero-content {
        padding: 0.5rem 0;
    }

    .brand-text {
        font-size: 22px;
        padding: 0.01rem 0.8rem;
        border-radius: 22px;
    }

    .hero-heading {
        font-size: 19px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 1rem;
    }

    .cognitive-loop-container {
        width: 160px;
        height: 160px;
        margin: 1rem auto;
    }

    .circle {
        width: 65px;
        height: 32px;
        font-size: 12px;
    }
}

/* Specific orientation styles */
/* Portrait orientation */
@media (max-width: 767.98px) and (orientation: portrait) {
    .hero-content {
        padding-top: 1rem;
    }

    .brand-text {
        padding: 0.01rem 1.5rem;
    }

    /* Optimize for portrait orientation */
    .cognitive-loop-container {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

/* Landscape orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-content {
        padding-top: 0;
        padding-bottom: 0.5rem;
    }

    .hero-description {
        margin-bottom: 1rem;
    }

    .hero-heading {
        font-size: 20px;
        margin-bottom: 0.5rem;
    }

    .brand-text {
        font-size: 18px;
        padding: 0.01rem 0.8rem;
    }

    .row.min-vh-100 {
        min-height: auto !important;
    }

    /* Horizontal layout optimization */
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .btn-action {
        width: auto;
        padding: 0.5rem 1rem;
    }

    .cognitive-loop-container {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }

    .circle {
        width: 60px;
        height: 30px;
        font-size: 12px;
        border-width: 2px;
    }
}

/* Devices with notch (iPhone X and newer) */
@supports (padding-top: env(safe-area-inset-top)) {
    .hero-section {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}


/* Demo Section */

/* Demo Video Section Styles */
.demo-video {
    padding: 5rem 0;
    background-color: transparent;
    overflow: hidden;
    position: relative;
}

.demo-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(66, 139, 131, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: 1;
}

.video-container:hover::before {
    transform: translateX(100%);
}

.demo-video img {
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0.9;
}

.video-container:hover img {
    transform: scale(1.05);
    opacity: 0.95;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.play-button::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.play-button i {
    font-size: 3rem;
    color: var(--primary-green-color);
    margin-left: 5px;
    transition: all 0.3s ease;
}

.video-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.video-container:hover .play-button i {
    color: var(--primary-green-color);
}

.demo-video .row {
    display: flex;
    justify-content: center;
}

/* Video Caption Styles */
.video-caption h4 {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-green-color);
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.video-caption p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Demo video animation */
.demo-img {
    animation: scaleIn 1s ease-out both;
}

/* Scroll-triggered animations */
.demo-video.in-view .demo-img {
    animation-play-state: running;
}

.demo-video.in-view .video-caption h4,
.demo-video.in-view .video-caption p {
    animation-play-state: running;
}

.demo-video:not(.in-view) .demo-img,
.demo-video:not(.in-view) .video-caption h4,
.demo-video:not(.in-view) .video-caption p {
    animation-play-state: paused;
}

/* Video modal styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-modal iframe {
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 675px;
}

.video-modal .close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Demo Video Section Mobile Responsive Styles */

/* Tablet styles */
@media (max-width: 991.98px) {
    .demo-video {
        padding: 3rem 0;
    }
    
    .play-button i {
        font-size: 3.5rem;
    }
    
    .video-caption h4 {
        font-size: 22px;
    }
    
    .video-caption p {
        font-size: 15px;
    }
}

/* Mobile landscape styles */
@media (max-width: 767.98px) {
    .demo-video {
        padding: 2rem 0;
    }
    
    .video-container {
        border-radius: 20px;
    }
    
    .play-button i {
        font-size: 3rem;
    }
    
    .video-caption h4 {
        font-size: 20px;
    }
    
    .video-caption p {
        font-size: 14px;
    }
}

/* Mobile portrait styles */
@media (max-width: 575.98px) {
    .demo-video {
        padding: 1.5rem 0;
    }
    
    .demo-video img {
        border-radius: 8px;
    }
    
    .video-container {
        border-radius: 12px;
    }
    
    .play-button i {
        font-size: 2.5rem;
    }
    
    .video-caption h4 {
        font-size: 18px;
        margin-bottom: 0.3rem;
    }
    
    .video-caption p {
        font-size: 13px;
    }
}

/* Extra small mobile styles */
@media (max-width: 480px) {
    .demo-video {
        padding: 1rem 0;
    }
    
    .play-button i {
        font-size: 2rem;
    }
    
    .video-container {
        border-radius: 8px;
    }
    
    .video-caption h4 {
        font-size: 16px;
    }
    
    .video-caption p {
        font-size: 12px;
    }
}

/* Video modal mobile styles */
@media (max-width: 767.98px) {
    .video-modal iframe {
        width: 95%;
        height: 80%;
    }
    
    .video-modal .close-button {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

@media (max-width: 575.98px) {
    .video-modal iframe {
        width: 98%;
        height: 70%;
    }
    
    .video-modal .close-button {
        top: 5px;
        right: 10px;
        font-size: 25px;
    }
}
/* End Demo Section */


/* The Problem Section Styles */
/* Nordic Problem Section - Enhanced Modern Design */
.the-problem-nordic {
    background: var(--nordic-gray);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--nordic-stone);
    border-bottom: 1px solid var(--nordic-stone);
}



.problem-header {
    margin-bottom: 5rem;
    position: relative;
}

.section-title-nordic {
    font-size: 48px;
    font-weight: 650;
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 50%, #1a2332 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.problem-subtitle {
    font-size: 21px;
    color: #64748b;
    font-weight: 450;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.problem-points {
    margin-bottom: 4rem;
}

.problem-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.problem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #dc3545 0%, #ff6b6b 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.problem-item:hover::before {
    transform: scaleY(1);
}

.problem-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.problem-icon {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.problem-icon::after {
    content: '!';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.problem-item p {
    margin: 0;
    font-size: 19px;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

/* Problem Grid - Enhanced Modern Nordic Design */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 6rem;
    position: relative;
}

.problem-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%),
        linear-gradient(135deg, transparent 0%, rgba(66, 139, 131, 0.01) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(203, 213, 225, 0.4) 20%, 
        rgba(148, 163, 184, 0.6) 50%, 
        rgba(203, 213, 225, 0.4) 80%, 
        transparent 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px 20px 0 0;
}

.problem-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(66, 139, 131, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.problem-card:hover::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(66, 139, 131, 0.3) 20%, 
        rgba(66, 139, 131, 0.7) 50%, 
        rgba(66, 139, 131, 0.3) 80%, 
        transparent 100%);
}

.problem-card:hover::after {
    opacity: 1;
}

.problem-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(66, 139, 131, 0.15);
}

.problem-card-icon {
    width: 56px;
    height: 56px;
    background: 
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.problem-card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-green-color), #5a9e96);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.problem-card-icon i {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.problem-card:hover .problem-card-icon::before {
    opacity: 1;
}

.problem-card:hover .problem-card-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 
        0 8px 24px rgba(66, 139, 131, 0.25),
        0 4px 12px rgba(66, 139, 131, 0.15);
}

.problem-card:hover .problem-card-icon i {
    color: white;
}

.problem-card-content h4 {
    font-size: 22px;
    font-weight: 650;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.problem-card-content p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.005em;
}

/* Solution Box */
.solution-box {
    background: linear-gradient(135deg, #e8f4f2 0%, #d0e8e5 100%);
    padding: 60px;
    border-radius: 24px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(66, 139, 131, 0.15);
}

.solution-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

.solution-box h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green-color);
    margin-bottom: 3rem;
    position: relative;
}

.solution-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-10px);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(66, 139, 131, 0.2);
    transition: all 0.3s ease;
}

/* Nordic Solution Section - Enhanced Modern Design */
.solution-nordic {
    /* background: #fafbfc; */
    border-radius: 24px;
    padding: 1rem;
    margin-top: 0rem;
    position: relative;
    /* border: 1px solid rgba(229, 231, 235, 0.8); */
}



@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.solution-header {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.solution-header h3 {
    font-size: 42px;
    font-weight: 650;
    /* Fallback color for better visibility */
    color: #1a2332;
    /* Nordic gradient matching section titles */
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 50%, #1a2332 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
    padding: 0.1em 0 0.15em 0;
    display: inline-block;
    position: relative;
    /* Remove text shadow for cleaner Nordic look */
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    .solution-header h3 {
        color: var(--primary-green-color);
        background: none;
        -webkit-text-fill-color: unset;
        font-weight: 700;
    }
}

/* No underline for consistent styling */

.solution-header p {
    font-size: 20px;
    color: #64748b;
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
    letter-spacing: -0.005em;
}

.solution-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(229, 231, 235, 0.6);
    transition: all 0.3s ease;
    height: 100%;
}

.solution-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(66, 139, 131, 0.2);
}

.solution-feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green-color), #5a9e96);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.solution-feature:hover .solution-feature-icon {
    transform: scale(1.05);
}

.solution-feature-content h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.solution-feature-content p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced Solution Grid - Modern Nordic Design */
.solution-advantage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.solution-advantage-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--nordic-stone);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}



.solution-advantage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-green-color);
}

.solution-advantage-icon {
    width: 240px;
    height: 240px;
    background: var(--nordic-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 1.5rem;
    border: 1px solid var(--nordic-stone);
}

.solution-advantage-card:hover .solution-image {
    transform: scale(1.05);
}

/* Solution Image Styles - Simplified */
.solution-image {
    width: 220px;
    height: 220px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Temporarily keep nordic-image-container for fallback */
.nordic-image-container {
    width: 240px;
    height: 240px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 1.5rem;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

/* Removed complex nordic-image-backdrop styles for simplicity */

/* Responsive adjustments for simplified solution images */
@media (max-width: 1199px) {
    .solution-advantage-icon {
        width: 240px;
        height: 240px;
    }
    
    .solution-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 991px) {
    .solution-advantage-icon {
        width: 240px;
        height: 240px;
    }
    
    .solution-image {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 767px) {
    .solution-nordic {
        padding: 3rem 1.5rem;
        margin-top: 1rem;
        border-radius: 20px;
    }
    
    .solution-header h3 {
        font-size: 32px;
    }
    
    .solution-header p {
        font-size: 18px;
    }
    
    .solution-advantage-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .solution-advantage-icon {
        width: 240px;
        height: 240px;
        margin-bottom: 0.5rem;
    }
    
    .solution-image {
        width: 80px;
        height: 80px;
    }
    
    .solution-advantage-content h4 {
        font-size: 22px;
    }
    
    .solution-advantage-content p {
        font-size: 16px;
    }
}

.solution-advantage-content h4 {
    font-size: 26px;
    font-weight: 650;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.solution-advantage-content p {
    font-size: 17px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.solution-advantage-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.solution-feature-item {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
    position: relative;
    padding-left: 1.25rem;
    transition: color 0.3s ease;
}

.solution-feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-green-color), #5a9e96);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(66, 139, 131, 0.3);
}

.solution-advantage-card:hover .solution-feature-item {
    color: #475569;
}

.solution-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(66, 139, 131, 0.3);
}

.solution-icon i {
    color: var(--primary-green-color);
    font-size: 32px;
}

.solution-item p {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    line-height: 1.6;
}





/* The Agentri Advantage Section Styles */
.agentri-advantage {
    padding: 120px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.agentri-advantage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 50%, rgba(66, 139, 131, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 90% 50%, rgba(66, 139, 131, 0.03) 0%, transparent 30%);
    pointer-events: none;
}

.agentri-advantage .section-title {
    font-size: 52px;
    font-weight: 400;
    background: linear-gradient(135deg, #333 0%, var(--primary-green-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
}

.advantage-card {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(66, 139, 131, 0.1);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green-color) 0%, var(--secondary-green-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
    font-size: 56px;
    background: linear-gradient(135deg, var(--primary-green-color) 0%, var(--secondary-green-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(-5deg);
}

.advantage-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.advantage-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Staggered animation for advantage cards */
.agentri-advantage .advantage-card {
    opacity: 0;
    transform: translateY(40px);
}

.agentri-advantage.in-view .advantage-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.agentri-advantage.in-view .col-lg-4:nth-child(1) .advantage-card {
    transition-delay: 0.1s;
}

.agentri-advantage.in-view .col-lg-4:nth-child(2) .advantage-card {
    transition-delay: 0.2s;
}

.agentri-advantage.in-view .col-lg-4:nth-child(3) .advantage-card {
    transition-delay: 0.3s;
}

/* Nordic Agentri Advantage Section */
.agentri-advantage-nordic {
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    padding: 120px 0;
    position: relative;
}

.agentri-advantage-nordic::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(66, 139, 131, 0.1) 50%, transparent 100%);
}

.advantage-header {
    margin-bottom: 4rem;
}

.advantage-header .section-title-nordic {
    font-size: 48px;
    font-weight: 400;
    color: #1a2332;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.advantage-subtitle {
    font-size: 20px;
    color: #6b7280;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Advantage Grid - Nordic Design */
.advantage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.advantage-card-nordic {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(229, 231, 235, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.advantage-card-nordic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-green-color) 50%, transparent 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 16px 16px 0 0;
}

.advantage-card-nordic:hover::before {
    transform: scaleX(1);
}

.advantage-card-nordic:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(66, 139, 131, 0.2);
}

.advantage-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-green-color), #5a9e96);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.advantage-card-nordic:hover .advantage-card-icon {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 8px 20px rgba(66, 139, 131, 0.3);
}

.advantage-card-content h4 {
    font-size: 24px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.advantage-card-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.advantage-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.advantage-feature {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
    position: relative;
    padding-left: 0.5rem;
}

.advantage-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 4px;
    height: 4px;
    background: var(--primary-green-color);
    border-radius: 50%;
    transform: translateX(-0.25rem);
}


/* Ready-to-Use Agents Section Styles */
.ready-agents {
    background: #ffffff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Ready agents section title uses unified style */

.ready-agents .section-subtitle {
    font-size: 22px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* Original Agent Card Styles (preserved for backward compatibility) */
.agent-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.agent-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(66, 139, 131, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.agent-card:hover::before {
    opacity: 1;
}

.agent-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Nordic Design Agent Cards */
.agent-card.nordic-design {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--nordic-stone);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    overflow: visible;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.agent-card.nordic-design::before {
    display: none;
}

.agent-card.nordic-design:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-green-color);
}

.agent-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 40px 20px;
    position: relative;
}

.agent-image-background {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: #f8fdfc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /*border: 2px solid #428b83;*/
    transition: all 0.3s ease;
}

.agent-card.nordic-design:hover .agent-image-background {
    /*border-color: #428b83;*/
    transform: scale(1.02);
}

.agent-avatar {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.agent-card.nordic-design:hover .agent-avatar {
    transform: scale(1.05);
}

.agent-content {
    padding: 0 30px 35px;
    text-align: center;
}

.agent-header-nordic {
    margin-bottom: 25px;
}

.agent-header-nordic h3 {
    font-size: 26px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.agent-role {
    font-size: 16px;
    color: var(--primary-green-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.agent-body-nordic {
    text-align: left;
}

.agent-body-nordic ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agent-body-nordic li {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 28px;
}

.agent-body-nordic li:last-child {
    margin-bottom: 0;
}

.agent-body-nordic li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary-green-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.agent-body-nordic li span {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 400;
    display: block;
}

.agent-body-nordic li span strong {
    color: #333;
    font-weight: 600;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

.agent-body-nordic li span br {
    display: block;
    content: "";
    margin-bottom: 2px;
}

/* Agent Feature Collapsible Styles */
.agent-feature-item {
    margin-bottom: 10px;
    padding-left: 0 !important;
    display: block !important;
    border-radius: 12px;
    background: rgba(66, 139, 131, 0.03);
    border: 1px solid rgba(66, 139, 131, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.agent-feature-item:hover {
    background: rgba(66, 139, 131, 0.05);
    border-color: rgba(66, 139, 131, 0.15);
}

.agent-feature-item:last-child {
    margin-bottom: 0;
}

.agent-feature-item::before {
    display: none !important;
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.feature-header:hover {
    background-color: rgba(66, 139, 131, 0.05);
}

.feature-header strong {
    color: #333;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
}

.feature-toggle {
    color: var(--primary-green-color);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.agent-feature-item.expanded .feature-toggle {
    transform: rotate(180deg);
}

.feature-description {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.agent-feature-item.expanded .feature-description {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

/* Legacy styles for backward compatibility */
.agent-header {
    background: linear-gradient(135deg, var(--primary-green-color) 0%, var(--secondary-green-color) 100%);
    color: white;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
}

.agent-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.agent-header h3 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.agent-header p {
    font-size: 20px;
    opacity: 0.95;
    margin: 0;
    position: relative;
    z-index: 1;
}

.agent-body {
    padding: 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.agent-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agent-body li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 35px;
}

.agent-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-green-color) 0%, var(--secondary-green-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-body li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 6px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.agent-body li span {
    color: #444;
    line-height: 1.7;
    font-size: 17px;
}

/* Animation for agent cards */
.ready-agents .agent-card {
    opacity: 0;
    transform: translateY(50px);
}

.ready-agents.in-view .agent-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ready-agents.in-view .col-lg-4:nth-child(1) .agent-card {
    transition-delay: 0.1s;
}

.ready-agents.in-view .col-lg-4:nth-child(2) .agent-card {
    transition-delay: 0.2s;
}

.ready-agents.in-view .col-lg-4:nth-child(3) .agent-card {
    transition-delay: 0.3s;
}


/* How It Works Section Styles */
.how-it-works {
    padding: 120px 0;
    background: var(--nordic-gray);
    position: relative;
    overflow: hidden;
}

.how-it-works::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(66, 139, 131, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* How it works section title uses unified style */
.how-it-works .section-title {
    margin-bottom: 5rem;
    color: var(--nordic-dark);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-green-color) 0%, var(--secondary-green-color) 100%);
    opacity: 0.3;
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-left: 100px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateX(-30px);
}

.how-it-works.in-view .process-step {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-it-works.in-view .process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.how-it-works.in-view .process-step:nth-child(2) {
    transition-delay: 0.2s;
}

.how-it-works.in-view .process-step:nth-child(3) {
    transition-delay: 0.3s;
}

.how-it-works.in-view .process-step:nth-child(4) {
    transition-delay: 0.4s;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid var(--primary-green-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-green-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: var(--primary-green-color);
    color: white;
}

.step-content {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
    margin-left: 10px;
    border: 1px solid var(--nordic-stone);
}

.step-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 35px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 20px solid white;
}

.process-step:hover .step-content {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.step-content h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--nordic-dark);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 18px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.cta-section {
    margin-top: 80px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.how-it-works.in-view .cta-section {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease 0.5s;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--primary-green-color) 0%, var(--secondary-green-color) 100%);
    border: none;
    padding: 16px 48px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(66, 139, 131, 0.3);
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(66, 139, 131, 0.4);
}


/* Enterprise Roles Accordion Section Styles */
.enterprise-roles-accordion {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.enterprise-roles-accordion::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(66, 139, 131, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Enterprise roles accordion section title uses unified style */

.enterprise-roles-accordion .section-subtitle {
    font-size: 24px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* Accordion Container */
.roles-accordion-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Accordion Items */
.role-accordion-item {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.role-accordion-item:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.role-accordion-item.active {
    border-color: var(--primary-green-color);
    box-shadow: 0 20px 60px rgba(66, 139, 131, 0.15);
}

/* Accordion Row Layout */
.role-accordion-row {
    display: flex;
    align-items: stretch;
    min-height: 200px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Expanded state - switch to vertical layout with image on top */
.role-accordion-item.active .role-accordion-row {
    flex-direction: column;
}

/* Image Side */
.role-image-side {
    flex: 0 0 350px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f5f3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-image-side img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-accordion-item:hover .role-image-side img {
    transform: scale(1.05);
}

/* Expanded Image State - Full width at top */
.role-accordion-item.active .role-image-side {
    flex: 1 1 auto;
    height: 400px;
    background: linear-gradient(135deg, #e9f5f3 0%, #d4edda 100%);
    box-shadow: inset 0 0 50px rgba(66, 139, 131, 0.1);
    border-radius: 0;
    margin: 0 -2px;
}

.role-accordion-item.active .role-image-side img {
    max-height: 360px;
    transform: scale(1.1);
    filter: brightness(1.05) contrast(1.05);
}

/* Content Side */
.role-content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Accordion Header */
.role-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.role-accordion-header:hover {
    background: rgba(66, 139, 131, 0.03);
}

.header-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-green-color);
    margin-bottom: 0.5rem;
}

.header-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.role-description {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Accordion Toggle */
.accordion-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-green-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.accordion-toggle i {
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.role-accordion-item.active .accordion-toggle {
    background: #333;
}

.role-accordion-item.active .accordion-toggle i {
    transform: rotate(45deg);
}

/* Accordion Body */
.role-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 40px;
}

.role-accordion-item.active .role-accordion-body {
    max-height: 600px;
    padding: 0 40px 40px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.feature-box {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: #e9f5f3;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-box i {
    font-size: 32px;
    color: var(--primary-green-color);
    margin-bottom: 15px;
    display: block;
}

.feature-box h5 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Role-specific accent colors */
.role-accordion-item[data-role="administrators"] .accordion-toggle {
    background: #346e68;
}

.role-accordion-item[data-role="developers"] .accordion-toggle {
    background: #489990;
}

.role-accordion-item[data-role="users"] .accordion-toggle {
    background: #66a39d;
}

/* Animation for accordion items */
.enterprise-roles-accordion .role-accordion-item {
    opacity: 0;
    transform: translateY(40px);
}

.enterprise-roles-accordion.in-view .role-accordion-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.enterprise-roles-accordion.in-view .role-accordion-item:nth-child(1) {
    transition-delay: 0.1s;
}

.enterprise-roles-accordion.in-view .role-accordion-item:nth-child(2) {
    transition-delay: 0.2s;
}

.enterprise-roles-accordion.in-view .role-accordion-item:nth-child(3) {
    transition-delay: 0.3s;
}


/* Why Agentri Section Styles */
.why-agentri {
    background: var(--nordic-warm);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Why Agentri section title uses unified style */
.why-agentri .section-title {
    margin-bottom: 4rem;
}

.why-card {
    background: white;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--nordic-stone);
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-green-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}


.why-icon i {
    color: white;
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.why-card h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2c3e50;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.why-card:hover h4 {
    color: var(--primary-green-color);
}

.why-card p {
    color: #5a6c7d;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.why-card:hover p {
    color: #4a5568;
}

/* Staggered animations */
.why-agentri .why-card {
    opacity: 0;
    transform: translateY(30px);
}

.why-agentri.in-view .why-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-agentri.in-view .col-lg-4:nth-child(1) .why-card { transition-delay: 0.05s; }
.why-agentri.in-view .col-lg-4:nth-child(2) .why-card { transition-delay: 0.1s; }
.why-agentri.in-view .col-lg-4:nth-child(3) .why-card { transition-delay: 0.15s; }
.why-agentri.in-view .col-lg-4:nth-child(4) .why-card { transition-delay: 0.2s; }
.why-agentri.in-view .col-lg-4:nth-child(5) .why-card { transition-delay: 0.25s; }
.why-agentri.in-view .col-lg-4:nth-child(6) .why-card { transition-delay: 0.3s; }


/* Enterprise Integrations Section Styles */
.enterprise-integrations {
    padding: 120px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

/* Enterprise integrations section title uses unified style */
.enterprise-integrations .section-title {
    margin-bottom: 2rem;
}

.enterprise-integrations .section-description {
    font-size: 22px;
    color: #666;
    margin-bottom: 4rem;
}

.integration-list {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.integration-list::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(66, 139, 131, 0.03) 0%, transparent 40%);
    animation: rotate 40s linear infinite;
}

.integration-item {
    padding: 25px 30px;
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.integration-item:last-child {
    margin-bottom: 0;
}

.integration-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.integration-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green-color) 0%, var(--secondary-green-color) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 20px rgba(66, 139, 131, 0.2);
    transition: all 0.3s ease;
}

.integration-item:hover .integration-icon {
    transform: rotate(5deg) scale(1.05);
}

.integration-icon i {
    font-size: 32px;
    color: white;
}

.integration-item h4 {
    margin: 0;
    font-size: 22px;
    color: #333;
    font-weight: 600;
}

/* Animation */
.enterprise-integrations .integration-list {
    opacity: 0;
    transform: translateY(30px);
}

.enterprise-integrations.in-view .integration-list {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.enterprise-integrations .integration-item {
    opacity: 0;
    transform: translateX(-20px);
}

.enterprise-integrations.in-view .integration-item {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.enterprise-integrations.in-view .integration-item:nth-child(1) {
    transition-delay: 0.1s;
}

.enterprise-integrations.in-view .integration-item:nth-child(2) {
    transition-delay: 0.2s;
}

.enterprise-integrations.in-view .integration-item:nth-child(3) {
    transition-delay: 0.3s;
}


/* Trusted Implementation Partner Section Styles */
.implementation-partner {
    background: var(--nordic-warm);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Implementation partner section title uses unified style */
.implementation-partner .section-title {
    margin-bottom: 2rem;
}

.implementation-partner .section-description {
    font-size: 22px;
    color: #666;
    margin-bottom: 4rem;
}

.partner-card {
    background: white;
    padding: 60px 50px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--nordic-stone);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-green-color);
}

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

.partner-image {
    margin-bottom: 2rem;
}

.partner-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

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

.partner-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green-color);
    margin-bottom: 8px;
}

.partner-card p {
    font-size: 22px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-details a {
    color: var(--primary-green-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.contact-details a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green-color);
    transition: width 0.3s ease;
}

.contact-details a:hover::after {
    width: 100%;
}

.contact-details i {
    margin-right: 10px;
    color: var(--primary-green-color);
    font-size: 20px;
}

/* Animation */
.implementation-partner .partner-card {
    opacity: 0;
    transform: translateY(30px);
}

.implementation-partner.in-view .partner-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Why Choose Section */
.section {
    padding: 5rem 0;
}

/* Unified Modern Nordic Section Title */
.section-title {
    font-size: 48px;
    font-weight: 500;
    color: var(--nordic-dark);
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.25;
    padding: 0.1em 0 0.15em 0;
    display: inline-block;
}

/* Fix centering for titles with text-center class */
.text-center .section-title,
.section-title.text-center {
    display: block;
    text-align: center;
}

/* Keep Nordic title as alias for consistency */
.section-title-nordic {
    font-size: 48px;
    font-weight: 400;
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 50%, #1a2332 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.25;
    padding: 0.1em 0 0.15em 0;
    display: inline-block;
}

/* Fix centering for Nordic titles with text-center class */
.text-center .section-title-nordic,
.section-title-nordic.text-center {
    display: block;
    text-align: center;
}

/* Fix centering for solution header with text-center class */
.text-center .solution-header h3,
.solution-header.text-center h3 {
    display: block;
    text-align: center;
}

/* Why choose section container */
.why-choose {
    background-color: var(--background-color);
    padding: 2rem 0;
}

.why-choose h2 {
    font-size: 64px;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-color);
    padding-bottom: 3rem;
    /* Animation now handled by scroll animation */
}

/* Feature cards */
.feature-card {
    background-color: var(--card-background-color);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Animation now handled by scroll animation */
}

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

/* Feature icons */
.feature-icon {
    background-color: var(--primary-green-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
}

/* Feature content */
.feature-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Scroll animations */
.why-choose .section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-choose .feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: calc(0.1s * var(--animation-order, 0));
}

.why-choose.in-view .section-title {
    opacity: 1;
    transform: translateY(0);
}

.why-choose.in-view .feature-card {
    opacity: 1;
    transform: translateY(0);
}

/* Animation ordering for staggered effect */
.why-choose .col-lg-4:nth-child(1) .feature-card { --animation-order: 1; }
.why-choose .col-lg-4:nth-child(2) .feature-card { --animation-order: 2; }
.why-choose .col-lg-4:nth-child(3) .feature-card { --animation-order: 3; }
.why-choose .col-lg-4:nth-child(4) .feature-card { --animation-order: 4; }
.why-choose .col-lg-4:nth-child(5) .feature-card { --animation-order: 5; }



/* Why Choose Section Mobile Responsive Styles */

/* Tablet and below styles */
@media (max-width: 991.98px) {
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .why-choose h2 {
        font-size: 2.5rem;
        padding-bottom: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
}

/* Mobile styles */
@media (max-width: 575.98px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .why-choose {
        padding: 1.5rem 0;
    }
    
    .why-choose h2 {
        font-size: 2rem;
        padding-bottom: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.25rem;
    }
    
    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
    .why-choose h2 {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 0.75rem;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
    }
    
    .feature-icon i {
        font-size: 1.1rem;
    }
    
    .feature-title {
        font-size: 0.95rem;
    }
    
    .feature-description {
        font-size: 0.8rem;
    }
}
/* End Why Choose Section */




/* Agent-visualization styles */
/* Feature Tabs */
.feature-tabs {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    width: 100%;
    text-align: center;
}

/* Only apply animation properties when JavaScript is available */
.js-enabled .feature-tabs {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-tabs.in-view,
.js-enabled .feature-tabs.in-view {
    opacity: 1;
    transform: translateY(0);
}

.feature-tabs .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.tabs-container {
    display: inline-flex;
    background-color: #f5f5f5;
    border-radius: 25px;
    padding: 5px;
    margin: 0 auto;
}

.feature-tabs .tab {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-tabs .tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: height 0.3s ease;
}

.feature-tabs .tab:hover::after {
    height: 100%;
}

.feature-tabs .tab.active {
    background-color: #000;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Agent Visualization Section Styles */
.agent-visualization {
    background-color: #f8f8f8;
    padding: 80px;
    margin: 60px;
    border-radius: 50px;
}

/* Ensure content is always visible by default */
.agent-visualization .section-title,
.agent-visualization .section-description,
.agent-visualization .visualization-demo {
    opacity: 1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visualization-demo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: opacity 0.4s ease;
}

.agent-visualization .section-title {
    font-size: 56px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
    transition: opacity 0.4s ease;
}

.agent-visualization .section-description {
    transition: opacity 0.4s ease;
    font-size: 16px;
    line-height: 1.6;
    color: #838383;
    padding-top: 10px;
}

/* Only apply animation properties when JavaScript is available */
.js-enabled .agent-visualization .section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled .agent-visualization .section-description {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}

.agent-visualization .visualization-demo {
    display: flex;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Only apply animation properties when JavaScript is available */
.js-enabled .agent-visualization .visualization-demo {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.4s;
}

.agent-visualization.in-view .section-title,
.agent-visualization.in-view .section-description,
.agent-visualization.in-view .visualization-demo,
.js-enabled .agent-visualization.in-view .section-title,
.js-enabled .agent-visualization.in-view .section-description,
.js-enabled .agent-visualization.in-view .visualization-demo {
    opacity: 1;
    transform: translateY(0);
}

/* Panel Styles */
.panel {
    flex: 1;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    opacity: 1 !important; /* Ensure panels are always visible */
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.panel.animated {
    animation: panel-pulse 0.4s ease-in-out;
}

@keyframes panel-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.panel-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.panel-controls .control-icon {
    color: #999;
    cursor: pointer;
    font-size: 14px;
}

.panel-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background-color: #fff;
}

/* Task Panel Specific Styles */
.task-panel {
    min-width: 320px;
    margin-right: 5px;
}

.user-message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
}

.message-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.message-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.agent-message {
    margin-bottom: 20px;
    padding-left: 44px;
}

.task-status {
    margin: 20px 0;
    padding-left: 44px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.status-item.completed i {
    color: #4CAF50;
}

.session-ended {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-top: 20px;
    color: #777;
    font-size: 13px;
}

.new-conversation {
    margin-top: 20px;
    text-align: center;
}

.btn-icon {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    padding: 4px;
}

/* Workspace Panel Specific Styles */
.workspace-panel {
    min-width: 380px;
}

.workspace-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.workspace-tabs .tab {
    padding: 8px 16px;
    font-size: 14px;
    color: #777;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.workspace-tabs .tab.active {
    color: #333;
    font-weight: 500;
    border-bottom-color: #428b83;
}

.terminal {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 12px;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.5;
    height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
    position: relative;
}

.terminal-line {
    margin-bottom: 8px;
}

.terminal-prompt {
    color: #777;
    padding: 2px 6px;
    background-color: #e8e8e8;
    border-radius: 4px;
    margin-right: 8px;
    font-size: 12px;
    display: inline-block;
}

.terminal-output {
    display: block;
    padding-top: 8px;
    color: #333;
}

.file-path {
    color: #428b83;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.test-output {
    color: #333;
    display: block;
    padding-left: 12px;
}

/* Add dot indicators */
.terminal:after {
    content: '';
    position: absolute;
    right: 15px;
    top: 15px;
    width: 8px;
    height: 8px;
    background-color: #428b83;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(66, 139, 131, 0.3);
}

.terminal:before {
    content: '';
    position: absolute;
    right: 30px;
    top: 15px;
    width: 8px;
    height: 8px;
    background-color: #428b83;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(66, 139, 131, 0.3);
}

.terminal-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive adjustments */
/* Large Desktop and below (up to 1400px) */
@media (max-width: 1400px) {
    .agent-visualization {
        padding: 70px;
        margin: 50px;
    }
    
    .agent-visualization .section-title {
        font-size: 54px;
    }
    
    .visualization-demo {
        max-width: 900px;
    }
}

/* Medium Desktop (up to 1200px) */
@media (max-width: 1200px) {
    .agent-visualization {
        padding: 60px;
        margin: 40px;
        border-radius: 40px;
    }
    
    .agent-visualization .section-title {
        font-size: 48px;
    }
    
    .visualization-demo {
        max-width: 800px;
    }
}

/* Small Desktop and Tablet Landscape (up to 992px) */
@media (max-width: 992px) {
    .agent-visualization {
        padding: 50px;
        margin: 30px;
        border-radius: 30px;
    }
    
    .agent-visualization .section-title {
        font-size: 42px;
    }
    
    .agent-visualization .section-description {
        font-size: 15px;
    }
    
    .visualization-demo {
        flex-direction: column;
        max-width: 600px;
        gap: 20px;
    }
    
    .panel {
        width: 100%;
    }
    
    .feature-tabs .tab {
        padding: 6px 16px;
        font-size: 14px;
    }
}

/* Tablet Portrait (up to 768px) */
@media (max-width: 768px) {
    .agent-visualization {
        padding: 40px 30px;
        margin: 25px;
        border-radius: 25px;
    }
    
    .agent-visualization .section-title {
        font-size: 36px;
        line-height: 1.3;
    }
    
    .agent-visualization .section-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .visualization-demo {
        padding: 8px;
        border-radius: 10px;
    }
    
    .panel-header {
        padding: 10px 12px;
    }
    
    .panel-title {
        font-size: 15px;
    }
    
    .terminal {
        height: 250px;
    }
    
    .user-message {
        gap: 8px;
    }
    
    .message-text {
        font-size: 13px;
    }
    
    .feature-tabs .tab {
        padding: 5px 14px;
        font-size: 13px;
    }
    
    .tabs-container {
        border-radius: 20px;
    }
}

/* Mobile Landscape (up to 576px) */
@media (max-width: 576px) {
    .agent-visualization {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .agent-visualization .row {
        flex-direction: row;
    }
    
    .agent-visualization .section-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .agent-visualization .section-description {
        padding-top: 0;
    }
    
    .visualization-demo {
        flex-direction: row;
        max-height: 400px;
    }
    
    .panel {
        min-height: 300px;
        max-height: 400px;
        overflow-y: auto;
    }
    
    .terminal {
        height: 150px;
    }
}

/* Mobile Portrait (up to 414px) */
@media (max-width: 414px) {
    .agent-visualization {
        padding: 25px 15px;
        margin: 15px 5px;
    }
    
    .agent-visualization .section-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .agent-visualization .section-description {
        font-size: 13px;
    }
    
    .visualization-demo {
        padding: 5px;
        gap: 10px;
    }
    
    .panel-header {
        padding: 8px 10px;
    }
    
    .panel-title {
        font-size: 14px;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .message-meta {
        font-size: 11px;
    }
    
    .message-text {
        font-size: 12px;
    }
    
    .task-status {
        padding-left: 28px;
    }
    
    .status-item {
        font-size: 12px;
    }
    
    .feature-tabs .tab {
        padding: 4px 10px;
        font-size: 11px;
        min-width: 80px;
    }
}

/* Very Small Mobile (up to 320px) */
@media (max-width: 320px) {
    .agent-visualization {
        padding: 20px 10px;
        margin: 10px 5px;
    }
    
    .agent-visualization .section-title {
        font-size: 24px;
    }
    
    .feature-tabs .tab {
        padding: 3px 8px;
        font-size: 10px;
        min-width: 60px;
    }
    
    .terminal {
        height: 180px;
        padding: 8px;
    }
    
    .terminal-prompt {
        font-size: 10px;
    }
    
    .test-output {
        font-size: 10px;
        padding-left: 8px;
    }
}

/* Button styling */
.btn-primary {
    background-color: var(--primary-green-color);
    border-color: var(--primary-green-color);
    color: #fff;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(66, 139, 131, 0.3);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #357a73;
    border-color: #357a73;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 139, 131, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(66, 139, 131, 0.3);
}

/* Outline button style */
.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--primary-green-color);
    color: var(--primary-green-color);
    transition: all 0.3s ease;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-outline-primary:hover {
    background-color: var(--primary-green-color);
    border-color: var(--primary-green-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 139, 131, 0.3);
}

.btn-outline-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(66, 139, 131, 0.3);
}

/* Green primary button hover effects (for Get Started buttons) */
.btn-primary[style*="428b83"] {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary[style*="428b83"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary[style*="428b83"]:hover {
    background-color: #357a73 !important;
    border-color: #357a73 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 139, 131, 0.4);
}

.btn-primary[style*="428b83"]:hover::before {
    width: 100%;
}

.btn-primary[style*="428b83"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(66, 139, 131, 0.3);
}

/* Button focus states for accessibility */
.btn-primary:focus,
.btn-outline-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 139, 131, 0.25);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--primary-green-color);
    outline-offset: 2px;
}

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

/* Special styling for terminal color indicators */
.terminal-line .test-output:nth-child(odd) {
    color: #333;
}

.terminal-line .test-output:nth-child(even) {
    color: #555;
}

/* Fix for panel visibility */
.panel {
    opacity: 1 !important; /* Ensure panels are always visible */
}

/* Only apply animations when JavaScript is enabled */
.js-enabled .panel {
    opacity: 0 !important;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled .task-panel {
    transition-delay: 0.5s;
}

.js-enabled .workspace-panel {
    transition-delay: 0.7s;
}

.js-enabled .agent-visualization.in-view .panel {
    opacity: 1 !important;
    transform: translateY(0);
}

/* Additional responsive feature tabs for mobile devices */
@media (max-width: 768px) {
    .feature-tabs .container {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .feature-tabs {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .feature-tabs::-webkit-scrollbar {
        height: 3px;
    }
    
    .feature-tabs::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .feature-tabs::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }
    
    .feature-tabs .row.justify-content-center {
        width: 100%;
    }
    
    .feature-tabs .col-auto {
        width: 100%;
        padding: 0;
    }
    
    .tabs-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        width: max-content;
    }
    
    .feature-tabs .tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Orientation-specific styles */
@media (max-width: 767px) and (orientation: landscape) {
    .agent-visualization {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .agent-visualization .row {
               flex-direction: row;
    }
    
    .agent-visualization .section-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .agent-visualization .section-description {
        padding-top: 0;
    }
    
    .visualization-demo {
        flex-direction: row;
        max-height: 400px;
    }
    
    .panel {
        min-height: 300px;
        max-height: 400px;
        overflow-y: auto;
    }
    
    .terminal {
        height: 150px;
    }
}

@media (max-width: 767px) and (orientation: portrait) {
    .agent-visualization .row {
        flex-direction: column;
    }
    
    .visualization-demo {
        flex-direction: column;
    }
    
    .panel + .panel {
        margin-top: 15px;
    }
}

/* Safe area insets for modern mobile devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .agent-visualization {
        padding-bottom: calc(env(safe-area-inset-bottom) + 40px);
    }
    
    @media (max-width: 576px) {
        .feature-tabs {
            padding-left: env(safe-area-inset-left);
            padding-right: env(safe-area-inset-right);
        }
    }
}

/* Mobile collapsible panels */
@media (max-width: 768px) {
    .panel-header {
        cursor: pointer;
        position: relative;
    }
    
    .panel-header:after {
        content: '';
        position: absolute;
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        border-right: 2px solid #999;
        border-bottom: 2px solid #999;
        transform: translateY(-50%) rotate(45deg);
        transition: transform 0.3s ease;
    }
    
    .panel-collapsed .panel-header:after {
        transform: translateY(-50%) rotate(-135deg);
    }
    
    .panel-body {
        max-height: 1000px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .panel-collapsed .panel-body {
        max-height: 0;
    }
}
/* End Agent Visualization Styles */


/* Platform Architecture Section Styles */

.platform-architecture {
    padding: 80px 0;
    background-color: transparent;
}

/* Feature Buttons Column */
.platform-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 10%;
}

.feature-buttons {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 400px;
}

.feature-button {
    width: 100%;
}

.btn-feature {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-feature.btn-outline-secondary {
    border-color: #ddd;
    color: #333;
}

.btn-feature.btn-outline-secondary:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.btn-feature.btn-primary {
    background-color: #333;
    border-color: #333;
}

.btn-feature.btn-primary:hover {
    background-color: #000;
    border-color: #000;
}

/* Architecture Diagram Column */
.architecture-diagram {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.diagram-container {
    width: 100%;
    max-width: 600px;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.diagram-container img {
    width: 100%;
    height: auto;
}

/* Open Architecture Diagram Styles */
.open-architecture-diagram {
    transition: all 0.3s ease-in-out;
}

.open-arch-container {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 30px;
    color: #333;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #E5E5E5;
}

.arch-header {
    margin-bottom: 10px;
}

.arch-header h3 {
    color: #0F1217;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.arch-header p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.arch-tech-stack {
    display: flex;
    gap: 30px;
}

/* Enterprise-Grade Reliability Diagram Styles */
.enterprise-reliability-diagram {
    transition: all 0.3s ease-in-out;
}

.enterprise-container {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 30px;
    color: #333;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #E5E5E5;
}

.enterprise-container .arch-header h3 {
    color: #0F1217;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.enterprise-container .arch-header p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.temporal-text {
    text-decoration: underline;
    font-weight: 600;
    color: var(--primary-green-color);
}

.reliability-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.feature-badge {
    background-color: var(--white-green-color);
    color: var(--primary-green-color);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(62, 142, 208, 0.2);
}

.code-example {
    background-color: #F5F7FA;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    overflow: auto;
    border: 1px solid #E5E5E5;
}

.code-example pre {
    margin: 0;
}

.code-example code {
    color: #333;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.code-keyword {
    color: #0066CC;
}

.code-comment {
    color: #008000;
}

.arch-tech-stack {
    display: flex;
    align-items: center;
    margin-top: auto;
    gap: 30px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-logo {
    height: 40px;
    width: auto;
}

.tech-name {
    color: #3E8ED0;
    font-size: 18px;
    font-weight: 500;
}

/* Rapid Agent Development Diagram Styles */
.rapid-agent-diagram {
    transition: all 0.3s ease-in-out;
}

.rapid-agent-container {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 30px;
    color: #333;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #E5E5E5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.rapid-agent-container .arch-header h3 {
    color: #0F1217;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.rapid-agent-container .arch-header p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.agent-tools-container {
    background-color: #f7f9fc;
    border-radius: 16px;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-tools-code {
    width: 100%;
    max-width: 600px;
}

.agent-tools-code pre {
    background-color: #f7f9fc;
    border-radius: 8px;
    padding: 20px;
    margin: 0;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.6;
}

.agent-tools-code code {
    color: #333;
}

.agent-method {
    color: #428b83; /* Using primary-green-color from the root variables */
    font-weight: 600;
}

.agent-string {
    color: #d4533c; /* A soft red color for strings */
}

.agent-comment {
    color: #6c757d; /* Gray color for comments */
    font-style: italic;
}

/* Controlled Autonomy Diagram Styles */
.controlled-autonomy-diagram {
    transition: all 0.3s ease-in-out;
}

.controlled-autonomy-container {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 30px;
    color: #333;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #E5E5E5;
}

.autonomy-benefits {
    margin-top: 10px;
}

.timeline-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 36px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    background-color: var(--light-green-color);
    border-radius: 50%;
    border: 3px solid var(--primary-green-color);
}

.timeline-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

/* Platform architecture section animations */
.platform-architecture .section-title,
.platform-architecture .section-description {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.platform-architecture.in-view .section-title,
.platform-architecture.in-view .section-description {
    opacity: 1;
    transform: translateY(0);
}

/* Platform feature buttons animations */
.platform-architecture .feature-button {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: calc(0.1s * var(--animation-order, 0));
}

.platform-architecture.in-view .feature-button {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for feature buttons */

/* Trusted By Industry Leaders Section Styles */
.trusted-by.industry-leaders {
    background: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    margin: 80px 0;
    border-top: none;
    border-bottom: none;
}

.trusted-by.industry-leaders::before {
    display: none;
}

.company-logos-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    background: transparent;
    padding: 0;
    position: relative;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    max-width: 1400px;
    width: 100%;
}

.trusted-by-title {
    color: #1a202c;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    position: relative;
    font-family: var(--heading-font);
}

.trusted-by-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green-color) 0%, #22d3a6 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 200, 150, 0.3);
}

.company-logos-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.many-more-text {
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

/* Add container styling for proper centering */
.trusted-by .section-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
    position: relative;
}

.trusted-by .logos-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.company-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2.5rem;
    min-width: 180px;
    min-height: 90px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.company-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-green-color) 0%, #22d3a6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.company-logo-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green-color);
}

.company-logo-item:hover::before {
    opacity: 0.05;
}

.company-logo-img {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.company-logo-item:hover .company-logo-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Placeholder styling */
.company-logo-item.placeholder {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.placeholder-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Staggered animation for company logos */
.company-logo-item {
    opacity: 0;
    transform: translateY(20px);
}

.company-logo-item:nth-child(1) {
    animation: fadeInUpScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.company-logo-item:nth-child(2) {
    animation: fadeInUpScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.company-logo-item:nth-child(3) {
    animation: fadeInUpScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.company-logo-item:nth-child(4) {
    animation: fadeInUpScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.company-logo-item:nth-child(5) {
    animation: fadeInUpScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.company-logo-item:nth-child(6) {
    animation: fadeInUpScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes fadeInUpScale {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animation for scroll-triggered effects */
.trusted-by.industry-leaders.in-view .company-logos-horizontal {
    animation: fadeInUp 1s ease-out forwards;
}

.trusted-by.industry-leaders.in-view .company-logo-item {
    opacity: 1;
    transform: translateY(0);
}

/* Add subtle background shapes */
.trusted-by.industry-leaders::after {
    display: none;
}

/* Additional decorative element */
.trusted-by.industry-leaders .section-container::before {
    display: none;
}

/* Responsive Design */
@media (min-width: 1800px) {
    .company-logo-item {
        padding: 1.2rem 5rem;
    }
}

@media (max-width: 1200px) {
    .trusted-by.industry-leaders {
        padding: 80px 0;
        margin: 60px 0;
    }
    
    .trusted-by-title {
        font-size: 42px;
    }
    
    .company-logos-wrapper {
        gap: 2rem;
    }
    
    .company-logo-item {
        min-width: 160px;
        min-height: 80px;
        padding: 1.25rem 2rem;
    }
    
    .company-logo-standard {
        max-width: 120px;
        max-height: 50px;
    }
}

@media (max-width: 992px) {
    .trusted-by.industry-leaders {
        padding: 70px 0;
        margin: 50px 0;
    }
    
    .trusted-by-title {
        font-size: 36px;
        margin-bottom: 3rem;
    }
    
    .company-logos-wrapper {
        gap: 1.5rem;
    }
    
    .company-logo-item {
        min-width: 140px;
        min-height: 70px;
        padding: 1rem 1.5rem;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    }
    
    .company-logo-standard {
        max-width: 100px;
        max-height: 45px;
    }
    
    .many-more-text {
        font-size: 15px;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .trusted-by.industry-leaders {
        padding: 60px 0;
        margin: 40px 0;
    }
    
    .trusted-by .section-container {
        padding: 0 1rem;
    }
    
    .trusted-by-title {
        font-size: 32px;
        margin-bottom: 2.5rem;
    }
    
    .trusted-by-title::after {
        width: 80px;
        height: 3px;
    }
    
    .company-logos-wrapper {
        gap: 1rem;
        justify-content: center;
    }
    
    .company-logo-item {
        min-width: 110px;
        min-height: 60px;
        padding: 0.75rem 1.25rem;
        border-radius: 12px;
    }
    
    .company-logo-standard {
        max-width: 80px;
        max-height: 40px;
    }
    
    .many-more-text {
        font-size: 14px;
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .trusted-by.industry-leaders {
        padding: 50px 0;
        margin: 30px 0;
    }
    
    .trusted-by-title {
        font-size: 28px;
        margin-bottom: 2rem;
    }
    
    .company-logos-wrapper {
        gap: 0.8rem;
        padding: 0 1rem;
    }
    
    .company-logo-item {
        min-width: 100px;
        min-height: 55px;
        padding: 0.6rem 1rem;
        flex: 0 0 calc(50% - 0.4rem);
    }
    
    .company-logo-standard {
        max-width: 70px;
        max-height: 35px;
    }
    
    .many-more-text {
        font-size: 13px;
        margin-top: 1.25rem;
    }
    
    /* Animation adjustments for mobile */
    .company-logo-item {
        animation-delay: 0s !important;
        animation: fadeInUpScale 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
}
.feature-button:nth-child(1) { --animation-order: 1; }
.feature-button:nth-child(2) { --animation-order: 2; }
.feature-button:nth-child(3) { --animation-order: 3; }
.feature-button:nth-child(4) { --animation-order: 4; }
.feature-button:nth-child(5) { --animation-order: 5; }
.feature-button:nth-child(6) { --animation-order: 6; }
.feature-button:nth-child(7) { --animation-order: 7; }

/* Architecture diagram animation */
.platform-architecture .diagram-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    transition-delay: 0.3s;
}

.platform-architecture.in-view .diagram-container {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation for the diagram */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Advanced slide animations for diagram switching */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

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

/* Smooth stagger effect for feature buttons */
.platform-architecture.in-view .feature-button {
    animation: slideInFromRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

/* Accessibility improvements */
.platform-architecture .btn-feature:focus {
    outline: none;
    box-shadow: none;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .mobile-diagram-wrapper,
    .diagram-container,
    .platform-architecture .btn-feature {
        transition: none;
        animation: none;
    }
    
    .diagram-container.diagram-transitioning::before {
        animation: none;
    }
}

.platform-architecture.loading .diagram-container img {
    opacity: 0;
}

.platform-architecture.loaded .diagram-container img {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Active feature button highlight */
.platform-architecture .btn-feature.active,
.platform-architecture .btn-primary.btn-feature {
    background-color: #000000;
    color: #fff;
    border-color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Feature button hover effects */
.platform-architecture .btn-feature:hover:not(.active):not(.btn-primary) {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced diagram container transitions */
.diagram-container {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.diagram-container.diagram-transitioning {
    opacity: 0.7;
    transform: scale(0.98);
}

.diagram-container.diagram-transitioning::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Smooth feature button transitions */
.platform-architecture .btn-feature {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.platform-architecture .btn-feature::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;
}

.platform-architecture .btn-feature:hover::before {
    left: 100%;
}

/* Desktop Layout */
.desktop-architecture-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Mobile Layout Wrapper */
.mobile-architecture-layout {
    display: none;
}

/* Enhanced mobile touch interactions */
@media (max-width: 768px) {
    .platform-architecture .btn-feature {
        padding: 15px 20px;
        font-size: 16px;
        min-height: 48px; /* Better touch target */
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .platform-architecture .btn-feature:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .feature-buttons {
        gap: 20px; /* Reduce gap on mobile for better layout */
    }
    
    .diagram-container {
        margin-top: 30px;
        padding: 0 10px;
    }
    
    .mobile-diagram-wrapper {
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        background: #fff;
    }
}

/* Mobile diagram wrapper styles */
.mobile-diagram-wrapper {
    width: 100%;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    margin: 0 auto;
}

/* Architecture diagram tap to enlarge functionality */
.tap-hint {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.architecture-img {
    cursor: pointer;
}

/* Modal styles for full screen image view */
.image-modal {
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    position: relative;
    width: 95%;
    max-width: none;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 90vh;
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 10px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Mobile Feature Selector */
.mobile-feature-selector {
    margin-bottom: 1.5rem;
}

.mobile-feature-selector label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1rem;
}

.selected-feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-header {
    margin-bottom: 1.5rem;
}

.feature-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

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

.mobile-diagram-container {
    position: relative;
    display: inline-block;
}

.mobile-architecture-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.mobile-architecture-img:hover {
    transform: scale(1.02);
}
/* End Platform Architecture Section Styles */


/* Multi-Tenancy Diagram Styles */
.multi-tenancy-diagram {
    transition: all 0.3s ease-in-out;
}

.multi-tenancy-container {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 30px;
    color: #333;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #E5E5E5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.multi-tenancy-container .arch-header h3 {
    color: #0F1217;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.multi-tenancy-container .arch-header p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.tenancy-features {
    padding: 10px 0;
}

.tenancy-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.tenancy-feature:last-child {
    margin-bottom: 0;
}

.feature-dot {
    width: 12px;
    height: 12px;
    background-color: #428b83;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .multi-tenancy-container {
        padding: 20px;
    }
    
    .multi-tenancy-container .arch-header h3 {
        font-size: 22px;
    }
    
    .multi-tenancy-container .arch-header p {
        font-size: 14px;
    }
    
    .feature-text {
        font-size: 14px;
    }
    
    .tenancy-feature {
        margin-bottom: 15px;
    }
}
/* End Multi-Tenancy Diagram Styles */



/* Self-Hosting Diagram Styles */
.self-hosting-diagram {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.self-hosting-container {
    padding: 1rem;
}

.arch-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.arch-header p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.self-hosting-content {
    gap: 2rem;
}

.self-hosting-image {
    text-align: center;
    margin-bottom: 1rem;
}

.self-hosting-image img {
    max-width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.self-hosting-image img:hover {
    transform: scale(1.02);
}

.self-hosting-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--primary-green-color);
    background-color: #f8f9fb;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

/* Key Benefits Section Styles */
.key-benefits-section {
    background-color: var(--nordic-warm);
    padding: 80px 0;
    margin-top: 60px;
}

.key-benefits-section .benefit-item {
    background-color: transparent;
    padding: 0;
}

.key-benefits-section .benefit-item:hover {
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .key-benefits-section {
        padding: 60px 0;
        margin-top: 40px;
    }
    
    .key-benefits-section .benefit-item {
        margin-bottom: 2rem;
    }
}

.benefit-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.lock-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23428b83'%3E%3Cpath d='M12 1a5 5 0 0 1 5 5v3H7V6a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v1h6V6a3 3 0 0 0-3-3zm-6 7h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

.container-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23428b83'%3E%3Cpath d='M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H4V5h16v14z'/%3E%3Cpath d='M9 8h2v8H9zm4 0h2v8h-2z'/%3E%3C/svg%3E");
}

.cloud-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23428b83'%3E%3Cpath d='M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z'/%3E%3C/svg%3E");
}

.security-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23428b83'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z'/%3E%3C/svg%3E");
}

.benefit-text {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    flex: 1;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .self-hosting-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .self-hosting-image,
    .self-hosting-benefits {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .self-hosting-image {
        order: 1;
    }
    
    .self-hosting-benefits {
        order: 2;
    }
    
    .arch-header h3 {
        font-size: 1.6rem;
    }
}
/* End Self-Hosting Diagram Styles */



/* Workflows Section Styles */
.workflows {
    padding: 80px 0;
    background-color: transparent
}

/* Workflow section animations */
.workflows .section-title,
.workflows .section-description {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.workflows.in-view .section-title,
.workflows.in-view .section-description {
    opacity: 1;
    transform: translateY(0);
}

.workflows .workflow-feature {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: calc(0.1s * var(--animation-order, 0));
}

.workflows.in-view .workflow-feature {
    opacity: 1;
    transform: translateY(0);
}

.workflow-feature:nth-child(1) { --animation-order: 1; }
.workflow-feature:nth-child(2) { --animation-order: 2; }
.workflow-feature:nth-child(3) { --animation-order: 3; }

.workflow-features {
    padding-right: 30px;
}

.workflow-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-green-color);
    margin-right: 15px;
    margin-top: 8px;
}

.workflow-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--primary-green-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.workflow-feature-icon i {
    font-size: 18px;
    color: white;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.feature-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.workflow-visualization {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.3s;
}

.workflows.in-view .workflow-visualization {
    opacity: 1;
    transform: translateX(0);
}

.workflow-code-block {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.5s;
}

.workflows.in-view .workflow-code-block {
    opacity: 1;
    transform: translateY(0);
}

.code-header {
    background-color: var(--primary-green-color);
    background-size: cover;
    background-position: top center;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    position: relative;
    height: 50px;
}

.code-tabs {
    display: flex;
    position: relative;
    z-index: 2;
}

.code-tab {
    padding: 8px 15px;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    font-size: 14px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
}

.code-tab.active {
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.code-file-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: text-bottom;
}

.code-content {
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
    background-color: #f8f9fa;
}

.code-content pre {
    margin: 0;
    white-space: pre-wrap;
}

.code-content code {
    font-family: 'Courier New', Courier, monospace;
    color: #333;
    line-height: 1.6;
}

/* Enhanced syntax highlighting for workflow code */
.code-content .code-keyword {
    color: #0000ff;
    font-weight: 600;
}

.code-content .code-string {
    color: #a31515;
}

.code-content .code-comment {
    color: #008000;
    font-style: italic;
}

.code-content .code-class {
    color: #2b91af;
    font-weight: 500;
}

.code-content .code-method {
    color: #795e26;
    font-weight: 500;
}

.code-content .code-type {
    color: #2b91af;
}

/* Legacy support for existing highlighting */
.code-content .keyword {
    color: #0000ff;
    font-weight: 600;
}

.code-content .string {
    color: #a31515;
}

.code-content .comment {
    color: #008000;
    font-style: italic;
}

/* Workflow detection code enhancements */
.code-content pre {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 20px;
    margin: 0;
    overflow-x: auto;
}

.code-content code {
    display: block;
    position: relative;
    z-index: 1;
}

/* Add subtle animation to code highlighting */
.code-content .code-keyword,
.code-content .code-class,
.code-content .code-method {
    transition: color 0.2s ease;
}

.code-content .code-keyword:hover,
.code-content .code-class:hover,
.code-content .code-method:hover {
    opacity: 0.8;
}

/* Mobile-specific enhancements */
.workflow-mobile-toggle {
    transition: all 0.3s ease;
    font-weight: 500;
    background-color: var(--primary-green-color) !important; 
    color: white !important;
    border-color: var(--primary-green-color) !important;
}

.workflow-mobile-toggle:hover, 
.workflow-mobile-toggle:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: var(--primary-green-color) !important;
    color: white !important;
    border-color: var(--primary-green-color) !important;
    opacity: 0.9;
}

.code-tabs-indicator {
    height: 2px;
    width: 30px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 1px;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.code-swipe-indicator {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: rgba(0,0,0,0.5);
    padding: 8px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 4px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.code-swipe-indicator span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-swipe-indicator span::before,
.code-swipe-indicator span::after {
    content: '←→';
    display: inline-block;
    margin: 0 5px;
}

/* Tab animations */
.tab-highlight {
    animation: tab-pulse 0.5s ease;
}

.tab-animate {
    animation: tab-slide-in 0.5s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes tab-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes tab-slide-in {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}


/* Workflows Section Mobile Responsive Styles */

@media (max-width: 991px) {
    .workflows {
        padding: 60px 0;
    }
    
    .workflow-features {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .workflow-visualization {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .workflow-feature {
        margin-bottom: 25px;
    }
    
    .feature-content h3 {
        font-size: 18px;
    }
    
    .feature-content p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .workflows {
        padding: 50px 0;
    }
    
    .workflow-features {
        margin-bottom: 30px;
    }
    
    .workflow-feature {
        margin-bottom: 20px;
    }
    
    .feature-bullet {
        width: 10px;
        height: 10px;
        margin-right: 12px;
        margin-top: 6px;
    }
    
    .feature-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .feature-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .workflow-code-block {
        border-radius: 8px;
    }
    
    .code-header {
        height: 45px;
        padding: 8px 12px;
    }
    
    .code-tab {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .code-content {
        padding: 15px;
        max-height: 300px;
        font-size: 14px;
    }

    /* Improve code tab display on medium screens */
    .code-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .workflows {
        padding: 40px 0;
    }
    
    .workflow-visualization {
        max-width: 100%;
    }
    
    .workflow-feature {
        margin-bottom: 18px;
    }
    
    .feature-content h3 {
        font-size: 15px;
    }
    
    .feature-content p {
        font-size: 13px;
    }
    
    .code-header {
        height: 40px;
        padding: 6px 10px;
    }
    
    .code-tab {
        padding: 5px 8px;
        font-size: 11px;
        margin-right: 2px;
    }
    
    .code-content {
        padding: 10px;
        max-height: 250px;
        font-size: 12px;
        overflow-x: auto;
    }
    
    .code-content code {
        line-height: 1.4;
        white-space: pre;
    }

    /* Mobile-specific enhancements */
    .workflow-code-selector {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .code-tabs {
        display: flex;
        justify-content: center;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Add swipe indicator */
    .code-tabs::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 4px;
        background-color: rgba(0,0,0,0.1);
        border-radius: 2px;
    }

    /* Improve code block visibility */
    .workflow-code-block {
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }
}

/* Additional styles for very small devices */
@media (max-width: 375px) {
    .code-tab {
        font-size: 10px;
        padding: 4px 6px;
    }
    
    .code-content {
        font-size: 11px;
    }
    
    .feature-content h3 {
        font-size: 14px;
    }
    
    .feature-content p {
        font-size: 12px;
    }
}
/* End Workflows Section Styles */

/* ===============================================
   STANDARDIZED IMAGE STYLES
   =============================================== */

/* Base image styling for consistency */
.img-standard {
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

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

.img-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Circular images */
.img-circular {
    border-radius: 50%;
    object-fit: cover;
}

/* Square container images */
.img-square-container {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.img-square-container:hover {
    transform: scale(1.02);
    filter: brightness(1.15);
}

/* Role images standardization */
.role-image-standard {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.02);
}

.role-image-standard:hover {
    transform: scale(1.03);
    filter: brightness(1.05) contrast(1.02);
}

/* Company logo standardization */
.company-logo-standard {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6) brightness(1.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.company-logo-item:hover .company-logo-standard {
    filter: grayscale(0%) opacity(1) brightness(1);
    transform: scale(1.1);
}

/* Partner image standardization */
.partner-image-standard {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(66, 139, 131, 0.2);
    transition: all 0.3s ease;
    border: 3px solid rgba(66, 139, 131, 0.1);
}

.partner-image-standard:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(66, 139, 131, 0.25);
    border-color: rgba(66, 139, 131, 0.2);
}

/* Hero image standardization */
.hero-image-standard {
    max-width: 100%;
    object-fit: contain;
    filter: brightness(1.1) opacity(0.95);
    transition: all 0.4s ease;
}

.hero-image-standard:hover {
    filter: brightness(1.15) opacity(1);
    transform: scale(1.02);
}