﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Brand Colors (Tekiyo Dark Mode) */
    --bg-main: #0F172A;
    /* Deep Space Blue */
    --bg-card: #1E293B;
    /* Lighter Slate */
    --text-primary: #F8FAFC;
    /* Almost White */
    --text-secondary: #94A3B8;
    /* Soft Blue-Grey */

    --brand-blue: #1A84C0;
    /* User's Exact Blue */
    --accent-gold: #F59E0B;
    /* Warm Industrial Amber */

    /* New Primary - Unified Brand Blue */
    --primary: var(--brand-blue);
    --primary-hover: #1570A6;

    /* Structural */
    --radius-lg: 16px;
    /* Slightly tighter radius */
    /* Naoto Fukasawa Softness */
    --radius-full: 9999px;
    /* Capsule shapes */
    --nav-height: 80px;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* Authority & Elegance */
    --font-body: 'Inter', sans-serif;
    /* Readability & Tech */

    --transition: all 0.3s ease-out;
    /* Snappier transition */
    /* Smooth Premium Feel */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    /* Dark Mode Base */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-gradient {
    background: linear-gradient(90deg, #94a3b8, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property added */
    -webkit-text-fill-color: transparent;
}

.accent {
    color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    /* Removed brand-blue */
}

.dark-section .section-title {
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.center {
    text-align: center;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    /* Slightly more structured than 6px */
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    /* White text on blue */
    box-shadow: 0 4px 12px rgba(26, 132, 192, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 132, 192, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
    margin-left: 10px;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Navigation - The "Capsule" */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    /* Allow auto width to fit content */
    min-width: 80%;
    /* But keep a decent minimum */
    max-width: 1200px;
    z-index: 1000;

    /* Glassmorphism - Enhanced Liquid Glass */
    background: rgba(15, 23, 42, 0.6);
    /* More transparent for liquid feel */
    backdrop-filter: blur(20px) saturate(180%);
    /* Stronger blur & saturation */
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Crisper border */

    /* Liquid Glow & Shadow */
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(26, 132, 192, 0.2),
        /* Soft Blue Glow */
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    /* Inner gloss */

    padding: 10px 30px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.navbar.scrolled {
    top: 10px;
    background: rgba(15, 23, 42, 0.95);
    padding: 10px 30px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(26, 132, 192, 0.25);
    /* Stronger Glow on Scroll */
}

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

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    height: 40px;
    /* Constrain structural height to keep navbar minimalist */
    width: 180px;
    /* Reserve space for width */
}

.logo-img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 140px;
    /* Increased size (was 100px) */
    width: auto;
    display: block;
    mix-blend-mode: screen;
    filter: brightness(1.1) contrast(1.1);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

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

/* Premium CTA in Nav */
.nav-links .btn-primary {
    background: var(--text-primary);
    /* White/Light background */
    color: var(--brand-blue);
    /* Blue Text */
    padding: 12px 24px;
    border-radius: var(--radius-full);
    /* Rounded capsule */
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-links .btn-primary:hover {
    background: var(--brand-blue);
    /* Blue background on hover */
    color: white;
    /* White text on hover */
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(26, 132, 192, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 6px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* Slight zoom for premium feel */
    animation: breathe 20s infinite alternate;
}

@keyframes breathe {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.15);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient for depth and text legibility */
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.4) 0%,
            rgba(15, 23, 42, 0.8) 50%,
            var(--bg-main) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: none;
    /* Removed heavy shadow for cleaner look */
    color: var(--text-primary);
}

.text-gradient {
    /* Subtle metallic gradient instead of harsh white */
    background: linear-gradient(135deg, #F8FAFC 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Badges - Minimalist */
.trust-badges {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Hero Buttons - Refined */
.hero-buttons .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    backdrop-filter: none;
    box-shadow: 0 4px 12px rgba(26, 132, 192, 0.4);
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 132, 192, 0.5);
    border-color: transparent;
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 14px 32px;
    margin-left: 0;
    transition: all 0.3s ease;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    /* Subtle glass */
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.badge svg {
    width: 20px;
    height: 20px;
    color: var(--brand-blue);
    /* Using brand blue for icons */
}

/* Sections */
.section {
    padding: 100px 0;
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.light-section {
    background-color: var(--bg-light);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Features List */
.features-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.features-list .icon {
    font-size: 1.5rem;
    background-color: rgba(245, 158, 11, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--accent-gold);
}

.features-list p {
    color: #94a3b8;
    margin-top: 5px;
}

/* Image styling */
.rounded-img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.shadow-lg {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.image-content {
    position: relative;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--bg-card);
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.floating-card strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

.floating-card span {
    color: var(--brand-blue);
    font-weight: 600;
}

/* Gallery / Products - Restored 3-Column Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Flip Reveal Animation - Ultra Smooth */
.product-card.flip-hidden-left {
    opacity: 0;
    transform: perspective(1000px) rotateY(-90deg);
    transition: transform 3.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 2.5s ease-out;
}

.product-card.flip-hidden-right {
    opacity: 0;
    transform: perspective(1000px) rotateY(30deg) translateX(100vw);
    transition: transform 3.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 2.5s ease-out;
}

.product-card.flip-revealed {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) translateX(0);
    transition: transform 3.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 2.5s ease-out;
}

.product-card.flip-revealed:hover {
    transform: perspective(1000px) rotateY(0deg) translateX(0) translateY(-10px);
}

/* Staggered animation delay */
.gallery-grid .product-card:nth-child(1) {
    transition-delay: 0s;
}

.gallery-grid .product-card:nth-child(2) {
    transition-delay: 0.3s;
}

.gallery-grid .product-card:nth-child(3) {
    transition-delay: 0.6s;
}

.card-image {
    height: 300px;
    /* Enhanced height for better visuals */
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-image img {
    transform: scale(1.08);
}

.card-content {
    padding: 35px;
}

.card-content h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonial-section {
    background-color: var(--bg-main);
    /* Match site background exactly */
    padding: 60px 0;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    /* For liquid background */
}

/* Add Liquid Glass Background Effect to Testimonials */
#reviews-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Transparent overlay to let the site background show through */
    background: transparent;
    overflow: hidden;
    /* Ensure animation doesn't overflow */
}

#reviews-bg-container svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
    opacity: 0.2;
    /* Even more faded */
    filter: brightness(0.4) contrast(1.1);
    /* Very dark */
}

.testimonial-card {
    position: relative;
    z-index: 2;
    background: transparent;
    /* No frame background */
    backdrop-filter: none;
    /* No blur */
    -webkit-backdrop-filter: none;
    border: none;
    /* No border */
    padding: 20px;
    /* Reduced padding */
    border-radius: 0;
    box-shadow: none;
    /* No shadow */
    display: inline-block;
    max-width: 900px;
}

.testimonial-card blockquote {
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    margin: 20px 0;
    color: var(--text-primary);
    /* White/Light text */
}

.testimonial-card cite {
    color: var(--text-secondary);
    font-style: normal;
    font-weight: 500;
}

.stars {
    font-size: 1.5rem;
    color: var(--text-primary);
    /* White stars as requested */
}

/* Configurator Promo - Liquid Glass Box */
.configurator-promo {
    margin-top: 40px;
    padding: 30px;
    border-radius: 20px;

    /* Liquid Glass Effect */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.05);

    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.configurator-promo:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.promo-icon {
    font-size: 2.5rem;
    background: rgba(26, 132, 192, 0.1);
    /* Brand blue tint */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    flex-shrink: 0;
}

.promo-content h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.promo-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    color: #0F172A;
    /* Dark text for white background */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-form-wrapper h3 {
    color: #0F172A;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #334155;
    /* Dark slate for contrast */
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    background: #f8fafc;
    color: #0F172A;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 132, 192, 0.1);
}

.form-advice {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 6px;
    font-style: italic;
}

.form-group input[type="file"] {
    padding: 10px;
    background: white;
    margin-top: 15px;
    /* Added spacing from label/previous content */
}

.form-advice {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 8px;
    font-style: italic;
    line-height: 1.4;
}

/* Custom File Input Container Spacing */
.form-group:has(input[type="file"]) {
    margin-top: 30px;
    /* Extra space above the file upload section */
}

/* --- LE BOUTON LIQUID GLASS (FORM) --- */
.btn-liquid {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: white;

    width: 100%;
    /* max-width: 450px; Removed max-width to fit container naturally, or keep if preferred */
    padding: 18px 30px;
    border: none;
    border-radius: 50px;
    margin-top: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    cursor: pointer;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(13, 153, 255, 0.3);

    /* MODIFICATION ICI : Transition passée à 0.8s pour l'effet liquide */
    transition: all 0.8s ease;

    /* LE DÉGRADÉ (Vos couleurs) */
    background: linear-gradient(105deg,
            #031424 0%,
            #15147D 25%,
            #0D99FF 50%,
            #A5A8F7 75%,
            #BEC5E7 90%,
            #C9DDE8 100%);
    background-size: 200% auto;
}

.btn-liquid:hover {
    background-position: right center;
    box-shadow: 0 15px 30px rgba(13, 153, 255, 0.5);
}

/* --- GESTION DU TEXTE --- */
.btn-liquid span {
    display: block;
    /* MODIFICATION ICI : Transition ralentie à 0.7s */
    transition: all 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    white-space: nowrap;
}

.btn-liquid:hover span {
    transform: translateX(100px);
    opacity: 0;
    width: 0;
    margin: 0;
}

/* --- GESTION DE L'AVION --- */
.svg-wrapper-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-liquid svg {
    display: block;
    transform-origin: center center;
    /* MODIFICATION ICI : Transition ralentie à 0.7s pour suivre le texte */
    transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-liquid:hover svg {
    /* L'avion se centre, grandit et tourne */
    transform: scale(1.4) rotate(45deg);
}

/* Animation de flottement continu */
.btn-liquid:hover .svg-wrapper {
    animation: fly-idle 1.5s ease-in-out infinite alternate;
    /* Ralenti aussi le flottement */
}

@keyframes fly-idle {
    from {
        transform: translateY(3px);
    }

    to {
        transform: translateY(-3px);
    }
}

.btn-liquid:active {
    transform: scale(0.98);
    transition: 0.1s;
    /* Le clic doit rester rapide pour être réactif */
}

.full-width {
    width: 100%;
}

.form-note {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 15px;
}

/* Map Container & Wrapper - Full Width Banner */
.map-container {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-bottom: -1px;
    /* Fix gap with footer */
}

.map-wrapper {
    border-radius: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    height: 450px;
    position: relative;
    width: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.1);
    /* Subtle premium filter */
}

/* Responsive Bento */
@media (max-width: 900px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .bento-card {
        min-height: 250px;
    }
}

/* Footer */
footer {
    background-color: var(--bg-main);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content p {
    margin-bottom: 10px;
}

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

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

.section {
    animation: fadeInUp 0.8s ease-out forwards;
}



/* Responsive */
@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        border-radius: 20px;
        margin-top: 10px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

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

/* Hero Buttons Bar - Segmented Control */
.hero-buttons-bar {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 4px;
    gap: 0;
    transition: border-color 0.3s ease;
}

.hero-buttons-bar:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.bar-btn {
    position: relative;
    padding: 12px 28px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 46px;
    transition: color 0.25s ease, background-color 0.25s ease;
    background-color: transparent;
}

/* LIQUID BUTTON - Custom User Request */
.liquid-btn-link {
    display: block;
    text-decoration: none;
    /* Reset */
}

.liquid-btn {
    --color-one: #0D99FF;
    --color-two: #15147D;
    --color-three: #0D99FF80;
    --color-four: #15147D80;
    --color-five: #A5B7F740;

    --time-animation: 3s;

    /* Adapted Size for Navbar */
    width: 180px;
    height: 48px;

    position: relative;
    border-radius: 30px;
    box-shadow:
        0 0 15px 0 var(--color-three),
        0 10px 25px 0 var(--color-four);

    animation: colorize calc(var(--time-animation) * 4) ease-in-out infinite;
    transition: transform 0.2s ease;
}

.liquid-btn:hover {
    transform: scale(1.05);
}

/* Frame/Border */
.liquid-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border-top: solid 1px var(--color-one);
    border-bottom: solid 1px var(--color-two);
    background: linear-gradient(180deg, var(--color-five), var(--color-four));
    box-shadow:
        inset 0 5px 5px 0 var(--color-three),
        inset 0 -5px 5px 0 var(--color-four);
    z-index: 1;
    pointer-events: none;
}

/* Liquid Content */
.liquid-btn .liquid-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            var(--color-one) 20%,
            var(--color-two) 80%);
    mask: url(#liquid-clipping);
    -webkit-mask: url(#liquid-clipping);
    border-radius: 30px;
    z-index: 2;
}

.liquid-btn svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    pointer-events: none;
}

/* Gooey Effect */
.liquid-btn svg #liquid-clipping {
    filter: contrast(20);
    animation: roundness calc(var(--time-animation) / 2) linear infinite;
}

.liquid-btn svg #liquid-clipping polygon {
    filter: blur(5px);
    /* Adjusted blur for smaller size */
    transform-box: fill-box;
    fill: white;
}

/* Text Overlay */
.liquid-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Animations */
/* LEFT */
.liquid-btn svg #liquid-clipping polygon:nth-child(1) {
    transform-origin: 10% 50%;
    animation: rotation 2s linear infinite;
}

.liquid-btn svg #liquid-clipping polygon:nth-child(2) {
    transform-origin: 20% 60%;
    animation: rotation 3.5s linear infinite reverse;
}

/* MID LEFT */
.liquid-btn svg #liquid-clipping polygon:nth-child(3) {
    transform-origin: 35% 40%;
    animation: rotation 2.8s linear infinite;
    animation-delay: -1s;
}

.liquid-btn svg #liquid-clipping polygon:nth-child(4) {
    transform-origin: 45% 55%;
    animation: rotation 4s linear infinite reverse;
}

