/* ===================================================================
   QRIDS Design System — Carbon Fiber Premium Theme
   Version: 2.0
   Author: Jämes Aubert Le Brassus SA

   Usage:
     <link rel="preconnect" href="https://fonts.googleapis.com">
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
     <link rel="stylesheet" href="css/qrids.css">
   =================================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark-2: #181818;
    --dark-3: #222222;
    --gray: #777777;
    --light-gray: #b0b0b0;
    --white: #f0f0f0;
    --accent: #00d4aa;
    --accent-dark: #00b894;
    --accent-light: #33ffcc;
    --accent-glow: rgba(0, 212, 170, 0.12);
    --accent-glow-strong: rgba(0, 212, 170, 0.25);
    --glass-bg: rgba(17, 17, 17, 0.6);
    --glass-border: rgba(255, 255, 255, 0.06);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --nav-height: 72px;
    --carbon-pattern: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='80' height='80' fill='%230a0a0a'/%3E%3Cg stroke='%23151515' fill='none' stroke-width='0.6' opacity='0.8'%3E%3Cpath d='M5 2 Q20 15 35 8 Q50 1 65 12 Q75 19 80 15'/%3E%3Cpath d='M0 10 Q12 20 28 14 Q42 8 58 18 Q70 25 80 20'/%3E%3Cpath d='M2 22 Q18 30 32 24 Q48 18 62 28 Q74 35 80 30'/%3E%3Cpath d='M0 32 Q15 42 30 35 Q45 28 60 38 Q72 45 80 40'/%3E%3Cpath d='M3 44 Q20 52 35 46 Q50 40 65 50 Q75 55 80 52'/%3E%3Cpath d='M0 55 Q14 63 30 57 Q46 51 62 60 Q74 66 80 62'/%3E%3Cpath d='M4 66 Q18 74 34 68 Q48 62 64 72 Q76 78 80 74'/%3E%3C/g%3E%3Cg stroke='%23131313' fill='none' stroke-width='0.5' opacity='0.6'%3E%3Cpath d='M8 0 Q12 18 18 35 Q24 52 28 70 Q30 78 32 80'/%3E%3Cpath d='M22 0 Q26 16 30 32 Q35 50 40 68 Q42 76 44 80'/%3E%3Cpath d='M40 0 Q43 14 48 30 Q52 48 56 65 Q58 74 60 80'/%3E%3Cpath d='M58 0 Q60 12 64 28 Q68 46 72 62 Q74 72 76 80'/%3E%3C/g%3E%3Cg stroke='%23181818' fill='none' stroke-width='0.3' opacity='0.4'%3E%3Cpath d='M0 5 Q25 12 50 5 Q75 -2 80 8'/%3E%3Cpath d='M0 38 Q22 45 48 38 Q70 31 80 42'/%3E%3Cpath d='M0 70 Q20 77 45 70 Q68 63 80 74'/%3E%3C/g%3E%3C/svg%3E");
}

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

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

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-light); }

/* ===== CARBON FIBER BACKGROUNDS ===== */
.carbon-texture {
    background-color: var(--black);
    background-image: var(--carbon-pattern);
    background-size: 80px 80px;
    position: relative;
}

.carbon-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 170, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 180, 148, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 100, 80, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.carbon-overlay {
    background-color: var(--dark);
    background-image: var(--carbon-pattern);
    background-size: 80px 80px;
    position: relative;
}

.carbon-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.015) 0%, transparent 50%, rgba(255,255,255,0.01) 100%);
    pointer-events: none;
    z-index: 0;
}

/* ===== LAYOUT UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

section { padding: 120px 0; position: relative; overflow: hidden; }

/* ===== TYPOGRAPHY ===== */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    position: relative;
    padding-left: 32px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--accent);
}

h2.section-title,
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--gray);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 56px;
}

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

/* ===== GLASS CARDS ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.glass-card:hover {
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: 0 8px 40px rgba(0, 212, 170, 0.08), 0 0 0 1px rgba(0, 212, 170, 0.1);
}

.glass-card > * { position: relative; z-index: 1; }

/* Tilt card wrapper */
.tilt-card { perspective: 800px; }

/* ===== SECTION DIVIDERS ===== */
.section-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 2;
}

.section-divider svg { display: block; width: 100%; height: auto; }

.section-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    z-index: 2;
}

.section-divider-top svg { display: block; width: 100%; height: auto; }

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(0, 212, 170, 0.15); }
}

@keyframes scan-line {
    0% { top: -2px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes draw-line {
    to { stroke-dashoffset: 0; }
}

@keyframes btn-shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--black);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.2);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 170, 0.3);
    color: var(--black);
}

.btn-primary:hover::after {
    animation: btn-shimmer 0.6s ease;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(0, 212, 170, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(0, 212, 170, 0.08);
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.1);
}

.btn-sm { padding: 10px 20px; font-size: 0.75rem; }

