/* ============================================
   LOGIC SOFTWARE CREATION - STYLE.CSS
   Premium Dark Theme — inspiré de LandingPage
   ============================================ */

/* ============================================
   THEME VARIABLES (Dark Theme)
   ============================================ */
:root {
    /* Fond & surfaces */
    --bg-primary: hsl(0, 0%, 0%);
    --bg-secondary: hsl(0, 0%, 5%);
    --bg-tertiary: hsl(0, 0%, 8%);

    /* Texte */
    --text-primary: hsl(0, 0%, 95%);
    --text-secondary: hsl(0, 0%, 60%);
    --text-tertiary: hsl(0, 0%, 45%);

    /* Accent bleu LED */
    --accent-blue: hsl(210, 100%, 50%);
    --accent-purple: hsl(210, 100%, 40%);
    --accent-pink: hsl(210, 100%, 65%);
    --accent-green: hsl(210, 80%, 45%);

    /* Glass / borders */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.10);
    --card-bg: rgba(255, 255, 255, 0.04);

    /* Nav */
    --nav-bg: rgba(0, 0, 0, 0.80);
    --nav-border: rgba(255, 255, 255, 0.10);

    /* Modal */
    --modal-bg: hsl(0, 0%, 8%);
    --modal-overlay: rgba(0, 0, 0, 0.75);

    /* Inputs */
    --input-bg: rgba(255, 255, 255, 0.06);
    --input-border: rgba(255, 255, 255, 0.15);

    /* Logo */
    --logo-filter: brightness(0) invert(1);

    /* Slide overlay */
    --slide-overlay: rgba(0, 0, 0, 0.45);
    --section-space: clamp(5rem, 8vw, 7rem);
    --content-gap: 1.75rem;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-svg {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.icon-svg--stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

::selection {
    background-color: hsl(210, 100%, 50%);
    color: hsl(0, 0%, 0%);
}

/* ============================================
   LIGHT THEME VARIABLES
   ============================================ */
[data-theme="light"] {
    --bg-primary: hsl(210, 25%, 97%);
    --bg-secondary: hsl(210, 20%, 93%);
    --bg-tertiary: hsl(210, 20%, 88%);
    --text-primary: hsl(210, 30%, 10%);
    --text-secondary: hsl(210, 15%, 40%);
    --text-tertiary: hsl(210, 15%, 55%);
    --glass-bg: rgba(255, 255, 255, 0.70);
    --glass-border: rgba(0, 0, 0, 0.10);
    --card-bg: rgba(255, 255, 255, 0.90);
    --nav-bg: rgba(240, 246, 255, 0.88);
    --nav-border: rgba(0, 0, 0, 0.08);
    --modal-bg: hsl(210, 25%, 98%);
    --modal-overlay: rgba(10, 20, 40, 0.45);
    --input-bg: rgba(255, 255, 255, 0.80);
    --input-border: rgba(0, 0, 0, 0.15);
    --logo-filter: none;
    --slide-overlay: rgba(255, 255, 255, 0.20);
}

/* Light-theme specific overrides */
[data-theme="light"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="light"] ::selection {
    background-color: hsl(210, 100%, 50%);
    color: #fff;
}

[data-theme="light"] .nav-inner {
    background: var(--nav-bg);
    border-color: var(--nav-border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-links a,
[data-theme="light"] .nav-brand {
    color: var(--text-primary);
}

[data-theme="light"] .nav-links a:hover {
    color: hsl(210, 100%, 50%);
}

[data-theme="light"] .product-card {
    background: var(--card-bg);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .product-card::before {
    opacity: 0.10;
}

[data-theme="light"] .product-card::after {
    background: linear-gradient(to bottom,
            rgba(235, 245, 255, 0.20) 0%,
            rgba(235, 245, 255, 0.90) 100%);
}

[data-theme="light"] .product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 128, 255, 0.15);
}

[data-theme="light"] .product-card-title {
    color: var(--text-primary);
}

[data-theme="light"] .product-card-description {
    color: var(--text-secondary);
}

[data-theme="light"] .product-card-icon {
    background: rgba(0, 128, 255, 0.08);
    border-color: rgba(0, 128, 255, 0.20);
    color: hsl(210, 100%, 45%);
}

[data-theme="light"] .product-card-badge {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: hsl(210, 15%, 45%);
}

[data-theme="light"] .product-card-badge--featured {
    background: rgba(0, 128, 255, 0.12);
    border-color: rgba(0, 128, 255, 0.20);
    color: hsl(210, 100%, 45%);
}

[data-theme="light"] .section-label {
    color: hsl(210, 100%, 45%);
    border-color: rgba(0, 128, 255, 0.25);
    background: rgba(0, 128, 255, 0.05);
}

[data-theme="light"] .section-title {
    color: var(--text-primary);
}

[data-theme="light"] .section-subtitle {
    color: var(--text-secondary);
}

[data-theme="light"] .featured-section {
    background: linear-gradient(160deg, hsl(210, 40%, 95%) 0%, hsl(210, 30%, 88%) 100%);
}

[data-theme="light"] .featured-section::before {
    background: radial-gradient(ellipse at center top, rgba(0, 128, 255, 0.10) 0%, transparent 60%);
}

[data-theme="light"] .featured-title {
    color: hsl(210, 40%, 15%);
    background: none;
    -webkit-text-fill-color: initial;
}

[data-theme="light"] .featured-subtitle {
    color: hsl(210, 30%, 30%);
}

[data-theme="light"] .featured-list li {
    color: hsl(210, 25%, 25%);
}

[data-theme="light"] .featured-badge {
    background: rgba(0, 128, 255, 0.12);
    color: hsl(210, 100%, 35%);
    border-color: rgba(0, 128, 255, 0.20);
}

[data-theme="light"] .contact-form {
    background: var(--card-bg);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .modal-content {
    background: var(--modal-bg);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] footer {
    background: var(--bg-secondary);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-copyright {
    color: var(--text-secondary);
}

[data-theme="light"] .news-card {
    background: var(--card-bg);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .products-video-overlay {
    background: linear-gradient(to bottom,
            rgba(240, 246, 255, 0.92) 0%,
            rgba(240, 246, 255, 0.65) 30%,
            rgba(240, 246, 255, 0.65) 70%,
            rgba(240, 246, 255, 0.92) 100%);
}

[data-theme="light"] .video-overlay {
    background: linear-gradient(to top,
            rgba(230, 240, 255, 0.95) 0%,
            rgba(230, 240, 255, 0.55) 50%,
            rgba(230, 240, 255, 0.35) 100%);
}

[data-theme="light"] .video-bg video {
    opacity: 1;
}

[data-theme="light"] .hero-video-title {
    color: hsl(210, 42%, 6%);
}

[data-theme="light"] .hero-video-title-sub {
    color: hsl(210, 28%, 16%);
}

[data-theme="light"] .hero-ghost-btn {
    border-color: rgba(6, 24, 48, 0.24);
    color: hsl(210, 36%, 10%);
}

[data-theme="light"] .hero-ghost-btn:hover {
    background: rgba(6, 24, 48, 0.06);
    border-color: rgba(6, 24, 48, 0.34);
}

[data-theme="light"] .hero-visual-image {
    filter: drop-shadow(0 18px 30px rgba(31, 63, 107, 0.24));
}

[data-theme="light"] .products-video-bg {
    filter: saturate(1.05);
}

/* ============================================
   LANGUAGE SELECTOR (pill)
   ============================================ */
.lang-selector {
    position: fixed;
    top: 130px;
    right: 20px;
    z-index: 1010;
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 4px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1;
    padding: 0 6px;
}

.lang-btn:hover {
    background: var(--glass-border);
    transform: scale(1.1);
    color: var(--text-primary);
}

.lang-btn.active {
    background: hsl(210, 100%, 50%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 128, 255, 0.40);
}

[data-theme="light"] .lang-selector {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

[data-theme="light"] .lang-btn {
    color: hsl(210, 20%, 40%);
}

[data-theme="light"] .lang-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: hsl(210, 30%, 15%);
}

/* Barre de langue masquee provisoirement */
.lang-selector {
    display: none !important;
}

/* ============================================
   RTL OVERRIDES (Arabic)
   ============================================ */
[dir="rtl"] {
    font-family: 'Noto Sans Arabic', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

[dir="rtl"] .theme-selector,
[dir="rtl"] .lang-selector {
    right: auto;
    left: 20px;
}

[dir="rtl"] .nav-inner {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-video-content {
    text-align: right;
    align-items: flex-end;
}

[dir="rtl"] .featured-content {
    direction: rtl;
}

[dir="rtl"] .featured-list li {
    flex-direction: row-reverse;
}

[dir="rtl"] .product-card-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .hero-ghost-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .nav-cta-icon {
    transform: scaleX(-1);
}



/* ============================================
   THEME SELECTOR (3-mode pill)
   ============================================ */
.theme-selector {
    position: fixed;
    top: 84px;
    right: 20px;
    z-index: 1010;
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 4px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    color: var(--text-secondary);
    line-height: 1;
}

.theme-btn:hover {
    background: var(--glass-border);
    transform: scale(1.1);
}

.theme-btn.active {
    background: hsl(210, 100%, 50%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 128, 255, 0.40);
}

[data-theme="light"] .theme-selector {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.10);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

[data-theme="light"] .theme-btn {
    color: hsl(210, 20%, 40%);
}

[data-theme="light"] .theme-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}



/* ============================================
   NAVIGATION - LandingPage Floating Pill Style
   ============================================ */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 16px 24px 0;
    pointer-events: none;
}

.nav-inner {
    pointer-events: all;
    display: flex;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    justify-content: space-between;
    border-radius: 999px;
    padding: 10px 10px 10px 24px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.4s ease, border-color 0.4s ease,
        backdrop-filter 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.nav-inner.nav-scrolled {
    background: rgba(9, 16, 28, 0.78);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px) saturate(1.25);
    -webkit-backdrop-filter: blur(20px) saturate(1.25);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.20);
    transform: translateY(2px);
}

[data-theme="light"] .nav-inner.nav-scrolled {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(12, 28, 52, 0.10);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 10px 28px rgba(24, 52, 92, 0.12);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    filter: var(--logo-filter);
    transition: filter 0.3s ease;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.80);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: hsl(0, 0%, 95%);
}

/* CTA button pill */
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 999px;
    background: hsl(0, 0%, 95%);
    padding: 8px 8px 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: hsl(0, 0%, 8%);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.nav-cta:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 30px rgba(0, 128, 255, 0.25);
}

.nav-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: hsl(0, 0%, 8%);
    color: hsl(0, 0%, 95%);
    font-size: 14px;
    transition: transform 0.25s ease;
}

.nav-cta:hover .nav-cta-icon {
    transform: rotate(45deg);
}

/* Legacy nav selectors still used elsewhere */
nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-blue);
}