/* CENTER */
.liquid-btn svg #liquid-clipping polygon:nth-child(5) {
    transform-origin: 50% 50%;
    animation: rotation 3s linear infinite;
    transform: scale(1.2);
}

/* MID RIGHT */
.liquid-btn svg #liquid-clipping polygon:nth-child(6) {
    transform-origin: 60% 45%;
    animation: rotation 2.5s linear infinite reverse;
    animation-delay: -0.5s;
}

.liquid-btn svg #liquid-clipping polygon:nth-child(7) {
    transform-origin: 70% 60%;
    animation: rotation 3.2s linear infinite;
}

/* RIGHT */
.liquid-btn svg #liquid-clipping polygon:nth-child(8) {
    transform-origin: 85% 50%;
    animation: rotation 2.2s linear infinite reverse;
}

.liquid-btn svg #liquid-clipping polygon:nth-child(9) {
    transform-origin: 90% 40%;
    animation: rotation 4.5s linear infinite;
    animation-delay: -2s;
}

/* FILLERS */
.liquid-btn svg #liquid-clipping polygon:nth-child(10) {
    transform-origin: 25% 50%;
    animation: rotation 5s linear infinite;
    opacity: 0.8;
}

.liquid-btn svg #liquid-clipping polygon:nth-child(11) {
    transform-origin: 75% 50%;
    animation: rotation 4s linear infinite reverse;
    opacity: 0.8;
}

