:root {
    --teal:    #00e5c3;
    --green:   #05c17a;
    --acid:    #b6ff4e;
    --dark:    #060d12;
    --surface: #0c1a22;
    --glass:   rgba(0,229,195,0.06);
    --border:  rgba(0,229,195,0.18);
    --text:    #d4f0eb;
    --muted:   #5e8f84;
    /* mapped aliases used by the rest of the sheet */
    --landing-glass:  rgba(0,229,195,0.06);
    --landing-border: rgba(0,229,195,0.18);
    --landing-text:   #d4f0eb;
    --landing-muted:  #5e8f84;
    --landing-accent: #00e5c3;
}

html {
    scroll-behavior: smooth;
}

body:has(.landing-page) {
    background: var(--dark);
    color: var(--landing-text);
    overflow-x: hidden;
}

.landing-page {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    --landing-nav-h: 4.75rem;
}

.landing-page main {
    padding-top: var(--landing-nav-h);
}

.landing-page main section[id] {
    scroll-margin-top: calc(var(--landing-nav-h) + 0.5rem);
}

/* ── Login-style animated background ──────────────────── */
.chem-bg {
    position: fixed; inset: 0; z-index: -4; overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 80% 10%, #00251e 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 20% 90%, #0a1f0e 0%, transparent 60%),
        var(--dark);
}

.mol-ring {
    position: absolute; border-radius: 50%; border: 1px solid;
    animation: spin-slow linear infinite;
}
.mol-ring:nth-child(2) { width:380px; height:380px; top:-100px; left:-80px;  border-color:rgba(0,229,195,.12); animation-duration:30s; }
.mol-ring:nth-child(3) { width:240px; height:240px; top:-50px;  left:-20px;  border-color:rgba(5,193,122,.18); animation-duration:20s; animation-direction:reverse; }
.mol-ring:nth-child(4) { width:160px; height:160px; top:  20px; left: 50px;  border-color:rgba(182,255,78,.14); animation-duration:13s; }
.mol-ring:nth-child(5) { width:480px; height:480px; bottom:-180px; right:-130px; border-color:rgba(0,229,195,.08); animation-duration:38s; animation-direction:reverse; }
.mol-ring:nth-child(6) { width:280px; height:280px; bottom:-60px;  right:-40px;  border-color:rgba(5,193,122,.13); animation-duration:24s; }

@keyframes spin-slow { to { transform: rotate(360deg); } }

.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,229,195,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,195,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.particles-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0%   { transform: translateY(0) scale(1);   opacity: 0; }
    20%  { opacity: .7; }
    80%  { opacity: .4; }
    100% { transform: translateY(-100vh) scale(.3); opacity: 0; }
}

