/* ==========================================
   E2E2 Dev Website Styles
   Mobile-First, Modern Design for AI Collaboration
   ========================================== */

/* CSS Variables for Theme - Mobile Base */
:root {
    /* Colors - Electric AI-Native Palette */
    --primary: #3b82f6;          /* Electric Blue */
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #a855f7;        /* Vibrant Purple */
    --secondary-dark: #9333ea;
    --accent: #06b6d4;           /* Cyan - technology */
    --accent-bright: #14b8a6;    /* Teal accent */
    --pink: #ec4899;             /* Hot pink accent */
    --dark: #0a0e1a;             /* Deep dark blue-black */
    --dark-alt: #1a1f35;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --gray-lighter: #f8fafc;
    --white: #ffffff;

    /* Advanced Gradients - Multi-stop for depth */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #a855f7 50%, #ec4899 100%);
    --gradient-primary-subtle: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 50%, #2d1b4e 100%);
    --gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);

    /* Spacing - Mobile First (smaller on mobile) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3rem;

    /* Typography - Mobile First (smaller on mobile) */
    --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 0.9375rem;  /* 15px */
    --font-size-lg: 1rem;          /* 16px */
    --font-size-xl: 1.125rem;      /* 18px */
    --font-size-2xl: 1.25rem;      /* 20px */
    --font-size-3xl: 1.625rem;     /* 26px */
    --font-size-4xl: 2rem;         /* 32px */

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;

    /* 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);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Border Radius - Soft, modern rounded corners */
    --radius-sm: 0.75rem;     /* 12px */
    --radius-md: 1.25rem;     /* 20px */
    --radius-lg: 2rem;        /* 32px - Mobile */
    --radius-xl: 2.5rem;      /* 40px */

    /* Touch Targets - Minimum 44px for mobile */
    --touch-target: 44px;
}

/* ==========================================
   Reset & Base Styles
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

/* ==========================================
   Language Switcher - Mobile First
   ========================================== */

.language-switcher {
    position: fixed;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.625rem var(--spacing-sm);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    min-height: var(--touch-target);
}

.lang-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    transition: color var(--transition-fast);
    text-transform: uppercase;
    padding: 0.5rem;
    min-width: var(--touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-link:active {
    transform: scale(0.95);
}

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

.lang-link.active {
    color: var(--primary);
}

.lang-separator {
    color: var(--gray-light);
}

/* Dark background adjustment for language switcher */
.hero .language-switcher {
    background: rgba(15, 23, 42, 0.95);
}

.hero .lang-link {
    color: var(--gray-light);
}

.hero .lang-link:hover {
    color: var(--white);
}

.hero .lang-link.active {
    color: var(--white);
}

/* ==========================================
   Layout Components - Mobile First
   ========================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

/* Modern rounded section backgrounds with card-like appearance */
section.vision,
section.services,
section.cta-section {
    padding: var(--spacing-md) var(--spacing-sm);
    /* Margins handled in individual section styles for floating effect */
}

/* Core foundation section spans full width */
section.blocks {
    padding: var(--spacing-md) var(--spacing-sm);
    margin: 0;
}

/* ==========================================
   Typography
   ========================================== */

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

.section-description {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--gray);
}

.section-intro {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* ==========================================
   Hero Section - Mobile First
   ========================================== */

.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
    z-index: 0; /* Lower than vision section to prevent overlap */
    isolation: isolate; /* Create new stacking context */
}

/* Vibrant electric gradient orbs - AI-native energy */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.4) 0%, transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(236, 72, 153, 0.25) 0%, transparent 60%);
    pointer-events: none;
    animation: gradientShift 15s ease infinite;
    filter: blur(60px);
}

/* Dot grid pattern for tech feel - enhanced visibility */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(6, 182, 212, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    33% {
        opacity: 0.85;
        transform: scale(1.05);
    }
    66% {
        opacity: 0.95;
        transform: scale(0.98);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
    padding: 0 var(--spacing-sm);
}

.logo {
    max-width: min(280px, 80vw);
    margin: 0 auto var(--spacing-md);
    /* Electric glow effect for AI-native brand */
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.4))
            drop-shadow(0 0 60px rgba(59, 130, 246, 0.3))
            drop-shadow(0 0 90px rgba(168, 85, 247, 0.2));
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 40px rgba(6, 182, 212, 0.6))
            drop-shadow(0 0 80px rgba(59, 130, 246, 0.4))
            drop-shadow(0 0 120px rgba(168, 85, 247, 0.3));
}

