/* ==============================================
   FONT IMPORTS
   ============================================== */

/* BastardusSans Font - Display font for section titles */
@font-face {
    font-family: 'BastardusSans';
    src: url('fonts/BastardusSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Inoa Font - Display font for logo  */
@font-face {
    font-family: 'Inoa';
    src: url('fonts/Inoa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==============================================
   CSS VARIABLES AND RESET
   ============================================== */

/* CSS Variables and Reset */
:root {
    --color-text: #1a1a1a;
    --color-text-secondary: #6b6b6b;
    --color-background: #ffffff;
    --color-background-secondary: #f7f7f7;
    --color-border: #e5e5e5;
    --color-primary: #005a82;
    --color-primary-hover: #004a6d;
    --color-accent: #0077a8;
    --color-gradient-1: #005a82;
    --color-gradient-2: #0077a8;
    --gradient-primary: linear-gradient(135deg, #005a82 0%, #0077a8 100%);
    --gradient-accent: linear-gradient(135deg, #0077a8 0%, #005a82 100%);
    --glow-primary: 0 0 20px rgba(0, 90, 130, 0.3);
    --glow-accent: 0 0 30px rgba(0, 90, 130, 0.5);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease;
}

[data-theme="dark"] {
    --color-text: #e5e5e5;
    --color-text-secondary: #a0a0a0;
    --color-background: #0a0a0f;
    --color-background-secondary: #1a1a1a;
    --color-border: #2a2a2a;
    --color-primary: #0088b8;
    --color-primary-hover: #00a3db;
    --color-accent: #0077a8;
    --gradient-primary: linear-gradient(135deg, #0088b8 0%, #00c3ff 100%);
    --gradient-accent: linear-gradient(135deg, #0077a8 0%, #0099cc 100%);
    --glow-primary: 0 0 30px rgba(0, 119, 168, 0.4);
    --glow-accent: 0 0 40px rgba(0, 119, 168, 0.6);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.6);
}

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

html {
    scrollbar-gutter: stable;
}

/* ==============================================
   OPENING ANIMATION
   ============================================== */

#opening-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
    isolation: isolate;
}

/* Animated background grid for desktop */
#opening-animation::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(0deg, transparent 24%, rgba(0, 119, 168, 0.03) 25%, rgba(0, 119, 168, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 119, 168, 0.03) 75%, rgba(0, 119, 168, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 119, 168, 0.03) 25%, rgba(0, 119, 168, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 119, 168, 0.03) 75%, rgba(0, 119, 168, 0.03) 76%, transparent 77%, transparent);
    background-size: 80px 80px;
    opacity: 0;
    animation: gridFadeInDesktop 1.2s ease-out 0.3s forwards;
    z-index: 1;
}

[data-theme="dark"] #opening-animation::before {
    background-image:
        linear-gradient(0deg, transparent 24%, rgba(0, 119, 168, 0.05) 25%, rgba(0, 119, 168, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 119, 168, 0.05) 75%, rgba(0, 119, 168, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 119, 168, 0.05) 25%, rgba(0, 119, 168, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 119, 168, 0.05) 75%, rgba(0, 119, 168, 0.05) 76%, transparent 77%, transparent);
}

/* Scanning line effect for desktop */
#opening-animation::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 119, 168, 0.6), transparent);
    box-shadow: 0 0 30px rgba(0, 119, 168, 0.5);
    animation: scanLineDesktop 3s ease-in-out 0.5s infinite;
    z-index: 2;
}

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

@keyframes scanLineDesktop {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

[data-theme="dark"] #opening-animation {
    background: #0a0e27;
}

#opening-animation.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.opening-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 70px;
    z-index: 3;
}

/* Logo with particles */
.opening-logo {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoEntrance 1s ease-out forwards;
}

/* Data pulse rings around logo - Desktop */
.opening-logo::before,
.opening-logo::after {
    content: '';
    position: absolute;
    inset: -30px;
    border: 2px solid rgba(0, 119, 168, 0.25);
    border-radius: 50%;
    animation: dataPulseDesktop 2.5s ease-out infinite;
    pointer-events: none;
}

.opening-logo::after {
    animation-delay: 1.25s;
    border-color: rgba(0, 119, 168, 0.2);
    inset: -40px;
}

@keyframes dataPulseDesktop {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

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

.logo-text {
    font-family: 'Inoa', 'BastardusSans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(0, 119, 168, 0.4));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(0, 119, 168, 0.6));
    }
}

.logo-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: particlesRotate 20s linear infinite;
    filter: drop-shadow(0 0 4px rgba(0, 119, 168, 0.6));
}

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

.logo-particles .particle {
    fill: currentColor;
    color: var(--color-primary);
    opacity: 0;
    animation: particleOrbit 3s ease-in-out forwards;
    filter: blur(0.3px);
}

.logo-particles .p1 {
    animation-delay: 0.2s;
    transform-origin: 100px 100px;
    animation: particleOrbit1 4s ease-in-out 0.2s infinite;
}

.logo-particles .p2 {
    animation-delay: 0.4s;
    transform-origin: 100px 100px;
    animation: particleOrbit2 4s ease-in-out 0.4s infinite;
}

.logo-particles .p3 {
    animation-delay: 0.6s;
    transform-origin: 100px 100px;
    animation: particleOrbit3 4s ease-in-out 0.6s infinite;
}

.logo-particles .p4 {
    animation-delay: 0.8s;
    transform-origin: 100px 100px;
    animation: particleOrbit4 4s ease-in-out 0.8s infinite;
}

.logo-particles .p5 {
    animation-delay: 1s;
    transform-origin: 100px 100px;
    animation: particleOrbit5 4s ease-in-out 1s infinite;
}

.logo-particles .p6 {
    animation-delay: 1.2s;
    transform-origin: 100px 100px;
    animation: particleOrbit6 4s ease-in-out 1.2s infinite;
}

@keyframes particleOrbit1 {
    0% { cx: 100; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    100% { cx: 160; cy: 50; opacity: 0.8; }
}

@keyframes particleOrbit2 {
    0% { cx: 100; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    100% { cx: 40; cy: 60; opacity: 0.8; }
}

@keyframes particleOrbit3 {
    0% { cx: 100; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    100% { cx: 150; cy: 150; opacity: 0.8; }
}

@keyframes particleOrbit4 {
    0% { cx: 100; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    100% { cx: 50; cy: 140; opacity: 0.8; }
}

@keyframes particleOrbit5 {
    0% { cx: 100; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    100% { cx: 100; cy: 30; opacity: 0.8; }
}

@keyframes particleOrbit6 {
    0% { cx: 100; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    100% { cx: 100; cy: 170; opacity: 0.8; }
}

/* Stats counters */
.opening-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    opacity: 0;
    animation: statsEntrance 0.8s ease-out 1.2s forwards;
}

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

.opening-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(0, 119, 168, 0.06);
    border: 2px solid rgba(0, 119, 168, 0.22);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    position: relative;
    animation: statPopDesktop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    contain: layout style paint;
}

/* Animated gradient overlay on stats - Desktop */
.opening-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 119, 168, 0.08), transparent);
    animation: shimmerDesktop 3s ease-in-out infinite;
    z-index: 0;
    will-change: transform;
    transform: translateX(-100%);
}

@keyframes shimmerDesktop {
    0% { 
        transform: translateX(-100%);
    }
    100% { 
        transform: translateX(200%);
    }
}

.opening-stat > * {
    position: relative;
    z-index: 1;
}

.opening-stat[data-stat="0"] {
    animation-delay: 1.3s;
}

.opening-stat[data-stat="0"]::before {
    animation-delay: 2s;
}

.opening-stat[data-stat="1"] {
    animation-delay: 1.5s;
}

.opening-stat[data-stat="1"]::before {
    animation-delay: 2.3s;
}

.opening-stat[data-stat="2"] {
    animation-delay: 1.7s;
}

.opening-stat[data-stat="2"]::before {
    animation-delay: 2.6s;
}

.opening-stat[data-stat="3"] {
    animation-delay: 1.9s;
}

.opening-stat[data-stat="3"]::before {
    animation-delay: 2.9s;
}

@keyframes statPopDesktop {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(30px);
    }
    60% {
        transform: scale(1.02) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.opening-stat:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(0, 119, 168, 0.5);
    box-shadow: 0 25px 70px rgba(0, 119, 168, 0.3);
    background: rgba(0, 119, 168, 0.1);
}

[data-theme="dark"] .opening-stat {
    background: rgba(0, 119, 168, 0.1);
    border-color: rgba(0, 119, 168, 0.3);
}

[data-theme="dark"] .opening-stat::before {
    background: linear-gradient(90deg, transparent, rgba(0, 119, 168, 0.12), transparent);
}

[data-theme="dark"] .opening-stat:hover {
    border-color: rgba(0, 119, 168, 0.6);
    box-shadow: 0 25px 70px rgba(0, 119, 168, 0.4);
    background: rgba(0, 119, 168, 0.15);
}

.opening-stat-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 119, 168, 0.12), rgba(0, 119, 168, 0.22));
    border: 2px solid rgba(0, 119, 168, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    animation: iconPulseDesktop 2.5s ease-in-out infinite;
    will-change: box-shadow;
}