.liquid-btn svg #liquid-clipping polygon:nth-child(12) {
    transform-origin: 50% 50%;
    animation: rotation 6s linear infinite;
    opacity: 0.5;
}

/* Keyframes */
@keyframes rotation {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes roundness {
    0% {
        filter: contrast(20);
    }

    50% {
        filter: contrast(25);
    }

    100% {
        filter: contrast(20);
    }
}

@keyframes colorize {
    0% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(-15deg);
    }

    100% {
        filter: hue-rotate(0deg);
    }
}

/* Loader Styles */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
    /* Prevent scrollbars if animation is slightly larger */
}

#lottie-container {
    width: 100vw;
    /* Full Viewport Width */
    height: 100vh;
    /* Full Viewport Height */
    max-width: none;
    /* No limit */
    aspect-ratio: auto;
    /* Let it fill */
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* From Uiverse.io by Nawsome - MODIFIED for Blue Pill Style */
.continue-application {
    /* --- CONFIGURATION DES COULEURS DE L'ANIMATION INTERNE --- */
    --color: #fff;
    --folder: #F3E9CB;
    --folder-inner: #BEB393;
    --paper: #FFFFFF;
    --paper-lines: #BBC1E1;
    --paper-behind: #E1E6F9;
    --pencil-cap: #fff;
    --pencil-top: #275EFE;
    --pencil-middle: #fff;
    --pencil-bottom: #5C86FF;
    --shadow: rgba(13, 15, 25, .2);

    /* --- STYLE DU BOUTON (TYPE PILULE BLEUE) --- */
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;

    /* Arrondi complet pour faire une pilule */
    border-radius: 50px;

    /* Typographie */
    font-size: 16px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.5px;
    color: var(--color);

    /* Le dégradé Bleu demandé */
    background: linear-gradient(105deg,
            #031424 0%,
            #15147D 25%,
            #0D99FF 50%,
            #A5A8F7 75%,
            #BEC5E7 90%,
            #C9DDE8 100%);
    background-size: 200% auto;
    /* Prêt pour l'animation de fond */

    /* Ombre lumineuse (Glow) - Réduite */
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);

    padding: 17px 29px 17px 80px;
    /* Padding gauche augmenté pour laisser place au dossier */
    transition: all 0.3s ease;
}

