/* ========================================
   ENTERPRISE AI (ON-PREMISE LLM) PAGE
   Emerald Green Theme (#10b981, #34d399)
   ======================================== */

:root {
    --ai-emerald: #10b981;
    --ai-emerald-light: #34d399;
    --ai-emerald-lighter: #6ee7b7;
    --ai-emerald-dark: #059669;
    --ai-gradient: linear-gradient(135deg, #10b981, #34d399);
}

[data-theme="dark"] {
    --ai-emerald: #34d399;
    --ai-emerald-light: #6ee7b7;
}

/* ========================================
   HERO SECTION
   ======================================== */

.enterpriseAiHero {
    background: transparent !important;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.heroGrid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}

.heroContent {
    z-index: 2;
}

.heroBadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.badgeIcon {
    font-size: 20px;
}

.badgeText {
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-emerald);
}

.heroTitle {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-text);
}

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

.heroDescription {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 640px;
}

.heroBenefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.benefitIcon {
    width: 24px;
    height: 24px;
    color: var(--ai-emerald);
    flex-shrink: 0;
}

.heroActions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual - Server Stack */
.heroVisual {
    position: relative;
    z-index: 1;
}

.serverStack {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.serverLayer {
    width: 280px;
    height: 100px;
    background: var(--color-surface);
    border: 2px solid var(--ai-emerald);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
    animation: serverFloat 3s ease-in-out infinite;
}

.layer1 {
    animation-delay: 0s;
}

.layer2 {
    animation-delay: 0.3s;
}

.layer3 {
    animation-delay: 0.6s;
}

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

.serverIcon {
    font-size: 36px;
}

.serverLabel {
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-emerald);
}

.serverPulse {
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    border: 2px solid var(--ai-emerald);
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.dataFlow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 100%;
    pointer-events: none;
}

.flowLine {
    stroke: var(--ai-emerald);
    stroke-width: 2;
    opacity: 0.4;
    animation: dataFlowAnim 2s linear infinite;
}

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

/* ========================================
   BUTTONS (Home Page Style)
   ======================================== */

.btnPrimary, .btnSecondary {
    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;
}

.btnPrimary {
    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"] .btnPrimary {
    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);
}

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

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

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

.btnPrimary: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"] .btnPrimary:hover {
    box-shadow:
        0 12px 32px rgba(59, 130, 246, 0.6),
        inset 0 1px 0 rgba(59, 130, 246, 0.25);
}

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

.btnPrimary:hover span,
.btnPrimary:hover svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btnSecondary {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

[data-theme="dark"] .btnSecondary {
    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);
    color: #f1f5f9;
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.12);
    backdrop-filter: blur(5px);
}

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

.btnSecondary:hover {
    background: rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
}

[data-theme="dark"] .btnSecondary:hover {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(14, 31, 64, 0.5));
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow:
        0 8px 24px rgba(30, 58, 138, 0.3),
        inset 0 1px 0 rgba(59, 130, 246, 0.2);
}

.btnPrimary.large,
.btnSecondary.large {
    padding: 20px 40px;
    font-size: 18px;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.sectionHeader {
    text-align: center;
    margin-bottom: 60px;
}

.sectionTitle {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text);
}

.sectionSubtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   OFFER SECTION
   ======================================== */

.offerSection {
    background: transparent !important;
    padding: 80px 0;
}

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

.offerCard {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
}

.offerCard.featured {
    border-color: var(--ai-emerald);
    box-shadow: 0 8px 40px rgba(16, 185, 129, 0.2);
}

.offerCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.featuredBadge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--ai-gradient);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.offerIcon {
    font-size: 48px;
    margin-bottom: 20px;
}

.offerTitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.offerDescription {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.offerFeatures {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offerFeatures li {
    font-size: 14px;
    color: var(--color-text-secondary);
    padding-left: 28px;
    position: relative;
}

.offerFeatures li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--ai-emerald);
    font-size: 16px;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.howItWorksSection {
    background: transparent !important;
    padding: 80px 0;
}

.stepsTimeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stepsTimeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 60px;
    bottom: 60px;
    width: 3px;
    background: linear-gradient(180deg, var(--ai-emerald), var(--ai-emerald-light));
    opacity: 0.3;
}

.timelineStep {
    display: grid;
    grid-template-columns: 64px 1fr 80px;
    gap: 32px;
    align-items: center;
    position: relative;
}