.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1060;
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    background: rgba(6, 13, 18, 0.85);
    border-bottom: 1px solid rgba(0,229,195,0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.brand-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.brand-flask-icon {
    width: 36px;
    height: 36px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-flask-icon svg {
    width: 100%;
    height: 100%;
}

.brand-flask-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(#00e5c3, #05c17a, #b6ff4e, #00e5c3);
    animation: spin-slow 4s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff calc(100% - 2px));
}

.nav-link-landing {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-link-landing:hover {
    color: var(--landing-accent);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    padding-bottom: 1rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.mobile-link-cta {
    color: var(--landing-accent);
}

.hero-section {
    padding: 2.5rem 0 3.5rem;
    position: relative;
}

.hero-content-glass {
    padding: 1.35rem 1.5rem;
    border-radius: 1.25rem;
    background: rgba(6, 28, 24, 0.45);
    border: 1px solid rgba(120, 220, 200, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
    max-width: 720px;
}

.hero-pill {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.hero-title {
    font-size: clamp(2rem, 3.8vw, 3.6rem);
    line-height: 1.15;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.hero-subtitle {
    color: var(--landing-muted);
    font-size: 1.05rem;
    max-width: 680px;
    line-height: 1.55;
}

.hero-btn {
    border-radius: 0.7rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(45, 212, 191, 0.28);
}

.glass-panel,
.feature-blurb,
.feature-card,
.contact-card {
    background: var(--landing-glass);
    border: 1px solid var(--landing-border);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    box-shadow: 0 8px 40px rgba(10, 16, 55, 0.22);
}

.glass-panel {
    padding: 1.2rem;
}

.glass-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.8rem;
    padding: 0.7rem;
    margin-bottom: 0.75rem;
}

.glass-item i {
    font-size: 1.2rem;
    color: var(--landing-accent);
}

.glass-item p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 0.9rem;
}

.section-header h2 {
    font-weight: 700;
}

.section-header p {
    color: var(--landing-muted);
}

.feature-blurb {
    padding: 1.2rem;
    text-align: center;
    transition: transform 0.25s ease;
}

.feature-blurb i {
    font-size: 1.8rem;
    color: var(--landing-accent);
}

.feature-blurb:hover,
.feature-card:hover {
    transform: translateY(-6px);
}

.features-section .feature-card {
    height: 100%;
    padding: 1.2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 212, 191, 0.16);
    color: #99f6e4;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--landing-muted);
    margin-bottom: 0;
}

.contact-card {
    padding: 1.4rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 0.9rem;
    color: #e3f2ff;
}

.contact-list i {
    margin-right: 0.45rem;
    color: var(--landing-accent);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #d2e8ff;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(45, 212, 191, 0.35);
}

.landing-footer {
    border-top: 1px solid rgba(94, 234, 212, 0.2);
    background: rgba(3, 18, 15, 0.85);
}

.landing-footer a {
    color: #cde5ff;
    text-decoration: none;
}

.landing-footer a:hover {
    color: #8eefff;
}

.section-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* removed: gradientShift, floatOne, floatTwo, floatThree, particleMove — replaced by spin-slow / float-up */

.about-section,
.features-section,
.contact-section {
    position: relative;
}

.about-section::before,
.features-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(3, 22, 18, 0.42);
    border-top: 1px solid rgba(94, 234, 212, 0.08);
    border-bottom: 1px solid rgba(94, 234, 212, 0.08);
    pointer-events: none;
}

.grid-mesh {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(rgba(0,229,195,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,195,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-visual-stack {
    position: relative;
    min-height: 240px;
    margin-top: -0.35rem;
}

.lab-deco {
    position: absolute;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 1;
    filter: saturate(1.15);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lab-deco--a {
    width: 200px;
    height: 200px;
    top: -4%;
    left: -6%;
}

.lab-deco--b {
    width: 170px;
    height: 170px;
    bottom: 18%;
    right: -4%;
}

.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(120, 220, 255, 0.25);
    animation: orbitSpin 22s linear infinite;
    pointer-events: none;
}

.hero-orbit--one {
    width: 260px;
    height: 260px;
    top: 4%;
    right: 0;
}

.hero-orbit--two {
    width: 170px;
    height: 170px;
    bottom: 4%;
    left: 5%;
    animation-duration: 16s;
    animation-direction: reverse;
}

.hero-photo {
    position: absolute;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.35s ease;
}

.hero-photo--main:hover {
    transform: translateX(-50%) scale(1.02);
}

.hero-photo:not(.hero-photo--main):hover {
    transform: scale(1.02);
}

.hero-photo--main {
    width: min(100%, 250px);
    height: 280px;
    top: -1.1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.9;
}

.hero-photo--side {
   width: 160px;
height: 160px;
    top: 4%;
    left: 0;
    z-index: 3;
    animation: floatCard 9s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
    opacity: 0.82;
}

.landing-lang .lang-switch.active {
    background: rgba(140, 240, 255, 0.35);
    border-color: rgba(180, 250, 255, 0.9);
    color: #fff;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-7px) translateX(2px); }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 2.2rem;
    }

    .hero-visual-stack {
        min-height: 240px;
    }

    .hero-photo--main {
        height: 240px;
        width: min(100%, 228px);
    }

    .hero-photo--side {
        width: 100px;
        height: 100px;
    }

    .lab-deco--a,
    .lab-deco--b {
        opacity: 0.14;
        transform: scale(0.85);
    }

}

.landing-page .btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, var(--green) 60%, var(--acid) 100%);
    border: none;
    color: #050f0c;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(0,229,195,.25);
    transition: transform .2s, box-shadow .2s, filter .2s;
}

.landing-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,229,195,.4);
    filter: brightness(1.08);
    background: linear-gradient(135deg, var(--teal) 0%, var(--green) 60%, var(--acid) 100%);
    border: none;
    color: #050f0c;
}
.small.text-white-50.my-special-footer-text {
    font-size: 200px !important;
    font-weight: 800;
}