/* Animation globale du bouton au survol */
.continue-application:hover {
    /* Déplacement du dégradé */
    background-position: right center;
    /* Agrandissement léger */
    transform: scale(1.02);
    /* Lueur plus intense - Réduite aussi */
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);

    /* Variables de l'animation interne (ne pas toucher) */
    --cx: 2px;
    --fx: -40px;
    --fr: -60deg;
    --fd: .15s;
    --fds: 0s;
    --pbx: 3px;
    --pby: -3px;
    --pbd: .15s;
    --pex: -24px;
}

/* Zone conteneur de l'icône (à gauche) */
.continue-application>div {
    top: 0;
    left: 10px;
    /* Décalé un peu du bord arrondi */
    bottom: 0;
    width: 53px;
    position: absolute;
    overflow: hidden;
    border-radius: 50px 0 0 50px;
    /* Arrondi pour suivre le bouton */
    background: transparent;
    /* Fond transparent pour voir le dégradé bleu */
}

/* --- LE RESTE EST L'ANIMATION D'ORIGINE (INCHANGÉE POUR QUE CA MARCHE) --- */

.continue-application>div .folder {
    width: 23px;
    height: 27px;
    position: absolute;
    left: 15px;
    top: 13px;
    /* Centrage vertical approximatif */
}

