/* =============================================
   DataDrivr - CSS Principal
   Página Comercial Profissional
============================================= */

/* === RESET E CONFIGURAÇÕES BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores DataDrivr */
    --primary-color: #FF6B35;
    --primary-light: #FF8F65;
    --primary-dark: #E55A2B;
    --secondary-color: #2E3440;
    --accent-color: #00C851;
    --warning-color: #FFB800;
    --error-color: #FF3333;

    /* Neutros */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Tipografia */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;   /* 12px */
    --font-size-sm: 0.875rem;  /* 14px */
    --font-size-base: 1rem;    /* 16px */
    --font-size-lg: 1.125rem;  /* 18px */
    --font-size-xl: 1.25rem;   /* 20px */
    --font-size-2xl: 1.5rem;   /* 24px */
    --font-size-3xl: 1.875rem; /* 30px */
    --font-size-4xl: 2.25rem;  /* 36px */
    --font-size-5xl: 3rem;     /* 48px */
    --font-size-6xl: 3.75rem;  /* 60px */

    /* Espaçamentos */
    --spacing-1: 0.25rem;   /* 4px */
    --spacing-2: 0.5rem;    /* 8px */
    --spacing-3: 0.75rem;   /* 12px */
    --spacing-4: 1rem;      /* 16px */
    --spacing-5: 1.25rem;   /* 20px */
    --spacing-6: 1.5rem;    /* 24px */
    --spacing-8: 2rem;      /* 32px */
    --spacing-10: 2.5rem;   /* 40px */
    --spacing-12: 3rem;     /* 48px */
    --spacing-16: 4rem;     /* 64px */
    --spacing-20: 5rem;     /* 80px */
    --spacing-24: 6rem;     /* 96px */

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 0.375rem;   /* 6px */
    --radius: 0.5rem;        /* 8px */
    --radius-md: 0.75rem;    /* 12px */
    --radius-lg: 1rem;       /* 16px */
    --radius-xl: 1.5rem;     /* 24px */
    --radius-full: 9999px;

    /* Transições */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* === BASE === */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === UTILITÁRIOS === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 var(--spacing-8);
    }
}

/* === NAVEGAÇÃO === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo .logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition-fast);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
    padding: var(--spacing-2) 0;
    position: relative;
    transition: var(--transition-fast);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-fast);
}

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

.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--spacing-2);
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: var(--radius-sm);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-50) 100%);
    padding: 120px 0 var(--spacing-24);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
    min-height: calc(100vh - 190px);
}

.hero-content {
    z-index: 2;
}

.hero-logo {
    margin-bottom: var(--spacing-6);
    animation: fadeInUp 0.8s ease-out;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.hero-headline {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--spacing-6);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-headline .highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-12);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: var(--spacing-4) var(--spacing-8);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-primary::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;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-4) var(--spacing-8);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cta-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-6);
    animation: fadeInUp 0.8s ease-out 0.8s both;
    margin-top: 50px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
    position: relative;
    padding: 15px 10px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-3px);
}

.stat::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.3s ease;
}

.stat:hover::after {
    opacity: 1;
    width: 60px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-variant-numeric: tabular-nums;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1.3;
    display: block !important;
    margin-top: 8px;
    visibility: visible !important;
    opacity: 1 !important;
}

/* === DASHBOARD MOCKUP === */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.dashboard-mockup {
    position: relative;
    perspective: 1000px;
}