nav img {
    filter: var(--logo-filter);
    transition: filter 0.3s ease;
}

/* ============================================
   HERO SECTION - Full Viewport
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(0, 128, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(21px, 3vw, 28px);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    font-size: 21px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    text-decoration: underline;
    color: var(--accent-blue);
}

.hero-cta::after {
    content: '→';
    transition: transform 0.3s ease;
}

.hero-cta:hover::after {
    transform: translateX(4px);
}

/* ============================================
   PRODUCT SECTIONS - Full Width
   ============================================ */
.product-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.product-section:nth-child(even) {
    background: var(--bg-secondary);
}

.product-section:nth-child(odd) {
    background: var(--bg-primary);
}

.product-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 12px;
}

.product-tagline {
    font-size: clamp(17px, 2vw, 21px);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
}

.product-image-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.product-image-container:hover img {
    transform: scale(1.02);
}

.product-learn-more {
    color: var(--accent-blue);
    font-size: 21px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.product-learn-more:hover {
    text-decoration: underline;
    color: var(--accent-blue);
}

.product-learn-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.product-learn-more:hover::after {
    transform: translateX(4px);
}

/* ============================================
   FEATURED PRODUCT (SKSales) - Premium Section
   ============================================ */
.featured-section {
    min-height: 100vh;
    background: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: var(--section-space) 28px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.featured-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 70%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(0, 128, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.featured-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 60px;
    align-items: center;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.30);
    color: hsl(0, 0%, 95%);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 999px;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 3px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.featured-title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: hsl(0, 0%, 95%);
    line-height: 1.05;
}

.featured-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.60);
    margin-bottom: 30px;
}

.featured-list {
    list-style: none;
    margin-bottom: 40px;
}

.featured-list li {
    padding: 8px 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.80);
    display: flex;
    align-items: center;
    gap: 12px;
}

.featured-list li::before {
    content: '✓';
    color: hsl(210, 100%, 50%);
    font-weight: 700;
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: hsl(0, 0%, 95%);
    color: hsl(0, 0%, 8%);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.featured-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(0, 128, 255, 0.25);
}

.featured-image {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.50);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   SECTION LABEL (pastille au-dessus du titre)
   ============================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background: rgba(0, 0, 0, 0.50);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: hsl(0, 0%, 95%);
    margin-bottom: 32px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ============================================
   PRODUCTS GRID - Icon Cards (no photos)
   ============================================ */
.products-grid-section {
    padding: var(--section-space) 28px;
    background: var(--bg-primary);
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Image background for products section */
.products-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: hsl(0, 0%, 0%);
    background-image: url('/images/section-produits-bg.webp');
    background-size: 106%;
    background-position: 50% 50%;
    animation: products-bg-pan 24s ease-in-out infinite alternate;
    will-change: background-position, background-size;
}

@keyframes products-bg-pan {
    0% {
        background-size: 103%;
        background-position: 50% 50%;
    }
    50% {
        background-size: 109%;
        background-position: 48% 46%;
    }
    100% {
        background-size: 105%;
        background-position: 52% 54%;
    }
}