@keyframes iconPulseDesktop {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 119, 168, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 119, 168, 0);
        transform: scale(1);
    }
}

.opening-stat-icon svg {
    width: 26px;
    height: 26px;
}

.opening-stat:hover .opening-stat-icon {
    transform: scale(1.15) rotate(8deg);
    background: linear-gradient(135deg, rgba(0, 119, 168, 0.2), rgba(0, 119, 168, 0.35));
    border-color: rgba(0, 119, 168, 0.5);
    box-shadow: 0 0 20px rgba(0, 119, 168, 0.4);
}

[data-theme="dark"] .opening-stat-icon {
    background: linear-gradient(135deg, rgba(0, 119, 168, 0.18), rgba(0, 119, 168, 0.28));
    border-color: rgba(0, 119, 168, 0.4);
}

[data-theme="dark"] .opening-stat:hover .opening-stat-icon {
    background: linear-gradient(135deg, rgba(0, 119, 168, 0.25), rgba(0, 119, 168, 0.4));
    border-color: rgba(0, 119, 168, 0.6);
}

.opening-stat-content {
    flex: 1;
    min-width: 0;
}

.opening-stat .stat-number {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transform: translateZ(0);
}

[data-theme="dark"] .opening-stat .stat-number {
    background: linear-gradient(135deg, #0088b8 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.opening-stat .stat-label {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Opening Animation Specific Styles - Desktop */
#opening-animation .opening-stats {
    gap: 8px;
    max-width: 1150px;
}

#opening-animation .opening-stat {
    gap: 14px;
    padding: 24px 34px;
    max-width: none;
}

#opening-animation .opening-stat .stat-number {
    font-size: clamp(17px, 1.9vw, 22px);
    margin-bottom: 0;
    line-height: 1.3;
    text-align: left;
}

#opening-animation .opening-stat .stat-label {
    display: none;
}

#opening-animation .opening-stat-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

/* Shared animations for both mobile and desktop */
@keyframes shimmerDesktop {
    0% { 
        transform: translateX(-100%);
    }
    100% { 
        transform: translateX(200%);
    }
}

/* Connecting lines */
.opening-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    animation: connectionsAppear 1s ease-out 2.2s forwards;
}

@keyframes connectionsAppear {
    to {
        opacity: 0.3;
    }
}

.connection-line {
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
}

.connection-line.line1 {
    animation: drawLine 1s ease-out 2.4s forwards;
}

.connection-line.line2 {
    animation: drawLine 1s ease-out 2.5s forwards;
}

.connection-line.line3 {
    animation: drawLine 1s ease-out 2.6s forwards;
}

.connection-line.line4 {
    animation: drawLine 1s ease-out 2.7s forwards;
}

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

/* ==============================================
   HERO SECTION - INTEGRATED
   ============================================== */

.hero {
    min-height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 50px;
    overflow: hidden;
    background: var(--color-background);
    opacity: 0;
    animation: heroFadeIn 1s ease-out 4s forwards;
}

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

/* Animated gradient background */
.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0;
    animation: orbFloat 20s ease-in-out infinite, orbFadeIn 2s ease-out 4.5s forwards;
}

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

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(60px, -40px) scale(1.1);
    }
    66% {
        transform: translate(-40px, 50px) scale(0.9);
    }
}

.orb1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 119, 168, 0.2) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 4.5s;
}

.orb2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 136, 184, 0.15) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: 4.7s;
    animation-duration: 25s;
}

.orb3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 90, 130, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 4.9s;
    animation-duration: 30s;
}

[data-theme="dark"] .orb1 {
    background: radial-gradient(circle, rgba(0, 119, 168, 0.25) 0%, transparent 70%);
}

[data-theme="dark"] .orb2 {
    background: radial-gradient(circle, rgba(0, 136, 184, 0.2) 0%, transparent 70%);
}

[data-theme="dark"] .orb3 {
    background: radial-gradient(circle, rgba(0, 90, 130, 0.18) 0%, transparent 70%);
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0;
    animation: floatParticle 15s linear infinite;
}

.hero-particles span:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.hero-particles span:nth-child(2) {
    width: 3px;
    height: 3px;
    left: 25%;
    animation-delay: 4.5s;
    animation-duration: 20s;
}

.hero-particles span:nth-child(3) {
    width: 5px;
    height: 5px;
    left: 40%;
    animation-delay: 5s;
    animation-duration: 16s;
}

.hero-particles span:nth-child(4) {
    width: 3px;
    height: 3px;
    left: 55%;
    animation-delay: 5.5s;
    animation-duration: 22s;
}

.hero-particles span:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 70%;
    animation-delay: 6s;
    animation-duration: 19s;
}

.hero-particles span:nth-child(6) {
    width: 3px;
    height: 3px;
    left: 85%;
    animation-delay: 6.5s;
    animation-duration: 21s;
}

.hero-particles span:nth-child(7) {
    width: 4px;
    height: 4px;
    left: 15%;
    animation-delay: 7s;
    animation-duration: 17s;
}

.hero-particles span:nth-child(8) {
    width: 3px;
    height: 3px;
    left: 90%;
    animation-delay: 7.5s;
    animation-duration: 23s;
}

@keyframes floatParticle {
    0% {
        bottom: -5%;
        opacity: 0;
        transform: translateX(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        bottom: 105%;
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Hero container */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero content */
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    animation: contentSlideUp 0.8s ease-out 4.2s backwards;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(0, 119, 168, 0.1);
    border: 1.5px solid rgba(0, 119, 168, 0.3);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    margin-top: -20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 119, 168, 0.2);
    border-color: rgba(0, 119, 168, 0.5);
}

.hero-badge svg {
    width: 12px;
    height: 12px;
    animation: starSpin 3s ease-in-out infinite;
}

.hero-badge-mobile {
    display: none;
}

.hero-badge-desktop {
    display: inline;
}

@keyframes starSpin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

[data-theme="dark"] .hero-badge {
    background: rgba(0, 119, 168, 0.15);
    border-color: rgba(0, 119, 168, 0.4);
    color: white;
}

.hero-title {
    font-family: 'BastardusSans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: contentSlideUp 0.8s ease-out 4.3s backwards;
}

[data-theme="dark"] .hero-title {
    background: linear-gradient(135deg, #0088b8 0%, #00c3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(13px, 1.4vw, 15px);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin: 0 auto;
    animation: contentSlideUp 0.8s ease-out 4.4s backwards;
    max-width: 950px;
    text-align: left;
    padding: 0;
}

.hero-description br {
    display: block;
    content: "";
    margin-top: 0.6em;
}

.hero-market-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
}

/* Integrated stats with connections */
.hero-stats-integrated {
    position: relative;
    margin: 35px 0 30px;
}

.stats-connections {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 600px;
    pointer-events: none;
    z-index: 0;
}

.stat-connection {
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.stat-connection.c1 {
    animation: drawConnection 1.5s ease-out 4.8s forwards;
}

.stat-connection.c2 {
    animation: drawConnection 1.5s ease-out 4.9s forwards;
}

.stat-connection.c3 {
    animation: drawConnection 1.5s ease-out 5s forwards;
}

.stat-connection.c4 {
    animation: drawConnection 1.5s ease-out 5.1s forwards;
}

@keyframes drawConnection {
    to {
        opacity: 0.2;
        stroke-dashoffset: 0;
    }
}

[data-theme="dark"] .stat-connection {
    opacity: 0;
}

[data-theme="dark"] .stat-connection.c1,
[data-theme="dark"] .stat-connection.c2,
[data-theme="dark"] .stat-connection.c3,
[data-theme="dark"] .stat-connection.c4 {
    animation: drawConnectionDark 1.5s ease-out 4.8s forwards;
}

@keyframes drawConnectionDark {
    to {
        opacity: 0.3;
        stroke-dashoffset: 0;
    }
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    position: relative;
    z-index: 1;
}

/* CTA Button */
.hero-cta {
    text-align: center;
    animation: contentSlideUp 0.8s ease-out 5s backwards;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border: 2px solid rgba(0, 119, 168, 0.3);
    box-shadow: 0 8px 30px rgba(0, 119, 168, 0.3);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.hero-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 119, 168, 0.4);
    border-color: rgba(0, 119, 168, 0.5);
}

.hero-cta-btn:hover::before {
    opacity: 1;
}

.hero-cta-btn svg {
    transition: transform 0.4s ease;
    flex-shrink: 0;
    vertical-align: middle;
}

.hero-cta-btn:hover svg {
    transform: translateX(6px);
}

[data-theme="dark"] .hero-cta-btn {
    background: linear-gradient(135deg, #0088b8 0%, #00c3ff 100%);
    box-shadow: 0 8px 30px rgba(0, 136, 184, 0.4);
}

[data-theme="dark"] .hero-cta-btn:hover {
    box-shadow: 0 16px 50px rgba(0, 136, 184, 0.5);
}

/* Elegant Page Loader */
#page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--color-background) 0%, 
        var(--color-background-secondary) 100%
    );
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: logoPluse 2s ease-in-out infinite;
}

