:root {
    /* Colors */
    --primary: #0066FF;
    --primary-dark: #0052cc;
    --secondary: #00C2FF;
    --accent: #FF8F00;
    --dark: #0B1120;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-500: #6B7280;
    --gray-800: #1F2937;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00C2FF 100%);
    --gradient-bg: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);

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

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.4);
}

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

.btn-outline:hover {
    background: rgba(0, 102, 255, 0.05);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 16px 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-500);
}

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

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 12px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    overflow: hidden;
    background: var(--gradient-bg);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #818CF8;
    top: 40%;
    left: 40%;
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(40px, 60px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
}

.hero-animation {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Values Section */
.values-section {
    padding: 20px 0 80px;
    background: transparent;
    position: relative;
    z-index: 2;
    margin-top: -60px;
}

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

.value-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.9);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray-500);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

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

/* About Section */
.about-section {
    background: #0B1120;
    /* Slightly different dark or same as footer */
    color: var(--white);
    /* Explicit white for default text */
    padding: 60px 0;
}

.about-section .section-header h2 {
    color: var(--white);
    font-size: 2rem;
    /* Smaller header */
}

.about-content {
    display: block;
    max-width: 700px;
    /* Narrower width */
    margin: 0 auto;
    text-align: center;
}

.about-text h3 {
    font-size: 1.5rem;
    /* Smaller heading */
    margin-bottom: 12px;
    color: var(--white);
}

.mission-text {
    font-size: 1rem;
    /* Smaller text */
    font-weight: 500;
    color: var(--gray-200);
    /* Lighter gray */
    margin-bottom: 20px;
    font-style: normal;
}

.about-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-200);
    /* Lighter gray */
}

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

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.about-visual {
    position: relative;
    height: 400px;
    background: #F8FAFC;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-illustration {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.china-map-svg {
    width: 100%;
    height: 100%;
    max-width: 500px;
    /* Limit max size to keep proportions */
}

/* Remove old dot styles as we use SVG circles now */

.map-labels span {
    position: absolute;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    /* Center label on coordinate */
    pointer-events: none;
}

.hq-card {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
}