.products-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(226, 232, 238, 0.84) 0%,
            rgba(226, 232, 238, 0.50) 30%,
            rgba(226, 232, 238, 0.50) 70%,
            rgba(226, 232, 238, 0.84) 100%);
    z-index: 1;
}

/* Content above video */
.products-grid-section .section-header,
.products-grid-section .products-grid {
    position: relative;
    z-index: 2;
}

.products-grid-section .products-video-overlay,
[data-theme="light"] .products-grid-section .products-video-overlay {
    background: linear-gradient(to bottom,
            rgba(226, 232, 238, 0.84) 0%,
            rgba(226, 232, 238, 0.50) 30%,
            rgba(226, 232, 238, 0.50) 70%,
            rgba(226, 232, 238, 0.84) 100%);
}

.products-grid-section .section-label {
    color: hsl(210, 100%, 45%);
    border-color: rgba(0, 128, 255, 0.25);
    background: rgba(0, 128, 255, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.products-grid-section .section-title {
    color: #111111;
    text-shadow: none;
}

.products-grid-section .section-subtitle {
    color: #111111;
    text-shadow: none;
}

/* ============================================
   NAV RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    #main-nav {
        padding: 12px 16px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-inner {
        padding: 8px 8px 8px 16px;
    }

    .nav-cta span:first-child {
        display: none;
    }

    .nav-cta {
        padding: 8px;
        gap: 0;
    }

    .nav-cta-icon {
        width: 36px;
        height: 36px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.7;
    max-width: 600px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Card shell ---- */
.product-card {
    background: rgba(10, 10, 10, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* Image de fond via variable CSS --card-img */
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--card-img, none);
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    transition: opacity 0.35s ease, transform 0.45s ease;
    transform: scale(1.00);
    z-index: 0;
}

/* Overlay gradient pour lisibilité du texte */
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Enfants au-dessus de l'overlay */
.product-card>* {
    position: relative;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: hsl(210, 100%, 50%);
    box-shadow: 0 20px 60px rgba(0, 128, 255, 0.18);
}

.product-card:hover::before {
    opacity: 0.30;
    transform: scale(1.06);
}

.product-card-link {
    color: inherit;
    text-decoration: none;
}

.product-card-link:focus-visible {
    outline: 3px solid rgba(0, 128, 255, 0.45);
    outline-offset: 3px;
}

/* ---- Card header (icon + badge) ---- */
.product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
}

.product-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: hsl(210, 100%, 50%);
    filter: drop-shadow(0 0 8px hsl(210, 100%, 50%));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.product-card:hover .product-card-icon {
    transform: scale(1.10);
    box-shadow: 0 0 18px rgba(0, 128, 255, 0.35);
}

.product-card-icon--featured {
    background: rgba(0, 128, 255, 0.12);
    border-color: rgba(0, 128, 255, 0.30);
}

.product-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
}

.product-card-badge--featured {
    background: rgba(0, 128, 255, 0.12);
    border-color: rgba(0, 128, 255, 0.30);
    color: hsl(210, 100%, 60%);
}

/* ---- Card content ---- */
.product-card-content {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: hsl(0, 0%, 95%);
    letter-spacing: -0.02em;
}

.product-card-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
    line-height: 1.65;
    flex: 1;
}

.product-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: hsl(210, 100%, 50%);
    text-decoration: none;
    transition: gap 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.product-card:hover .product-card-btn {
    gap: 12px;
}

.product-card-arrow {
    transition: transform 0.25s ease;
    display: inline-block;
}

.product-card:hover .product-card-arrow {
    transform: translateX(4px);
}

/* ============================================
   PRODUCTS GRID - Liquid Glass Cards
   ============================================ */
.svg-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

@keyframes product-glass-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

@keyframes product-glass-appear {
    0% {
        opacity: 0;
        transform: scale(0.85) rotateX(10deg) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg) translateY(0);
    }
}

@keyframes product-specular-wave {
    0%,
    100% {
        transform: scaleX(1) translateY(0);
        opacity: 1;
    }

    30% {
        transform: scaleX(1.02) translateY(1px);
        opacity: 0.8;
    }

    60% {
        transform: scaleX(0.98) translateY(-1px);
        opacity: 1;
    }
}

@keyframes product-caustic-line-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scaleX(1);
    }

    50% {
        opacity: 0.6;
        transform: scaleX(0.95);
    }
}

@keyframes product-wave-drift {
    0%,
    100% {
        transform: translateX(0) scaleY(1);
        opacity: 0.6;
    }

    25% {
        transform: translateX(12px) scaleY(1.8);
        opacity: 1;
    }

    50% {
        transform: translateX(-8px) scaleY(0.7);
        opacity: 0.5;
    }

    75% {
        transform: translateX(10px) scaleY(1.4);
        opacity: 0.9;
    }
}

@keyframes product-caustic-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    33% {
        transform: translate(10px, -8px) scale(1.2);
        opacity: 0.9;
    }

    66% {
        transform: translate(-7px, 5px) scale(0.8);
        opacity: 0.4;
    }
}

@keyframes product-text-float {
    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(0.5px, -1.5px);
    }

    50% {
        transform: translate(-0.5px, 1px);
    }

    75% {
        transform: translate(0.8px, -0.5px);
    }
}

@keyframes product-ripple-expand {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.products-grid-section .products-grid {
    perspective: 900px;
}

.products-grid-section .product-card {
    --product-accent-color: hsl(210, 100%, 50%);
    --card-rotate-x: 0deg;
    --card-rotate-y: 0deg;
    --card-shift-x: 0px;
    --card-shift-y: 0px;
    --card-scale: 1;
    --gloss-x: 50%;
    --gloss-y: 22%;
    --shine-shift-x: 0px;
    --shine-shift-y: 0px;
    --parallax-x: 0px;
    --parallax-y: 0px;
    min-height: 320px;
    border-radius: 28px;
    isolation: isolate;
    border: none;
    background: transparent;
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.30),
        0 15px 30px rgba(0, 0, 0, 0.22),
        0 55px 110px rgba(0, 0, 0, 0.12);
    overflow: visible;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    transform:
        rotateX(var(--card-rotate-x))
        rotateY(var(--card-rotate-y))
        translate3d(var(--card-shift-x), var(--card-shift-y), 0)
        scale(var(--card-scale));
    transition: transform 0.18s ease-out, box-shadow 0.4s ease;
    animation: product-glass-appear 0.8s cubic-bezier(.22, .68, 0, 1.2) both;
}

.products-grid-section .product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(175deg,
            rgba(255, 255, 255, 0.48) 0%,
            rgba(255, 255, 255, 0.22) 20%,
            rgba(240, 248, 255, 0.08) 45%,
            rgba(230, 242, 255, 0.04) 65%,
            rgba(255, 255, 255, 0.01) 85%,
            rgba(255, 255, 255, 0.06) 100%);
    opacity: 1;
    transform: none;
    pointer-events: none;
}