@keyframes logoPluse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

.loader-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    position: relative;
}

.loader-spinner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--color-primary);
    border-right-color: var(--color-primary);
    animation: spinLoader 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loader-spinner::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: var(--color-accent);
    border-left-color: var(--color-accent);
    animation: spinLoader 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite reverse;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #opening-animation {
        display: none;
    }
    
    .hero {
        opacity: 1;
        animation: none;
    }
    
    .hero-content,
    .hero-cta {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(229, 229, 229, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    transform: translateY(-100%);
}

/* Hide all page content when opening animation is present */
body:has(#opening-animation) .nav,
body:has(#opening-animation) main,
body:has(#opening-animation) section:not(#opening-animation),
body:has(#opening-animation) footer {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Force page content to stay at top when opening animation is active */
body:has(#opening-animation) {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100vh !important;
}

/* Show navbar immediately after opening animation is removed */
body:not(:has(#opening-animation)) .nav {
    animation: slideDownNav 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideDownNav {
    to {
        transform: translateY(0);
    }
}

.nav.scrolled {
    background: #ffffff;
    border-bottom: 1px solid rgba(229, 229, 229, 0.5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .nav {
    background: #0a0a0f;
    border-bottom: 1px solid rgba(0, 119, 168, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nav.scrolled {
    background: #0a0a0f;
    border-bottom: 1px solid rgba(0, 119, 168, 0.15);
    box-shadow: 0 4px 24px rgba(0, 119, 168, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1px;
    font-weight: 700;
    font-size: 17px;
    position: relative;
}

.nav-logo img {
    display: block;
}

.nav-logo span.logo-text {
    color: #000000;
    position: relative;
    display: inline-block;
    letter-spacing: 0.02em;
    font-family: 'Inoa', 'BastardusSans', sans-serif;
    font-weight: normal;
    font-size: 26px;
    line-height: 1;
}

[data-theme="dark"] .nav-logo {
    filter: none;
}

[data-theme="dark"] .nav-logo:hover {
    filter: none;
}

[data-theme="dark"] .nav-logo span.logo-text {
    color: #ffffff;
}

.nav-logo svg {
    width: 24px;
    height: 24px;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-logo:hover img {
    transform: scale(1.1) rotate(2deg);
}

[data-theme="dark"] .nav-logo img {
    filter: brightness(1) contrast(1);
}

[data-theme="dark"] .nav-logo:hover img {
    filter: brightness(1.1) contrast(1);
    transform: scale(1.1) rotate(2deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    background-color: var(--color-background);
    min-width: 180px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    padding: 8px 0;
    z-index: 1000;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.dropdown-content a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--color-background-secondary);
    color: var(--color-text);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu-toggle {
    display: none;
    padding: 4px;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle svg {
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background-color: var(--color-background-secondary);
    border-radius: 6px;
}

.language-btn {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.language-btn:hover {
    color: var(--color-text);
    background-color: var(--color-background);
}

.language-btn.active {
    background-color: var(--color-primary);
    color: white;
}

.theme-toggle {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--color-text-secondary);
}

.theme-toggle:hover {
    background-color: var(--color-background-secondary);
    color: var(--color-text);
}

.theme-icon {
    display: none;
}

.theme-icon-light {
    display: block;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: block;
}

.nav-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-btn-secondary {
    color: var(--color-text);
}

.nav-btn-secondary:hover {
    background-color: var(--color-background-secondary);
}

.nav-btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.nav-btn-primary:hover {
    background-color: var(--color-primary-hover);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
    background: var(--color-background);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 50%, 
        rgba(0, 119, 168, 0.15) 0%, 
        transparent 50%
    ),
    radial-gradient(
        circle at 70% 50%, 
        rgba(0, 90, 130, 0.1) 0%, 
        transparent 50%
    );
    animation: heroGradientMove 20s ease-in-out infinite;
    opacity: 0;
    pointer-events: none;
    animation: heroGradientMove 20s ease-in-out infinite, fadeInGradient 1.5s ease-out forwards;
}

@keyframes fadeInGradient {
    to {
        opacity: 0.6;
    }
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(
        circle at 30% 50%, 
        rgba(0, 119, 168, 0.12) 0%, 
        transparent 50%
    ),
    radial-gradient(
        circle at 70% 50%, 
        rgba(0, 136, 184, 0.08) 0%, 
        transparent 50%
    );
    opacity: 0.8;
}

@keyframes heroGradientMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(5%, -5%) rotate(120deg);
    }
    66% {
        transform: translate(-5%, 5%) rotate(240deg);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 119, 168, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 168, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .hero::after {
    background-image: 
        linear-gradient(rgba(0, 119, 168, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 168, 0.05) 1px, transparent 1px);
}

/* Floating particles effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 119, 168, 0.3);
    border-radius: 50%;
    animation: floatParticles 20s linear infinite;
    opacity: 0;
    box-shadow: 0 0 10px rgba(0, 119, 168, 0.5);
}

.hero-particles span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.hero-particles span:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.hero-particles span:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.hero-particles span:nth-child(4) {
    left: 60%;
    animation-delay: 1s;
    animation-duration: 20s;
}

.hero-particles span:nth-child(5) {
    left: 75%;
    animation-delay: 3s;
    animation-duration: 17s;
}

.hero-particles span:nth-child(6) {
    left: 90%;
    animation-delay: 5s;
    animation-duration: 19s;
}

@keyframes floatParticles {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) scale(0.5);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(50px) scale(1);
    }
}

.hero-content {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, 
        rgba(0, 119, 168, 0.1) 0%, 
        rgba(0, 90, 130, 0.1) 100%
    );
    border: 1px solid rgba(0, 119, 168, 0.2);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpSmooth 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.hero-badge::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 ease;
}

.hero-badge:hover {
    border-color: rgba(0, 119, 168, 0.4);
    box-shadow: 0 4px 20px rgba(0, 119, 168, 0.2);
    transform: translateY(-2px);
}

.hero-badge:hover::before {
    left: 100%;
}

[data-theme="dark"] .hero-badge {
    background: linear-gradient(135deg, 
        rgba(0, 119, 168, 0.15) 0%, 
        rgba(0, 136, 184, 0.12) 100%
    );
    border: 1px solid rgba(0, 119, 168, 0.25);
    color: white;
}

[data-theme="dark"] .hero-badge:hover {
    border-color: rgba(0, 119, 168, 0.5);
    box-shadow: 0 4px 20px rgba(0, 119, 168, 0.3);
}

.hero-badge svg {
    width: 12px;
    height: 12px;
}

.hero-title {
    font-family: 'BastardusSans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 35px;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: titleFadeInScale 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

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

[data-theme="dark"] .hero-title {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(0, 119, 168, 0.3));
}

.hero-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.2;
    font-weight: 100;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpSmooth 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

.hero-cta {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpSmooth 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 119, 168, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 119, 168, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(0, 119, 168, 0.15);
    transform: translateY(-2px);
    border-color: rgba(0, 119, 168, 0.3);
}

.btn-primary:hover::before {
    opacity: 0.3;
}

.btn-primary:hover::after {
    width: 0;
    height: 0;
}

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

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

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

.hero-visual {
    position: relative;
    height: 0px;
    margin-top: 0px;
    opacity: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--color-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

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

/* Customers Section */
.customers {
    padding: 100px 32px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    animation: fadeInSection 0.8s ease-out 1.3s forwards;
}

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

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

.customers-label {
    text-align: center;
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 60px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Customers Slider */
.customers-slider-wrapper {
    overflow: hidden;
    width: 100%;
    margin: 0 auto 40px;
    position: relative;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    min-height: 120px;
}

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

.customers-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-background), transparent);
}

.customers-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-background), transparent);
}

.customers-logos-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    animation: slide 40s linear infinite;
    width: max-content;
    padding: 0 50%;
}

.customers-logos-slider:hover {
    animation-play-state: paused;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3));
    }
}

.customer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    opacity: 0.8;
    transition: opacity 0.5s ease, transform 0.5s ease;
    height: 90px;
    padding: 15px 0;
}

.customer-logo img {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.1);
    transition: filter 0.5s ease;
}

/* XP Asset - logo maior */
.customer-logo img.xpasset-logo {
    height: 110px;
    max-width: 360px;
}

/* JPMorgan - logo maior */
.customer-logo img.jpmorgan-logo {
    height: 120px;
    max-width: 390px;
}

/* Dynamo - logo maior */
.customer-logo img.dynamo-logo {
    height: 90px;
    max-width: 340px;
}

[data-theme="dark"] .customer-logo img.invert-dark {
    filter: grayscale(100%) brightness(2.8) invert(1);
}

/* Logo Pátria - precisa de inversão no light mode */
.customer-logo img.patria-logo {
    filter: grayscale(100%) brightness(1.1) invert(1);
}

[data-theme="dark"] .customer-logo img.patria-logo {
    filter: grayscale(100%) brightness(2.8);
}

/* Logo Bee4 - versões light e dark */
.customer-logo.bee4-logo .logo-dark {
    display: none;
}

.customer-logo.bee4-logo .logo-light {
    display: block;
    filter: grayscale(100%) brightness(1.1);
}

[data-theme="dark"] .customer-logo.bee4-logo .logo-light {
    display: none;
}

[data-theme="dark"] .customer-logo.bee4-logo .logo-dark {
    display: block;
    filter: grayscale(100%) brightness(2.8);
}

.customer-logo.bee4-logo.active .logo-light {
    filter: grayscale(0%) brightness(1.5) !important;
}

.customer-logo.bee4-logo.active .logo-dark {
    filter: grayscale(0%) brightness(2.2) !important;
}

.customer-logo.bee4-logo:hover .logo-light {
    filter: grayscale(0%) brightness(1.5);
}

.customer-logo.bee4-logo:hover .logo-dark {
    filter: grayscale(0%) brightness(2.2);
}

.customer-logo.active {
    opacity: 1 !important;
    transform: scale(1.15) !important;
}

.customer-logo.active img {
    filter: grayscale(0%) brightness(1.5) !important;
}

[data-theme="dark"] .customer-logo.active img.invert-dark {
    filter: grayscale(0%) brightness(2.2) invert(1) !important;
}

.customer-logo.active img.patria-logo {
    filter: grayscale(0%) brightness(1.5) invert(1) !important;
}

[data-theme="dark"] .customer-logo.active img.patria-logo {
    filter: grayscale(0%) brightness(2.2) !important;
}

.customer-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.customer-logo:hover img {
    filter: grayscale(0%) brightness(1.5);
}

[data-theme="dark"] .customer-logo:hover img.invert-dark {
    filter: grayscale(0%) brightness(2.2) invert(1);
}

.customer-logo:hover img.patria-logo {
    filter: grayscale(0%) brightness(1.5) invert(1);
}

[data-theme="dark"] .customer-logo:hover img.patria-logo {
    filter: grayscale(0%) brightness(2.2);
}

/* BTG e Dynamo - brancas no dark mode */
[data-theme="dark"] .customer-logo img.btg-logo,
[data-theme="dark"] .customer-logo img.dynamo-logo {
    filter: grayscale(100%) brightness(1.5) invert(1);
}

[data-theme="dark"] .customer-logo img.bradesco-logo {
    filter: grayscale(100%) brightness(2.5);
}

[data-theme="dark"] .customer-logo.active img.btg-logo,
[data-theme="dark"] .customer-logo.active img.dynamo-logo {
    filter: grayscale(100%) brightness(1.8) invert(1) !important;
}

[data-theme="dark"] .customer-logo.active img.bradesco-logo {
    filter: grayscale(100%) brightness(3) !important;
}

[data-theme="dark"] .customer-logo:hover img.btg-logo,
[data-theme="dark"] .customer-logo:hover img.dynamo-logo {
    filter: grayscale(100%) brightness(1.8) invert(1);
}

[data-theme="dark"] .customer-logo:hover img.bradesco-logo {
    filter: grayscale(100%) brightness(3);
}

.customers-link {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Stats Grid within Customers Section */
.customers .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.customers .stats-grid .opening-stat {
    gap: 20px;
    padding: 20px 28px;
}

.customers .stats-grid .opening-stat-icon {
    width: 50px;
    height: 50px;
}

.customers .stats-grid .opening-stat-icon svg {
    width: 24px;
    height: 24px;
}

.customers .stats-grid .stat-number {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.customers .stats-grid .stat-label {
    font-size: 11.5px;
    line-height: 1.5;
}

/* Responsive: volta para 1 coluna em telas menores */
@media (max-width: 768px) {
    .customers .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==============================================
   FILES ANIMATION - FLEXIBLE & ROBUST (SIDE-BY-SIDE)
   ============================================== */

.files-animation-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Left side: Text content */
.files-text-content {
    position: relative;
    z-index: 2;
}

.files-text-content .feature-label {
    display: inline-block;
    margin-bottom: 15px;
}

.files-text-content h4 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-text);
}

.files-text-content p {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Features list */
.files-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.file-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(0, 119, 168, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(0, 119, 168, 0.1);
    transition: all 0.3s ease;
}

.file-feature-item:hover {
    background: rgba(0, 119, 168, 0.06);
    border-color: rgba(0, 119, 168, 0.2);
    transform: translateX(4px);
}

[data-theme="dark"] .file-feature-item {
    background: rgba(0, 119, 168, 0.06);
    border-color: rgba(0, 119, 168, 0.15);
}

[data-theme="dark"] .file-feature-item:hover {
    background: rgba(0, 119, 168, 0.08);
    border-color: rgba(0, 119, 168, 0.25);
}

.file-feature-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.file-feature-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-feature-text strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

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

/* Right side: Files animation */
.files-grid {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* File preview cards - stacked, appearing one at a time */
.animated-file {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 119, 168, 0.15);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

/* Slower cycle - each file shows for ~3 seconds */
.animated-file[data-file="1"] { animation: fileFlash 18s ease-in-out 0s infinite; }
.animated-file[data-file="2"] { animation: fileFlash 18s ease-in-out 3s infinite; }
.animated-file[data-file="3"] { animation: fileFlash 18s ease-in-out 6s infinite; }
.animated-file[data-file="4"] { animation: fileFlash 18s ease-in-out 9s infinite; }
.animated-file[data-file="5"] { animation: fileFlash 18s ease-in-out 12s infinite; }
.animated-file[data-file="6"] { animation: fileFlash 18s ease-in-out 15s infinite; }

@keyframes fileFlash {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        z-index: 1;
    }
    2% {
        opacity: 1;
        transform: translateY(0) scale(1);
        z-index: 10;
    }
    15% {
        opacity: 1;
        transform: translateY(0) scale(1);
        z-index: 10;
    }
    17% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        z-index: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        z-index: 1;
    }
}

[data-theme="dark"] .animated-file {
    background: var(--color-background-secondary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* File header */
.file-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 119, 168, 0.06), rgba(0, 119, 168, 0.02));
    border-bottom: 1px solid var(--color-border);
}

[data-theme="dark"] .file-header {
    background: linear-gradient(135deg, rgba(0, 119, 168, 0.10), rgba(0, 119, 168, 0.04));
}

.file-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.file-icon-excel {
    color: #10b981;
}

.file-icon-xml {
    color: #fbbf24;
}

.file-header-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    font-family: 'Monaco', 'Courier New', monospace;
    margin-bottom: 2px;
}

.file-meta {
    font-size: 11px;
    color: var(--color-text-secondary);
    opacity: 0.7;
}

/* File content preview */
.file-content {
    flex: 1;
    padding: 20px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    overflow: hidden;
    position: relative;
}

.file-content-text {
    white-space: pre;
    opacity: 0.85;
}

.file-content-text .highlight {
    color: var(--color-primary);
    font-weight: 600;
}

/* Spreadsheet styling */
.file-content-table {
    width: 100%;
    border-collapse: collapse;
}

.file-content-table th {
    text-align: left;
    font-weight: 600;
    color: var(--color-text);
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-border);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.file-content-table td {
    padding: 8px 12px;
    font-size: 11px;
    opacity: 0.85;
}

.positive {
    color: #10b981;
    font-weight: 600;
}

.negative {
    color: #ef4444;
    font-weight: 600;
}

/* XML/CSV styling */
.file-content-code {
    opacity: 0.85;
}

.file-content-code .tag {
    color: #10b981;
}

.file-content-code .attr {
    color: #fbbf24;
}

.file-content-code .value {
    color: var(--color-primary);
}

/* Fade at bottom */
.file-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--color-background));
    pointer-events: none;
}