/* Services */
.services-section {
    background: #F8FAFC;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: var(--white);
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.service-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.service-panel.active {
    display: block;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    /* Added for vertical centering */
    gap: 40px;
    box-shadow: var(--shadow-md);
}

.service-info {
    flex: 1;
    text-align: center;
}

.service-img {
    flex: 1;
    min-height: 300px;
    /* background removed */
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.placeholder-img {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    padding: 20px 40px;
    border-radius: 8px;
    text-transform: uppercase;
}

.placeholder-img.blue {
    background: linear-gradient(135deg, #0066FF, #60A5FA);
}

.placeholder-img.purple {
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
}

.placeholder-img.green {
    background: linear-gradient(135deg, #059669, #34D399);
}

.placeholder-img.orange {
    background: linear-gradient(135deg, #EA580C, #FB923C);
}

.feature-list {
    text-align: left;
    display: inline-block;
}

.feature-list li {
    list-style: none;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--gray-500);
}

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

/* Cases */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    top: 0;
}

.case-card:hover {
    top: -10px;
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.case-logo-wrapper {
    height: 120px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    /* Minimal padding */
}

.case-logo {
    max-height: 95px;
    max-width: 90%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
    transform: scale(1.15);
    /* Base scale up for all logos */
}

/* Cleaned up redundant code */

.case-card:hover .case-logo {
    filter: grayscale(0%);
}

.case-content {
    padding: 24px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #EFF6FF;
    color: var(--primary);
    font-size: 0.8rem;
    border-radius: 4px;
    margin-bottom: 12px;
}

.case-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.case-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.case-stats div {
    text-align: center;
}

.case-stats span {
    display: block;
    font-weight: 800;
    color: var(--dark);
    font-size: 1.1rem;
}

/* Partners Marquee */
.partners-section {
    background: #FFFFFF;
    padding: 60px 0;
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.marquee-content {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

/* Only apply animation if we have loaded content */
.marquee-item {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid var(--gray-200); */
    border-radius: 8px;
    /* padding: 10px; */
}

.marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

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

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

/* Contact Section */
/* Contact Section */
.contact-section {
    background: #F8FAFC;
    /* Light background */
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.05;
    /* Reduced opacity for light theme */
    border-radius: 50%;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-section h2 {
    color: var(--dark);
    /* Dark text */
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--gray-800);
}

.contact-form-placeholder {
    margin-top: 40px;
    display: grid;
    gap: 16px;
    max-width: 400px;
}

.contact-form-placeholder input,
.contact-form-placeholder textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--dark);
    outline: none;
}

.contact-form-placeholder textarea {
    height: 100px;
    resize: none;
}

.contact-form-placeholder input:focus,
.contact-form-placeholder textarea:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.contact-qr {
    display: flex;
    gap: 20px;
}

.qr-card {
    background: var(--white);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    color: var(--dark);
    flex: 1;
    box-shadow: var(--shadow-sm);
    /* Added shadow for contrast on light bg */
}

.qr-card img {
    border-radius: 8px;
    margin-bottom: 12px;
}

.contact-qr-container {
    text-align: center;
}

.qr-caption {
    margin-top: 24px;
    color: var(--gray-500);
    /* Darker text for light bg */
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Footer */
/* Merged Footer Layout */
footer#about {
    background: #0B1120;
    /* Consistent dark background */
    padding: 80px 0 40px;
    border-top: none;
}

.footer-merged-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.footer-left {
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align right side content to right */
    justify-content: space-between;
    height: 100%;
    text-align: right;
}

.footer-logo {
    margin-top: auto;
    /* Push to bottom if height allows */
}

.footer-links {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
}

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-animation {
        height: 300px;
    }

    .hero-text {
        text-align: center;
    }

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

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

    .about-content,
    .service-card,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 30px;
    }

    .service-img {
        order: -1;
        min-height: 200px;
    }

    .contact-qr {
        flex-direction: column;
    }

    .qr-card {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* CSS Animations for Services */
.css-anim-box {
    width: 140px;
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. Infrastructure (Blue) - Floating Server Stack */
.server-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: perspective(500px) rotateX(20deg) rotateY(-20deg);
}

.server-block {
    width: 100px;
    height: 16px;
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    position: relative;
    animation: floatServer 3s ease-in-out infinite;
}

.server-block::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px #fff;
    animation: blinkLight 1s infinite alternate;
}

.server-block:nth-child(2) {
    animation-delay: 0.2s;
}

.server-block:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes floatServer {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes blinkLight {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* 2. AI & Data (Purple) - Pulsing Neural Network */
.ai-network {
    position: relative;
    width: 100px;
    height: 100px;
}

.ai-center {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7C3AED, #C4B5FD);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    z-index: 2;
    animation: pulseCore 2s infinite ease-in-out;
}

.ai-orbit-node {
    width: 16px;
    height: 16px;
    background: #A78BFA;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
    animation: orbit 4s linear infinite;
}

.ai-orbit-node:nth-child(2) {
    animation-delay: -1s;
}

.ai-orbit-node:nth-child(3) {
    animation-delay: -2s;
}

@keyframes pulseCore {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(40px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(40px) rotate(-360deg);
    }
}

/* 3. Solutions (Green) - Global Connect Rings */
/* CSS Animations for Services (V2 - Contextual) */
.css-anim-box {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.4);
    /* Scaled up for better visibility */
}

/* 1. Infrastructure (Blue) - "Global Edge Network" */
/* Concept: A rotating wireframe globe with pulsing nodes (Google's edge nodes) */
.infra-globe {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.3);
    position: relative;
    transform-style: preserve-3d;
    animation: rotateGlobe 10s linear infinite;
}

.infra-globe::before,
.infra-globe::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.infra-globe::before {
    transform: rotateX(60deg);
}

.infra-globe::after {
    transform: rotateY(60deg);
}

.infra-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #60A5FA;
    border-radius: 50%;
    box-shadow: 0 0 10px #2563EB;
    animation: pulseNode 2s infinite;
}

.infra-node:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.infra-node:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 0.5s;
}

.infra-node:nth-child(3) {
    top: 70%;
    left: 20%;
    animation-delay: 1s;
}

.infra-node:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1.5s;
}

@keyframes rotateGlobe {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

@keyframes pulseNode {

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

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* 2. AI & Data (Purple) - "Digital Synapse" */
/* Concept: Data streams flowing into a central processing unit */
.ai-brain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    transform: rotate(45deg);
}

.ai-neuron {
    width: 20px;
    height: 20px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 4px;
    animation: activateNeuron 2s infinite ease-in-out;
}

.ai-neuron.active {
    background: #7C3AED;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.8);
    z-index: 2;
}

.ai-neuron:nth-child(1) {
    animation-delay: 0s;
}

.ai-neuron:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-neuron:nth-child(3) {
    animation-delay: 0.4s;
}

.ai-neuron:nth-child(4) {
    animation-delay: 0.8s;
}

.ai-neuron:nth-child(5) {
    animation-delay: 1s;
    background: #C4B5FD;
}

/* Center core */
.ai-neuron:nth-child(6) {
    animation-delay: 0.6s;
}

.ai-neuron:nth-child(7) {
    animation-delay: 1.2s;
}

.ai-neuron:nth-child(8) {
    animation-delay: 1.4s;
}

.ai-neuron:nth-child(9) {
    animation-delay: 1.6s;
}

@keyframes activateNeuron {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        background: #7C3AED;
    }
}

