/* ==========================================
   SERVICE PAGE — SHARED STYLES
   Used by all pages in /services/
   ========================================== */

/* Hero section base */
.service-hero {
    padding-top: 80px; /* navbar offset */
}

/* Badge chips */
.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Feature card icon circle */
.service-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Process step number */
.process-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    background: transparent;
}

/* Process step connector line (desktop only) */
@media (min-width: 768px) {
    .process-step {
        position: relative;
    }
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 32px;
        right: -16px;
        width: 32px;
        height: 2px;
        background: var(--outline-variant);
        z-index: 0;
    }
}

/* Tech badge chips (web page) */
.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 50rem;
    border: 1px solid;
    font-size: 0.8rem;
    font-weight: 600;
    background: transparent;
    transition: all 0.25s ease;
}

.tech-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

/* Odoo module chips (ERP page) */
.odoo-module-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: rgba(113, 75, 103, 0.1);
    border: 1px solid rgba(113, 75, 103, 0.25);
    font-size: 0.8rem;
    font-weight: 600;
    color: #c89bb6;
    transition: all 0.25s ease;
}

.odoo-module-chip:hover {
    background: rgba(113, 75, 103, 0.2);
    transform: translateY(-2px);
}

/* Phone mockup (mobile page) */
.phone-mockup {
    width: 140px;
    height: 280px;
    border-radius: 28px;
    border: 2px solid rgba(84, 197, 248, 0.3);
    background: var(--surface-container);
    padding: 12px 8px;
    box-shadow: 0 20px 60px rgba(84, 197, 248, 0.15);
    flex-shrink: 0;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: var(--surface-container-highest);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* AI Neural grid (AI page) */
.neural-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.neural-node {
    aspect-ratio: 1;
    border-radius: 10px;
    background: rgba(var(--bs-primary-rgb), 0.08);
    border: 1px solid var(--outline-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    transition: all 0.3s ease;
    animation: neural-pulse 3s ease-in-out infinite;
}

.neural-node:hover,
.neural-node.active {
    background: rgba(var(--bs-primary-rgb), 0.2);
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

@keyframes neural-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Commerce product card (ecommerce page) */
.product-card {
    padding: 1rem;
    border-radius: 12px;
    background: var(--surface-container-highest);
    border: 1px solid var(--outline-variant);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--bs-primary);
}

/* bg surface container lowest */
.bitoze-wrapper .bg-surface-container-lowest {
    background-color: var(--surface);
}
.bitoze-wrapper[data-bs-theme="dark"] .bg-surface-container-lowest {
    background-color: #0e1628;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-mockup {
        width: 100px;
        height: 210px;
    }
    .neural-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