[data-theme="dark"] .file-content::after {
    background: linear-gradient(to bottom, transparent, var(--color-background-secondary));
}

/* Responsive */
@media (max-width: 968px) {
    .files-animation-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 30px;
    }

    .files-text-content h4 {
        font-size: 2rem;
    }

    .files-text-content p {
        font-size: 1.05rem;
    }

    .files-grid {
        height: 400px;
    }

    .file-feature-item {
        padding: 18px;
    }

    .file-feature-text strong {
        font-size: 0.95rem;
    }

    .file-feature-text span {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .files-animation-container {
        padding: 40px 20px;
        gap: 40px;
    }

    .files-text-content h4 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }

    .files-text-content p {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .files-features {
        gap: 16px;
        margin-top: 32px;
    }

    .file-feature-item {
        padding: 16px;
        gap: 14px;
    }

    .file-feature-item svg {
        width: 20px;
        height: 20px;
    }

    .file-feature-text strong {
        font-size: 0.9rem;
    }

    .file-feature-text span {
        font-size: 0.8rem;
    }

    .files-grid {
        height: 320px;
    }

    .file-header {
        padding: 14px 16px;
    }

    .file-icon {
        width: 30px;
        height: 30px;
    }

    .file-icon svg {
        width: 18px;
        height: 18px;
    }

    .file-name {
        font-size: 11px;
    }

    .file-meta {
        font-size: 9px;
    }

    .file-content {
        padding: 14px;
        font-size: 9px;
        line-height: 1.5;
    }

    .file-content-table th {
        padding: 6px 8px;
        font-size: 8px;
    }

    .file-content-table td {
        padding: 6px 8px;
        font-size: 9px;
    }
}

