:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #60A5FA;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-500: #6B7280;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --reveal-delay: 0.1s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.5;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.container-full {
    width: 100%;
    max-width: 100%;
}

/* Background Grid Effect */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(37, 99, 235, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(37, 99, 235, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 90%);
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45), 0 0 20px rgba(37, 99, 235, 0.2);
}

.btn-primary.white-bg {
    background: var(--white);
    color: var(--primary);
}

.btn-primary.white-bg:hover {
    background: var(--gray-50);
}

.btn-secondary.glass-bg {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-secondary.glass-bg:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-mobile-only {
    display: none;
}

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gray-900);
}

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gray-900);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-500);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    max-width: 900px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--gray-100);
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Section Common */
section {
    padding: 140px 0;
}

#services {
    background-color: var(--white);
}

#projets {
    background-color: var(--gray-50);
}

#expertise {
    background-color: var(--white);
}

.testimonials {
    background-color: var(--gray-50);
}

/* --- Base Styles --- */
:root {
    --bg-white: #FFFFFF;
    --bg-black: #0E0E0E;
    --accent-blue: #0055FF;
    --text-main: #000000;
    --text-gray: #666666;
    --border-light: #E5E5E5;
}

.offers {
    background-color: var(--white);
    padding: 140px 0;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 20px;
    background-color: #f5f5f7;
    /* Couleur de fond légère pour faire ressortir les cartes */
}

/* --- La Carte --- */
.offer-card {
    background: var(--bg-white);
    border-radius: 40px;
    /* Bordures très arrondies comme sur l'image */
    padding: 40px 30px;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

/* Carte standard - même style pour toutes les cartes */

/* --- Header & Badge --- */
.offer-header {
    margin-bottom: 20px;
}

.offer-title-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.offer-limited {
    background: #F2F2F7;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    position: absolute;
    top: 35px;
    right: 25px;
}



.offer-limited .blink {
    color: var(--accent-blue);
    margin-right: 8px;
    font-size: 1.2rem;
}

/* --- Prix --- */
.offer-price {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 20px 0;
}

.offer-description {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.4;
    max-width: 90%;
}



/* --- Boutons --- */
.offer-card .btn {
    display: block;
    text-align: center;
    padding: 18px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
}



.btn-primary {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 85, 255, 0.2);
}

/* --- Liste des fonctionnalités --- */
.offer-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
}

/* --- Garantie Section --- */
.guarantee {
    padding: 100px 0;
    background-color: var(--gray-50);
}

.guarantee-content {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.guarantee-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-100);
}

.guarantee-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.guarantee-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.guarantee-subtitle::before {
    content: "✓";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 12px;
    font-size: 0.875rem;
}

.guarantee-list {
    list-style: none;
    padding: 0;
}

.guarantee-list li {
    padding: 8px 0;
    padding-left: 36px;
    position: relative;
    color: var(--gray-700);
}

.guarantee-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 0.875rem;
}

.honesty-clause {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed var(--gray-200);
}

.honesty-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 8px;
    text-align: center;
}

.honesty-subtitle {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 24px;
}

.disclaimer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.disclaimer-list {
    list-style: none;
    padding: 0;
}

.disclaimer-list li {
    padding: 12px 0;
    padding-left: 36px;
    position: relative;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-50);
}

.disclaimer-list li:last-child {
    border-bottom: none;
}

.disclaimer-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 0.875rem;
}



.offer-features li {
    margin-bottom: 18px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* Remplacer les emojis par des check bleus stylisés */
.offer-features li::before {
    content: '✓';
    color: var(--accent-blue);
    font-weight: 900;
    margin-right: 15px;
    font-size: 1.1rem;
}

/* Réduire l'opacité des textes dans les fonctionnalités */
.offer-features .feature-text {
    opacity: 0.5;
    font-weight: 500;
}

.blink {
    animation: blink-animation 1.5s infinite;
    color: var(--accent-blue);
    font-size: 1.2rem;
}

@keyframes blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin-bottom: 60px;
}

.section-subtitle.text-center {
    margin-left: auto;
    margin-right: auto;
}

/* Expertise / Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: auto;
    gap: 24px;
    margin-top: 40px;
}

.bento-card {
    border-radius: 32px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.bento-white {
    background: var(--white);
    border: 1px solid var(--gray-100);
}

.bento-blue {
    background: var(--primary);
    color: var(--white);
}

.bento-blue-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

/* Sizes */
.bento-main {
    grid-column: span 8;
    min-height: 400px;
}

.bento-small {
    grid-column: span 4;
    min-height: 400px;
}