.products-grid-section .product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px) saturate(1.4) brightness(1.15);
    -webkit-backdrop-filter: blur(22px) saturate(1.4) brightness(1.15);
    filter: var(--product-glass-filter, url(#glass-distortion));
    -webkit-filter: var(--product-glass-filter, url(#glass-distortion));
    pointer-events: none;
}

.products-grid-section .product-card>* {
    position: relative;
    z-index: 9;
}

.products-grid-section .product-card:hover {
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.35),
        0 18px 36px rgba(0, 0, 0, 0.24),
        0 60px 120px rgba(0, 0, 0, 0.10);
}

.products-grid-section .product-card:active {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.products-grid-section .product-card-link:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.28),
        0 0 0 6px rgba(0, 128, 255, 0.26),
        0 18px 46px rgba(0, 0, 0, 0.22);
}

.products-grid-section .product-card-specular {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    border-radius: 28px 28px 55% 55%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.38) 0%,
            rgba(255, 255, 255, 0.18) 28%,
            rgba(255, 255, 255, 0.04) 58%,
            transparent 100%);
    pointer-events: none;
    z-index: 4;
}

.products-grid-section .product-card:hover .product-card-specular {
    animation: product-specular-wave 2.5s ease-in-out infinite;
}

/* Top edge brilliant white line */
.products-grid-section .product-card-specular::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 6%;
    right: 6%;
    height: 4px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.55) 15%,
            rgba(255, 255, 255, 0.95) 50%,
            rgba(255, 255, 255, 0.55) 85%,
            transparent 100%);
    filter: blur(0.8px);
    z-index: 21;
    pointer-events: none;
}

/* ── Thick Glass Rim System (Liquid Glass style) ── */
.products-grid-section .product-card-edge-light {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 3px solid rgba(255, 255, 255, 0.55);
    pointer-events: none;
    z-index: 20;
    transform: translateZ(38px);
}

/* Mid rim — depth between outer and inner */
.products-grid-section .product-card-edge-light::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.20);
    box-shadow:
        0 0 6px rgba(255, 255, 255, 0.10),
        inset 0 0 6px rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

/* Inner rim — deepest glass layer */
.products-grid-section .product-card-edge-light::after {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 21px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 0 15px rgba(255, 255, 255, 0.04),
        /* Volume shadows — internal depth */
        inset 12px 0 30px -10px rgba(0, 0, 0, 0.08),
        inset -12px 0 30px -10px rgba(0, 0, 0, 0.08),
        inset 0 12px 30px -10px rgba(255, 255, 255, 0.15),
        inset 0 -10px 25px -10px rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

.products-grid-section .drop-volume,
.products-grid-section .drop-caustic-bottom,
.products-grid-section .drop-caustic-line,
.products-grid-section .drop-sides,
.products-grid-section .drop-reflection,
.products-grid-section .drop-chroma,
.products-grid-section .glass-shadow {
    position: absolute;
    pointer-events: none;
}

.products-grid-section .drop-volume {
    inset: 6px;
    border-radius: 22px;
    background:
        radial-gradient(ellipse 80% 65% at 50% 40%,
            rgba(190, 215, 255, 0.05) 0%,
            rgba(170, 200, 255, 0.02) 50%,
            transparent 100%);
    box-shadow:
        inset 12px 0 30px -10px rgba(0, 0, 0, 0.08),
        inset -12px 0 30px -10px rgba(0, 0, 0, 0.08),
        inset 0 12px 30px -10px rgba(255, 255, 255, 0.15),
        inset 0 -10px 25px -10px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.products-grid-section .drop-caustic-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    border-radius: 0 0 28px 28px;
    background: linear-gradient(0deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(240, 248, 255, 0.12) 12%,
            rgba(220, 235, 255, 0.04) 28%,
            transparent 55%);
    z-index: 3;
}

.products-grid-section .drop-caustic-line {
    bottom: -1px;
    left: 4%;
    right: 4%;
    height: 4px;
    border-radius: 0 0 28px 28px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.45) 12%,
            rgba(255, 255, 255, 0.88) 50%,
            rgba(255, 255, 255, 0.45) 88%,
            transparent 100%);
    filter: blur(1px);
    z-index: 4;
}

.products-grid-section .product-card:hover .drop-caustic-line {
    animation: product-caustic-line-pulse 3.2s ease-in-out infinite;
}

.products-grid-section .drop-sides {
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 8px 0 20px -8px rgba(0, 0, 0, 0.08),
        inset -8px 0 20px -8px rgba(0, 0, 0, 0.08),
        inset 0 -8px 20px -8px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.products-grid-section .drop-reflection {
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(125deg,
            transparent 42%,
            rgba(255, 255, 255, 0.14) 46%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 54%);
    background-size: 220% 220%;
    background-position: -40% 50%;
    opacity: 0.85;
    mix-blend-mode: screen;
    z-index: 6;
    transition: background-position 0.8s ease, opacity 0.5s ease;
}

.products-grid-section .product-card:hover .drop-reflection {
    background-position: 120% 50%;
    opacity: 0.5;
}

.products-grid-section .drop-chroma {
    inset: -1px;
    border-radius: 29px;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.6s ease;
    box-shadow:
        inset 3px 0 8px rgba(255, 100, 100, 0.06),
        inset -3px 0 8px rgba(100, 100, 255, 0.06),
        inset 0 3px 6px rgba(100, 255, 160, 0.04),
        inset 0 -3px 6px rgba(255, 100, 255, 0.04);
}

.products-grid-section .product-card:hover .drop-chroma {
    opacity: 1;
}

.products-grid-section .glass-shadow {
    bottom: -20px;
    left: 8%;
    right: 8%;
    height: 35px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    filter: blur(14px);
    z-index: -1;
    transition: all 0.3s ease;
}

.products-grid-section .product-card:hover .glass-shadow {
    bottom: -28px;
    left: 4%;
    right: 4%;
    filter: blur(20px);
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.28) 0%, transparent 70%);
}

.products-grid-section .wave-layer {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    overflow: hidden;
    pointer-events: none;
    z-index: 7;
    opacity: 0;
    transition: opacity 0.9s ease;
    transform: translate3d(var(--wave-shift-x, 0px), var(--wave-shift-y, 0px), 24px);
}

.products-grid-section .product-card:hover .wave-layer {
    opacity: 1;
}

.products-grid-section .wave-line {
    position: absolute;
    left: -20%;
    right: -20%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 20%,
            rgba(255, 255, 255, 0.18) 50%,
            rgba(255, 255, 255, 0.05) 80%,
            transparent 100%);
    border-radius: 50%;
    filter: blur(0.5px);
}

.products-grid-section .wave-line:nth-child(1) {
    top: 18%;
    animation: product-wave-drift 4.8s ease-in-out infinite;
}

.products-grid-section .wave-line:nth-child(2) {
    top: 32%;
    height: 1.5px;
    animation: product-wave-drift 5.4s ease-in-out infinite 0.45s;
}

.products-grid-section .wave-line:nth-child(3) {
    top: 48%;
    animation: product-wave-drift 4.4s ease-in-out infinite 0.8s;
}