.stepNumber {
    width: 64px;
    height: 64px;
    background: var(--ai-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.stepContent {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.stepContent:hover {
    border-color: var(--ai-emerald);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
}

.stepTitle {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.stepDescription {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.stepDetails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stepDetail {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ai-emerald);
}

.stepIcon {
    font-size: 48px;
    text-align: center;
}

/* ========================================
   LLM MODELS SECTION
   ======================================== */

.llmModelsSection {
    background: transparent !important;
    padding: 80px 0;
}

.llmModelsGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.llmModelCard {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.llmModelCard:hover {
    transform: translateY(-4px);
    border-color: var(--ai-emerald);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
}

.modelHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.modelName {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
}

.modelBadge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--ai-emerald);
}

.modelBadge.recommended {
    background: var(--ai-gradient);
    color: white;
    border: none;
}

.modelDescription {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.modelSpecs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spec {
    background: var(--color-surface-hover);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.llmNote {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 24px;
}

.noteIcon {
    width: 24px;
    height: 24px;
    color: var(--ai-emerald);
    flex-shrink: 0;
}

.llmNote p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

/* ========================================
   INFRASTRUCTURE SECTION
   ======================================== */

.infrastructureSection {
    background: transparent !important;
    padding: 80px 0;
}

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

.infrastructureCard {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
}

.infrastructureCard.featured {
    border-color: var(--ai-emerald);
    box-shadow: 0 8px 40px rgba(16, 185, 129, 0.2);
}

.infrastructureCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.infraIcon {
    font-size: 48px;
    margin-bottom: 20px;
}

.infraTitle {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.infraDescription {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.infraFeatures {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.infraFeatures li {
    font-size: 14px;
    color: var(--color-text-secondary);
    padding-left: 28px;
    position: relative;
}

.infraFeatures li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--ai-emerald);
    font-size: 16px;
}

/* ========================================
   USE CASES SECTION
   ======================================== */

.useCasesSection {
    background: transparent !important;
    padding: 80px 0;
}

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

.useCaseCard {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.useCaseCard:hover {
    transform: translateY(-8px);
    border-color: var(--ai-emerald);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.useCaseIcon {
    font-size: 56px;
    margin-bottom: 20px;
}

.useCaseTitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.useCaseDescription {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.whyChooseSection {
    background: transparent !important;
    padding: 80px 0;
}

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

.whyCard {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.whyCard:hover {
    transform: translateY(-8px);
    border-color: var(--ai-emerald);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.whyIcon {
    font-size: 56px;
    margin-bottom: 20px;
}

.whyTitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.whyDescription {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricingSection {
    background: transparent !important;
    padding: 80px 0;
}

.pricingNote {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.noteContent h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

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

.pricingFactors h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: var(--color-text);
}

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

.factor {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
}

.factorIcon {
    width: 24px;
    height: 24px;
    color: var(--ai-emerald);
    flex-shrink: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */

.ctaSection {
    background: transparent !important;
    padding: 80px 0;
}

.ctaContent {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.ctaTitle {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text);
}

.ctaDescription {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.ctaActions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .heroGrid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .heroTitle {
        font-size: 48px;
    }

    .offerGrid,
    .infrastructureGrid,
    .whyGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .useCasesGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .llmModelsGrid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stepsTimeline::before {
        left: 28px;
    }

    .timelineStep {
        grid-template-columns: 56px 1fr 60px;
        gap: 24px;
    }

    .stepNumber {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .stepIcon {
        font-size: 40px;
    }
}

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

    .heroTitle {
        font-size: 36px;
    }

    .heroDescription {
        font-size: 18px;
    }

    .sectionTitle {
        font-size: 32px;
    }

    .sectionSubtitle {
        font-size: 16px;
    }

    .offerGrid,
    .infrastructureGrid,
    .useCasesGrid,
    .whyGrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .factorsGrid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ctaTitle {
        font-size: 32px;
    }

    .ctaDescription {
        font-size: 16px;
    }

    .ctaActions {
        flex-direction: column;
        width: 100%;
    }

    .btnPrimary.large,
    .btnSecondary.large {
        width: 100%;
    }

    .timelineStep {
        grid-template-columns: 48px 1fr;
        gap: 20px;
    }

    .stepIcon {
        display: none;
    }

    .stepsTimeline::before {
        left: 24px;
    }

    .stepNumber {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .heroTitle {
        font-size: 28px;
    }

    .heroDescription {
        font-size: 16px;
    }

    .sectionTitle {
        font-size: 28px;
    }

    .serverStack {
        max-width: 300px;
        height: 380px;
    }

    .serverLayer {
        width: 240px;
        height: 90px;
    }

    .serverIcon {
        font-size: 30px;
    }

    .offerCard,
    .infrastructureCard,
    .whyCard,
    .useCaseCard {
        padding: 24px;
    }
}
