/* --- EFIKLEAN MODERN DESIGN SYSTEM --- */
:root {
    /* Colors */
    --primary-color: #0f2c4a;
    /* Professional Deep Navy */
    --primary-light: #1a4f8b;
    /* Lighter Navy/Blue */
    --secondary-color: #00b894;
    /* Trustworthy Teal */
    --accent-color: #e17055;
    /* Action Orange */
    --accent-hover: #d35400;

    --text-dark: #2d3436;
    --text-light: #636e72;
    --background-light: #f9fbfd;
    --white: #ffffff;
    --error: #d63031;

    /* Modern Gradients */
    --gradient-hero: linear-gradient(135deg, #f6f9fc 0%, #eef2f6 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    /* 8px */
    --spacing-sm: 1rem;
    /* 16px */
    --spacing-md: 2rem;
    /* 32px */
    --spacing-lg: 4rem;
    /* 64px */
    --spacing-xl: 8rem;
    /* 128px */

    /* Shapes & Elevation */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    /* Modern, heavy diffuse shadow */
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --blur: blur(12px);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.font-bold {
    font-weight: 700;
}

.hidden {
    display: none;
}

.margin-top-md {
    margin-top: var(--spacing-md);
}

.margin-auto {
    margin: 0 auto;
}

.margin-bottom-lg {
    margin-bottom: var(--spacing-lg);
}

/* --- MISSING UTILITIES (Restored & Enhanced) --- */
.section-padding {
    padding: var(--spacing-xl) 0;
    /* increased from lg to xl for better separation */
}

.bg-light {
    background-color: #f0f4f8;
    /* Slightly darker than body bg for contrast */
}

.bg-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.text-white {
    color: var(--white);
}

.opacity-90 {
    opacity: 0.9;
}

.opacity-80 {
    opacity: 0.8;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(15, 44, 74, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 44, 74, 0.3);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(225, 112, 85, 0.3);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 112, 85, 0.4);
}

.pulse-animation {
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 112, 85, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(225, 112, 85, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(225, 112, 85, 0);
    }
}

/* --- HEADER --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* --- NAV SPECIAL ITEMS (Phone & Button) --- */
.nav-phone {
    color: var(--accent-color) !important;
    font-weight: 700;
}

/* Fix for Button in Nav (Color visibility & Overrides) */
.nav-links .btn {
    color: var(--white) !important;
    padding: 10px 24px;
    font-size: 0.85rem;
}

.nav-links .btn:hover {
    color: var(--white) !important;
    transform: translateY(-2px);
}

.nav-links .btn::after,
.nav-links .nav-phone::after {
    display: none !important;
}

/* No underline for phone or buttons */

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* --- HERO SECTION (MODERN SPLIT) --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    /* Cards same height */
    justify-content: center;
}

.pain-point {
    padding: var(--spacing-lg) 0;
    background: var(--gradient-hero);
    min-height: 85vh;
    /* Full viewport height feel */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background decoration circle */
.pain-point::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Hero Layout — Content+Photo | Sidebar */
.hero-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.hero-cities {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.intro-text {
    font-size: 1.15rem;
    color: var(--text-dark);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-tagline {
    font-size: 0.92rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 184, 148, 0.07);
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Hero Photo */
.hero-photo {
    position: relative;
}

.hero-photo img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-photo img:hover {
    transform: scale(1.02);
}

/* Decorative circle behind photo */
.hero-photo::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 140px;
    height: 140px;
    background: rgba(0, 184, 148, 0.12);
    border-radius: 50%;
    z-index: -1;
}

/* Glassmorphism Sidebar */
.hero-sidebar {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: var(--glass-border);
    transform: perspective(1000px) rotateY(-2deg);
    transition: transform 0.5s ease;
}

.hero-sidebar:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-sidebar h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.check-list li {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    padding-left: 30px;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background: rgba(0, 184, 148, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 0.8rem;
    font-weight: 800;
}

.phone-link {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-color);
}

/* --- PROTOCOL SECTION (SNAKE PROCESS) --- */
.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: table;
    margin: 0 auto var(--spacing-lg) auto;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.process-serpentine {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    /* Auto height based on content */
    gap: 2rem 4rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    position: relative;
}

/* The Connection Line (Desktop Only) */
.process-serpentine::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 25%;
    right: 25%;
    bottom: 50px;
    border: 3px dashed #d1f2eb;
    border-radius: 50px;
    z-index: 0;
    pointer-events: none;
    /* This simple box doesn't do the S-shape perfectly but suggests flow. 
       For a perfect S-shape, SVG is better, but CSS borders work for "U" shape */
    border-left: none;
    /* Open U shape */
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Card look */
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #00cec9);
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -3.5rem auto 1rem auto;
    /* Pop out of card top */
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.4);
}