.continue-application>div .folder .top {
    left: 0;
    top: 0;
    z-index: 2;
    position: absolute;
    transform: translateX(var(--fx, 0));
    transition: transform 0.4s ease var(--fd, 0.3s);
}

.continue-application>div .folder .top svg {
    width: 24px;
    height: 27px;
    display: block;
    fill: var(--folder);
    transform-origin: 0 50%;
    transition: transform 0.3s ease var(--fds, 0.45s);
    transform: perspective(120px) rotateY(var(--fr, 0deg));
}

.continue-application>div .folder:before,
.continue-application>div .folder:after,
.continue-application>div .folder .paper {
    content: "";
    position: absolute;
    left: var(--l, 0);
    top: var(--t, 0);
    width: var(--w, 100%);
    height: var(--h, 100%);
    border-radius: 1px;
    background: var(--b, var(--folder-inner));
}

.continue-application>div .folder:before {
    box-shadow: 0 1.5px 3px var(--shadow), 0 2.5px 5px var(--shadow), 0 3.5px 7px var(--shadow);
    transform: translateX(var(--fx, 0));
    transition: transform 0.4s ease var(--fd, 0.3s);
}

.continue-application>div .folder:after,
.continue-application>div .folder .paper {
    --l: 1px;
    --t: 1px;
    --w: 21px;
    --h: 25px;
    --b: var(--paper-behind);
}