.bento-medium {
    grid-column: span 6;
    min-height: 350px;
}

.bento-analytics {
    grid-column: span 6;
}

/* --- MOBILE VISUAL (UPGRADED & REDUCED) --- */
.mobile-mockup {
    width: 160px;
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-screen {
    width: 75px;
    height: 140px;
    background: linear-gradient(135deg, #fafafa, #ffffff);
    border-radius: 14px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 10px 6px;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.mockup-screen::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background: var(--gray-200);
    border-radius: 2px;
}

.mockup-content {
    width: 100%;
    height: 100%;
    background: var(--gray-50);
    border-radius: 6px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-content::before {
    content: '';
    width: 60%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px;
}

.mockup-content::after {
    content: '';
    width: 80%;
    height: 24px;
    background: var(--gray-100);
    border-radius: 4px;
    margin-top: 2px;
}

.mockup-floating-element {
    position: absolute;
    top: 25px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    z-index: 3;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    animation: float 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-floating-element::before {
    content: '✓';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

/* --- GTMETRIX INTERFACE (PREMIUM) --- */
.gtmetrix-mockup {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.gtmetrix-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.gtmetrix-logo {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.875rem;
    color: #fff;
    backdrop-filter: blur(10px);
}

.gtmetrix-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
}

.gtmetrix-scores {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.gt-score-item {
    flex: 1;
    background: rgba(74, 222, 128, 0.15);
    padding: 16px;
    border-radius: 12px;
    border: 1.5px solid rgba(74, 222, 128, 0.3);
    backdrop-filter: blur(10px);
}

.gt-score-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.gt-score-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #4ADE80;
}

.gtmetrix-vitals {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gtmetrix-vitals-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.vitals-grid {
    display: flex;
    gap: 12px;
}

.vital-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.vital-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.vital-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 900;
    color: #fff;
}

/* --- CLIENT PORTAL INTERFACE (PREMIUM) --- */
.client-portal-mockup {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.portal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.portal-icon {
    font-size: 20px;
}

.portal-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    flex: 1;
}

.portal-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4ADE80;
}

.portal-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.message-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
    color: #fff;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 14px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.message-item.agency .message-content {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.message-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.message-time {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.6);
}

.portal-progress {
    background: rgba(255, 255, 255, 0.1);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ADE80, #3ecf6c);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.progress-percent {
    text-align: right;
    font-size: 0.875rem;
    font-weight: 800;
    color: #4ADE80;
}

/* Mockups Layout */
.card-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    min-height: 200px;
    gap: 20px;
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.card-info p {
    font-size: 0.9375rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* --- DESIGN TIMELINE (NEW) --- */
.design-steps-timeline {
    display: flex;
    gap: 16px;
    align-items: center;
}

.design-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.design-step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.design-step.completed .step-num {
    background: #4ADE80;
    border-color: #4ADE80;
    color: #fff;
    box-shadow: 0 6px 15px rgba(74, 222, 128, 0.3);
}

.design-step.in-progress .step-num {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
    position: relative;
}

.design-step.in-progress .step-num::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.design-step .step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
}

.design-step.completed .step-label {
    color: #4ADE80;
}

.design-step.in-progress .step-label {
    color: var(--primary);
}

/* --- DELIVERY TIMELINE (for blue background) --- */
.delivery-steps-timeline {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.delivery-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.delivery-step .step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.delivery-step.completed .step-num {
    background: rgba(74, 222, 128, 0.3);
    border-color: #4ADE80;
    color: #fff;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.delivery-step.in-progress .step-num {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    position: relative;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.4);
    }
}

.delivery-step .step-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.delivery-step.completed .step-label {
    color: #4ADE80;
}

.delivery-step.in-progress .step-label {
    color: #fff;
}

/* --- COLOR PALETTE (UPDATED) --- */
.design-palette {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.design-palette .color-dot {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* --- PAGESPEED INTERFACE (PREMIUM) --- */
.pagespeed-mockup {
    width: 100%;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.pagespeed-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.pagespeed-icon {
    font-size: 20px;
}

.pagespeed-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-700);
}

.pagespeed-score {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.score-circle {
    position: relative;
    width: 100px;
    height: 100px;
}

.score-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-circle circle {
    fill: none;
    stroke-width: 8;
}

.score-circle .score-bg {
    stroke: var(--gray-100);
}

.score-circle .score-progress {
    stroke: #0CCE6B;
    stroke-dasharray: 251;
    stroke-dashoffset: 25;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(12, 206, 107, 0.3));
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 900;
    color: #0CCE6B;
}

.pagespeed-metrics {
    display: flex;
    gap: 12px;
}

.metric-item {
    flex: 1;
    background: rgba(12, 206, 107, 0.05);
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(12, 206, 107, 0.1);
}

.metric-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0CCE6B;
    margin-top: 2px;
}

/* --- SEARCH CONSOLE INTERFACE (PREMIUM) --- */
.search-console-premium {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
}

.console-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.console-icon {
    color: var(--primary);
    display: flex;
    align-items: center;
}

.console-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-700);
    flex: 1;
}

.console-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(74, 222, 128, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4ADE80;
}

.trend-up {
    font-size: 1rem;
}

.console-chart {
    margin-bottom: 16px;
    height: 80px;
}

.console-chart svg {
    width: 100%;
    height: 100%;
}

.console-stats {
    display: flex;
    gap: 12px;
}

.stat-box {
    flex: 1;
    background: rgba(37, 99, 235, 0.05);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.stat-number {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* --- ANALYTICS INTERFACE (PREMIUM) --- */
.analytics-premium {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
}

.analytics-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.analytics-icon {
    font-size: 18px;
}

.analytics-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-700);
    flex: 1;
}

.analytics-period {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    background: var(--gray-50);
    padding: 4px 10px;
    border-radius: 6px;
}

.analytics-main-stat {
    margin-bottom: 16px;
    text-align: center;
}

.main-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.main-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 8px;
}