.step-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Desktop Grid Placement */
.step-1 {
    grid-column: 1;
    grid-row: 1;
}

.step-2 {
    grid-column: 2;
    grid-row: 1;
}

.step-3 {
    grid-column: 2;
    grid-row: 2;
}

.step-4 {
    grid-column: 1;
    grid-row: 2;
}


/* --- STRENGTHS SECTION --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card .btn {
    margin-top: auto;
    align-self: center;
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: rgba(15, 44, 74, 0.05);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

/* --- CLIENT ROLE (Blue Section) --- */
/* --- CLIENT ROLE (MODERN BLUE SECTION) --- */
.client-role {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4f8b 100%);
    position: relative;
    overflow: hidden;
}

/* Background Pattern/Texture overlay */
.client-role::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.check-list-white {
    margin-top: 1.5rem;
}

.check-list-white li {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
}

.check-list-white li::before {
    content: '→';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    top: 0;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.role-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.role-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.role-box h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.text-accent.role-title {
    color: var(--accent-color);
}

/* --- PRICING --- */
.efiklean-price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.efiklean-price-card::before {
    content: 'TOUT INCLUS';
    position: absolute;
    top: 25px;
    right: -35px;
    width: 150px;
    background: var(--accent-color);
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 0;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.price-amount .currency {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.price-amount .unit {
    display: block;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* --- FAQ --- */
.accordion-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--primary-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
}

.accordion-header.active {
    background: rgba(0, 184, 148, 0.05);
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

/* --- FOOTER --- */
footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-lg) 0 1rem 0;
}

footer h3,
footer h4 {
    color: white;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-main {
        text-align: center;
        order: 1;
    }

    .hero-photo {
        display: flex;
        justify-content: center;
    }

    .hero-photo img {
        max-width: 300px;
    }

    .hero-photo::before {
        display: none;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-tagline {
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--secondary-color);
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    }

    .hero-sidebar {
        order: 2;
        transform: none;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* Responsive Workflow (Vertical Line) */
    .process-serpentine {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 3rem;
        max-width: 100%;
    }

    .process-serpentine::before {
        left: 20px;
        /* Line on left side */
        right: auto;
        top: 0;
        bottom: 0;
        width: 4px;
        border: none;
        background: #d1f2eb;
        border-radius: 0;
    }

    .step-card {
        text-align: left;
        padding-left: 5rem;
        /* Make room for icon */
        margin-left: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .step-icon {
        position: absolute;
        left: -35px;
        /* Half width (70/2) */
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    /* Reset Grid Positions for Mobile */
    .step-1,
    .step-2,
    .step-3,
    .step-4 {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Utility for Pricing Lists */
.check-list-center {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}

/* --- MOBILE NAVIGATION & LAYOUT (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Navigation */
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none;
        /* Hidden by default */
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    /* Ensure nav items are visible */
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem;
        font-size: 1.1rem;
    }

    /* Typography Adjustments */
    .hero-content h1 {
        font-size: 2rem;
        /* Smaller H1 */
    }

    .section-title {
        font-size: 1.8rem;
        /* Smaller Section Titles */
    }

    /* Grid Stacking */
    .grid-3 {
        grid-template-columns: 1fr;
        /* Stack cards */
        gap: 2rem;
    }

    /* Spacing */
    .section-padding {
        padding: 4rem 0;
        /* Reduce vertical padding */
    }

    .hero-layout {
        gap: 3rem;
    }

    /* Adjust Pricing Card margin */
    .efiklean-price-card {
        padding: 2rem;
        /* Less padding inside card */
    }

    .price-amount .currency {
        font-size: 3rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}