/* ================== CSS VARIABLES (Design Tokens) ================== */
:root {
    --bg-base: #030712;
    --bg-surface: #0b1120;
    --bg-surface-hover: #111827;

    --brand-cyan: #00e5ff;
    --brand-blue: #2563eb;
    --brand-gradient: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-dim: #64748b;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 229, 255, 0.2);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ================== RESET & BASE ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================== TYPOGRAPHY ================== */
h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 700;
}

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

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

.text-dim {
    color: var(--text-dim);
}

.text-sm {
    font-size: 0.875rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

/* ================== LAYOUT ================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.align-start {
    align-items: flex-start;
}

.section {
    padding: 6rem 0;
}

.section-darker {
    background-color: rgba(0, 0, 0, 0.3);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ================== UTILITIES & EFFECTS ================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ================== COMPONENTS ================== */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    position: relative;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px !important;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 4px 15px rgba(0, 229, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.btn-primary:hover {
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.6),
        0 8px 25px rgba(0, 229, 255, 0.6);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    left: 200%;
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(0px) saturate(100%);
    -webkit-backdrop-filter: blur(0px) saturate(100%);
    border: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    padding: 0.75rem 0;
    transition: all 0.45s ease-in-out;
}

/* "Snake" line animation on enter */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -200px;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-cyan), #ffffff);
    box-shadow: 0 0 15px var(--brand-cyan), 0 0 30px var(--brand-cyan);
    border-radius: 2px;
    animation: header-snake 2.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
    opacity: 0;
}

@keyframes header-snake {
    0% {
        left: -200px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.navbar.scrolled {
    top: 1.5rem;
    width: 90%;
    max-width: 1000px;
    padding: 0.5rem 0;
    background: rgba(8, 12, 25, 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* More refined than pure cyan */
    border-radius: 100px;
}

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

.brand {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0;
    transition: all 0.45s ease-in-out;
}

.navbar.scrolled .brand {
    font-size: 1rem;
}

.brand-vt {
    color: var(--text-secondary);
}

.brand-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: all 0.45s ease-in-out;
    transform: translateY(-2px);
}

.navbar.scrolled .brand-logo {
    height: 42px;
}

.footer-logo {
    height: 40px;
}

.brand-divider {
    color: var(--border-color);
    font-weight: 300;
}

.brand-dx {
    color: var(--brand-cyan);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.45s ease-in-out;
}

.navbar.scrolled .nav-links {
    gap: 1.25rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.45s ease-in-out, color 0.3s ease;
}

.navbar.scrolled .nav-link {
    font-size: 0.85rem;
}

.navbar.scrolled .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}
}

.nav-link:hover {
    color: var(--brand-cyan);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-left: 0.5rem;
    padding: 0.2rem;
    transition: background 0.3s ease;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.08);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover:not(.active) {
    color: var(--brand-cyan);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-base);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
    }

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    background-color: var(--bg-base);
    background-image: radial-gradient(circle at center, rgba(11, 17, 32, 0.9) 0%, rgba(3, 7, 18, 1) 100%);
    overflow: hidden;
    /* Fade out the bottom of the hero to blend with the next section */
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}

/* Soft Rotating Light Beam Background */
@keyframes rotate-light-beam {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vw;
    background: conic-gradient(from 0deg at 50% 50%, 
        transparent 0deg,
        rgba(0, 229, 255, 0.0) 10deg,
        rgba(0, 229, 255, 0.12) 45deg,
        rgba(0, 229, 255, 0.0) 80deg,
        transparent 90deg,
        transparent 190deg,
        rgba(0, 229, 255, 0.0) 190deg,
        rgba(0, 229, 255, 0.12) 225deg,
        rgba(0, 229, 255, 0.0) 260deg,
        transparent 270deg,
        transparent 360deg
    );
    animation: rotate-light-beam 30s linear infinite;
    z-index: 1;
    pointer-events: none;
    transform: translate(-50%, -50%);
    -webkit-mask-image: radial-gradient(circle at center, transparent 0%, black 25%, black 45%, transparent 65%);
    mask-image: radial-gradient(circle at center, transparent 0%, black 25%, black 45%, transparent 65%);
    mix-blend-mode: screen;
}