.hero-title {
    font-size: clamp(1.75rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: var(--gray-light);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

/* ==========================================
   Buttons - Mobile First with Touch Targets
   ========================================== */

.cta-button,
.button {
    display: inline-block;
    padding: 1rem 1.5rem;
    min-height: var(--touch-target);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
}

.cta-button,
.button-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow:
        0 10px 15px -3px rgba(59, 130, 246, 0.4),
        0 4px 6px -2px rgba(168, 85, 247, 0.3),
        0 0 30px rgba(6, 182, 212, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before,
.button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.cta-button:active,
.button-primary:active {
    transform: scale(0.98);
}

.cta-button:hover,
.button-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 25px -5px rgba(59, 130, 246, 0.5),
        0 10px 10px -5px rgba(168, 85, 247, 0.4),
        0 0 60px rgba(6, 182, 212, 0.5),
        0 0 100px rgba(168, 85, 247, 0.3);
}

.button-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.button-secondary:active {
    transform: scale(0.98);
}

.button-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

/* ==========================================
   Vision Section - Mobile First
   ========================================== */

.vision {
    background: linear-gradient(135deg, #a5f3fc 0%, #bae6fd 35%, #dbeafe 70%, #e0e7ff 100%);
    box-shadow:
        0 20px 60px rgba(6, 182, 212, 0.15),
        0 8px 24px rgba(59, 130, 246, 0.1),
        0 0 0 1px rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 10;
    margin: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 72px rgba(0, 0, 0, 0.15),
        0 12px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

/* Vibrant electric gradient orbs matching hero energy */
.vision::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 70%;
    height: 130%;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(6, 182, 212, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.18) 0%, transparent 45%);
    pointer-events: none;
    filter: blur(50px);
    animation: visionFloat 12s ease-in-out infinite;
}

@keyframes visionFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(20px, -20px) scale(1.05);
        opacity: 0.85;
    }
}

.vision::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 60%;
    height: 110%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 80%);
    pointer-events: none;
    filter: blur(40px);
}

.vision-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.vision-text {
    order: 2;
    position: relative;
    z-index: 1;
}

.vision .section-title,
.vision .section-description {
    position: relative;
    z-index: 1;
}

.vision-image {
    text-align: center;
    order: 1;
    position: relative;
    /* Add subtle glow around image area for integration */
    padding: var(--spacing-md);
    margin: calc(-1 * var(--spacing-md));
}

.robots-image {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    /* No shadow - blend into background */
    position: relative;
    /* Image has transparent background - no mask needed */
    transition: transform 0.3s ease;
}

.robots-image:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--gray);
    font-style: italic;
    position: relative;
    z-index: 2;
}

/* ==========================================
   Blocks Section - Core Foundation
   ========================================== */

.blocks {
    background: linear-gradient(180deg,
        #ffffff 0%,
        #fef3f2 15%,    /* Warm orange tint for Forge */
        #ffffff 35%,
        #ecfeff 50%,    /* Cool cyan tint for Builder */
        #ffffff 65%,
        #faf5ff 80%,    /* Purple tint for Sage */
        #ffffff 100%
    );
    box-shadow: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Enhanced gradient zones for each product */
.blocks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 100% 40% at 50% 15%, rgba(251, 146, 60, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 100% 40% at 50% 50%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 100% 40% at 50% 85%, rgba(168, 85, 247, 0.12) 0%, transparent 50%);
    pointer-events: none;
    filter: blur(50px);
    z-index: 0;
}

.blocks-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.blocks > .container > * {
    position: relative;
    z-index: 1;
}

/* Clean static cards - no effects */
.block-card {
    background: transparent;
    padding: var(--spacing-md);
    position: relative;
    z-index: 2;
    text-align: center;
}

.block-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    background: var(--gradient-glow);
    padding: 0.625rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transition: all var(--transition-base);
}

.block-card:hover .block-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

/* Icon images - circular contained */
.block-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    opacity: 0.7;
    mix-blend-mode: multiply;
}

/* Fallback for emoji icons */
.block-icon:not(:has(img)) {
    font-size: 3rem;
}