.trend-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.trend-indicator.positive {
    background: rgba(74, 222, 128, 0.15);
    color: #4ADE80;
}

.analytics-chart {
    height: 80px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    gap: 6px;
    padding: 0 10px;
}

.chart-bar {
    flex: 1;
    position: relative;
    border-radius: 6px 6px 0 0;
    background: rgba(37, 99, 235, 0.08);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chart-bar:hover {
    background: rgba(37, 99, 235, 0.12);
}

.bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.15));
    border-radius: 6px 6px 0 0;
    border-top: 3px solid var(--primary);
}

.chart-bar.active .bar-fill {
    background: linear-gradient(to top, rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.25));
    border-top-color: var(--primary);
    box-shadow: 0 -4px 12px rgba(37, 99, 235, 0.2);
}

/* Mockups Layout */
.card-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    min-height: 200px;
    gap: 20px;
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.card-info p {
    font-size: 0.9375rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* --- TIMELINE (UPGRADED) --- */
.timeline-visual {
    display: flex;
    align-items: center;
    width: 85%;
}

.timeline-point {
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.timeline-point.active {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.2);
    }
}

.timeline-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.timeline-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent);
}

/* Responsiveness */
@media (max-width: 1200px) {
    .bento-main {
        grid-column: span 12;
    }

    .bento-small {
        grid-column: span 12;
    }

    .bento-medium {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-card {
        padding: 24px;
        min-height: auto;
    }

    .bento-main,
    .bento-small,
    .bento-medium,
    .bento-analytics {
        grid-column: span 1;
    }
}

/* Projects Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 16px;
}

.projects .section-header {
    margin-bottom: 80px;
}

.projects .section-title {
    font-size: 3rem;
    margin-bottom: 0;
}

/* Projects Section Slider */
.projects {
    padding: 100px 0;
    overflow: hidden;
}

.section-header-centered {
    margin-bottom: 80px;
}

.section-header-centered .section-subtitle {
    margin: 20px auto 0;
}

.portfolio-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.portfolio-grid .project-card {
    max-width: 600px;
    width: 100%;
}

.premium-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.premium-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 32px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-vitals {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
}

.project-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.project-content p {
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Performance Section in Cards */
.project-performance {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 16px;
}

.perf-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.premium-card:hover .perf-item {
    background: rgba(37, 99, 235, 0.03);
}

.perf-info {
    display: flex;
    flex-direction: column;
}

.perf-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
}

.perf-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    transition: all 0.3s ease;
}

.perf-item:hover .perf-value {
    color: var(--primary);
}



@media (max-width: 991px) {
    .portfolio-grid {
        flex-direction: column;
        align-items: center;
    }
}

.slider-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--gray-100);
    background: var(--white);
    color: var(--gray-900);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* Comparison Table */
.comparison {
    padding: 100px 0;
}

.comparison-wrapper {
    max-width: 1000px;
    margin: 60px auto 0;
}

.comparison-table {
    background: var(--white);
    border-radius: 32px;
    border: 1px solid var(--gray-100);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    background: var(--gray-50);
    padding: 30px;
    border-bottom: 1px solid var(--gray-100);
    font-weight: 700;
    font-family: var(--font-heading);
    align-items: center;
}