.products-grid-section .wave-line:nth-child(4) {
    top: 62%;
    height: 1.5px;
    animation: product-wave-drift 5.8s ease-in-out infinite 0.25s;
}

.products-grid-section .wave-line:nth-child(5) {
    top: 78%;
    animation: product-wave-drift 5s ease-in-out infinite 0.65s;
}

.products-grid-section .caustics {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    overflow: hidden;
    pointer-events: none;
    z-index: 7;
    opacity: 0;
    transition: opacity 1.1s ease;
    mix-blend-mode: overlay;
    transform: translate3d(var(--caustics-shift-x, 0px), var(--caustics-shift-y, 0px), 22px);
}

.products-grid-section .product-card:hover .caustics {
    opacity: 1;
}

.products-grid-section .caustic-cell {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    filter: blur(6px);
}

.products-grid-section .caustic-cell:nth-child(1) {
    width: 80px;
    height: 60px;
    top: 10%;
    left: 10%;
    animation: product-caustic-float 5.6s ease-in-out infinite;
}

.products-grid-section .caustic-cell:nth-child(2) {
    width: 100px;
    height: 70px;
    top: 30%;
    left: 50%;
    animation: product-caustic-float 6.2s ease-in-out infinite 0.7s;
}

.products-grid-section .caustic-cell:nth-child(3) {
    width: 70px;
    height: 50px;
    top: 55%;
    left: 25%;
    animation: product-caustic-float 4.8s ease-in-out infinite 1.1s;
}

.products-grid-section .caustic-cell:nth-child(4) {
    width: 90px;
    height: 65px;
    top: 15%;
    left: 60%;
    animation: product-caustic-float 6s ease-in-out infinite 1.4s;
}

.products-grid-section .caustic-cell:nth-child(5) {
    width: 60px;
    height: 45px;
    top: 60%;
    left: 65%;
    animation: product-caustic-float 6.6s ease-in-out infinite 1s;
}

.products-grid-section .water-canvas {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    z-index: 8;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    mix-blend-mode: screen;
    filter: blur(0.2px);
    transform: translate3d(var(--water-shift-x, 0px), var(--water-shift-y, 0px), 18px);
}

.products-grid-section .product-card:hover .water-canvas {
    opacity: 0.92;
}

.products-grid-section .product-card-pulse {
    position: absolute;
    inset: -7px;
    border-radius: 35px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    pointer-events: none;
    z-index: -2;
    transition: opacity 0.3s;
}

.products-grid-section .product-card:hover .product-card-pulse {
    animation: product-glass-pulse-ring 1.8s ease-out infinite;
    opacity: 1;
}

.products-grid-section .product-card-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    transform: scale(0);
    animation: product-ripple-expand 0.8s ease-out forwards;
    pointer-events: none;
    z-index: 3;
}

.products-grid-section .product-card-header {
    padding: 26px 24px 0;
    transform: translate3d(var(--header-shift-x, 0px), var(--header-shift-y, 0px), 54px);
}

.products-grid-section .product-card-icon {
    transform: translateZ(78px);
    transform-style: preserve-3d;
}

.products-grid-section .product-card-badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--product-accent-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.products-grid-section .product-card-badge--featured {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--product-accent-color);
}

.products-grid-section .product-card-content {
    position: relative;
    margin: 4px 10px 10px;
    padding: 20px 18px 18px;
    border-radius: 24px;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    transform: translate3d(var(--content-shift-x, 0px), var(--content-shift-y, 0px), 68px);
}

.products-grid-section .product-card-content::before {
    content: '';
    position: absolute;
    inset: -10px -12px -12px -12px;
    border-radius: inherit;
    background:
        radial-gradient(140% 120% at 50% 22%,
            rgba(255, 255, 255, 0.60) 0%,
            rgba(255, 255, 255, 0.42) 28%,
            rgba(255, 255, 255, 0.24) 52%,
            rgba(255, 255, 255, 0.10) 72%,
            transparent 100%),
        radial-gradient(120% 85% at 50% 96%,
            rgba(255, 255, 255, 0.14) 0%,
            transparent 62%);
    filter: blur(3px);
    opacity: 0.96;
    pointer-events: none;
}

.products-grid-section .product-card-content > * {
    position: relative;
    z-index: 1;
}

.products-grid-section .product-card-title {
    color: #111111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.22;
    text-shadow: none;
    transition: text-shadow 0.5s ease;
}

.products-grid-section .product-card:hover .product-card-title {
    text-shadow: none;
    animation: product-text-float 2.5s ease-in-out infinite;
}

[dir="rtl"] .products-grid-section .product-card-title {
    font-family: "Noto Sans Arabic", Georgia, serif;
    letter-spacing: 0;
}

.products-grid-section .product-card-description {
    color: rgba(17, 17, 17, 0.88);
    font-size: 14px;
    line-height: 1.72;
    text-shadow: none;
}

.products-grid-section .product-card-btn {
    color: hsl(214, 88%, 28%);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transform: translateZ(84px);
}

.products-grid-section .product-card:nth-child(2) {
    animation-delay: 0.04s;
}

.products-grid-section .product-card:nth-child(3) {
    animation-delay: 0.08s;
}

.products-grid-section .product-card:nth-child(4) {
    animation-delay: 0.12s;
}

.products-grid-section .product-card:nth-child(5) {
    animation-delay: 0.16s;
}

.products-grid-section .product-card:nth-child(6) {
    animation-delay: 0.20s;
}

.products-grid-section .product-card:nth-child(7) {
    animation-delay: 0.24s;
}

.products-grid-section .product-card:nth-child(8) {
    animation-delay: 0.28s;
}

.products-grid-section .product-card:nth-child(9) {
    animation-delay: 0.32s;
}

.products-grid-section .product-card:nth-child(10) {
    animation-delay: 0.36s;
}

[data-theme="light"] .products-grid-section .product-card {
    --product-accent-color: hsl(210, 100%, 45%);
    box-shadow: 0 10px 32px rgba(18, 34, 52, 0.12);
}

[data-theme="light"] .products-grid-section .product-card:hover {
    box-shadow: 0 18px 46px rgba(18, 34, 52, 0.18);
}

[data-theme="light"] .products-grid-section .product-card-content {
    background: none;
}

[data-theme="light"] .products-grid-section .product-card-content::before {
    background:
        radial-gradient(140% 120% at 50% 22%,
            rgba(255, 255, 255, 0.68) 0%,
            rgba(255, 255, 255, 0.48) 28%,
            rgba(255, 255, 255, 0.28) 52%,
            rgba(255, 255, 255, 0.12) 72%,
            transparent 100%),
        radial-gradient(120% 85% at 50% 96%,
            rgba(255, 255, 255, 0.18) 0%,
            transparent 62%);
}

[data-theme="light"] .products-grid-section .product-card-title,
[data-theme="light"] .products-grid-section .product-card-description {
    color: #111111;
}

[data-theme="light"] .products-grid-section .product-card-btn {
    color: hsl(214, 88%, 28%);
}