/* ===== CURSOR GLOW ===== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

.cursor-glow.active { opacity: 1; }

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.35s ease, background 0.35s ease;
}

nav.hidden { transform: translateY(-100%); }

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.nav-logo span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links li { position: relative; }

.nav-links a {
    color: var(--light-gray);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 20px; }

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    user-select: none;
}

.lang-toggle span { color: var(--gray); transition: color 0.3s; }
.lang-toggle span.active { color: var(--accent); }

.lang-switch {
    width: 36px;
    height: 20px;
    background: var(--dark-3);
    border-radius: 10px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s;
}

.lang-switch::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.4);
}

.lang-switch.en::after { transform: translateX(16px); }

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(30px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu a {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--accent); }

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#heroFibers {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 212, 170, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(0, 100, 80, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(0, 180, 150, 0.03) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-scan {
    display: none; /* replaced by canvas-based rotating scan */
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 24px 40px;
    max-width: 860px;
}

.hero-event {
    margin: 20px 0 8px;
}

.hero-event a {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(0, 212, 170, 0.06);
    border: 1px solid rgba(0, 212, 170, 0.15);
    padding: 8px 18px;
    border-radius: 20px;
    transition: all 0.3s;
    text-decoration: none;
}

.hero-event a:hover {
    background: rgba(0, 212, 170, 0.12);
    border-color: rgba(0, 212, 170, 0.3);
}

.hero-desc-box {
    background: var(--black);
    padding: 16px 24px;
    border-radius: 10px;
    display: inline-block;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 24px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    animation: pulse-glow 3s ease infinite;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-title-shimmer {
    background: linear-gradient(
        90deg,
        var(--white) 0%,
        var(--white) 40%,
        var(--accent-light) 50%,
        var(--white) 60%,
        var(--white) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 780px;
    margin: 72px auto 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.04);
}

.hero-stat {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(16px);
    padding: 32px 20px;
    text-align: center;
}

.hero-stat .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
    text-shadow: 0 0 30px rgba(0, 212, 170, 0.3);
}

.hero-stat .stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    line-height: 1.5;
}

a.stat-source,
.hero-stat a.stat-source {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 8px;
    font-style: italic;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s;
}

a.stat-source:hover {
    color: var(--accent);
    text-decoration: underline;
}

.problem-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    max-width: 600px;
    margin: 40px auto 32px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.problem-stat {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(16px);
    padding: 28px 20px;
    text-align: center;
}

.problem-stat .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #ff6666;
    margin-bottom: 6px;
    text-shadow: 0 0 30px rgba(255, 102, 102, 0.2);
}

.problem-stat .stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    line-height: 1.5;
}

.problem-stat a.stat-source {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 8px;
    font-style: italic;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s;
}

a.stat-source.problem-src:hover {
    color: #ff6666;
    text-decoration: underline;
}

/* ===== PROBLEM SECTION ===== */
.problem { padding-bottom: 140px; }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.problem-card {
    padding: 40px 28px;
    text-align: center;
}

.problem-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(0, 212, 170, 0.06);
    border: 1px solid rgba(0, 212, 170, 0.1);
    transition: background 0.3s, border-color 0.3s;
}

.glass-card:hover .problem-icon {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.25);
}

.problem-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.problem-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
}

.problem-sources {
    margin-top: 48px;
    text-align: center;
    font-size: 0.68rem;
    color: rgba(119, 119, 119, 0.5);
    font-style: italic;
}

/* ===== SOLUTION SECTION ===== */
.solution { padding-top: 140px; }

.solution-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    position: relative;
}

.solution-connector {
    position: absolute;
    top: 48px;
    left: 16%;
    right: 16%;
    height: 2px;
    z-index: 0;
}

.solution-connector svg { width: 100%; height: 2px; }

.solution-connector line {
    stroke: var(--accent);
    stroke-width: 2;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    opacity: 0.3;
    transition: stroke-dashoffset 2s ease;
}

.solution-connector.animated line { stroke-dashoffset: 0; }

.solution-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
}

.step-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--black);
    box-shadow: 0 0 24px rgba(0, 212, 170, 0.25);
}

.step-circle::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.solution-step h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.solution-step p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
}

.solution-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 64px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.badge:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.35);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.08);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    flex-shrink: 0;
}

/* Partner badges (Innosuisse / HE-Arc) */
.solution-partners {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.partner-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.partner-badge:hover {
    background: rgba(0, 212, 170, 0.06);
    border-color: rgba(0, 212, 170, 0.2);
    color: var(--white);
}

.partner-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.partner-desc {
    font-size: 0.7rem;
    color: var(--gray);
    font-style: italic;
}

/* ===== PRODUCTS SECTION ===== */
.products { padding-bottom: 140px; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.product-card { padding: 40px 28px; display: flex; flex-direction: column; }

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(0, 212, 170, 0.06);
    border: 1px solid rgba(0, 212, 170, 0.1);
}

.product-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    align-self: flex-start;
}

.product-card h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }

.product-for { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; letter-spacing: 0.02em; }

.product-card > p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; flex: 1; }

.recycle-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

.product-innovation {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    color: var(--light-gray);
    line-height: 1.6;
}