.col-webards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.table-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.col-others {
    text-align: center;
    color: var(--gray-500);
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    padding: 25px 30px;
    border-bottom: 1px solid var(--gray-50);
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row .col-webards,
.table-row .col-others {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-size: 0.9375rem;
}

.table-row .col-webards {
    font-weight: 600;
    color: var(--gray-900);
}

.table-row .col-feature {
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-50);
    padding: 10px 20px;
    border-radius: 12px;
    margin-right: 20px;
}

.check {
    color: #4ADE80;
    font-size: 1.25rem;
    font-weight: 900;
}

.cross {
    color: #F87171;
    font-size: 1.25rem;
    font-weight: 900;
}

@media (max-width: 768px) {

    .table-header,
    .table-row {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 15px;
        font-size: 0.8rem;
    }

    .table-row .col-feature {
        margin-right: 5px;
        padding: 5px 10px;
    }
}

.project-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

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

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

.project-content {
    padding: 32px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

.project-tags {
    display: flex;
    gap: 8px;
}

.project-tags span {
    padding: 4px 12px;
    background: var(--gray-50);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
}

/* Process Section */
.process {
    padding: 120px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
}

.process-step {
    height: 100%;
}

.step-card {
    padding: 48px 32px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.step-number-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    font-family: var(--font-heading);
}

.step-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
}

.step-icon-circle svg {
    width: 32px;
    height: 32px;
}

.step-card h3 {
    font-size: 1.375rem;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.step-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.step-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.step-checklist li {
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-checklist li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

@media (max-width: 991px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.testimonials-grid .testimonial-card {
    flex: 0 1 450px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--gray-100);
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-800);
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 99px;
}

.testimonial-author strong {
    display: block;
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--gray-50);
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    transition: all 0.3s ease;
}

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

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 32px 24px;
    color: var(--gray-600);
    line-height: 1.7;
}

.trust-logos {
    padding-top: 80px;
    border-top: 1px solid var(--gray-100);
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    opacity: 0.5;
    filter: grayscale(1);
}

.logos-container img {
    height: 32px;
}

/* CTA Section */
.cta-card {
    background: var(--primary);
    padding: 100px 40px;
    border-radius: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.cta-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.gradient-text-light {
    color: var(--white);
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-card .section-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 24px;
    max-width: 800px;
    letter-spacing: -1.5px;
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 48px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.cta-badges {
    display: flex;
    gap: 40px;
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 500;
}

.cta-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Footer */
/* Variables de couleurs si non définies */
:root {
    --text-main: #1a1a1a;
    --text-muted: #888888;
    --bg-white: #ffffff;
}

.footer {
    padding: 80px 0 60px;
    background: var(--bg-white);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Aligne le lien légal sur la base du texte de gauche */
}

/* Côté Gauche : Logo et Copyright */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
    /* Optionnel : pour le look "app" de la capture */
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Côté Droit : Mentions Légales */
.legal-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: var(--text-main);
}

/* Responsive : On empile sur mobile */
@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

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

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

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }

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

    .cta-card .section-title {
        font-size: 2rem;
    }

    .process-step {
        flex-direction: column !important;
        text-align: center;
    }

    .step-card ul {
        grid-template-columns: 1fr;
    }
}

/* --- Legal Pages Styling --- */
.legal-main {
    padding-top: 60px;
    padding-bottom: 100px;
    background-color: var(--gray-50);
}

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

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--gray-900), var(--gray-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-section {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h2::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--primary);
    border-radius: 4px;
}

.legal-section h3 {
    font-size: 1.15rem;
    color: var(--gray-800);
    margin: 24px 0 12px;
}

.legal-section p,
.legal-section li {
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 1rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.legal-section ul li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.legal-section strong {
    color: var(--gray-800);
    font-weight: 600;
}

.date-update {
    display: inline-block;
    background: var(--gray-100);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
}

/* --- BROWSER MOCKUP (CREDIBILITY & IMAGE) --- */
.browser-mockup {
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.browser-header-dots {
    height: 36px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background-color: #ef4444;
    border: 1px solid #dc2626;
}

.dot-yellow {
    background-color: #f59e0b;
    border: 1px solid #d97706;
}

.dot-green {
    background-color: #22c55e;
    border: 1px solid #16a34a;
}

.browser-address {
    flex: 1;
    margin-left: 12px;
    background: #ffffff;
    height: 24px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
    font-size: 10px;
    color: #64748b;
}

.browser-lock {
    color: #22c55e;
    font-size: 8px;
}

.browser-banner {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1e293b 100%);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Ambient glow in banner */
.browser-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary);
    filter: blur(50px);
    opacity: 0.3;
    border-radius: 50%;
}