.hero::after {
    display: none;
}

/* Subtle glow effects acting as the base layer */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.glow-1 {
    width: 40vw;
    height: 40vw;
    background: var(--brand-blue);
    opacity: 0.15;
}

.glow-2 {
    width: 20vw;
    height: 20vw;
    background: var(--brand-cyan);
    opacity: 0.15;
    mix-blend-mode: screen;
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 6rem;
    margin-top: -10vh;
}

.hero-logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    animation: fade-in-up 0.8s ease backwards;
}

/* Elegant radial backlight to make the logo pop */
.hero-logo-wrapper::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 0;
    pointer-events: none;
}

.hero-product-logo {
    height: 220px;
    width: auto;
    object-fit: contain;
    filter: invert(1) hue-rotate(180deg) saturate(2) brightness(2) contrast(1.2);
    mix-blend-mode: screen;
    opacity: 1;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-product-logo:hover {
    transform: scale(1.05);
    filter: invert(1) hue-rotate(180deg) saturate(2.5) brightness(2.5) contrast(1.3);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    color: var(--brand-cyan);
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'DM Sans', var(--font-sans);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    margin-top: -2.5rem;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

/* Word Rotator */
.word-rotator {
    display: inline-block;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s ease, filter 0.85s ease;
    filter: blur(0px);
    white-space: nowrap;
}

.word-rotator.rotate-out {
    opacity: 0;
    transform: translateY(-25px) scale(0.95);
    filter: blur(12px);
}

.word-rotator.rotate-in {
    opacity: 0;
    transform: translateY(25px) scale(0.95);
    filter: blur(12px);
    transition: none;
    /* Snaps safely without animating back */
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}



/* Stats Banner (Overlapping Hero) */
.stats-banner-container {
    position: relative;
    z-index: 30;
    margin-top: -10rem;
    /* Deeply pulls the banner upwards to guarantee visibility without scrolling */
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    min-width: 140px;
    transition: opacity 0.3s ease;
    cursor: default;
    position: relative;
    z-index: 1;
    opacity: 0.85;
}

.stat-item:hover {
    opacity: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #f8fafc;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-top: 0.4rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .stats-banner-container {
        margin-top: -2rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        min-width: unset;
        padding: 1rem;
    }
}

/* Fix spacing after hero */
#what-is {
    padding-top: 2rem;
}

/* Product Showcase Wrapper & Overlay */
.product-showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}

.product-showcase-grid, .product-overlay {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

.product-overlay {
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Clean transparent background */
    background: transparent;
    
    padding: 2rem;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    
    /* Float centrally */
    margin: auto;
    max-width: 700px;
    height: max-content;
    position: relative;
    
    /* Slight text shadow for perfect legibility over the blurred background */
    text-shadow: 0 4px 24px rgba(0,0,0, 0.6);
}

/* Remove previous glow */
.product-overlay::after {
    display: none;
}

.product-showcase-wrapper:hover .product-overlay {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.08);
    filter: blur(8px);
}

/* Overlay Quote Styles */
.product-overlay-quote-wrapper {
    position: relative;
    padding: 0 2rem;
    margin-top: 1.5rem;
}

.quote-icon {
    position: absolute;
    font-size: 4rem;
    color: var(--brand-cyan);
    opacity: 0.2;
    line-height: 1;
    font-family: serif;
}

.quote-left {
    top: -1rem;
    left: -1rem;
}

.quote-right {
    bottom: -1rem;
    right: -1rem;
}

.product-overlay-desc {
    text-align: justify;
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    line-height: 1.6;
}

