/* Nexalya — global stylesheet
 * Extracted from index.html (originally inlined).
 * Shared across all pages of nexalya.co.
 */

:root {
    /* Bold Modern Color Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --accent-yellow: #fbbf24;

    --bg-dark: #0f0f23;
    --bg-card: #1a1a2e;
    --bg-card-hover: #242443;

    --text-primary: #ffffff;
    --text-secondary: #a5b4fc;
    --text-muted: #6b7280;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-secondary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-accent: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Spacing */
    --section-padding: 50px;
    --container-padding: 80px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Sora', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Animated Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-dark);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-hero);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }

    75% {
        transform: translate(40px, 20px) scale(1.05);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-hero);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}






/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

h1 {
    font-size: 80px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

.hero-description {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 50px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Sora', sans-serif;
}

.btn-primary {
    background: var(--gradient-hero);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Section Styling */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-hero);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
}

.service-icon i {
    width: 36px;
    height: 36px;
    color: white;
}

.service-card:nth-child(2) .service-icon {
    background: var(--gradient-secondary);
}

.service-card:nth-child(3) .service-icon {
    background: var(--gradient-accent);
}

.service-card:nth-child(4) .service-icon {
    background: var(--gradient-purple);
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(20, 184, 166, 0.3);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-icon i {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 25px 70px rgba(236, 72, 153, 0.2);
}

.project-image {
    height: 250px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card:nth-child(2) .project-image {
    background: var(--gradient-secondary);
}

.project-card:nth-child(3) .project-image {
    background: var(--gradient-accent);
}

.project-content {
    padding: 35px;
}

.project-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    font-size: 22px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.about-mission {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 40px;
    font-size: 20px;
    line-height: 1.7;
    font-weight: 500;
}

/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.tech-item.visible {
    opacity: 1;
    transform: scale(1);
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(99, 102, 241, 0.3);
    background: var(--bg-card-hover);
}

.tech-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-item span {
    font-weight: 600;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.contact-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.contact-item-icon {
    font-size: 24px;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover a {
    color: var(--text-primary);
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

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

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--gradient-hero);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Sora', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

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

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo svg {
    height: 30px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    color: var(--text-muted);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 60px;
    }

    h2 {
        font-size: 44px;
    }

    .hero-description {
        font-size: 18px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(10px);
        padding: 40px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a {
        display: block;
        padding: 20px 0;
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }

}
/* ============================================================
 * Service card link affordance — added for clickable cards
 * Cards became <a> tags in 2026-05 homepage rewrite.
 * ============================================================ */

a.service-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-link {
    display: inline-block;
    margin-top: 25px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease, transform 0.3s ease;
}

a.service-card:hover .service-link {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* ============================================================
 * Platforms Section — SaaS partner cards
 * Added when Services was split into "dev sur mesure" + "SaaS".
 * Three featured cards (Odoo, Shopify, Notion) with brand logos
 * and brand-color top accent lines.
 * ============================================================ */

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

.platform-card {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.platform-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Brand-color top accent line */
.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--platform-color, var(--primary));
    opacity: 0.9;
}

.platform-odoo    { --platform-color: #714B67; }
.platform-shopify { --platform-color: #95BF47; }
.platform-notion  { --platform-color: #ffffff; }

.platform-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.platform-logo-wrap {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.platform-logo-wrap img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.platform-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.platform-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

.platform-link {
    display: inline-block;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.platform-card:hover .platform-link {
    color: var(--text-primary);
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .platforms-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .platform-card {
        padding: 40px 30px;
    }
}

/* ============================================================
 * Service card icon stack — three brand logos per service.
 * Replaces the single Lucide icon to mirror platform-card weight.
 * ============================================================ */

.service-icon-stack {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.logo-chip {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.logo-chip img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

a.service-card:hover .logo-chip {
    background: rgba(255, 255, 255, 0.07);
}

a.service-card:hover .logo-chip:nth-child(1) { transform: translateY(-2px); }
a.service-card:hover .logo-chip:nth-child(2) { transform: translateY(-2px); transition-delay: 0.04s; }
a.service-card:hover .logo-chip:nth-child(3) { transform: translateY(-2px); transition-delay: 0.08s; }

@media (max-width: 480px) {
    .logo-chip {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }
    .logo-chip img {
        width: 24px;
        height: 24px;
    }
}
/* ============================================================
 * Service page styles
 * Added for /integration-odoo/ (template).
 * Reused across the 5 other service pages once they're built:
 * /creation-site-web/, /developpement-application-mobile/,
 * /developpement-logiciel-sur-mesure/, /creation-site-shopify/,
 * /consultant-notion/.
 * ============================================================ */

/* Compact hero variant — service pages don't need a 100vh hero */
.service-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 60px;
    position: relative;
}

.service-hero h1 {
    font-size: 64px;
}

.service-hero .hero-description {
    font-size: 20px;
    margin-bottom: 40px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
    opacity: 0.5;
}

/* Process steps — numbered cards */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.process-step {
    background: var(--bg-card);
    padding: 35px 30px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: var(--bg-card-hover);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-hero);
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

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

.process-step p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* FAQ — accordion using native <details>/<summary> */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 28px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 28px;
    font-weight: 300;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    line-height: 1;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 28px 26px 28px;
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 15px;
}

.faq-answer p + p {
    margin-top: 12px;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* CTA block — prominent gradient-bordered call-to-action */
.cta-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 24px;
    padding: 60px 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.cta-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-block h2 {
    font-size: 42px;
    margin-bottom: 18px;
}

.cta-block p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 35px auto;
}

@media (max-width: 1024px) {
    .service-hero h1 {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: 50vh;
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .service-hero h1 {
        font-size: 38px;
    }

    .service-hero .hero-description {
        font-size: 16px;
    }

    .faq-item summary {
        padding: 20px 22px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 22px 22px 22px;
    }

    .cta-block {
        padding: 40px 24px;
    }

    .cta-block h2 {
        font-size: 30px;
    }

    .cta-block p {
        font-size: 16px;
    }

    .process-step {
        padding: 30px 24px;
    }
}

/* ============================================================
 * Service hero — two-column layout with brand visual.
 * Built first for /integration-odoo/. Reusable on the other
 * 5 service pages by swapping the hero-visual contents
 * and the body class (page-shopify, page-notion, etc.).
 * ============================================================ */

.hero-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Brand pill — sits above the H1.
 * Background and border tint inherit from --pill-color set per page. */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    background: var(--pill-bg, rgba(99, 102, 241, 0.12));
    border: 1px solid var(--pill-border, rgba(99, 102, 241, 0.35));
    border-radius: 50px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hero-pill img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Right column — brand visual with glow */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 340px;
}

.hero-visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle,
        var(--visual-glow, rgba(99, 102, 241, 0.55)) 0%,
        var(--visual-glow-fade, rgba(99, 102, 241, 0.12)) 45%,
        transparent 72%);
    filter: blur(28px);
    z-index: 0;
    animation: glowPulse 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
    50%      { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.hero-visual-logo {
    position: relative;
    z-index: 1;
    width: 260px;
    height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
    animation: fadeInUp 0.9s ease 0.3s backwards;
}

/* ============================================================
 * Page-specific brand tinting.
 * `body.page-odoo` overrides one global orb + sets the pill
 * and glow colors. Add new body.page-* blocks per service.
 * ============================================================ */

body.page-odoo {
    --pill-bg: rgba(113, 75, 103, 0.15);
    --pill-border: rgba(113, 75, 103, 0.45);
    --visual-glow: rgba(113, 75, 103, 0.6);
    --visual-glow-fade: rgba(113, 75, 103, 0.15);
}

body.page-odoo .orb-1 {
    background: radial-gradient(circle, #714B67 0%, #2e0a52 100%);
    opacity: 0.35;
}

body.page-shopify {
    --pill-bg: rgba(149, 191, 71, 0.14);
    --pill-border: rgba(149, 191, 71, 0.45);
    --visual-glow: rgba(149, 191, 71, 0.55);
    --visual-glow-fade: rgba(149, 191, 71, 0.12);
}

body.page-shopify .orb-1 {
    background: radial-gradient(circle, #95BF47 0%, #2e0a52 100%);
    opacity: 0.35;
}

/* Notion is intentionally grayscale — soft white glow gives an ambient
 * halo without competing with the white logo, and no orb override
 * (the brand's neutrality is best honored by not tinting the ambient bg). */
body.page-notion {
    --pill-bg: rgba(255, 255, 255, 0.08);
    --pill-border: rgba(255, 255, 255, 0.25);
    --visual-glow: rgba(255, 255, 255, 0.20);
    --visual-glow-fade: rgba(255, 255, 255, 0.04);
}

/* Hero layout — mobile collapse */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        min-height: 0;
        margin-bottom: 8px;
    }

    .hero-visual-glow {
        width: 200px;
        height: 200px;
    }

    .hero-visual-logo {
        width: 110px;
        height: 110px;
    }

    .breadcrumb {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero-visual-glow {
        width: 170px;
        height: 170px;
    }

    .hero-visual-logo {
        width: 90px;
        height: 90px;
    }
}