/* BrainyTech - On-Premise LLM Showcase Section */
/* Premium showcase for enterprise LLM deployment services */

/* Main Section */
.llmShowcaseSection {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.llmBackgroundEffect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at 20% 50%,
        rgba(30, 58, 138, 0.06) 0%,
        transparent 50%
    ),
    radial-gradient(
        ellipse at 80% 50%,
        rgba(59, 130, 246, 0.06) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .llmBackgroundEffect {
    background: radial-gradient(
        ellipse at 20% 50%,
        rgba(30, 58, 138, 0.12) 0%,
        transparent 50%
    ),
    radial-gradient(
        ellipse at 80% 50%,
        rgba(59, 130, 246, 0.12) 0%,
        transparent 50%
    );
}

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

/* Content Side */
.llmContent {
    position: relative;
}

.llmBadge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.12), rgba(59, 130, 246, 0.12));
    border: 1px solid rgba(30, 58, 138, 0.35);
    border-radius: 14px;
    margin-bottom: 32px;
}

[data-theme="dark"] .llmBadge {
    background: linear-gradient(135deg, rgba(14, 31, 64, 0.85), rgba(7, 15, 32, 0.9));
    border: 1px solid rgba(30, 58, 138, 0.4);
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.12);
}

.llmBadgeIcon {
    font-size: 24px;
    animation: rotate360 20s linear infinite;
}