.overlay-separator {
    width: 50px;
    height: 2px;
    background: var(--brand-cyan);
    border: none;
    margin: 2rem auto 1rem;
    opacity: 0.5;
    border-radius: 2px;
}

/* Explore indicator */
.explore-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: bounce-subtle 2s infinite ease-in-out;
}

.pulse-ring {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-cyan);
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--brand-cyan);
    animation: pulse-ring-anim 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

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

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.product-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding: 1rem;
    
    /* Visible by default */
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1;
    filter: blur(0px) grayscale(0%);
    transform: scale(1);
}

.product-showcase-wrapper:hover .product-showcase-grid {
    /* Cinematic in-focus hover state */
    opacity: 1;
    filter: blur(0px) grayscale(0%);
    transform: scale(1);
}

@media (min-width: 992px) {
    .product-showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.product-header {
    max-width: 840px;
    margin: 0 auto 2.75rem;
}



.product-carousel-block {
    position: relative;
    overflow: hidden;
    padding: 1.25rem 1.25rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(165deg, rgba(20, 31, 52, 0.85) 0%, rgba(10, 17, 31, 0.92) 60%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-carousel-block::before {
    content: '';
    position: absolute;
    inset: -35% auto auto -20%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, rgba(0, 229, 255, 0) 70%);
    pointer-events: none;
    filter: blur(10px);
}



.product-block-title {
    font-size: 1.55rem;
    margin-bottom: 1.1rem;
    letter-spacing: -0.01em;
}

.product-carousel {
    position: relative;
    min-height: 410px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.product-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
    inset: auto;
}

.product-slide img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
    transition: transform 0.55s ease;
}

.product-carousel:hover .product-slide.is-active img {
    transform: scale(1.02);
}

.product-slide-caption {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 3;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(180deg, rgba(8, 14, 25, 0.35) 0%, rgba(8, 14, 25, 0.92) 100%);
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.product-slide.is-active .product-slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.product-slide-caption h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.product-slide-caption p {
    color: #c7d2e3;
    font-size: 0.84rem;
    line-height: 1.35;
}

.product-carousel-dots {
    margin-top: 0.95rem;
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.product-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-carousel-dot.is-active {
    width: 24px;
    background: var(--brand-gradient);
}

/* Carousel Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.15);
    color: var(--brand-cyan);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
}

.carousel-nav:hover {
    background: rgba(0, 229, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav-prev {
    left: 8px;
}

.carousel-nav-next {
    right: 8px;
}

.product-carousel-block:hover .carousel-nav {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .product-carousel {
        min-height: 340px;
    }

    .product-block-title {
        font-size: 1.35rem;
    }

    .product-slide-caption {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        padding: 0.75rem;
    }
}



/* Workflow Grid */
.workflow-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1100px; /* Constrain width a bit for better appearance */
}

.workflow-card {
    flex: 0 0 calc(33.333% - 1rem); /* 3 cards max per row */
    min-width: 300px;
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    background: #0b1120;
    border-radius: var(--radius-md);
}

.workflow-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 229, 255, 0.1);
}

.workflow-icon {
    width: 42px;
    height: 42px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-cyan);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    position: absolute;
    top: 2.25rem;
    right: 2rem;
}

.step-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.step-desc {
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .workflow-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .workflow-card {
        flex: 0 0 100%;
    }
}



/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.pricing-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.1);
}

.pricing-card.border-glow {
    border-color: var(--brand-blue);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}

.pricing-card.border-glow:hover {
    border-color: var(--brand-cyan);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 229, 255, 0.25);
}

.pricing-tier {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-price-quote {
    font-size: 2.35rem;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}



.pricing-features {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: "•";
    color: var(--brand-cyan);
}

/* Form */
.contact-form-container {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.1);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-success {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-sm);
    text-align: center;
}

.hidden {
    display: none;
}