/* Section Heading */
.section-heading {
    padding: 100px 24px 60px;
}

.section-title {
    font-family: 'BastardusSans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 56px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.03em;
    line-height: 1.15;
    position: relative;
}

[data-theme="dark"] .section-title {
    text-shadow: 0 0 40px rgba(0, 119, 168, 0.15);
}

.section-description {
    font-size: 18px;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 24px auto 0;
    line-height: 1.75;
    font-weight: 400;
}

/* Feature Sections */
.feature-section {
    padding: 120px 32px;
}

.products-intro {
    padding: 100px 32px 40px 32px;
    text-align: center;
}

.products-intro .section-title {
    margin-bottom: 0;
}

.feature-section-dark {
    background-color: var(--color-background-secondary);
    position: relative;
}

[data-theme="dark"] .feature-section-dark {
    background: radial-gradient(ellipse at top, rgba(0, 119, 168, 0.05) 0%, var(--color-background-secondary) 50%);
}

.feature-section-light {
    background-color: var(--color-background);
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-content-reverse {
    direction: rtl;
}

.feature-content-reverse > * {
    direction: ltr;
}

.feature-text {
    max-width: 540px;
}

.feature-label {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--color-text-secondary);
}

[data-theme="dark"] .feature-label {
    background-color: var(--color-background-secondary);
}

.feature-category {
    margin-bottom: 16px;
}

.category-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-title {
    font-family: 'BastardusSans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.feature-description {
    font-size: 19px;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 400;
}

.feature-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 32px;
    transition: var(--transition);
}

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

.feature-agents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.agent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.agent-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] .agent-item {
    background-color: var(--color-background-secondary);
}

.agent-item:hover {
    border-color: var(--color-primary);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 119, 168, 0.15);
}

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

.agent-icon {
    flex-shrink: 0;
}

.agent-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.agent-name {
    font-size: 14px;
    font-weight: 500;
}

.feature-visual {
    position: relative;
}

.ai-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] .ai-card {
    background-color: var(--color-background-secondary);
}

.ai-card:hover {
    box-shadow: 0 12px 40px rgba(0, 119, 168, 0.2);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 119, 168, 0.4);
}

.ai-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ai-card-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.ai-feature-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ai-feature-item {
    padding: 6px 12px;
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

[data-theme="dark"] .ai-feature-item {
    background-color: var(--color-background);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.feature-list-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-list-item p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.feature-tag {
    padding: 4px 10px;
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

[data-theme="dark"] .feature-tag {
    background-color: var(--color-background);
}

.feature-sublink {
    display: inline-block;
    font-size: 14px;
    color: var(--color-primary);
    margin-top: 8px;
    transition: var(--transition);
}

.feature-sublink:hover {
    color: var(--color-primary-hover);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-grid-item h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-grid-item p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Hub Feature Cards */
.hub-feature-card {
    text-align: center;
    padding: 35px 25px 30px;
    background: linear-gradient(135deg, rgba(0, 119, 168, 0.08), rgba(0, 163, 224, 0.05));
    border-radius: 20px;
    border: 1.5px solid rgba(0, 163, 224, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hub-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00A3E0, #0077A8);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hub-feature-card:hover::before {
    opacity: 1;
}

.hub-feature-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(0, 119, 168, 0.12), rgba(0, 163, 224, 0.08));
    border-color: rgba(0, 163, 224, 0.5);
    box-shadow: 0 20px 50px rgba(0, 163, 224, 0.2);
}

.hub-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.15), rgba(0, 119, 168, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #00A3E0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 163, 224, 0.2);
}

.hub-feature-card:hover .hub-feature-icon {
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.25), rgba(0, 119, 168, 0.25));
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(0, 163, 224, 0.4);
}

.hub-feature-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.hub-feature-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00A3E0, transparent);
    margin: 12px auto 18px;
    border-radius: 2px;
}

.hub-feature-card p {
    margin: 0;
    font-size: 14.5px;
    color: var(--color-text-secondary);
    line-height: 1.65;
    opacity: 0.95;
}

/* Hub Participant Cards */
.hub-participant-card {
    padding: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 22px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hub-participant-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00A3E0, #0077A8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hub-participant-card:hover::after {
    opacity: 1;
}

.hub-participant-card:hover {
    transform: translateX(4px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    border-color: rgba(0, 163, 224, 0.3);
    box-shadow: 0 12px 35px rgba(0, 163, 224, 0.15);
}

.hub-participant-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.18), rgba(0, 119, 168, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00A3E0;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 163, 224, 0.25);
}

.hub-participant-card:hover .hub-participant-icon {
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.28), rgba(0, 119, 168, 0.28));
    transform: scale(1.08);
    border-color: rgba(0, 163, 224, 0.4);
}

.hub-participant-content {
    flex: 1;
    text-align: left;
}

.hub-participant-content h5 {
    margin: 0 0 10px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.hub-participant-divider {
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, #00A3E0, transparent);
    margin: 10px 0 14px 0;
    border-radius: 2px;
}

.hub-participant-content p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    opacity: 0.92;
}

/* Mobile Styles for Hub Cards */
@media (max-width: 768px) {
    .hub-feature-card {
        padding: 32px 22px 28px;
    }
    
    .hub-feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .hub-feature-card h4 {
        font-size: 1.2rem;
    }
    
    .hub-participant-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 0;
    }
    
    .hub-participant-card::after {
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
        width: auto;
        height: 3px;
    }
    
    .hub-participant-card:hover {
        transform: translateY(-4px);
    }
    
    .hub-participant-icon {
        margin: 0 auto 18px auto;
    }
    
    .hub-participant-content {
        text-align: center;
    }
    
    .hub-participant-divider {
        margin: 10px auto 14px auto;
    }
}

@media (max-width: 480px) {
    .hub-feature-card {
        padding: 28px 18px 24px;
    }
    
    .hub-feature-icon {
        width: 54px;
        height: 54px;
    }
    
    .hub-feature-card h4 {
        font-size: 1.1rem;
    }
    
    .hub-feature-card p {
        font-size: 13.5px;
    }
    
    .hub-participant-card {
        padding: 20px 16px;
    }
    
    .hub-participant-content h5 {
        font-size: 1.05rem;
    }
    
    .hub-participant-content p {
        font-size: 13px;
    }
}

.feature-image {
    position: relative;
}

.roadmap-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.roadmap-card:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 119, 168, 0.2);
}

[data-theme="dark"] .roadmap-card {
    background-color: var(--color-background-secondary);
}

.roadmap-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roadmap-project {
    padding: 16px;
    border-radius: 8px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.roadmap-project::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.roadmap-project:hover {
    transform: translateY(-2px);
}

.roadmap-project:hover::after {
    opacity: 1;
}

.roadmap-project-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.roadmap-project-status {
    font-size: 13px;
    opacity: 0.9;
}

.issue-board {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.issue-board:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 119, 168, 0.2);
}

[data-theme="dark"] .issue-board {
    background-color: var(--color-background-secondary);
}

