/* ==========================================
   EIGHTLEGGED - AI Services Theme
   Blue Circuit / Neural Network Aesthetic
   ========================================== */

.theme-ai {
    --theme-primary: #3b82f6;
    --theme-primary-light: #60a5fa;
    --theme-primary-glow: rgba(59, 130, 246, 0.3);
    --theme-secondary: #06b6d4;
    --theme-bg: #030712;
    --theme-surface: #0f172a;
    --theme-text: #e2e8f0;
    font-family: 'Exo 2', sans-serif;
}

.theme-ai .site-header {
    background: rgba(3, 7, 18, 0.95);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.theme-ai .nav-links a {
    color: var(--theme-text);
}

.theme-ai .nav-links a:hover {
    color: var(--theme-primary-light);
}

.theme-ai .site-main {
    background: var(--theme-bg);
}

/* Circuit Background Pattern */
.ai-circuit-bg {
    position: relative;
}

.ai-circuit-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Neural Network Lines */
.ai-neural-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ai-neural-lines::before,
.ai-neural-lines::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--theme-primary-glow), transparent);
    animation: neural-pulse 8s linear infinite;
}

.ai-neural-lines::before {
    top: 30%;
    left: -100%;
}

.ai-neural-lines::after {
    top: 70%;
    left: -100%;
    animation-delay: 4s;
}

@keyframes neural-pulse {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* Hero Section - AI */
.ai-hero {
    position: relative;
    background: url('/img/ai/ai%20overview.jpg') center/cover no-repeat;
    overflow: hidden;
}

.ai-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.ai-hero .hero-content {
    position: relative;
    z-index: 10;
}

.ai-hero .hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--theme-primary-light), var(--theme-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-hero .hero-subtitle {
    color: var(--theme-text);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .ai-hero .hero-title {
        font-size: 1.8rem;
    }
    .ai-hero .hero-subtitle {
        font-size: 1rem;
    }
}

/* Glowing Orb */
.ai-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    animation: orb-float 10s ease-in-out infinite;
}

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

/* Feature Cards - AI Style */
.ai-feature-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: var(--space-8);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.ai-feature-card:hover {
    border-color: var(--theme-primary);
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px var(--theme-primary-glow);
}

.ai-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: white;
    font-size: 1.5rem;
}

.ai-feature-title {
    font-family: 'Orbitron', sans-serif;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    letter-spacing: 0.02em;
}

.ai-feature-desc {
    color: var(--theme-text);
    opacity: 0.7;
    line-height: 1.6;
}

/* Section Callout */
.ai-callout {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: var(--space-6);
    color: var(--theme-text);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Navigation - AI */
.ai-nav {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.ai-nav-item {
    padding: var(--space-3) var(--space-6);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 30px;
    color: var(--theme-text);
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.ai-nav-item:hover,
.ai-nav-item.active {
    background: var(--theme-primary);
    color: white;
    border-color: var(--theme-primary);
}

/* Buttons - AI */
.theme-ai .btn-primary {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    border: none;
    color: white;
}

.theme-ai .btn-primary:hover {
    box-shadow: 0 0 30px var(--theme-primary-glow);
}

.theme-ai .btn-secondary {
    border-color: var(--theme-primary);
    color: var(--theme-primary-light);
}

.theme-ai .btn-secondary:hover {
    background: var(--theme-primary);
    color: white;
}

/* Stats - AI */
.ai-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
}

.ai-stat {
    text-align: center;
    padding: var(--space-8);
    background: rgba(15, 23, 42, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.ai-stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--theme-primary-light), var(--theme-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-stat-label {
    color: var(--theme-text);
    opacity: 0.6;
    margin-top: var(--space-2);
}

/* Principles/Trust List */
.ai-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.ai-list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--theme-primary);
}

.ai-list-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--theme-primary);
}

.ai-list-text {
    color: var(--theme-text);
    line-height: 1.6;
}

/* Section Headers */
.ai-section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.ai-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-4);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ai-section-subtitle {
    color: var(--theme-text);
    opacity: 0.7;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer - AI */
.theme-ai .site-footer {
    background: var(--theme-surface);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.theme-ai .footer-col a:hover {
    color: var(--theme-primary-light);
}