/* Footer */
/* .footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
}

.footer-brand .brand {
    justify-content: center;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-grid > .footer-links:last-child {
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-brand, .footer-grid > .footer-links:last-child {
        align-items: center;
        text-align: center;
    }
    .footer-brand .brand {
        justify-content: center;
    }
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    text-align: center;
} */

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    background: #000;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Chaque colonne du footer */
.footer-brand,
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Colonne gauche */
.footer-brand {
    width: 34%;
}

.footer-brand .brand {
    justify-content: flex-start;
    min-height: 32px;
}

.footer-logo {
    height: 32px;
}

.footer-desc {
    max-width: 340px;
    line-height: 1.6;
    margin-top: 1.5rem;
}

/* Colonnes Produit / Légal */
.footer-links {
    width: 22%;
    padding-top: 4px;
    gap: 0.85rem;
}

.footer-title {
    font-size: 1.1rem;
    line-height: 32px;
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* Bas du footer */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    .footer-brand,
    .footer-links {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-brand .brand {
        justify-content: center;
    }

    .footer-desc {
        max-width: 100%;
        margin-top: 1rem;
    }

    .footer-links {
        padding-top: 0;
    }

    .footer-title {
        line-height: 1.2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}


.contact-email {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-email:hover {
    color: var(--brand-cyan);
}

/* Animation Classes */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.revealed {
    opacity: 1;
    transform: translate(0);
}

/* Custom Cursor */
@media (pointer: fine) {
    body, a, button, input, textarea, select {
        cursor: none !important;
    }
}

.custom-cursor-dot,
.custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; /* Hidden initially */
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-cyan);
    box-shadow: 0 0 8px var(--brand-cyan);
    transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.3s;
}

.custom-cursor-ring {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--brand-cyan);
    transition: width 0.2s, height 0.2s, background 0.2s, border-color 0.2s, opacity 0.3s;
}

/* Hover effects */
.custom-cursor-dot.hover {
    width: 10px;
    height: 10px;
    background: #fff;
    box-shadow: 0 0 12px #fff;
}

.custom-cursor-ring.hover {
    width: 48px;
    height: 48px;
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.8);
}

/* ================== SMARTPHONE OPTIMIZATIONS ================== */
@media (max-width: 768px) {
    /* 1. Hero Mobile */
    .hero-container {
        margin-top: -5vh;
        padding-top: 2rem;
    }
    .hero-logo-wrapper {
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .hero-product-logo {
        height: auto !important;
        width: 280px !important;
        max-width: none !important;
        transform: scale(1.6) !important;
        transform-origin: center center !important;
        margin: 2rem auto !important;
    }
    .hero-title {
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-size: 1.75rem;
        text-align: center;
    }
    .hero-description {
        font-size: 1.05rem;
        text-align: center;
    }

    /* 2. Product Description Spacing */
    .product-overlay {
        padding: 1.5rem 1rem;
    }
    .product-overlay-desc {
        font-size: 1.05rem;
        line-height: 1.5;
        margin-top: 0;
        text-align: center;
    }
    .overlay-separator {
        margin: 1rem auto;
    }
    .quote-left {
        top: -0.5rem;
        left: -0.5rem;
        font-size: 3rem;
    }
    .quote-right {
        bottom: -0.5rem;
        right: -0.5rem;
        font-size: 3rem;
    }
    .product-overlay-quote-wrapper {
        padding: 0 1rem;
    }

    /* 3. Carousel Text Below Image */
    .product-carousel {
        min-height: auto;
        gap: 0.5rem;
    }
    .product-slide-caption {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        opacity: 1;
        margin-top: 0.5rem;
        padding: 1rem;
        border-radius: 12px;
        background: rgba(8, 14, 25, 0.8);
    }
    .product-carousel:hover .product-slide.is-active .product-slide-caption {
        transform: none;
    }

    /* 4. Section titles and descriptions */
    .section-title {
        font-size: 2rem;
    }
    .section-desc {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* 5. Center Footer Content */
    .footer {
        text-align: center;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .brand {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        justify-content: center;
    }
}