.issue-board-header {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.issue-card {
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    cursor: pointer;
}

.issue-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 8px 0 0 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .issue-card {
    background-color: var(--color-background);
}

.issue-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(0, 119, 168, 0.15);
    transform: translateX(4px);
}

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

.issue-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.issue-id {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.issue-priority {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-high {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.issue-card-title {
    font-size: 14px;
    font-weight: 500;
}

/* Principles Section */
.principles {
    padding: 40px 24px 60px;
    text-align: center;
    border-top: none;
}

.principles-intro {
    max-width: 800px;
    margin: 0 auto 24px;
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.principles-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 60px;
    transition: var(--transition);
}

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

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Integrations Section */
.integrations {
    padding: 80px 24px;
    border-top: 1px solid var(--color-border);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.integration-card {
    padding: 32px;
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.integration-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.integration-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 119, 168, 0.25);
    border-color: var(--color-primary);
}

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

.integration-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.integration-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.integration-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.integration-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    transition: var(--transition);
}

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

/* ==============================================
   CAREERS SECTION
   ============================================== */

.careers-section {
    padding: 100px 24px;
    background: linear-gradient(135deg,
        var(--color-background) 0%,
        var(--color-background-secondary) 100%);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.careers-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 119, 168, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .careers-section::before {
    background: radial-gradient(circle, rgba(0, 119, 168, 0.12) 0%, transparent 70%);
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 1;
}

.careers-text {
    padding-right: 20px;
}

.careers-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 24px 0 32px;
}

.careers-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.careers-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--color-text);
}

.careers-highlight svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* CTA Card */
.careers-cta-card {
    background: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.careers-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.careers-cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 119, 168, 0.2);
    border-color: var(--color-primary);
}

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

[data-theme="dark"] .careers-cta-card {
    background: var(--color-background-secondary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .careers-cta-card:hover {
    box-shadow: 0 20px 60px rgba(0, 119, 168, 0.3);
}

.careers-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(0, 119, 168, 0.1), rgba(0, 119, 168, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.4s ease;
}

.careers-cta-card:hover .careers-cta-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 119, 168, 0.15), rgba(0, 119, 168, 0.25));
}

.careers-cta-title {
    font-family: 'BastardusSans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.careers-cta-text {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.careers-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    padding: 16px 32px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.careers-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 119, 168, 0.3);
}

.careers-cta-btn svg {
    width: 20px;
    height: 20px;
}

.careers-email-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 12px;
}

.careers-email-text a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.careers-email-text a:hover {
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .careers-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .careers-text {
        padding-right: 0;
        text-align: center;
    }

    .careers-highlights {
        align-items: center;
    }

    .careers-highlight {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .careers-section {
        padding: 80px 20px;
    }

    .careers-cta-card {
        padding: 40px 28px;
    }

    .careers-cta-title {
        font-size: 24px;
    }

    .careers-description {
        font-size: 16px;
    }

    .careers-highlight {
        font-size: 15px;
    }
}

/* Under the Hood Section */
.under-hood {
    padding: 120px 32px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.under-hood-label {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.under-hood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 48px auto;
}

/* Override for the inline style in technology section */
.under-hood-grid[style*="max-width: 900px"] {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .under-hood-grid[style*="max-width: 900px"] {
        grid-template-columns: 1fr !important;
    }
}

.under-hood-card {
    padding: 32px;
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.under-hood-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 119, 168, 0.1),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

/* Only apply hover effects on devices with hover capability (not touch) */
@media (hover: hover) and (pointer: fine) {
    .under-hood-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 60px rgba(0, 119, 168, 0.2);
        border-color: var(--color-primary);
    }
    
    .under-hood-card:hover::before {
        left: 100%;
    }
}

.under-hood-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.under-hood-title svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

/* Alta performance - Lightning icon (yellow/gold) */
.under-hood-card:nth-child(1) .under-hood-title svg {
    color: #fbbf24;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
    animation: iconPulse 2s ease-in-out infinite;
}

/* Segurança de Dados - Lock icon (green) */
.under-hood-card:nth-child(2) .under-hood-title svg {
    color: #10b981;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.5));
    animation: iconPulse 2s ease-in-out 0.3s infinite;
}

/* Escalabilidade - Chart icon (blue/purple) */
.under-hood-card:nth-child(3) .under-hood-title svg {
    color: #0088b8;
    filter: drop-shadow(0 0 8px rgba(0, 136, 184, 0.5));
    animation: iconPulse 2s ease-in-out 0.6s infinite;
}

/* API-First - Globe icon (blue/purple) */
.under-hood-card:nth-child(4) .under-hood-title svg {
    color: #0077a8;
    filter: drop-shadow(0 0 8px rgba(0, 119, 168, 0.5));
    animation: iconPulse 2s ease-in-out 0.9s infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px currentColor);
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 16px currentColor);
    }
}

.under-hood-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: 400;
}

.under-hood-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    transition: var(--transition);
}

.under-hood-link:hover {
    color: var(--color-primary-hover);
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.compliance-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.compliance-badge:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 119, 168, 0.2);
    border-color: var(--color-primary);
}

.badge-icon {
    font-size: 32px;
}

.badge-label {
    font-size: 14px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    border-top: 1px solid var(--color-border);
    position: relative;
}

[data-theme="dark"] .cta-section {
    background: radial-gradient(ellipse at center, rgba(0, 119, 168, 0.08) 0%, var(--color-background) 60%);
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .cta-title {
    text-shadow: 0 0 40px rgba(0, 119, 168, 0.2);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
.footer {
    padding: 80px 32px 32px;
    border-top: 1px solid var(--color-border);
    background: var(--color-background-secondary);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 119, 168, 0.5) 50%, 
        transparent
    );
}

[data-theme="dark"] .footer {
    background: linear-gradient(to bottom, 
        var(--color-background-secondary) 0%, 
        rgba(10, 10, 15, 0.95) 100%
    );
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 100px;
    max-width: 1280px;
    margin: 0 auto 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-logo span.logo-text {
    font-family: 'Inoa', 'BastardusSans', sans-serif;
    font-weight: normal;
    font-size: 24px;
}

.footer-logo svg {
    width: 28px;
    height: 28px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.footer-column-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
    color: var(--color-text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 15px;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links span {
    font-size: 15px;
    color: var(--color-text-secondary);
}

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

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 119, 168, 0.1);
    border: 1px solid rgba(0, 119, 168, 0.2);
    color: var(--color-text-secondary);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.footer-social-link:hover {
    border-color: transparent;
    color: white;
    transform: translateY(-4px) scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 119, 168, 0.5);
}

.footer-social-link:hover::before {
    opacity: 1;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--color-background);
        border-top: 1px solid var(--color-border);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        display: flex;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-link {
        width: 100%;
        padding: 8px 0;
        font-size: 16px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        margin-top: 8px;
        padding: 0;
    }

    .nav-dropdown.active .dropdown-content {
        display: block;
    }

    .nav-dropdown:hover .dropdown-content {
        display: none;
    }

    .nav-dropdown.active:hover .dropdown-content {
        display: block;
    }

    .hero-title {
        font-size: 48px;
    }

    .feature-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feature-content-reverse {
        direction: ltr;
    }

    .principles-grid,
    .under-hood-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-market-tag {
        font-size: 12px;
        padding: 7px 16px;
    }

    .section-title {
        font-size: 36px;
    }

    .feature-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 36px;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .customers-logos {
        gap: 32px;
    }

    .feature-agents {
        grid-template-columns: 1fr;
    }

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

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

    .compliance-badges {
        flex-direction: column;
        align-items: center;
    }

    .under-hood-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-title {
        font-size: 24px;
    }

    .cta-title {
        font-size: 28px;
    }

    .nav-right {
        gap: 8px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .under-hood-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
        padding: 0 16px;
    }

    .under-hood-card {
        padding: 24px;
    }

    /* Footer responsive */
    .footer {
        padding: 60px 24px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 40px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-bottom-left {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-social-link {
        width: 36px;
        height: 36px;
    }

    .footer-social-link svg {
        width: 16px;
        height: 16px;
    }
    
    /* Contact section email responsive */
    #contact p[style*="font-size: 24px"] {
        font-size: 18px !important;
    }
    
    #contact div[style*="padding: 48px"] {
        padding: 32px 24px !important;
    }
}

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

.hero-content,
.feature-section,
.principles,
.integrations,
.under-hood,
.cta-section {
    animation: fadeIn 0.8s ease-out;
}

/* Smooth scrolling for all links */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: var(--color-primary);
    color: white;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Utility classes for animations */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up {
    animation-name: fadeInUp;
}

.fade-in-down {
    animation-name: fadeInDown;
}

