/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Variables */
:root {
    /* Colors */
    --primary-color: #4e8cff;
    --secondary-color: #f8f9fa;
    --text-color: #020202;
    --light-text: #464646;
    --white: #ffffff;
    --accent-purple: #464646;
    --accent-green: #00C896;
    --dark-blue: #202942;

    /* Dark theme colors (for animations) */
    --dark-bg: #222;
    --dark-bg-light: #323232;

    /* Light theme colors */
    --light-bg: #f5f4f0;
    --light-bg-alt: #f8f9fa;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 32px rgba(32, 41, 66, 0.13);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);

    /* Gradients */
    --btn-gradient: #020202;
    --gradient-primary: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    --gradient-hero:
        radial-gradient(circle at 20% 130%, rgba(255, 230, 0, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 80% 120%, rgba(0, 255, 255, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 50% 120%, rgba(0, 255, 100, 0.3) 0%, transparent 40%);
    --gradient-bar:
        radial-gradient(circle at 20% 120%, rgba(255, 230, 0, 0.4) 0%, transparent 100%),
        radial-gradient(circle at 80% 120%, rgba(0, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle at 50% 120%, rgba(0, 255, 100, 0.3) 0%, transparent 100%);

    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1400px;
    --container-padding: 0 50px;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
    font-weight: 700;
}

h3 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--accent-purple);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title h3 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title p {
    color: var(--light-text);
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

/* Buttons */
.btn,
.nav-links .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--btn-gradient);
    color: var(--white);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: bold;
    transition: all 0.5s;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(32, 41, 66, 0.3);
    position: relative;
    overflow: hidden;
}

.btn .material-icons {
    font-size: 16px;
    position: absolute;
    opacity: 0;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    transition: 0.5s;
}

.btn:hover,
.nav-links .btn:hover {
    padding-right: 45px;

    color: var(--white);
    box-shadow: 0 8px 20px rgba(32, 41, 66, 0.4);
}

.btn:hover .material-icons {
    opacity: 1;
    right: 15px;
}

/* Header */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

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

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
}