.dashboard-screen {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.dashboard-screen:hover {
    transform: rotateY(-2deg) rotateX(2deg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-4);
    padding-bottom: var(--spacing-4);
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-logo {
    font-weight: 700;
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.dashboard-metrics {
    display: flex;
    gap: var(--spacing-2);
}

.metric-badge {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.metric-badge.success {
    background: rgba(0, 200, 81, 0.1);
    color: var(--accent-color);
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.chart-placeholder {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: var(--spacing-2);
    height: 120px;
    padding: var(--spacing-4);
    background: var(--gray-50);
    border-radius: var(--radius);
}

.chart-bar {
    width: 20px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    animation: growUp 1s ease-out;
    animation-delay: calc(var(--delay, 0) * 0.1s);
}

.dashboard-kpis {
    display: flex;
    justify-content: space-around;
}

.kpi-item {
    text-align: center;
}

.kpi-value {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.kpi-label {
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === SEÇÕES GERAIS === */
section {
    padding: var(--spacing-24) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === SOBRE SECTION === */
.about {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-16);
    align-items: start;
}

.about-description {
    font-size: var(--font-size-lg);
    color: var(--gray-700);
    margin-bottom: var(--spacing-6);
    line-height: 1.7;
}

.mission-vision {
    background: var(--white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.mission h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-xl);
}

.about-stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-stat-card .stat-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-4);
    text-align: center;
    display: block;
}

.about-stat-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-4);
    text-align: center;
}

.stat-list {
    list-style: none;
    space-y: var(--spacing-2);
}

.stat-list li {
    padding: var(--spacing-2) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-size-sm);
}

.stat-list li:last-child {
    border-bottom: none;
}

/* === PRODUTOS SECTION === */
.products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-12);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

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

.product-header {
    margin-bottom: var(--spacing-6);
}

.product-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-4);
    display: block;
}

.product-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-2);
}

.product-tagline {
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.product-description h4 {
    font-size: var(--font-size-xl);
    color: var(--gray-800);
    margin-bottom: var(--spacing-4);
}

.benefits-list {
    list-style: none;
    margin-bottom: var(--spacing-6);
}

.benefits-list li {
    padding: var(--spacing-2) 0;
    font-size: var(--font-size-base);
    color: var(--gray-700);
}

.use-cases {
    margin-top: var(--spacing-6);
}

.use-cases h5 {
    color: var(--gray-800);
    margin-bottom: var(--spacing-3);
    font-size: var(--font-size-base);
}

.use-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
}

.tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.agents-grid {
    display: grid;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-6);
}

.agent-item {
    display: flex;
    gap: var(--spacing-3);
    align-items: start;
}

.agent-icon {
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.agent-item strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: var(--spacing-1);
}

.agent-item p {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.roi-metrics {
    background: var(--gray-50);
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-6);
}

.roi-metrics h5 {
    color: var(--gray-800);
    margin-bottom: var(--spacing-3);
    text-align: center;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-4);
}

.roi-item {
    text-align: center;
}

.roi-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.roi-label {
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === RECURSOS SECTION === */
.features {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-4);
    display: block;
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
}

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

.feature-card li {
    padding: var(--spacing-2) 0;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.feature-card li:last-child {
    border-bottom: none;
}

/* === ANIMAÇÕES === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes growUp {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: var(--height);
        opacity: 1;
    }
}

/* === UTILIDADES === */
.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth scroll para toda a página */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
.dashboard-screen,
.product-card,
.feature-card {
    will-change: transform;
}

/* Lazy loading placeholder */
.lazy-loading {
    background: linear-gradient(-90deg, var(--gray-200) 0%, var(--gray-100) 50%, var(--gray-200) 100%);
    background-size: 400% 400%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: -200% 0%;
    }
}

/* === AI AGENTS SECTION === */
.ai-agents {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.ai-agents::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.agents-ecosystem {
    position: relative;
    z-index: 1;
}

/* Ecosystem Visual */
.ecosystem-intro {
    margin-bottom: 60px;
}

.ecosystem-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    margin: 40px 0;
    overflow: hidden;
}

/* SVG Connections */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connection-line {
    opacity: 0.6;
    stroke-dasharray: 5,5;
    animation: connectionFlow 3s linear infinite;
}

@keyframes connectionFlow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 20;
    }
}

.connection-pulse {
    opacity: 0.8;
}