@media (max-width: 768px) {
    .products-grid-section .product-card {
        min-height: 300px;
        border-radius: 28px;
    }

    .products-grid-section .product-card-header {
        padding: 20px 20px 0;
    }

    .products-grid-section .product-card-content {
        margin: 4px 8px 8px;
        padding: 18px 16px 16px;
    }

    .products-grid-section .product-card-title {
        font-size: 20px;
    }

    .products-grid-section .product-card-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .products-grid-section .product-card {
        min-height: 280px;
        border-radius: 28px;
    }

    .products-grid-section .product-card-header {
        padding: 18px 18px 0;
    }

    .products-grid-section .product-card-content {
        margin: 2px 6px 6px;
        padding: 16px 14px 14px;
    }

    .products-grid-section .product-card-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .products-grid-section .product-card-title {
        font-size: 18px;
    }

    .products-grid-section .product-card-btn {
        letter-spacing: 0.12em;
    }
}

/* ============================================
   MODALES - Glassmorphism
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--modal-bg);
    border: 1px solid var(--glass-border);
    margin: 60px auto;
    padding: 40px;
    max-width: 900px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.close-modal:hover {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}

.modal h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.modal p {
    color: var(--text-secondary);
}

.modal img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    background: var(--bg-secondary);
}

/* Feature list in modals */
.feature-list {
    list-style: none;
    margin-top: 16px;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.feature-list li::before {
    content: "•";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-list li strong {
    color: var(--text-primary);
}

/* Modal special sections */
.modal-section-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
}

.modal-section-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--section-space) 24px;
    background:
        radial-gradient(circle at top center, rgba(0, 128, 255, 0.10) 0%, transparent 36%),
        var(--bg-primary);
    border-top: 1px solid var(--glass-border);
    transition: background 0.3s ease;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top right, rgba(0, 128, 255, 0.16) 0%, transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

.testimonial-pill {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 128, 255, 0.22);
    background: rgba(0, 128, 255, 0.10);
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.testimonial-quote-mark {
    display: inline-block;
    color: rgba(0, 128, 255, 0.42);
    font-size: 58px;
    line-height: 0.8;
    margin-bottom: -10px;
}

.testimonial-text {
    margin: 0;
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.78;
}

.testimonial-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-meta {
    min-width: 0;
    width: 100%;
}

.testimonial-name {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.testimonial-company {
    margin-top: 4px;
    color: var(--accent-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.testimonial-role {
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

[data-theme="light"] .testimonials-section {
    background:
        radial-gradient(circle at top center, rgba(0, 128, 255, 0.06) 0%, transparent 36%),
        var(--bg-primary);
}

[data-theme="light"] .testimonial-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 249, 253, 0.78) 100%);
    box-shadow: 0 18px 40px rgba(18, 34, 52, 0.10);
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 16px 70px;
    }

    .testimonials-grid {
        gap: 18px;
    }

    .testimonial-card {
        padding: 24px;
        border-radius: 24px;
    }

    .testimonial-text {
        font-size: 16px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--section-space) 24px;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 17px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--glass-bg);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 18px;
    background: var(--accent-blue);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 980px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-submit:hover {
    background: hsl(210, 100%, 40%);
    transform: scale(1.02);
}

/* ============================================
   FOOTER - Minimal Apple Style
   ============================================ */
footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 60px 28px 40px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 12px;
}

/* ============================================
   CLIENTS SECTION - Infinite Scroll
   ============================================ */
.clients-section {
    padding: var(--section-space) 24px;
    background: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

.clients-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 48px;
}

.news-section {
    padding-block: var(--section-space);
}

.news-card-summary,
.home-blog-card-text {
    line-height: 1.7;
}

.hero-demo-cta {
    margin-top: 28px;
}

.section-cta-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #0066ff, #0044cc);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 102, 255, 0.28);
}

[data-theme="light"] .cta-primary {
    box-shadow: 0 10px 26px rgba(0, 102, 255, 0.22);
}

.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, hsl(0, 0%, 0%), transparent);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, hsl(0, 0%, 0%), transparent);
}

.clients-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 188px;
    height: 86px;
    padding: 8px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(3px);
}

.client-item img {
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
    opacity: 0.86;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.20)) grayscale(25%) brightness(1.15) contrast(0.95);
    transition: all 0.3s ease;
}

.client-item:hover img {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15)) grayscale(0%) brightness(1.00) contrast(1.00);
    opacity: 0.96;
}

.client-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
}

.client-placeholder span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.news-admin-tools {
    margin: -12px auto 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.news-history-cta-wrap {
    display: flex;
    justify-content: center;
    margin: -4px 0 20px;
}

.news-history-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: hsl(0, 0%, 95%);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(6px);
}

.news-history-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 128, 255, 0.20);
    border-color: hsl(210, 100%, 50%);
    color: hsl(210, 100%, 50%);
}

.practical-tools-section {
    padding: var(--section-space) 24px 0;
    background: var(--bg-primary);
}

.practical-tools-header {
    margin-bottom: 32px;
}

.practical-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.practical-tool-card {
    position: relative;
    display: block;
    border-radius: 28px;
    text-decoration: none;
    box-shadow: 0 18px 54px rgba(12, 24, 42, 0.10);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
}

.practical-tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 64px rgba(0, 102, 255, 0.12);
}

.practical-tool-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 1536;
    object-fit: cover;
    border-radius: 28px;
}

.news-refresh-form {
    display: flex;
    justify-content: center;
}