.nav-links a:not(.btn) {
    font-weight: 400;
    color: var(--text-color);
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-links a:not(.btn):hover {
    background-color: rgba(115, 115, 115, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 200;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section (Redesigned) */
.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--white);
    background-image: var(--gradient-hero);
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    text-align: left;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tags {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(115, 115, 115, 0.1);
    color: var(--text-color);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--text-color);
}

.hero-tag .material-icons {
    font-size: 16px;
}

.hero h1 {
    font-size: 74px;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 32px;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-partners {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Add animation to button explicitly if not covered by general rules */
.hero-content .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-image-container {
    flex: 1;
    position: relative;
    max-width: 700px;
    z-index: 2;
    display: flex;
    justify-content: center;
    /* Center image in container */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 span {
    color: var(--primary-color);
}



.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 0 24px;
    color: var(--light-text);
}

.hero-partners {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 40px;
}

.partner-logo-hero {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logo-hero:hover {
    opacity: 1;
}

/* Hero Image */
.hero-image-container {
    flex: 1;
    max-width: 600px;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}



/* Become Partner / Benefits */
.become-partner {
    padding: 100px 0;
}

.ecosystem-container {
    text-align: center;
}

.ecosystem-title {
    color: var(--accent-purple);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ecosystem-subtitle {
    color: var(--light-text);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Benefits Tabs Layout */
.benefits-tabs-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
    align-items: flex-start;
}

.benefits-tabs-wrapper.reversed {
    flex-direction: row-reverse;
}

.benefits-tabs-list {
    flex: 0 0 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-tab {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.benefit-tab:hover {
    background-color: rgba(115, 115, 115, 0.05);
}

.benefit-tab.active {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: #eee;
    text-align: left;
}

.tab-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-bar);
    width: 0%;
}

.benefit-tab.active .tab-progress {
    animation: progressFill var(--progress-duration, 5s) linear forwards;
}

@keyframes progressFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.tab-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--light-bg);
    color: var(--btn-gradient);
    transition: all 0.3s ease;
}

.benefit-tab.active .tab-icon {
    background: var(--gradient-bar);
    color: var(--text-color);
}

.tab-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.tab-label {
    font-weight: 600;
    font-size: 16px;
    color: rgb(151, 151, 151);
    transition: all 0.3s ease;
}

.benefit-tab.active .tab-label {
    font-size: 20px;
    color: var(--text-color);
}

.tab-description {
    display: none;
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.benefit-tab.active .tab-description {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.benefits-content-display {
    flex: 1;
    background: var(--gradient-bar);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-content-item {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    width: 100%;
    height: 100%;
}

.benefit-content-item.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Tabs */
@media (max-width: 900px) {
    .benefits-tabs-wrapper {
        flex-direction: column;
    }

    .benefits-tabs-list {
        flex: none;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .benefit-tab {
        flex: 0 0 auto;
        padding: 15px;
    }

    .tab-label {
        display: none;
        /* Hide label on mobile if needed, or keep it */
    }
}

.product-content {
    padding: 0;
    width: 100%;
}


/* Stats Animation */
.stats-animation {
    width: 100%;
    padding: 20px;
    margin-top: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.stats-cards {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.stat-card-mini {
    background: var(--dark-bg);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    text-align: center;
    flex: 1;
    max-width: 120px;
    opacity: 0;
    transform: translateY(10px);
    animation: statCardSlide 0.5s ease forwards;
    animation-delay: var(--delay);
    animation-play-state: paused;
}

.animate .stat-card-mini {
    animation-play-state: running;
}

.stat-value-mini {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-label-mini {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes statCardSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chart-container {
    width: 100%;
    position: relative;
    height: 180px;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    gap: 12px;
    padding-bottom: 25px;
}

.bar {
    flex: 1;
    background-color: var(--dark-bg);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    animation: growBarStats 1s ease-out forwards;
    animation-delay: var(--delay);
    animation-play-state: paused;
    height: 0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bar:hover {
    transform: scaleY(1.05);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.bar.highlight {
    background: linear-gradient(180deg, var(--accent-green), var(--dark-bg));
}

.animate .bar {
    animation-play-state: running;
}

.bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px 6px 0 0;
}

.bar-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--dark-bg);
    font-weight: 600;
}

.chart-line-growth {
    position: absolute;
    bottom: 25px;
    left: 10%;
    width: 80%;
    height: 60%;
    border-left: none;
    border-bottom: none;
    pointer-events: none;
}

@keyframes growBarStats {
    from {
        height: 0;
    }

    to {
        height: var(--height);
    }
}

/* Audit Animation */
.audit-animation {
    width: 100%;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.audit-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.audit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dark-bg);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    opacity: 0;
    transform: translateY(10px);
    animation: slideIn 0.5s ease forwards;
    animation-delay: var(--delay);
    animation-play-state: paused;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.animate .audit-item {
    animation-play-state: running;
}

.audit-line {
    height: 8px;
    background: var(--dark-bg-light);
    border-radius: 4px;
}

.audit-status .material-icons {
    color: var(--accent-green);
    font-size: 24px;
    opacity: 0;
    transform: scale(0);
    animation: checkPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: calc(var(--delay) + 0.3s);
    animation-play-state: paused;
}

.animate .audit-status .material-icons {
    animation-play-state: running;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* CMP Animation */
.cmp-animation {
    width: 100%;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.cmp-container {
    width: 100%;
    background: var(--dark-bg);
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cmp-header-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.cmp-dot {
    width: 24px;
    height: 24px;
    background-color: var(--dark-bg-light);
    border-radius: var(--radius-sm);
}

.cmp-line {
    height: 8px;
    background: var(--dark-bg-light);
    border-radius: 4px;
}

.cmp-content-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.cmp-toggles-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cmp-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: var(--dark-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--dark-bg-light);
}

.cmp-text-line {
    height: 6px;
    width: 40%;
    background: var(--dark-bg-light);
    border-radius: 3px;
}

.cmp-switch {
    width: 28px;
    height: 16px;
    background: #ddd;
    border-radius: 8px;
    position: relative;
    transition: background 0.3s ease;
}

.cmp-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cmp-switch.checked {
    background: var(--accent-green);
}

.cmp-switch.checked::after {
    transform: translateX(12px);
}

.cmp-switch:not(.checked) {
    animation: toggleOn 0.5s ease forwards;
    animation-delay: var(--delay);
    animation-play-state: paused;
}

.animate .cmp-switch:not(.checked) {
    animation-play-state: running;
}

@keyframes toggleOn {
    50% {
        transform: scale(0.95);
    }

    100% {
        background: var(--accent-green);
    }
}

.cmp-switch:not(.checked)::after {
    animation: slideKnob 0.5s ease forwards;
    animation-delay: var(--delay);
    animation-play-state: paused;
}

.animate .cmp-switch:not(.checked)::after {
    animation-play-state: running;
}

@keyframes slideKnob {
    100% {
        transform: translateX(12px);
    }
}

.cmp-actions {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.cmp-btn-primary {
    height: 24px;
    flex: 1;
    background-color: #fff;
    border-radius: 6px;
    opacity: 0.9;
}

.cmp-btn-secondary {
    height: 24px;
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
}

/* Support Animation */
.support-animation {
    width: 100%;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.support-chat {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chat-header {
    background-color: var(--dark-bg-light);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.agent-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.agent-avatar .material-icons {
    font-size: 20px;
}

.agent-info {
    color: var(--white);
}

.agent-name {
    font-size: 12px;
    font-weight: 700;
}

.agent-status {
    font-size: 10px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: inline-block;
}

.chat-messages {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--dark-bg);
    min-height: 120px;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 15px;
    font-size: 13px;
    max-width: 80%;
    opacity: 0;
    transform: translateY(10px);
    animation: messageSlide 0.4s ease forwards;
    animation-delay: var(--delay);
    animation-play-state: paused;
}

.animate .chat-bubble {
    animation-play-state: running;
}

.chat-bubble.client {
    background: var(--dark-bg-light);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.support {
    background: var(--white);
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    align-self: flex-start;
    width: fit-content;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: var(--delay);
    animation-play-state: paused;
}

.animate .typing-indicator {
    animation-play-state: running;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes messageSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Enrichment Animation */
.enrichment-animation {
    width: 100%;
    padding: 20px 0;
    margin-top: 10px;
}

.solutions-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hub-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.hub-solution {
    width: 260px;
    height: 60px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.8);
    animation: hubPop 0.5s ease-out forwards;
    animation-delay: var(--delay);
    animation-play-state: paused;
}

.animate .hub-solution {
    animation-play-state: running;
}

.hub-solution img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Sirdata solutions - slide down from top */
.hub-solution.sirdata-solution {
    background: var(--dark-bg);
    flex-direction: row;
    gap: 10px;
    padding: 12px 20px;
    width: 260px;
    height: 60px;
    transform: translateY(-100px);
    opacity: 0;
    animation: slideDownInsert 0.8s ease-out forwards;
}

.hub-solution.sirdata-solution .material-icons {
    font-size: 24px;
    color: var(--accent-green);
}

.solution-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

@keyframes hubPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDownInsert {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Offers Section */
.offers-section {
    padding: 100px 0;
}

.offers-grid {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.offer-card {
    background: transparent;
    padding: 0;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.offer-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.offer-card p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.6;
}

.offer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.offer-link:hover {
    gap: 10px;
}

.offer-link .material-icons {
    font-size: 18px;
    transition: var(--transition-fast);
}

.offer-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background-color: var(--light-bg);
    color: var(--text-color);
    font-size: 24px;
}


/* Cas Pratique Section */
.cas-pratique {
    padding: 100px 0;
    background-color: var(--white);
}

.case-animation {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--dark-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-icon {
    width: 48px;
    height: 48px;
    background-color: var(--dark-bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.case-icon .material-icons {
    font-size: 24px;
    color: var(--white);
}

.case-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.case-portfolio {
    display: flex;
    gap: 12px;
}

.portfolio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 50px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;

    transition: transform 0.3s ease;
}

.portfolio-item .material-icons {
    font-size: 18px;
    color: var(--accent-green);
}

.case-comparison {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-row {
    background: var(--dark-bg-light);
    border-radius: 16px;
    padding: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-row.highlight .comparison-label {
    color: var(--accent-green);
}

.comparison-values {
    display: flex;
    gap: 12px;
}

.value-item {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark-bg);
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.value-item .product {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.comparison-row.highlight .value-item .product {
    color: var(--white);
}

.value-item .price {
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
}

.value-item.savings .price,
.value-item.commission .price {
    color: var(--accent-green);
}

.case-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-green), #00a67d);
    padding: 20px 24px;
    border-radius: 16px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 200, 150, 0.3);
    position: relative;
    overflow: hidden;
}

.case-total::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.case-total span:first-child {
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.case-total .total-value {
    font-size: 28px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.case-footnote {
    font-size: 10px;
    color: var(--text-color);
    text-align: center;
    margin-top: 5px;
}

/* Experts Section */
.experts {
    padding: 80px 0;
    background-color: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.experts-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.experts-columns {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.expert-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 280px;
    transition: var(--transition-fast);
}

.expert-photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--light-bg);
}

.expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.expert-info h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-color);
}

.expert-info .title {
    font-size: 12px;
    color: var(--light-text);
    line-height: 1.3;
}

.experts-content {
    flex: 1;
    text-align: center;
}

.experts-content h2 {
    color: var(--accent-purple);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.experts-content p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.experts-content .btn {
    margin: 0 auto;
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background-color: var(--white);
    background-image:
        radial-gradient(circle at 80% 0%, rgba(255, 230, 0, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 20% 10%, rgba(0, 255, 255, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 50% -10%, rgba(0, 255, 100, 0.25) 0%, transparent 40%);
}

.partner-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.partner-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 10px 0;
    scrollbar-width: none;
}

.partner-grid::-webkit-scrollbar {
    display: none;
}

.partner-card {
    min-width: 260px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.partner-img {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 20px;
}

.partner-img img {
    max-width: 70%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-img img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    /* Optional: slight zoom for effect */
}

.partner-content {
    padding: 16px 20px 20px;
    text-align: left;
    border-top: 1px solid #f0f0f0;
}

.partner-content p {
    font-size: 13px;
    color: var(--light-text);
    line-height: 1.5;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background: var(--text-color);
    color: var(--white);
    border-color: var(--text-color);
}

.carousel-btn.prev {
    left: -18px;
}

.carousel-btn.next {
    right: -18px;
}

/* Clients Section - Infinite Marquee */
.clients-marquee {
    padding: 60px 0 20px;
    overflow: hidden;
}

.clients-marquee .section-title {
    margin-bottom: 30px;
}

.clients-description {
    color: var(--light-text);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.0s forwards;
}

.clients-slider {
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.clients-slider::before,
.clients-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scroll-marquee 30s linear infinite;
    width: max-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.clients-marquee .client-logo {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.clients-marquee .client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

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

/* Badge Section */
.badge-advantages {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.badge-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.badge-images {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-img {
    width: 120px;
    height: auto;
}

.badge-content h2 {
    color: var(--accent-purple);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.badge-content h3 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.badge-content p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Contact Form */
.contact-form {
    padding: 100px 0;
    background-color: var(--white);
    background-image:
        radial-gradient(circle at 30% 150%, rgba(255, 230, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 140%, rgba(0, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 150%, rgba(0, 255, 100, 0.3) 0%, transparent 50%);
}

.contact-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: var(--accent-purple);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-info h3 {
    font-size: 48px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Mac Window Animation */
.contact-animation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mac-window {
    width: 100%;
    max-width: 420px;
    background: var(--dark-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mac-header {
    background: var(--dark-bg-light);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mac-buttons {
    display: flex;
    gap: 8px;
}

.mac-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mac-btn.red {
    background: #ff5f57;
}

.mac-btn.yellow {
    background: #ffbd2e;
}

.mac-btn.green {
    background: #28ca42;
}

.mac-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
}

.mac-content {
    padding: 24px;
}

.stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    animation: countUp 2s ease-out forwards;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.chart-row {
    display: flex;
    gap: 16px;
}

.mini-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 16px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent-purple), #00d4ff);
    border-radius: 4px 4px 0 0;
    height: var(--height);
    animation: growBar 1s ease-out forwards;
    animation-delay: var(--delay);
    transform: scaleY(0);
    transform-origin: bottom;
    animation-play-state: paused;
}

.animate .chart-bar {
    animation-play-state: running;
}

@keyframes growBar {
    to {
        transform: scaleY(1);
    }
}

.line-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
}

.chart-line-svg {
    width: 100%;
    height: 60px;
}

.chart-line {
    fill: none;
    stroke: url(#lineGradient);
    stroke: #28ca42;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 2s ease-out forwards;
    animation-play-state: paused;
}

.animate .chart-line {
    animation-play-state: running;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* FAQ */
.faq-section {
    padding: 100px 0;
}

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

.faq-item {
    border-bottom: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #fbfbfb;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth),
        padding var(--transition-smooth),
        opacity var(--transition-fast);
    opacity: 0;
}

.faq-answer p {
    padding: 0 24px;
    color: var(--light-text);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
    opacity: 1;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-icon .material-icons {
    font-size: 20px;
    color: var(--text-color);
    transition: transform var(--transition-smooth);
}

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

/* Footer */
footer {
    background-color: var(--light-bg);
    color: var(--text-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.6;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--light-text);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links img {
    width: 20px;
    height: 20px;
    transition: filter var(--transition-fast);
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--light-text);
    font-size: 13px;
}

.button-container {
    text-align: center;
    margin: 40px 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 48px;
    }

    .experts-container,
    .contact-container,
    .badge-container {
        flex-direction: column;
        text-align: center;
    }

    .experts-columns {
        width: 100%;
    }

    .experts-grid:nth-child(2) {
        margin-top: 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 40px;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 150;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }

    .product-card:nth-child(1),
    .product-card:nth-child(2),
    .product-card:nth-child(3),
    .product-card:nth-child(4),
    .product-card:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

    .hero p {
        margin: 0 auto 40px;
    }

    .animated-beam-wrapper {
        width: 100%;
        max-width: 450px;
        height: 350px;
    }

    .node-circle {
        width: 55px;
        height: 55px;
    }

    .node-circle.center {
        width: 80px;
        height: 80px;
    }

    .node-circle .material-icons {
        font-size: 24px;
    }

    .node-favicon {
        width: 40px;
        height: 40px;
    }

    /* Benefits Accordion (Mobile) */
    .benefits-tabs-wrapper,
    .benefits-tabs-wrapper.reversed {
        flex-direction: column;
        gap: 0;
    }

    .benefits-tabs-list,
    .benefits-content-display {
        display: contents;
    }

    .benefit-content-item {
        width: 100%;
        background: var(--gradient-bar);
        border-radius: 24px;
        padding: 30px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        margin-bottom: 20px;
        display: none;
        order: 100;
        min-height: auto;

        /* Fix background gradient for mobile (simulate desktop container height) */
        background-size: 100% 600px;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-color: var(--white);
    }

    .benefit-content-item.active {
        display: flex;
        animation: fadeIn 0.5s ease;
    }

    /* Accordion Ordering */
    .benefits-tabs-list .benefit-tab:nth-child(1) {
        order: 1;
    }

    .benefit-content-item:nth-child(1) {
        order: 2;
    }

    .benefits-tabs-list .benefit-tab:nth-child(2) {
        order: 3;
    }

    .benefit-content-item:nth-child(2) {
        order: 4;
    }

    .benefits-tabs-list .benefit-tab:nth-child(3) {
        order: 5;
    }

    .benefit-content-item:nth-child(3) {
        order: 6;
    }

    .benefits-tabs-list .benefit-tab:nth-child(4) {
        order: 7;
    }

    .benefit-content-item:nth-child(4) {
        order: 8;
    }

    .benefits-tabs-list .benefit-tab:nth-child(5) {
        order: 9;
    }

    .benefit-content-item:nth-child(5) {
        order: 10;
    }

    .benefit-tab {
        width: 100%;
        margin-bottom: 10px;
        border-radius: var(--radius-lg);
        background: transparent;
        padding: 15px;
        border: 1px solid transparent;
        transition: all 0.3s ease;
    }

    .benefit-tab.active {
        margin-bottom: 10px;
        border-radius: var(--radius-lg);
        background-color: var(--white);
        border: 1px solid #eee;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .tab-text {
        text-align: left;
        display: flex !important;
        /* Force display to prevent collapsing */
        opacity: 1 !important;
    }

    .tab-label {
        display: block !important;
        color: var(--light-text);
        /* Ensure visible color */
    }

    .benefit-tab.active .tab-label {
        color: var(--text-color);
    }

    /* Cas Pratique Overrides */
    .cas-pratique .benefit-tab {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    .cas-pratique .benefit-tab.active {
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .cas-pratique .benefit-content-item {
        /* Remove background override so it uses the standard light .benefit-content-item style */
        /* background: var(--dark-bg); REMOVED */
        /* border: 1px solid rgba(255, 255, 255, 0.1); REMOVED */
        margin-top: 10px;
        order: unset;
        /* Ensure text color is reset if inherited incorrectly, though inner .case-animation handles its own color */
    }

    /* Ensure Cas Pratique items interleave correctly using same logic */
    .cas-pratique .benefits-tabs-list .benefit-tab:nth-child(1) {
        order: 1;
    }

    .cas-pratique .benefit-content-item:nth-child(1) {
        order: 2;
    }

    .cas-pratique .benefits-tabs-list .benefit-tab:nth-child(2) {
        order: 3;
    }

    .cas-pratique .benefit-content-item:nth-child(2) {
        order: 4;
    }


    /* Cas Pratique Mobile Font Sizes */
    .case-title {
        font-size: 14px;
    }

    .case-header .material-icons {
        font-size: 20px;
    }

    .portfolio-item {
        font-size: 11px;
        padding: 10px 14px;
    }

    .portfolio-item .material-icons {
        font-size: 14px;
    }

    .comparison-label {
        font-size: 10px;
    }

    .value-item .product {
        font-size: 10px;
    }

    .value-item .price {
        font-size: 13px;
    }

    .case-total span:first-child {
        font-size: 12px;
    }

    .case-total .total-value {
        font-size: 20px;
    }

    .case-footnote {
        font-size: 9px;
    }
}

@media (max-width: 768px) {

    /* Global Padding Reduction for Mobile */
    section:not(.hero) {
        padding: 40px 0;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-tags {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-tag {
        font-size: 12px;
        padding: 4px 8px;
    }

    .animated-beam-wrapper {
        max-width: 100%;
        height: 280px;
    }

    .node-circle {
        width: 45px;
        height: 45px;
    }

    .node-circle.center {
        width: 65px;
        height: 65px;
    }

    .node-circle .material-icons {
        font-size: 20px;
    }

    .node-favicon {
        width: 32px;
        height: 32px;
    }

    .beam-network {
        padding: 10px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .product-card:nth-child(1),
    .product-card:nth-child(2),
    .product-card:nth-child(3),
    .product-card:nth-child(4),
    .product-card:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .offers-grid {
        flex-direction: column;
        gap: 30px;
    }

    .offer-card {
        max-width: 100%;
    }

    .section-title h3,
    .contact-info.h3 {
        font-size: 24px;
    }

    h3 {
        font-size: 24px;
    }

    /* Layers responsive */
    .layers-container {
        flex-direction: column;
        gap: 10px;
    }

    .layer {
        flex-direction: row;
        padding: 12px 16px;
        text-align: left;
    }

    .layer-label {
        font-size: 12px;
    }

    /* Stats animation responsive */
    .bar-chart {
        gap: 8px;
    }

    /* Contact section responsive */
    .contact-container {
        padding: 0 20px;
    }

    .mac-window {
        max-width: 100%;
    }

    .stats-row {
        flex-direction: column;
        gap: 12px;
    }

    .stat-value {
        font-size: 24px;
    }

    .chart-row {
        flex-direction: column;
        gap: 12px;
    }

    /* Badge section responsive */
    .badge-container {
        padding: 30px 20px;
    }

    .badge-content h3 {
        font-size: 22px;
    }

    /* FAQ responsive */
    .faq-question {
        padding: 16px 20px;
    }

    .faq-question h4 {
        font-size: 14px;
    }

    .faq-answer p {
        padding: 0 20px;
        font-size: 14px;
    }

    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Partners carousel responsive */
    .carousel-btn {
        display: none;
    }

    .partner-card {
        min-width: 220px;
    }

    /* Experts responsive */
    .experts-columns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
        justify-items: center;
        /* Center cards in their grid cells if they are smaller than column */
    }

    .expert-card {
        width: 100%;
        /* Fill the grid cell */
        max-width: 160px;
        /* Optional: limit max width if needed */
        padding: 15px;
        margin: 0 auto;
    }

    .expert-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
        margin-bottom: 10px;
    }

    .expert-info h3 {
        font-size: 13px;
    }

    .expert-info .title {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        font-size: 13px;
        padding: 10px 16px;
    }

    .animated-beam-wrapper {
        height: 220px;
        margin-top: 30px;
    }

    .node-circle {
        width: 38px;
        height: 38px;
    }

    .node-circle.center {
        width: 55px;
        height: 55px;
    }

    .node-circle .material-icons {
        font-size: 16px;
    }

    .node-favicon {
        width: 26px;
        height: 26px;
    }

    .section-title h3,
    .contact-info.h3 {
        font-size: 20px;
    }

    h3 {
        font-size: 20px;
    }

    .product-title {
        font-size: 16px;
    }

    .product-description {
        font-size: 13px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 10px;
    }
}

/* Scroll Animations (Outside media queries) */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.scroll-hidden.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.scroll-hidden.delay-100 {
    transition-delay: 0.1s;
}

.scroll-hidden.delay-200 {
    transition-delay: 0.2s;
}

.scroll-hidden.delay-300 {
    transition-delay: 0.3s;
}

.scroll-hidden.delay-400 {
    transition-delay: 0.4s;
}