.llmBadgeText {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .llmBadgeText {
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.llmTitle {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .llmTitle {
    color: #f1f5f9;
}

.llmGradient {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

[data-theme="dark"] .llmGradient {
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

.llmDescription {
    font-size: 19px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

[data-theme="dark"] .llmDescription {
    color: #cbd5e1;
}

/* Features */
.llmFeatures {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.llmFeature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .llmFeature {
    background: linear-gradient(135deg, rgba(14, 31, 64, 0.85), rgba(7, 15, 32, 0.9));
    border: 1px solid rgba(30, 58, 138, 0.35);
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.12);
}

.llmFeature:hover {
    transform: translateX(8px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.2);
}

[data-theme="dark"] .llmFeature:hover {
    border-color: #60a5fa;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.3);
}

.llmFeatureIcon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 12px;
    color: white;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
}

[data-theme="dark"] .llmFeatureIcon {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.llmFeatureIcon svg {
    width: 24px;
    height: 24px;
}

.llmFeatureContent {
    flex: 1;
}

.llmFeatureTitle {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

[data-theme="dark"] .llmFeatureTitle {
    color: #f1f5f9;
}

.llmFeatureText {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

[data-theme="dark"] .llmFeatureText {
    color: #cbd5e1;
}

/* Action Buttons */
.llmActions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btnLLMPrimary,
.btnLLMSecondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btnLLMPrimary {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow:
        0 8px 24px rgba(30, 58, 138, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .btnLLMPrimary {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow:
        0 8px 24px rgba(30, 58, 138, 0.5),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
}

.btnLLMPrimary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btnLLMPrimary span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.btnLLMPrimary svg {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
}

.btnLLMPrimary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 32px rgba(30, 58, 138, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btnLLMPrimary:hover {
    box-shadow:
        0 12px 32px rgba(59, 130, 246, 0.6),
        inset 0 1px 0 rgba(59, 130, 246, 0.25);
}

.btnLLMPrimary:hover::before {
    opacity: 1;
}

.btnLLMPrimary:hover span,
.btnLLMPrimary:hover svg {
    color: white;
}

.btnLLMSecondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

[data-theme="dark"] .btnLLMSecondary {
    background: linear-gradient(135deg, rgba(14, 31, 64, 0.7), rgba(7, 15, 32, 0.75));
    border: 1px solid rgba(30, 58, 138, 0.35);
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.12);
    color: #f1f5f9;
}

.btnLLMSecondary svg {
    width: 20px;
    height: 20px;
}

.btnLLMSecondary:hover {
    background: rgba(30, 58, 138, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
}

[data-theme="dark"] .btnLLMSecondary:hover {
    background: rgba(30, 58, 138, 0.2);
    border-color: #60a5fa;
}

/* Tech Stack */
.llmTechStack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.llmTechLabel {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
}

[data-theme="dark"] .llmTechLabel {
    color: #94a3b8;
}

.llmTechIcons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.llmTechBadge {
    padding: 8px 16px;
    background: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.3);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    transition: all 0.3s ease;
    cursor: default;
}

[data-theme="dark"] .llmTechBadge {
    background: rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.llmTechBadge:hover {
    transform: translateY(-2px);
    background: rgba(30, 58, 138, 0.2);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

[data-theme="dark"] .llmTechBadge:hover {
    background: rgba(30, 58, 138, 0.25);
    border-color: #60a5fa;
}

/* Visual Side */
.llmVisual {
    position: relative;
    height: 600px;
}

.llmVisualization {
    position: relative;
    width: 100%;
    height: 100%;
}

/* AI Brain Core */
.aiBrainCore {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    z-index: 10;
}

.brainPulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    animation: brainPulseAnimation 3s ease-in-out infinite;
}

[data-theme="dark"] .brainPulse {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.brainGlow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulseAnimation 3s ease-in-out infinite;
}

[data-theme="dark"] .brainGlow {
    background: radial-gradient(circle, rgba(30, 58, 138, 0.25) 0%, transparent 70%);
}

.brainIcon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.4);
    z-index: 1;
    font-size: 32px;
}

[data-theme="dark"] .brainIcon {
    background: linear-gradient(135deg, rgba(14, 31, 64, 0.85), rgba(7, 15, 32, 0.9));
    border: 1px solid rgba(30, 58, 138, 0.4);
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.12), 0 10px 40px rgba(30, 58, 138, 0.5);
}

/* Data Nodes */
.dataNode {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 58, 138, 0.35);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

[data-theme="dark"] .dataNode {
    background: linear-gradient(135deg, rgba(14, 31, 64, 0.85), rgba(7, 15, 32, 0.9));
    border: 1px solid rgba(30, 58, 138, 0.4);
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.12), 0 8px 24px rgba(30, 58, 138, 0.3);
}

.dataNode:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 36px rgba(30, 58, 138, 0.4);
    z-index: 20;
}

.nodeIcon {
    font-size: 32px;
}

.nodeLabel {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    white-space: nowrap;
}

[data-theme="dark"] .nodeLabel {
    color: #f1f5f9;
}

.node1 {
    top: 10%;
    left: 10%;
    animation: float1 6s ease-in-out infinite;
}

.node2 {
    top: 10%;
    right: 10%;
    animation: float2 7s ease-in-out infinite;
}

.node3 {
    bottom: 10%;
    right: 5%;
    animation: float3 8s ease-in-out infinite;
}

.node4 {
    bottom: 10%;
    left: 10%;
    animation: float4 9s ease-in-out infinite;
}

/* Connection Lines */
.llmConnections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.llmConnectionLine {
    stroke: rgba(30, 58, 138, 0.3);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
}

[data-theme="dark"] .llmConnectionLine {
    stroke: rgba(59, 130, 246, 0.4);
}

.line1 {
    animation: lineFlow 3s linear infinite;
}

.line2 {
    animation: lineFlow 3s linear infinite 0.75s;
}

.line3 {
    animation: lineFlow 3s linear infinite 1.5s;
}

.line4 {
    animation: lineFlow 3s linear infinite 2.25s;
}

/* Particles */
.llmParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    opacity: 0.6;
}

[data-theme="dark"] .particle {
    background: linear-gradient(135deg, #1e3a8a, #60a5fa);
}

.p1 { top: 20%; left: 20%; animation: particleFloat 5s ease-in-out infinite; }
.p2 { top: 30%; right: 25%; animation: particleFloat 6s ease-in-out infinite 1s; }
.p3 { bottom: 25%; left: 30%; animation: particleFloat 7s ease-in-out infinite 2s; }
.p4 { bottom: 35%; right: 20%; animation: particleFloat 8s ease-in-out infinite 3s; }
.p5 { top: 50%; left: 15%; animation: particleFloat 6.5s ease-in-out infinite 1.5s; }
.p6 { top: 60%; right: 15%; animation: particleFloat 7.5s ease-in-out infinite 2.5s; }

/* Gradient Orb */
.llmOrb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
        rgba(30, 58, 138, 0.08) 0%,
        rgba(59, 130, 246, 0.05) 50%,
        transparent 70%);
    border-radius: 50%;
    animation: orbPulse 5s ease-in-out infinite;
}

/* Animations */
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

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

@keyframes glowPulseAnimation {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -15px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, 10px); }
}

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

@keyframes float4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, 15px); }
}

@keyframes lineFlow {
    0% { stroke-dashoffset: 0; opacity: 0.3; }
    50% { opacity: 1; }
    100% { stroke-dashoffset: 20; opacity: 0.3; }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(20px, -20px) scale(1.5);
        opacity: 1;
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .llmShowcaseGrid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .llmVisual {
        height: 500px;
    }

    .llmTitle {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .llmShowcaseSection {
        padding: 80px 0;
    }

    .llmTitle {
        font-size: 36px;
    }

    .llmActions {
        flex-direction: column;
    }

    .btnLLMPrimary,
    .btnLLMSecondary {
        width: 100%;
        justify-content: center;
    }

    .llmVisual {
        height: 400px;
    }

    .aiBrainCore {
        width: 100px;
        height: 100px;
    }

    .brainPulse {
        width: 100px;
        height: 100px;
    }

    .brainIcon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .dataNode {
        padding: 12px;
    }

    .nodeIcon {
        font-size: 24px;
    }

    .nodeLabel {
        font-size: 10px;
    }
}