.scale-in {
    animation-name: scaleIn;
}

.slide-in-left {
    animation-name: slideInLeft;
}

.slide-in-right {
    animation-name: slideInRight;
}

/* Stagger delays for multiple items */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */

.privacy-policy {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: var(--color-background);
}

.privacy-policy .container {
    padding: 0 20px;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.privacy-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-classification {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

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

.privacy-section {
    margin-bottom: 50px;
    padding: 40px;
    background: var(--color-background-secondary);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.privacy-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.privacy-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
}

.privacy-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--color-text);
}

.privacy-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.privacy-section a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.privacy-section strong {
    color: var(--color-text);
    font-weight: 600;
}

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

.privacy-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.privacy-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Dark mode overrides for privacy page */
[data-theme="dark"] .privacy-policy {
    background: var(--color-background);
}

[data-theme="dark"] .privacy-section {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .privacy-section:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-primary);
}

/* System Showcase Section */
.system-showcase {
    position: relative;
    padding: 0 20px;
}

.system-screenshot-container {
    perspective: 1500px;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-wrapper {
    position: relative;
    transform: rotateX(8deg) rotateY(-5deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: floatScreenshot 6s ease-in-out infinite;
}

.screenshot-wrapper:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.02);
}

.system-screenshot {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        0 -2px 6px 0 rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-theme="dark"] .system-screenshot {
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.6),
        0 30px 60px -30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(139, 92, 246, 0.1),
        0 0 60px rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.screenshot-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(
        ellipse at center,
        rgba(139, 92, 246, 0.15) 0%,
        rgba(139, 92, 246, 0.05) 40%,
        transparent 70%
    );
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.screenshot-wrapper:hover .screenshot-glow {
    opacity: 1;
}

@keyframes floatScreenshot {
    0%, 100% {
        transform: rotateX(8deg) rotateY(-5deg) translateY(0px);
    }
    50% {
        transform: rotateX(8deg) rotateY(-5deg) translateY(-20px);
    }
}

/* Responsive adjustments for system showcase */
@media (max-width: 1024px) {
    .screenshot-wrapper {
        transform: rotateX(5deg) rotateY(-3deg);
    }
    
    .screenshot-wrapper:hover {
        transform: rotateX(0deg) rotateY(0deg) scale(1.01);
    }
}

@media (max-width: 768px) {
    .system-showcase {
        margin-top: 60px !important;
        margin-bottom: 60px !important;
    }
    
    .system-showcase-header {
        margin-bottom: 40px !important;
    }
    
    .system-showcase-header h4 {
        font-size: 1.5rem !important;
    }
    
    .system-showcase-header p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }
    
    .screenshot-wrapper {
        transform: rotateX(3deg) rotateY(0deg);
    }
    
    .screenshot-wrapper:hover {
        transform: rotateX(0deg) rotateY(0deg);
    }
    
    @keyframes floatScreenshot {
        0%, 100% {
            transform: rotateX(3deg) rotateY(0deg) translateY(0px);
        }
        50% {
            transform: rotateX(3deg) rotateY(0deg) translateY(-10px);
        }
    }
    
    .system-screenshot {
        border-radius: 12px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 100px 0 60px;
    }
    
    .privacy-title {
        font-size: 2rem;
    }
    
    .privacy-section {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
}

/* Statistics Grid - Reusable classes */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    max-width: 1000px;
    margin: 64px auto 0;
}

.stats-grid .opening-stat {
    animation: none;
}

.stats-grid .opening-stat:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 119, 168, 0.5);
    box-shadow: 0 20px 60px rgba(0, 119, 168, 0.25);
}

[data-theme="dark"] .stats-grid .opening-stat:hover {
    border-color: rgba(0, 119, 168, 0.6);
    box-shadow: 0 20px 60px rgba(0, 119, 168, 0.35);
}

/* Contact Card - Reusable class */
.contact-card {
    background: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px 48px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 119, 168, 0.15);
    border-color: var(--color-primary);
}

.contact-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 90, 130, 0.1), rgba(0, 119, 168, 0.1));
    border-radius: 50%;
    margin-bottom: 16px;
}

.contact-icon-wrapper svg {
    color: var(--color-primary);
    width: 32px;
    height: 32px;
}

.contact-label {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-email-link {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-email-link a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-email-link a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 32px 24px;
    }
    
    .contact-email-link {
        font-size: 18px;
    }
    
    /* Opening Animation - Mobile */
    #opening-animation {
        height: 100dvh;
        min-height: 100vh;
        max-height: 100dvh;
        width: 100vw;
        overflow: hidden;
        align-items: center;
        position: relative;
    }

    /* Mobile-specific background grid adjustments */
    #opening-animation::before {
        background-size: 50px 50px;
        animation: gridFadeInDesktop 1s ease-out 0.2s forwards;
    }

    #opening-animation::after {
        height: 2px;
        animation: scanLineDesktop 2s ease-in-out 0.5s infinite;
    }

    .opening-content {
        min-height: 100vh;
        height: auto;
        max-height: 100dvh;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
        padding: 40px 20px;
        gap: 50px;
        position: relative;
        z-index: 3;
    }

    /* Mobile logo size adjustments */
    .opening-logo {
        width: 180px;
        height: 180px;
    }

    .opening-logo::before,
    .opening-logo::after {
        inset: -20px;
        animation: dataPulseDesktop 2s ease-out infinite;
    }

    .opening-logo::after {
        animation-delay: 1s;
    }

    .logo-text {
        font-size: 42px;
    }

    .logo-particles .particle {
        filter: blur(0.5px);
    }

    /* Vertical flow layout for stats */
    .opening-stats {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 400px;
        padding: 0 20px;
    }

    /* Mobile-specific: vertical ticker layout - only for opening animation */
    #opening-animation .opening-stats {
        gap: 6px;
    }

    #opening-animation .opening-stat {
        padding: 18px 20px;
        gap: 14px;
        flex-direction: row;
        text-align: left;
        border-width: 1.5px;
        border-radius: 12px;
        transform: translateX(-120%);
        animation: slideInFromLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    @keyframes slideInFromLeft {
        0% {
            transform: translateX(-120%);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Mobile stagger animation delays - only for opening animation */
    #opening-animation .opening-stat[data-stat="0"] {
        animation-delay: 1.2s;
    }

    #opening-animation .opening-stat[data-stat="0"]::before {
        animation-delay: 1.8s;
    }

    #opening-animation .opening-stat[data-stat="1"] {
        animation-delay: 1.5s;
    }

    #opening-animation .opening-stat[data-stat="1"]::before {
        animation-delay: 2.1s;
    }

    #opening-animation .opening-stat[data-stat="2"] {
        animation-delay: 1.8s;
    }

    #opening-animation .opening-stat[data-stat="2"]::before {
        animation-delay: 2.4s;
    }

    #opening-animation .opening-stat[data-stat="3"] {
        animation-delay: 2.1s;
    }

    #opening-animation .opening-stat[data-stat="3"]::before {
        animation-delay: 2.7s;
    }

    /* Mobile icon size - only for opening animation */
    #opening-animation .opening-stat-icon {
        width: 48px;
        height: 48px;
        animation: iconPulseDesktop 2s ease-in-out infinite;
    }

    #opening-animation .opening-stat-icon svg {
        width: 24px;
        height: 24px;
    }

    #opening-animation .opening-stat {
        gap: 10px;
        padding: 12px 16px;
    }

    #opening-animation .opening-stat .stat-number {
        font-size: 16px;
        line-height: 1.3;
        text-align: left;
    }

    #opening-animation .opening-stat .stat-label {
        display: none;
    }
    
    #opening-animation .opening-stat-content {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }
    
    /* Hero - Mobile */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        padding: 0 24px;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-badge {
        font-size: 10px;
        padding: 8px 12px;
        margin-bottom: 16px;
        max-width: 280px;
        text-align: center;
        line-height: 1.4;
    }

    .hero-badge-desktop {
        display: none !important;
    }

    .hero-badge-mobile {
        display: inline !important;
    }

    .hero-badge svg {
        flex-shrink: 0;
        width: 11px;
        height: 11px;
    }
    
    .hero-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .hero-stats-integrated {
        margin: 50px 0 40px;
    }
    
    .stats-connections {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 20px;
    }
    
    .stats-grid .opening-stat {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    
    .stats-grid .opening-stat-icon {
        margin-bottom: 10px;
    }
    
    .stats-grid .stat-number {
        font-size: clamp(22px, 5vw, 28px);
    }
    
    .stats-grid .stat-label {
        font-size: 10px;
    }
    
    .hero-cta-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    /* Opening Animation - Small Mobile */
    #opening-animation .opening-logo {
        width: 160px;
        height: 160px;
    }

    #opening-animation .logo-text {
        font-size: 38px;
    }

    #opening-animation .opening-stats {
        max-width: 340px;
        gap: 5px;
    }

    #opening-animation .opening-stat {
        padding: 16px 18px;
        gap: 12px;
        padding: 12px 14px;
        gap: 8px;
    }

    #opening-animation .opening-stat-icon {
        width: 44px;
        height: 44px;
    }

    #opening-animation .opening-stat-icon svg {
        width: 22px;
        height: 22px;
    }

    #opening-animation .opening-stat .stat-number {
        font-size: 15px;
        line-height: 1.3;
        text-align: left;
    }

    #opening-animation .opening-stat .stat-label {
        display: none;
    }
    
    #opening-animation .opening-stat-content {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }
    
    /* Hero - Small Mobile */
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: clamp(20px, 7vw, 28px);
    }
    
    .hero-description {
        font-size: 13px;
        line-height: 1.7;
        text-align: left;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet - Opening Animation */
    .opening-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Tablet - Hero */
    .hero-container {
        padding: 0 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 30px;
    }
    
    .stats-grid .opening-stat {
        padding: 14px;
    }
    
    .stats-grid .stat-number {
        font-size: clamp(20px, 2.5vw, 26px);
    }
    
    .stats-grid .stat-label {
        font-size: 11px;
    }
}