.block-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.block-subtitle {
    font-size: var(--font-size-base);
    color: var(--gray);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.block-description {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.block-features {
    padding-left: var(--spacing-sm);
}

.block-features li {
    color: var(--gray);
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
    position: relative;
}

.block-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================
   Services Section - Vibrant Cosmic Blue
   ========================================== */

.services {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #4c1d95 100%);
    color: var(--white);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 10;
    margin: var(--spacing-md) var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 72px rgba(0, 0, 0, 0.25),
        0 12px 40px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(6, 182, 212, 0.3);
}

/* Vibrant cosmic orbs for depth */
.services::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
        rgba(6, 182, 212, 0.35) 0%,
        rgba(59, 130, 246, 0.25) 40%,
        transparent 70%
    );
    pointer-events: none;
    filter: blur(60px);
    animation: gradientFloat 15s ease-in-out infinite;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
        rgba(168, 85, 247, 0.3) 0%,
        rgba(236, 72, 153, 0.2) 40%,
        transparent 70%
    );
    pointer-events: none;
    filter: blur(70px);
    animation: gradientFloat 18s ease-in-out infinite reverse;
}

@keyframes gradientFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.services > .container > * {
    position: relative;
    z-index: 1;
}

/* White text for dark background */
.services .section-title,
.services .section-intro {
    color: var(--white);
}

.services .section-title {
    background: linear-gradient(135deg,
        #ffffff 0%,
        #60a5fa 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card {
    padding: var(--spacing-lg);
    text-align: left;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Subtle top accent line */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(6, 182, 212, 0.8) 0%,
        rgba(59, 130, 246, 0.8) 50%,
        rgba(168, 85, 247, 0.8) 100%
    );
    opacity: 0.6;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.06) 100%
    );
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow:
        0 12px 40px rgba(6, 182, 212, 0.25),
        0 0 80px rgba(59, 130, 246, 0.15);
}

.service-card:hover::before {
    opacity: 1;
    height: 3px;
}

.service-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg,
        #ffffff 0%,
        #60a5fa 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    background: linear-gradient(135deg,
        #ffffff 0%,
        #06b6d4 50%,
        #60a5fa 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: var(--font-size-base);
}

/* Enterprise Ready Banner - Spans across all cards */
.enterprise-banner {
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.enterprise-content {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: linear-gradient(135deg,
        rgba(6, 182, 212, 0.15) 0%,
        rgba(59, 130, 246, 0.12) 50%,
        rgba(168, 85, 247, 0.15) 100%
    );
    backdrop-filter: blur(10px);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-lg);
    box-shadow:
        0 8px 32px rgba(6, 182, 212, 0.2),
        0 0 60px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated gradient border */
.enterprise-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(90deg,
        rgba(6, 182, 212, 0.8) 0%,
        rgba(59, 130, 246, 0.9) 25%,
        rgba(168, 85, 247, 0.9) 50%,
        rgba(59, 130, 246, 0.9) 75%,
        rgba(6, 182, 212, 0.8) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradientSlide 4s linear infinite;
}

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

.enterprise-content:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow:
        0 12px 48px rgba(6, 182, 212, 0.3),
        0 0 80px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.enterprise-content h3 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg,
        #ffffff 0%,
        #06b6d4 50%,
        #60a5fa 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.enterprise-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   Contact Form
   ========================================== */

.contact-form {
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
    text-align: left;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-family: var(--font-base);
    font-size: var(--font-size-base);
    color: var(--dark);
    transition: all var(--transition-base);
    min-height: var(--touch-target);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent);
    box-shadow:
        0 0 0 3px rgba(6, 182, 212, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Honeypot field - hide from humans, accessible to bots */
.hp-field {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    white-space: nowrap;
}

.form-submit {
    margin-top: var(--spacing-md);
    text-align: center;
}

.form-submit .button {
    width: 100%;
    max-width: 100%;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

.alternative-contact {
    margin-top: var(--spacing-lg);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.alternative-contact a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.alternative-contact a:hover {
    color: var(--accent);
}

/* ==========================================
   CTA Section
   ========================================== */

.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.18),
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 60px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(6, 182, 212, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 10;
    margin: var(--spacing-lg) var(--spacing-sm);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-section:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 72px rgba(0, 0, 0, 0.22),
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 0 80px rgba(59, 130, 246, 0.4),
        0 0 0 1px rgba(6, 182, 212, 0.4);
}

/* Electric cosmic orbs for vibrant energy */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.25) 0%, transparent 60%);
    pointer-events: none;
    filter: blur(60px);
    animation: ctaGlow 15s ease-in-out infinite;
}

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

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-sm);
}