.news-refresh-btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.news-refresh-note {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.news-refresh-feedback {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.news-refresh-feedback--ok {
    background: hsl(120, 40%, 15%);
    border: 1px solid hsl(120, 40%, 30%);
    color: hsl(120, 60%, 70%);
}

.news-refresh-feedback--error {
    background: hsl(0, 60%, 15%);
    border: 1px solid hsl(0, 60%, 30%);
    color: hsl(0, 80%, 70%);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .practical-tools-section,
    .clients-section {
        padding: 60px 16px;
    }

    .practical-tools-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .practical-tool-card {
        border-radius: 24px;
    }

    .practical-tool-image {
        border-radius: 24px;
    }

    .clients-track {
        gap: 40px;
        animation-duration: 20s;
    }

    .client-item {
        width: 140px;
        height: 60px;
    }

    .client-item img {
        max-height: 45px;
    }

    .clients-marquee::before,
    .clients-marquee::after {
        width: 60px;
    }
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ============================================
   BUTTONS - Apple Style
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: hsl(0, 0%, 95%);
    color: hsl(0, 0%, 8%);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 36px rgba(0, 128, 255, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: hsl(0, 0%, 95%);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.50);
    background: rgba(255, 255, 255, 0.06);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SLIDER
   ============================================ */
.slider-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.slider-container input[type="radio"] {
    display: none;
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: margin-left 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

#radio2:checked~.slides {
    margin-left: -100%;
}

#radio3:checked~.slides {
    margin-left: -200%;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--slide-overlay);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px;
    max-width: 800px;
}

.slide-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(180deg, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 70%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-description {
    font-size: clamp(17px, 2vw, 21px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.navigation-manual {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.manual-btn {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.manual-btn:hover,
#radio1:checked~.navigation-manual label[for="radio1"],
#radio2:checked~.navigation-manual label[for="radio2"],
#radio3:checked~.navigation-manual label[for="radio3"] {
    background: #fff;
}

/* Toast */
#toast {
    background: var(--modal-overlay);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

#toast[hidden] {
    display: none !important;
}

.home-toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 50;
    max-width: min(420px, calc(100vw - 2rem));
    padding: 0.9rem 1rem;
    color: #fff;
    box-shadow: 0 18px 34px rgba(5, 12, 24, 0.22);
}

.toast--success {
    background: rgba(20, 92, 56, 0.92) !important;
    border-color: rgba(61, 201, 138, 0.34) !important;
}

.toast--error {
    background: rgba(124, 28, 42, 0.94) !important;
    border-color: rgba(255, 121, 121, 0.35) !important;
}

.featured-kicker {
    font-size: 17px;
    opacity: 0.7;
}

.client-logo-image[hidden],
.client-placeholder[hidden] {
    display: none !important;
}

.home-section-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-news-section {
    max-width: 100%;
    padding: 80px 0;
    background: var(--bg-secondary);
}

.home-news-heading {
    text-align: center;
    margin-bottom: 40px;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.home-news-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.home-news-card-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.home-news-card-content {
    padding: 24px;
}

.home-news-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.home-news-card-summary {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.home-blog-section {
    max-width: 100%;
    padding: 80px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
}

.home-blog-header {
    margin-bottom: 50px;
}

.home-blog-title {
    margin-top: 10px;
}

.home-blog-meta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.home-blog-chip {
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 999px;
}

.home-blog-chip--topic {
    background: rgba(0, 128, 255, 0.12);
    color: hsl(210, 100%, 45%);
    border: 1px solid rgba(0, 128, 255, 0.2);
}

.home-blog-chip--date {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.home-blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.home-blog-media {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.home-blog-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-blog-media-bar {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, hsl(210, 100%, 50%), hsl(210, 100%, 40%));
}

.home-blog-card-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.home-blog-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.3;
}

.home-blog-card-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.home-blog-cta-wrap {
    text-align: center;
    margin-top: 50px;
}

.home-blog-cta {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    text-align: center;
}

.contact-detail-icon {
    display: inline-flex;
    font-size: 24px;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.contact-detail-value {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-detail-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-contact-line {
    margin: 16px 0 10px;
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-links--compact {
    margin: 0 0 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet and small desktop */
@media (max-width: 1024px) {
    .practical-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .practical-tool-card:last-child {
        grid-column: 1 / -1;
    }

    .featured-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {

    /* Navigation */
    nav .max-w-6xl {
        padding: 0 16px;
    }

    nav img {
        height: 32px;
    }

    nav .space-x-8 {
        gap: 16px;
    }

    nav a {
        font-size: 13px;
    }

    /* Hero Video */
    .hero-video {
        padding: 80px 16px 60px;
    }

    .hero-bottom {
        bottom: 20px;
        gap: 16px;
        width: 90%;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .scroll-indicator {
        display: none;
    }

    /* Featured Section */
    .featured-section {
        padding: 60px 16px;
        min-height: auto;
    }

    .featured-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .featured-title {
        font-size: clamp(36px, 8vw, 56px);
    }

    .featured-list {
        justify-content: center;
    }

    .featured-list li {
        justify-content: center;
    }

    /* Products Grid */
    .products-grid-section {
        padding: 80px 16px;
    }

    .section-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .section-subtitle {
        font-size: 17px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card-content {
        padding: 20px;
    }

    .product-card-title {
        font-size: 20px;
    }

    .product-card-description {
        font-size: 15px;
    }

    /* Modals */
    .modal-content {
        margin: 16px;
        padding: 20px;
        border-radius: 16px;
        max-width: calc(100% - 32px);
    }

    .modal h2 {
        font-size: 24px;
    }

    .modal h3 {
        font-size: 18px;
    }

    .close-modal {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    /* Contact */
    .contact-section {
        padding: 60px 16px;
    }

    .contact-form {
        padding: 24px;
    }

    .form-input,
    .form-textarea {
        padding: 14px;
        font-size: 16px;
    }

    .form-submit {
        padding: 16px;
        font-size: 16px;
    }

    /* Footer */
    footer {
        padding: 30px 16px;
    }

    .footer-social {
        gap: 24px;
    }

    .footer-social a {
        font-size: 24px;
    }

    /* Theme Toggle */
    .theme-toggle {
        top: auto;
        bottom: 100px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* ============================================
   PREMIUM SMARTPHONES (iPhone 14 Pro Max 430px,
   Samsung Galaxy S24 Ultra 412px)
   ============================================ */
@media (max-width: 480px) {

    /* ---------- Navigation ---------- */
    #main-nav {
        padding: 8px 16px 0;
    }

    .nav-inner {
        padding: 8px 12px;
        border-radius: 999px;
    }

    .nav-brand img {
        height: 28px;
    }

    .nav-links a {
        font-size: 12px;
        padding: 6px 10px;
    }

    .nav-cta span:first-child {
        display: none;
    }

    .nav-cta {
        padding: 8px;
        gap: 0;
    }

    .nav-cta-icon {
        width: 34px;
        height: 34px;
    }

    /* ---------- Hero Video ---------- */
    .hero-video {
        min-height: 100svh;
        padding: 0 20px 80px;
    }

    .hero-video-title {
        font-size: clamp(32px, 9vw, 48px);
        margin-bottom: 24px;
    }

    .hero-ghost-btn {
        padding: 11px 20px;
        font-size: 13px;
    }

    /* ---------- Section Headers ---------- */
    .section-header {
        margin-bottom: 40px;
    }

    .section-label {
        font-size: 10px;
        padding: 6px 14px;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: clamp(26px, 7vw, 34px);
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* ---------- Products Section ---------- */
    .products-grid-section {
        padding: 60px 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-card-header {
        padding: 14px 14px 0;
    }

    .product-card-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .product-card-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .product-card-content {
        padding: 14px;
    }

    .product-card-title {
        font-size: 16px;
    }

    .product-card-description {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .product-card-btn {
        font-size: 12px;
        padding: 8px 12px;
    }

    .product-card-image {
        height: 140px;
    }

    /* ---------- Featured Section ---------- */
    .featured-section {
        padding: 80px 16px;
    }

    .featured-badge {
        font-size: 10px;
    }

    .featured-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .featured-subtitle {
        font-size: 16px;
    }

    .featured-list li {
        font-size: 14px;
    }

    .featured-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .featured-image {
        max-height: 280px;
    }

    /* ---------- News Section ---------- */
    .news-section {
        padding: 80px 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card-title {
        font-size: 20px;
    }

    .news-card-summary {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    /* ---------- Contact ---------- */
    .contact-section {
        padding: 80px 16px;
    }

    .contact-form {
        padding: 20px;
        border-radius: 20px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-input,
    .form-textarea {
        padding: 14px;
        font-size: 16px;
        /* Prevents iOS zoom on input focus */
        border-radius: 12px;
    }

    .form-submit {
        padding: 16px;
        font-size: 16px;
        border-radius: 12px;
    }

    /* ---------- Footer ---------- */
    footer {
        padding: 40px 16px;
    }

    .footer-social {
        gap: 20px;
    }

    .footer-social a {
        font-size: 22px;
        width: 44px;
        height: 44px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    /* ---------- Modals ---------- */
    .modal-content {
        margin: 12px;
        padding: 20px;
        border-radius: 20px;
        max-width: calc(100% - 24px);
    }

    .modal h2 {
        font-size: 22px;
    }

    .modal h3 {
        font-size: 17px;
    }

    .close-modal {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    /* ---------- Utilities ---------- */
    .whatsapp-btn {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 16px;
    }

    .theme-toggle {
        top: auto;
        bottom: 80px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 15px;
    }

    /* ---------- Coordonnées grid ---------- */
    .contact-details-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ============================================
   SMALL PHONES (≤ 380px, e.g. iPhone SE, etc.)
   ============================================ */
@media (max-width: 380px) {
    .hero-video {
        padding: 0 16px 60px;
    }

    .hero-video-title {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card-title {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .featured-title {
        font-size: 26px;
    }
}

/* ============================================
   HIGH DPI / RETINA DISPLAYS (3x flagship screens)
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 3),
(min-resolution: 3dppx) {

    .product-card,
    .contact-form,
    .modal-content,
    .featured-image,
    .news-card {
        border-width: 0.5px;
    }

    .nav-inner {
        border-width: 0.5px;
    }
}

/* ============================================
   LANDSCAPE MODE ON PHONES
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-video {
        min-height: auto;
        padding: 60px 28px 40px;
    }

    .hero-video-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .products-grid-section {
        padding: 40px 16px;
    }

    .featured-section {
        padding: 40px 16px;
        min-height: auto;
    }
}

/* ============================================
   SAFE AREA (iPhone notch / Dynamic Island)
   ============================================ */
@supports (padding-top: env(safe-area-inset-top)) {
    #main-nav {
        padding-top: calc(8px + env(safe-area-inset-top));
    }

    .hero-video {
        padding-top: env(safe-area-inset-top);
    }

    footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }

    .whatsapp-btn {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* ============================================
   ANIMATED GRADIENT HERO
   ============================================ */
.hero-gradient {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    padding: 120px 24px 80px;
}

/* ============================================
   VIDEO HERO SECTION
   ============================================ */
.hero-video {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    background: hsl(0, 0%, 0%);
    padding: 0 28px 96px;
}

@media (min-width: 769px) {
    .hero-video {
        padding: 0 48px 96px;
        justify-content: center;
        align-items: flex-start;
    }
}

@media (min-width: 1024px) {
    .hero-video {
        padding: 0 80px 0;
    }
}

.video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: hsl(0, 0%, 0%);
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform-origin: center center;
    animation: hero-bg-kenburns 24s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes hero-bg-kenburns {
    0% {
        transform: scale(1) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(1.06) translate3d(-1.5%, -1%, 0);
    }
    100% {
        transform: scale(1.10) translate3d(1.5%, 1%, 0);
    }
}

@keyframes hero-bg-pan {
    0% {
        background-size: 104%;
        background-position: 48% 50%;
    }
    50% {
        background-size: 110%;
        background-position: 52% 47%;
    }
    100% {
        background-size: 106%;
        background-position: 50% 53%;
    }
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            hsl(0, 0%, 0%) 0%,
            rgba(0, 0, 0, 0.40) 50%,
            rgba(0, 0, 0, 0.30) 100%);
    z-index: 1;
}

.hero-video .hero-content {
    position: relative;
    z-index: 2;
}

.hero-video .hero-logo {
    filter: brightness(0) invert(1);
}

/* --- Hero Video Content (LandingPage style) --- */
.hero-video-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-video-copy {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-video-copy .hero-cta-group {
    justify-content: flex-start;
}

.hero-visual {
    display: block;
    width: min(62vw, 320px);
    margin: 0 0 20px;
}

.hero-visual-image {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.35));
}

@media (min-width: 992px) {
    .hero-visual {
        width: min(22vw, 330px);
        margin-top: 0;
    }
}

.hero-video-title {
    font-size: clamp(40px, 8vw, 78px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: hsl(0, 0%, 95%);
    margin-bottom: 32px;
}

.hero-video-title-sub {
    color: rgba(255, 255, 255, 0.80);
}

/* Ghost button — like LandingPage "En savoir plus" */
.hero-ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: hsl(0, 0%, 95%);
    text-decoration: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.hero-ghost-btn:hover {
    border-color: rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.05);
}

.hero-ghost-arrow {
    display: inline-block;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hero-ghost-btn:hover .hero-ghost-arrow {
    transform: translateX(4px);
}

.hero-video .hero-tagline,
.hero-video .hero-feature {
    color: rgba(255, 255, 255, 0.9);
}

.hero-video .hero-separator {
    color: rgba(255, 255, 255, 0.5);
}

.hero-video .scroll-indicator {
    color: rgba(255, 255, 255, 0.6);
}

[dir="rtl"] .hero-visual {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .hero-video-copy {
    align-items: flex-end;
}

.hero-video .scroll-arrow {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Bottom Section */
.hero-bottom {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-bottom .hero-cta-group {
    margin-bottom: 0;
}

.hero-bottom .scroll-indicator {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
}

/* Background with gradient orbs */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orbFloat 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    bottom: -20%;
    right: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

/* Floating particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: -2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 60%;
    top: 30%;
    animation-delay: -4s;
    animation-duration: 14s;
}

.particle:nth-child(4) {
    left: 80%;
    top: 70%;
    animation-delay: -6s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 40%;
    top: 50%;
    animation-delay: -8s;
    animation-duration: 20s;
}

.particle:nth-child(6) {
    left: 70%;
    top: 10%;
    animation-delay: -10s;
    animation-duration: 13s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-50px) translateX(20px);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-100px) translateX(-10px);
        opacity: 0.2;
    }

    75% {
        transform: translateY(-50px) translateX(-20px);
        opacity: 0.5;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin-bottom: 32px;
    filter: var(--logo-filter);
    transition: filter 0.3s ease;
}

.hero-main-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-accent {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-feature {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-separator {
    color: var(--accent-blue);
    font-size: 12px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: scrollBounce 2s infinite ease-in-out;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.50);
    border-bottom: 2px solid rgba(255, 255, 255, 0.50);
    transform: rotate(45deg);
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.5;
    }
}

/* Light theme adjustments for hero */
[data-theme="light"] .gradient-orb {
    opacity: 0.3;
}

[data-theme="light"] .particle {
    opacity: 0.15;
}

@media (min-width: 768px) {
    .modal img {
        max-height: 320px;
    }
}