.continue-application>div .folder:after {
    transform: translate(var(--pbx, 0), var(--pby, 0));
    transition: transform 0.4s ease var(--pbd, 0s);
}

.continue-application>div .folder .paper {
    z-index: 1;
    --b: var(--paper);
}

.continue-application>div .folder .paper:before,
.continue-application>div .folder .paper:after {
    content: "";
    width: var(--wp, 14px);
    height: 2px;
    border-radius: 1px;
    transform: scaleY(0.5);
    left: 3px;
    top: var(--tp, 3px);
    position: absolute;
    background: var(--paper-lines);
    box-shadow: 0 12px 0 0 var(--paper-lines), 0 24px 0 0 var(--paper-lines);
}

.continue-application>div .folder .paper:after {
    --tp: 6px;
    --wp: 10px;
}

.continue-application>div .pencil {
    height: 2px;
    width: 3px;
    border-radius: 1px 1px 0 0;
    top: 8px;
    left: 105%;
    position: absolute;
    z-index: 3;
    transform-origin: 50% 19px;
    background: var(--pencil-cap);
    transform: translateX(var(--pex, 0)) rotate(35deg);
    transition: transform 0.4s ease var(--pbd, 0s);
}

.continue-application>div .pencil:before,
.continue-application>div .pencil:after {
    content: "";
    position: absolute;
    display: block;
    background: var(--b, linear-gradient(var(--pencil-top) 55%, var(--pencil-middle) 55.1%, var(--pencil-middle) 60%, var(--pencil-bottom) 60.1%));
    width: var(--w, 5px);
    height: var(--h, 20px);
    border-radius: var(--br, 2px 2px 0 0);
    top: var(--t, 2px);
    left: var(--l, -1px);
}

.continue-application>div .pencil:before {
    -webkit-clip-path: polygon(0 5%, 5px 5%, 5px 17px, 50% 20px, 0 17px);
    clip-path: polygon(0 5%, 5px 5%, 5px 17px, 50% 20px, 0 17px);
}

.continue-application>div .pencil:after {
    --b: none;
    --w: 3px;
    --h: 6px;
    --br: 0 2px 1px 0;
    --t: 3px;
    --l: 3px;
    border-top: 1px solid var(--pencil-top);
    border-right: 1px solid var(--pencil-top);
}

/* Scroll Slide-in Animation */
/* Scroll Slide-in Animation */
.slide-in-hidden {
    opacity: 0;
    transform: translateX(-150px);
    /* Increased offset for more visible motion */
    transition: opacity 1.5s ease-out,
        transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Longer duration, smoother ease */
    will-change: opacity, transform;
}

.slide-in-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll Fade Left Animation */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* Scroll Fade Right Animation */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* Scroll Fade Up Animation */
/* Scroll Fade Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* Scroll Fade Down Animation */
.fade-in-down {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-visible {
    opacity: 1;
    transform: translate(0, 0);
}