/* 3. Solutions (Green) - "Interconnected Industry" */
/* Concept: Hexagons merging together, representing different modules fitting */
.sol-hex-container {
    position: relative;
    width: 140px;
    height: 140px;
}

.sol-hex {
    width: 50px;
    height: 55px;
    /* Hexagon vertical ratio approx */
    background: #059669;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: absolute;
    opacity: 0.8;
    transition: all 0.5s;
    animation: breatheHex 3s ease-in-out infinite;
}

.sol-hex:nth-child(1) {
    top: 0;
    left: 45px;
    animation-delay: 0s;
    background: #059669;
}

.sol-hex:nth-child(2) {
    top: 40px;
    left: 0;
    animation-delay: 1s;
    background: #34D399;
}

.sol-hex:nth-child(3) {
    top: 40px;
    left: 90px;
    animation-delay: 2s;
    background: #10B981;
}

@keyframes breatheHex {

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

    50% {
        transform: scale(1.1);
    }
}

/* 4. Value Add (Orange) - "Security Shield" */
/* Concept: A shield guarding data with a pulsing checkmark (Compliance/Safe) */
.val-shield-box {
    position: relative;
    width: 100px;
    height: 120px;
}

.val-shield {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EA580C, #FB923C);
    clip-path: polygon(50% 0, 100% 20%, 100% 70%, 50% 100%, 0 70%, 0 20%);
    position: relative;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.4);
    animation: bobShield 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.val-check {
    width: 30px;
    height: 15px;
    border-left: 4px solid white;
    border-bottom: 4px solid white;
    transform: rotate(-45deg) translate(2px, -4px);
    animation: drawCheck 2s infinite;
}

@keyframes bobShield {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes drawCheck {
    0% {
        opacity: 0;
        transform: rotate(-45deg) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: rotate(-45deg) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: rotate(-45deg) scale(1.1);
    }
}

/* Hero Animation - Orbital System */
.hero-cloud-system {
    position: relative;
    width: 350px;
    height: 350px;
}

/* Central Ring/Donut */
.hero-central-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(37, 99, 235, 0.3) 0deg,
        rgba(96, 165, 250, 0.4) 90deg,
        rgba(147, 197, 253, 0.3) 180deg,
        rgba(96, 165, 250, 0.4) 270deg,
        rgba(37, 99, 235, 0.3) 360deg
    );
    animation: rotateRing 20s linear infinite;
    box-shadow: 
        inset 0 0 40px rgba(59, 130, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.2);
}

.hero-central-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.9), rgba(224, 242, 254, 0.8));
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

/* Dotted Orbit Path */
.hero-orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    border: 3px dashed rgba(59, 130, 246, 0.3);
    border-radius: 50%;
}

/* Orbiting Spheres Container */
.hero-orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 340px;
    transform: translate(-50%, -50%);
    animation: orbitRotate 12s linear infinite;
}

/* Sphere 1 - Google Cloud */
.hero-sphere-1 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    border-radius: 50%;
    box-shadow: 
        0 10px 40px rgba(37, 99, 235, 0.4),
        inset 0 -10px 20px rgba(0, 0, 0, 0.1),
        inset 0 10px 20px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: counterRotate 12s linear infinite;
}

.hero-sphere-1::before {
    content: 'Google';
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Sphere 2 - AI Cloud */
.hero-sphere-2 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #60A5FA 0%, #93C5FD 100%);
    border-radius: 50%;
    box-shadow: 
        0 10px 40px rgba(96, 165, 250, 0.4),
        inset 0 -10px 20px rgba(0, 0, 0, 0.1),
        inset 0 10px 20px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: counterRotate 12s linear infinite;
}

.hero-sphere-2::before {
    content: 'AI Cloud';
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Small Orbit Dots */
.hero-orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #3B82F6;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    animation: counterRotate 12s linear infinite;
}

.hero-orbit-dot:nth-child(3) {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.hero-orbit-dot:nth-child(4) {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes counterRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}