/* Extra small devices (phones 375px and smaller) */
@media (max-width: 375px) {
    .hero-badge {
        font-size: 9px;
        padding: 7px 10px;
        max-width: 260px;
        gap: 4px;
    }

    .hero-badge svg {
        width: 10px;
        height: 10px;
    }
}

/* Extra small devices (phones smaller than 360px) */
@media (max-width: 359px) {
    .hero-badge {
        font-size: 8.5px;
        padding: 6px 8px;
        max-width: 240px;
    }

    .hero-badge svg {
        width: 9px;
        height: 9px;
    }
}

/* Very small devices (320px width - iPhone SE, etc) */
@media (max-width: 320px) {
    .hero-badge {
        font-size: 7.5px;
        padding: 6px 7px;
        max-width: 220px;
        gap: 3px;
        letter-spacing: -0.2px;
    }

    .hero-badge svg {
        width: 8px;
        height: 8px;
    }
}

/* ==============================================
   IMF CONNECTIVITY DIAGRAM
   ============================================== */

.imf-connectivity-diagram {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 90, 130, 0.03) 0%, rgba(0, 153, 204, 0.08) 100%);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(0, 153, 204, 0.15);
    min-height: 550px;
    overflow: hidden;
}

.imf-diagram-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.imf-logo-center {
    display: inline-block;
    background: linear-gradient(135deg, #005a82 0%, #0099cc 100%);
    padding: 24px 48px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 153, 204, 0.35);
    position: relative;
}

.imf-logo-text {
    font-family: 'Inoa', 'BastardusSans', sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: white;
    letter-spacing: 0.05em;
}

.imf-logo-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 6px;
}

/* Operations visualization - IMFs using Inoa systems */
.imf-operations {
    position: relative;
    width: 100%;
    height: 400px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    padding: 20px;
}

/* Infrastructure nodes */
.imf-infrastructure {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: infraFloat 6s ease-in-out infinite;
}

.imf-infra-1 { animation-delay: 0s; }
.imf-infra-2 { animation-delay: 0.5s; }
.imf-infra-3 { animation-delay: 1s; }
.imf-infra-4 { animation-delay: 1.5s; }
.imf-infra-5 { animation-delay: 2s; }
.imf-infra-6 { animation-delay: 2.5s; }
.imf-infra-7 { animation-delay: 3s; }
.imf-infra-8 { animation-delay: 3.5s; }

@keyframes infraFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.imf-infra-outer {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 90, 130, 0.1) 0%, rgba(0, 153, 204, 0.2) 100%);
    border: 2px solid rgba(0, 153, 204, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.imf-infra-outer:hover {
    transform: scale(1.05);
    border-color: rgba(0, 153, 204, 0.6);
    box-shadow: 0 8px 24px rgba(0, 153, 204, 0.2);
}

.imf-infra-core {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005a82;
    transition: all 0.3s ease;
}

.imf-infra-outer:hover .imf-infra-core {
    color: #0099cc;
}

/* Inoa badge inside infrastructure */
.imf-inoa-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #005a82 0%, #0099cc 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 153, 204, 0.4);
    font-family: 'Inoa', 'BastardusSans', sans-serif;
}

/* Background particles */
.imf-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

/* Stats overlay */
.imf-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.imf-stat-item {
    text-align: center;
    padding: 20px 30px;
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.imf-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 153, 204, 0.15);
    border-color: rgba(0, 153, 204, 0.4);
}

.imf-stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #005a82 0%, #0099cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.imf-stat-label {
    font-size: 13px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Dark theme adjustments */
[data-theme="dark"] .imf-connectivity-diagram {
    background: linear-gradient(135deg, rgba(0, 90, 130, 0.08) 0%, rgba(0, 153, 204, 0.12) 100%);
    border-color: rgba(0, 153, 204, 0.25);
}

[data-theme="dark"] .imf-infra-outer {
    background: linear-gradient(135deg, rgba(0, 90, 130, 0.15) 0%, rgba(0, 153, 204, 0.25) 100%);
    border-color: rgba(0, 153, 204, 0.4);
}

[data-theme="dark"] .imf-infra-outer:hover {
    border-color: rgba(0, 153, 204, 0.7);
    box-shadow: 0 8px 24px rgba(0, 153, 204, 0.3);
}

[data-theme="dark"] .imf-infra-core {
    color: #0099cc;
}

[data-theme="dark"] .imf-infra-outer:hover .imf-infra-core {
    color: #00ccff;
}

[data-theme="dark"] .imf-stat-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .imf-stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 153, 204, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .imf-connectivity-diagram {
        padding: 30px 20px;
        min-height: 500px;
    }
    
    .imf-operations {
        height: 450px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
        padding: 10px;
    }
    
    .imf-infra-outer {
        width: 70px;
        height: 70px;
    }
    
    .imf-infra-core svg {
        width: 20px;
        height: 20px;
    }
    
    .imf-inoa-badge {
        font-size: 8px;
        padding: 2px 8px;
    }
    
    .imf-logo-text {
        font-size: 28px;
    }
    
    .imf-logo-center {
        padding: 18px 36px;
    }
    
    .imf-stats {
        flex-direction: column;
        gap: 16px;
        margin-top: 30px;
    }
    
    .imf-stat-item {
        padding: 16px 24px;
    }
    
    .imf-stat-number {
        font-size: 28px;
    }
}

/* ==============================================
   VERTICALS SELECTOR SECTION
   ============================================== */

.verticals-selector {
    padding: 100px 0;
    background: var(--color-bg);
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.vertical-card {
    position: relative;
    padding: 40px 30px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

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

.vertical-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), #0099cc);
    border-radius: 20px;
    margin-bottom: 24px;
    color: white;
}

.vertical-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vertical-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.vertical-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.vertical-arrow {
    margin-top: auto;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.vertical-card:hover .vertical-arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .verticals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vertical-card {
        padding: 30px 24px;
    }
}

/* ==============================================
   PRODUCTS OVERVIEW SECTION
   ============================================== */

.products-overview {
    padding: 100px 0;
    background: var(--color-bg);
}

.products-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.product-overview-card {
    position: relative;
    padding: 40px 30px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-overview-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px rgba(0, 90, 130, 0.15);
}

.product-overview-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #005a82, #0099cc);
    border-radius: 16px;
    color: white;
    margin-bottom: 24px;
}

.product-overview-header {
    margin-bottom: 16px;
}

.product-overview-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-greek {
    font-size: 1.4em;
    color: var(--color-primary);
    font-family: 'Georgia', serif;
    font-weight: 500;
}

.product-overview-audience {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary-alpha);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-overview-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-overview-cta {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.product-overview-cta:hover {
    gap: 12px;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .products-overview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-overview-card {
        padding: 32px 24px;
    }
}

/* ==============================================
   NAVBAR DROPDOWN ENHANCEMENTS
   ============================================== */

.dropdown-section {
    padding: 12px 0;
}

.dropdown-section-title {
    display: block;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-secondary);
    opacity: 0.7;
}

.dropdown-divider {
    height: 1px;
    background: var(--color-border);
    margin: 8px 12px;
}

.dropdown-content a {
    padding: 12px 20px;
}

@media (max-width: 768px) {
    .dropdown-section-title {
        padding: 12px 24px;
    }

    .dropdown-divider {
        margin: 8px 16px;
    }

    .dropdown-content a {
        padding: 14px 24px;
    }
}