.mini-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-logo {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 4px;
}

.mini-links {
    display: flex;
    gap: 8px;
}

.mini-link {
    width: 30px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.mini-hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mini-title {
    width: 80%;
    height: 14px;
    background: #ffffff;
    border-radius: 4px;
}

.mini-subtitle {
    width: 60%;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

.mini-btn-group {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.mini-btn {
    width: 60px;
    height: 20px;
    background: var(--primary);
    border-radius: 4px;
}

.mini-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge-mockup {
    position: absolute;
    bottom: -10px;
    right: 20px;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #1e293b;
    z-index: 10;
}

.trust-stars {
    color: #f59e0b;
    letter-spacing: -2px;
}

/* Force White Text on Specific Cards */
.bento-blue h3,
.bento-blue-gradient h3 {
    color: #ffffff !important;
}

.bento-blue p,
.bento-blue-gradient p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* --- COPYWRITING VISUAL (RED & PERSUASION) --- */
.copywriting-visual {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    border-radius: 20px;
    padding: 30px;
}

.text-mockup-wrapper {
    width: 100%;
    max-width: 320px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

/* Decorative 'pen' or element */
.text-mockup-wrapper::after {
    content: '✏️';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 24px;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mockup-line {
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mockup-line.title {
    height: 16px;
    width: 60%;
    background: #1e293b;
    /* Title is darker */
    margin-bottom: 8px;
}

.mockup-line.short {
    width: 75%;
}

.mockup-line.medium {
    width: 85%;
}

.mockup-line.long {
    width: 95%;
}

/* Highlights within the lines */
.highlight-segment {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 4px;
}

.highlight-blue {
    background: rgba(59, 130, 246, 0.4);
    /* Blue highlight SEO */
    width: 25%;
    left: 10%;
}

.highlight-green {
    background: rgba(34, 197, 94, 0.4);
    /* Green highlight SALE */
    width: 20%;
    right: 15%;
}


/* --- OFFER OPTIONS (TOGGLE SWITCH & TOOLTIP) --- */
.offer-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.option-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* The Switch - Box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

/* Tooltip info icon */
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    cursor: help;
    transition: all 0.2s;
}

.info-icon:hover {
    background: var(--primary);
    color: white;
}

/* Tooltip Container & Logic */
.tooltip-container {
    position: relative;
}

.tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 140%;
    /* Position above */
    right: -10px;
    width: 300px;
    background: #1e293b;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Arrow for Tooltip */
.tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 15px;
    margin-left: -5px;
    border-width: 6px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

.tooltip-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.tooltip-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tooltip-list li {
    margin-bottom: 10px;
    padding-left: 0;
    position: relative;
    display: block;
}

.tooltip-list li:last-child {
    margin-bottom: 0;
}

.tooltip-list strong {
    color: #60a5fa;
    /* Light blue for emphasis */
    display: block;
    margin-bottom: 2px;
}

/* --- MOBILE NAVIGATION --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    margin-left: 20px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--gray-900);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation State */
.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 120px 40px;
        align-items: center;
        justify-content: flex-start;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
        transition-delay: 0.1s;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links li a {
        display: block;
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--gray-900);
        padding: 10px;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title,
    .projects .section-title {
        font-size: 2.25rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .offer-card {
        padding: 30px 20px;
    }

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

    /* Fix Horizontal Scroll and Mobile CTA/Badges */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-badges {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    /* Fix Portfolio/Project Card on Mobile */
    .portfolio-slider-wrapper {
        padding: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .portfolio-slider-container {
        order: 1;
        width: 100%;
    }

    /* Arrows Order 2 (Below content) */
    .slider-arrow {
        order: 2;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        background: var(--gray-50);
        margin: 0 10px;
    }

    .portfolio-slider .project-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .project-image {
        height: 250px;
    }

    .project-content {
        padding: 24px;
    }

    .project-performance {
        flex-direction: column;
        gap: 16px;
        padding-top: 20px;
    }

    .section-header-centered {
        margin-bottom: 40px;
    }

    .btn-mobile-only {
        display: flex;
        margin-top: 24px;
        width: 100%;
        justify-content: center;
    }

    .project-overlay {
        display: none !important;
    }

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

    .browser-header-dots {
        padding: 8px 10px;
        gap: 4px;
    }

    .browser-address {
        margin-left: 8px;
        font-size: 9px;
        padding: 0 6px;
    }

    .project-meta {
        font-size: 0.9rem;
    }

    /* Global Fixes for Horizontal Scroll on Mobile */
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }
}