.product-innovation strong {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

/* ===== MARKET SECTION ===== */
.market { padding-top: 140px; }

.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.market-card { padding: 40px 24px; text-align: center; }

.market-circle-wrap { width: 140px; height: 140px; margin: 0 auto 24px; position: relative; }
.market-circle-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.market-circle-bg { fill: none; stroke: var(--dark-3); stroke-width: 4; }

.market-circle-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 408;
    stroke-dashoffset: 408;
    transition: stroke-dashoffset 2s cubic-bezier(0.22, 1, 0.36, 1);
    filter: drop-shadow(0 0 6px rgba(0, 212, 170, 0.4));
}

.market-circle-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }

.market-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray); display: block; margin-bottom: 4px; }

.market-value { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--accent); display: block; text-shadow: 0 0 20px rgba(0, 212, 170, 0.3); }

.market-unit { font-size: 0.72rem; color: var(--light-gray); display: block; }

.market-desc {
    font-size: 0.72rem;
    color: var(--gray);
    line-height: 1.4;
    margin-top: 12px;
}

.market-card a.stat-source {
    margin-top: 6px;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.2);
}

/* ===== TIMELINE ===== */
.timeline { margin-top: 80px; position: relative; }

.timeline-label {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 48px;
}

.timeline-track { display: flex; justify-content: space-between; position: relative; max-width: 680px; margin: 0 auto; }

.timeline-line { position: absolute; top: 24px; left: 60px; right: 60px; height: 2px; }
.timeline-line svg { width: 100%; height: 2px; overflow: visible; }

.timeline-line line {
    stroke: var(--accent);
    stroke-width: 2;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    opacity: 0.4;
    transition: stroke-dashoffset 2.5s ease;
}

.timeline-line.animated line { stroke-dashoffset: 0; }

.timeline-item { text-align: center; position: relative; z-index: 1; flex: 1; }

.timeline-dot {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    border: none;
    background: var(--dark);
    color: var(--accent);
    transition: all 0.3s;
    position: relative;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.timeline-dot.done {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: var(--black) !important;
    box-shadow: 0 0 24px rgba(0, 212, 170, 0.25);
}

.timeline-item h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.timeline-item p { font-size: 0.78rem; color: var(--gray); }

/* ===== PARTNERSHIP SECTION ===== */
.partnership { padding-bottom: 100px; }

.partnership-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.partnership-card { padding: 36px 28px; text-align: center; }

.partnership-card.featured {
    border-color: rgba(0, 212, 170, 0.25);
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.06);
}

.partnership-card.featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.partnership-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; position: relative; z-index: 1; }
.partnership-card > p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; position: relative; z-index: 1; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 560px; margin: 72px auto 0; padding: 44px 40px; }

.contact-form h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; text-align: center; margin-bottom: 32px; }

.form-group { margin-bottom: 20px; position: relative; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 16px 8px;
    background: rgba(34, 34, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1), 0 0 16px rgba(0, 212, 170, 0.08);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 0.85rem;
    color: var(--gray);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 4px;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit { margin-top: 8px; display: block; margin-left: auto; margin-right: auto; }

/* ===== FOOTER ===== */
footer { padding: 72px 0 36px; position: relative; }

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; text-align: center; justify-items: center; }
.co-creators { display: flex; gap: 32px; justify-content: center; }
.co-creator a:first-child { font-weight: 600; color: var(--light-gray); }

.footer-brand .nav-logo { margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }

.footer-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.footer-col h4 { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--light-gray); margin-bottom: 16px; }
.footer-col p, .footer-col a { display: block; font-size: 0.85rem; color: var(--gray); line-height: 1.9; }

.footer-col a { position: relative; display: inline-block; }
.footer-col a::after { content: ''; position: absolute; bottom: 2px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-col a:hover::after { width: 100%; }

.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.03); text-align: center; font-size: 0.72rem; color: rgba(119, 119, 119, 0.4); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--black);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s, transform 0.35s;
    z-index: 500;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.2);
}

.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0, 212, 170, 0.3); }

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1200px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
    section { padding: 80px 0; }

    .hero-content { padding: 60px 20px 20px; }
    .hero-stats { grid-template-columns: 1fr; }
    .problem-stats { grid-template-columns: 1fr; }

    .problem-grid,
    .solution-steps,
    .products-grid,
    .market-grid,
    .partnership-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .solution-connector { display: none; }

    .timeline-track { flex-direction: column; gap: 24px; align-items: flex-start; padding-left: 40px; }
    .timeline-line { display: none; }
    .timeline-item { text-align: left; display: flex; align-items: flex-start; gap: 16px; }
    .timeline-dot { margin: 0; flex-shrink: 0; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .co-creators { flex-direction: column; gap: 16px; }

    .contact-form { padding: 28px 20px; }

    .btn-sm.nav-cta { display: none; }
    .cursor-glow { display: none; }
    .hero-scan { display: none; }
    .market-circle-wrap { width: 120px; height: 120px; }
}