.cta-text {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

/* ==========================================
   Footer - Mobile First
   ========================================== */

.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.footer-logo {
    max-width: 180px;
    margin: 0 auto var(--spacing-sm);
    /* Logo displays properly with original colors */
}

.footer-tagline {
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.footer-column {
    text-align: center;
}

.footer-column h5 {
    color: var(--white);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-sm);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-column a {
    color: var(--gray);
    font-size: 0.875rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--dark-alt);
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-location {
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--gray);
}

.building-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg,
        rgba(6, 182, 212, 0.15) 0%,
        rgba(59, 130, 246, 0.15) 100%
    );
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-left: 0.25rem;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.3);
    }
    50% {
        box-shadow: 0 0 8px 2px rgba(6, 182, 212, 0.2);
    }
}

/* ==========================================
   Animations
   ========================================== */

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

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* ==========================================
   Responsive Design - Mobile First (min-width approach)
   ========================================== */

/* Tablet: 640px and up */
@media (min-width: 640px) {
    :root {
        --spacing-md: 2rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --radius-lg: 2.5rem; /* 40px - Tablet */
        --radius-xl: 3rem;   /* 48px */
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .logo {
        max-width: 360px;
    }

    .cta-buttons {
        flex-direction: row;
    }

    .button {
        width: auto;
    }

    /* Contact form - 2 columns on tablet */
    .form-row {
        flex-direction: row;
        gap: var(--spacing-md);
    }

    .form-submit .button {
        max-width: 300px;
    }

    .language-switcher {
        top: var(--spacing-md);
        right: var(--spacing-md);
    }

    /* Floating sections get more horizontal margin on tablet */
    section.vision {
        margin: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    }

    section.services {
        margin: var(--spacing-md) var(--spacing-md);
    }

    section.cta-section {
        margin: var(--spacing-lg) var(--spacing-md);
    }

    /* Core foundation stays full width */
    section.blocks {
        margin: 0;
    }
}

/* Desktop: 768px and up */
@media (min-width: 768px) {
    :root {
        --font-size-base: 1rem;
        --font-size-lg: 1.125rem;
        --font-size-xl: 1.25rem;
        --font-size-2xl: 1.5rem;
        --font-size-3xl: 2rem;
        --font-size-4xl: 3rem;
    }

    .blocks-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Larger icons on tablet */
    .block-icon {
        width: 120px;
        height: 120px;
        margin: 0 auto var(--spacing-lg);
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: var(--spacing-xl);
    }

    .footer-column {
        text-align: left;
        min-width: 120px;
    }
}

/* Medium Desktop: 900px and up */
@media (min-width: 900px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

/* Large Desktop: 1024px and up */
@media (min-width: 1024px) {
    :root {
        --spacing-lg: 4rem;
        --spacing-xl: 6rem;
        --radius-lg: 3rem;   /* 48px - Desktop (very prominent!) */
        --radius-xl: 4rem;   /* 64px */
    }

    /* Floating sections with generous horizontal spacing on desktop */
    section.vision {
        margin: calc(var(--spacing-xl) * 1.5) var(--spacing-lg) var(--spacing-lg);
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    section.services {
        margin: var(--spacing-lg) var(--spacing-lg);
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    section.cta-section {
        margin: var(--spacing-xl) var(--spacing-lg);
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    /* Core foundation section spans full width with vertical padding */
    section.blocks {
        margin: 0;
        padding: var(--spacing-lg) var(--spacing-lg);
    }

    .vision-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .vision-text {
        order: 1;
        padding-right: var(--spacing-md);
    }

    .vision-image {
        order: 2;
    }

    .blocks-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Even larger icons on desktop for maximum impact */
    .block-icon {
        width: 140px;
        height: 140px;
    }

    /* Keep services at 2 columns until 1200px */
}

/* Extra Large Desktop: 1200px and up */
@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns only on very large screens */
        gap: 2.5rem; /* 40px */
    }

    .footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        text-align: left;
    }

    .footer-logo {
        margin: 0 0 var(--spacing-sm);
    }

    .footer-links {
        justify-content: flex-end;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */

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

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}