/* Central Hub */
.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hub-core {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    animation: hubPulse 4s ease-in-out infinite;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.hub-icon {
    font-size: 32px;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hub-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.hub-subtitle {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 8px;
}

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

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ff88;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.active {
    background: #00ff88;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes hubPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.03);
        box-shadow: 0 20px 50px rgba(255, 107, 53, 0.5);
    }
}

/* Agent Nodes */
.agent-connections {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.agent-node {
    position: absolute;
    width: 100px;
    height: 100px;
    background: white;
    border: 3px solid var(--primary-light);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 8px;
}

.agent-node:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

.agent-icon {
    font-size: 24px;
    margin-bottom: 4px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.agent-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 2px;
    background: rgba(255, 107, 53, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
}

.agent-name {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.1;
    margin-bottom: 4px;
}

.agent-status {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 8px;
}

.status-indicator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

.status-indicator.active {
    background: #00ff88;
}

.status-indicator.processing {
    background: #ffb800;
}

.status-indicator.standby {
    background: #666;
}

.status-label {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

@keyframes statusBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Position agents in better circle formation */
.agent-node[data-agent="1"] {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.agent-node[data-agent="2"] {
    top: 20%;
    right: 10%;
}

.agent-node[data-agent="3"] {
    top: 55%;
    right: 5%;
}

.agent-node[data-agent="4"] {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.agent-node[data-agent="5"] {
    top: 55%;
    left: 5%;
}

.agent-node[data-agent="6"] {
    top: 20%;
    left: 10%;
}

.agent-node[data-agent="7"] {
    top: 35%;
    left: 0%;
}

/* Data Flow Animation */
.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.data-packet {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 107, 53, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    animation: dataFlow 4s linear infinite;
}

.data-packet[data-flow="1"] {
    top: 50%;
    left: 50%;
    animation-delay: 0s;
}

.data-packet[data-flow="2"] {
    top: 50%;
    left: 50%;
    animation-delay: 1.3s;
}

.data-packet[data-flow="3"] {
    top: 50%;
    left: 50%;
    animation-delay: 2.6s;
}

@keyframes dataFlow {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    20% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    40% {
        transform: translate(-200px, -150px) scale(0.8);
        opacity: 0.8;
    }
    60% {
        transform: translate(150px, -200px) scale(0.8);
        opacity: 0.8;
    }
    80% {
        transform: translate(200px, 100px) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

/* Agent Cards */
.agents-detailed {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
}

.agent-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.agent-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.agent-icon {
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.agent-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.agent-specialty {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.agent-capabilities {
    margin-bottom: 30px;
}

.capability-section {
    margin-bottom: 25px;
}

.capability-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.capability-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.capability-section li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.capability-section li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 10px;
    top: 2px;
}

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

.agent-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.metric-item {
    text-align: center;
    padding: 15px 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Integration Section */
.agents-integration {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}

.agents-integration h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 40px 0;
}

.integration-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.flow-step {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.flow-step:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.step-number {
    display: inline-flex;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

.step-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.step-content p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.flow-arrow {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.integration-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    color: white;
}

.benefit-icon {
    font-size: 20px;
    line-height: 1;
}

.benefit-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .agent-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .integration-flow {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .integration-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ai-agents {
        padding: 60px 0;
    }

    .ecosystem-visual {
        height: 300px;
    }

    .agent-node {
        width: 60px;
        height: 60px;
    }

    .agent-number {
        font-size: 14px;
    }

    .agent-name {
        font-size: 7px;
    }

    .hub-core {
        width: 90px;
        height: 90px;
    }

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

    .hub-subtitle {
        font-size: 12px;
    }

    .agent-card {
        padding: 20px;
    }

    .agent-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .agent-title h3 {
        font-size: 20px;
    }

    .agent-metrics {
        grid-template-columns: 1fr;
    }

    .agents-integration {
        padding: 30px 20px;
    }
}

/* === TECHNICAL USE CASES SECTION === */
.technical-use-cases {
    padding: 80px 0;
    background: white;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.use-case-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.use-case-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    text-align: center;
}

.use-case-challenge,
.use-case-solution {
    margin-bottom: 20px;
}

.use-case-challenge h4,
.use-case-solution h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.use-case-challenge p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.use-case-solution ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.use-case-solution li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
}

.use-case-solution li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.use-case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-300);
}

.result-metric {
    text-align: center;
    padding: 10px;
}

.result-metric .metric-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.result-metric .metric-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.implementation-details {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
}

.implementation-details h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 40px 0;
}

.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tech-spec-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--gray-200);
}

.tech-spec-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 15px 0;
}

.tech-spec-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tech-spec-card li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
}

.tech-spec-card li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* === MOBILITY ECOSYSTEM SECTION === */
.mobility-ecosystem {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.mobility-ecosystem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.ecosystem-overview {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.ecosystem-visual-large {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.ecosystem-center {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
    z-index: 10;
}

.ecosystem-center h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.ecosystem-center p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

.ecosystem-branches {
    position: absolute;
    width: 100%;
    height: 100%;
}

.branch-item {
    position: absolute;
    background: white;
    border: 3px solid var(--primary-light);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.branch-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.2);
}

.branch-icon {
    font-size: 24px;
}

.branch-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.branch-item[data-category="seguros"] {
    top: 10%;
    left: 10%;
}

.branch-item[data-category="mobilidade"] {
    top: 10%;
    right: 10%;
}

.branch-item[data-category="smart-city"] {
    bottom: 20%;
    left: 15%;
}

.branch-item[data-category="logistica"] {
    bottom: 20%;
    right: 15%;
}

.spinoffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.spinoff-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spinoff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.spinoff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.spinoff-header {
    text-align: center;
    margin-bottom: 25px;
}

.spinoff-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.spinoff-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.spinoff-tagline {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.spinoff-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.spinoff-content ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.spinoff-content li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
}

.spinoff-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 10px;
    top: 2px;
}

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

.market-metrics {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.market-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.market-label {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roadmap-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.roadmap-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 40px 0;
}

.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.timeline-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.timeline-year {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.timeline-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-content li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-muted);
}

.timeline-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.innovation-labs {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.innovation-labs h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 15px 0;
}

.innovation-labs > p {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin: 0 0 40px 0;
}

.labs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.lab-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s ease;
}

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

.lab-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.lab-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

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

    .spinoffs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

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

@media (max-width: 768px) {
    .technical-use-cases,
    .mobility-ecosystem {
        padding: 60px 0;
    }

    .use-case-results {
        grid-template-columns: 1fr;
    }

    .tech-specs-grid,
    .roadmap-timeline,
    .labs-grid {
        grid-template-columns: 1fr;
    }

    .ecosystem-visual-large {
        height: 250px;
    }

    .ecosystem-center {
        padding: 20px;
    }

    .ecosystem-center h3 {
        font-size: 20px;
    }

    .branch-item {
        padding: 10px 15px;
    }

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

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

    .spinoff-card,
    .implementation-details,
    .roadmap-section,
    .innovation-labs {
        padding: 25px 20px;
    }
}

/* ==========================================
   MOBILE AND WEB SCREENS STYLING
========================================== */

.mobile-screens-grid,
.web-screens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

@media (max-width: 1200px) {
    .mobile-screens-grid,
    .web-screens-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-screens-grid,
    .web-screens-grid {
        grid-template-columns: 1fr;
    }
}

.mobile-screen, .web-screen, .web-screen-additional {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-screen:hover, .web-screen:hover, .web-screen-additional:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
    border-color: var(--primary-color);
}

.screen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}

.screen-icon {
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 8px;
    border-radius: 8px;
    color: white;
    min-width: 40px;
    text-align: center;
}

.screen-header h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.screen-details p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 12px 0;
    padding-left: 8px;
    border-left: 3px solid var(--primary-light);
}

.screen-details p:last-child {
    margin-bottom: 0;
}

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

/* Mobile-specific styling */
.mobile-screen {
    border-left: 4px solid var(--primary-color);
}

.mobile-screen .screen-icon {
    background: linear-gradient(135deg, var(--primary-color), #FF8F65);
}

/* Web platform specific styling */
.web-screen {
    border-left: 4px solid var(--accent-color);
}

.web-screen .screen-icon {
    background: linear-gradient(135deg, var(--accent-color), #00C851);
}

.web-screen-additional {
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, #fefefe 0%, #f9f9f9 100%);
}

.web-screen-additional .screen-icon {
    background: linear-gradient(135deg, var(--secondary-color), #4A90E2);
}

/* Responsive adjustments for screens */
@media (max-width: 1024px) {
    .mobile-screens-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }

    .web-screens-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-screens-grid,
    .web-screens-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mobile-screen, .web-screen, .web-screen-additional {
        padding: 15px;
    }

    .screen-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .screen-icon {
        font-size: 20px;
        padding: 6px;
        min-width: 32px;
    }

    .screen-header h5 {
        font-size: 15px;
    }

    .screen-details p {
        font-size: 13px;
        padding-left: 6px;
        border-left-width: 2px;
    }
}

/* Products section improvements */
.products-grid {
    margin-bottom: 40px;
}

.product-card {
    margin-bottom: 30px;
}

.product-card .product-description h4 {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

/* ==========================================
   RISK INTELLIGENCE MODULE STYLING
========================================== */

.risk-intelligence-module {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.module-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
}

.module-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.module-header h4 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.module-tagline {
    font-size: 16px;
    color: #0369a1;
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

.risk-intelligence-content {
    display: grid;
    gap: 25px;
}

.risk-overview {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.risk-overview h5 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 15px 0;
}

.risk-overview p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.risk-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.risk-kpi {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.risk-kpi:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
    border-color: #0ea5e9;
}

.kpi-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #0369a1;
    margin-bottom: 5px;
}

.kpi-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-vectors h5,
.risk-modules h5,
.risk-benefits h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    text-align: center;
}

.vectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.vector-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.vector-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border-color: #0ea5e9;
}

.vector-icon {
    font-size: 20px;
    display: block;
    margin-bottom: 8px;
}

.vector-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.vector-item small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.module-link {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.module-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
    border-color: #0ea5e9;
}

.link-icon {
    font-size: 24px;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    padding: 10px;
    border-radius: 8px;
    color: white;
    min-width: 44px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.link-content {
    flex: 1;
}

.link-content strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.link-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.module-url {
    font-size: 12px;
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.module-url:hover {
    background: rgba(14, 165, 233, 0.2);
    transform: scale(1.02);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.benefit-item {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
}

.benefit-percentage {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #059669;
    margin-bottom: 5px;
}

.benefit-desc {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for Risk Intelligence */
@media (max-width: 1200px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .risk-intelligence-module {
        padding: 25px;
        margin: 25px 0;
    }

    .module-header h4 {
        font-size: 24px;
    }

    .vectors-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .risk-intelligence-module {
        padding: 20px;
        margin: 20px 0;
    }

    .module-icon {
        font-size: 36px;
    }

    .module-header h4 {
        font-size: 22px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .module-link {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .link-icon {
        align-self: center;
    }

    .risk-kpis,
    .vectors-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .kpi-value,
    .benefit-percentage {
        font-size: 20px;
    }

    .vector-item {
        padding: 12px;
    }
}

/* Screen link styling for main modules */
.screen-link {
    margin-top: 15px;
    text-align: center;
}

.module-access-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.module-access-btn:hover {
    background: linear-gradient(135deg, #0284c7, #0891b2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .module-access-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Module objective styling */
.module-objective {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    padding: 15px;
    margin: 0 0 15px 0;
    border-radius: 8px;
    font-style: italic;
    line-height: 1.6;
    color: #0369a1;
    font-weight: 500;
}

/* Section navigation home styling */
.section-nav-home {
    position: sticky;
    top: 80px;
    z-index: 100;
    text-align: center;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.back-to-home-link {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.back-to-home-link:hover {
    background: linear-gradient(135deg, #0284c7, #0891b2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .section-nav-home {
        position: static;
        padding: 15px 0;
    }

    .back-to-home-link {
        font-size: 13px;
        padding: 10px 18px;
    }
}

/* Screen Modal (Lightbox) Styling */
.screen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.screen-modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.screen-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.screen-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 10000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.screen-modal-close:hover {
    background: #ff4444;
    color: white;
    transform: scale(1.1);
}

.screen-modal-image {
    text-align: center;
    margin-top: 10px;
}

.screen-modal-image img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#screenModalTitle {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .screen-modal-content {
        margin: 10px;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 15px;
    }

    #screenModalTitle {
        font-size: 20px;
        margin: 0 0 15px 0;
    }

    .screen-modal-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
}