/* ================================================
   LAMININA — Cosmic Glassmorphism
   Dark Space · Glassmorphism · GSAP
   ================================================ */

/* --- ROOT VARIABLES --- */
:root {
    /* Palette from laminnina-bg.jpg */
    --void:         #05060F;
    --deep:         #080B1C;
    --space:        #0D1230;
    --surface:      #111832;
    --surface-up:   #161E40;

    --violet:       #8B5CF6;
    --violet-l:     #A855F7;
    --violet-ll:    #C084FC;
    --violet-glow:  rgba(139, 92, 246, 0.25);

    --pink:         #D946A6;
    --pink-l:       #EC4899;
    --pink-glow:    rgba(217, 70, 166, 0.25);

    --cyan:         #06B6D4;
    --cyan-l:       #22D3EE;
    --cyan-glow:    rgba(34, 211, 238, 0.2);

    --gold:         #F59E0B;
    --gold-l:       #FCD34D;

    --text:         #EEE9FF;
    --text-mid:     rgba(238, 233, 255, 0.65);
    --text-low:     rgba(238, 233, 255, 0.38);
    --text-xlow:    rgba(238, 233, 255, 0.18);

    /* Glass tokens */
    --g-bg:         rgba(255, 255, 255, 0.035);
    --g-bg-h:       rgba(255, 255, 255, 0.07);
    --g-bd:         rgba(255, 255, 255, 0.08);
    --g-bd-h:       rgba(255, 255, 255, 0.18);
    --g-blur:       blur(24px) saturate(180%);
    --g-shadow:     0 16px 48px rgba(0, 0, 0, 0.55), 0 2px 4px rgba(0,0,0,0.3);

    /* Sizes */
    --nav-h:        68px;
    --max-w:        1200px;
    --r:            18px;
    --r-sm:         10px;
    --r-lg:         28px;
    --r-xl:         40px;

    /* Eases */
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:  cubic-bezier(0.45, 0, 0.55, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--deep);
    color: var(--text);
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: none; font-family: inherit; }
strong { font-weight: 600; color: var(--text); }

/* --- GRAIN OVERLAY --- */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    background-repeat: repeat;
}

/* --- AMBIENT ORBS --- */
.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    animation: orb-drift 20s ease-in-out infinite alternate;
}

.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #7C3AED, transparent 70%);
    top: -150px; left: -150px;
    animation-duration: 25s;
}

.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #D946A6, transparent 70%);
    top: 30%; right: -100px;
    animation-duration: 18s;
    animation-delay: -8s;
}

.orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #06B6D4, transparent 70%);
    bottom: 10%; left: 20%;
    animation-duration: 22s;
    animation-delay: -12s;
}

@keyframes orb-drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(60px, 40px) scale(1.08); }
    100% { transform: translate(-30px, 80px) scale(0.95); }
}

/* --- PARTICLE CANVAS --- */
#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

/* --- CUSTOM CURSOR --- */
.cursor {
    position: fixed;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(168, 85, 247, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out),
                height 0.3s var(--ease-out),
                border-color 0.3s ease,
                background-color 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 5px; height: 5px;
    background: var(--violet-l);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor.hover {
    width: 56px; height: 56px;
    border-color: rgba(217, 70, 166, 0.8);
    background: rgba(217, 70, 166, 0.06);
}

/* --- CONTAINER --- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

/* --- SECTION LAYOUT --- */
.section {
    position: relative;
    padding: 120px 0;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-eyebrow {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--violet-ll);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(192, 132, 252, 0.25);
    border-radius: 999px;
    background: rgba(192, 132, 252, 0.06);
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--pink), var(--violet-l), var(--cyan-l));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure gradient is applied to word spans inside em */
.section-title em .word span {
    background: linear-gradient(135deg, var(--pink), var(--violet-l), var(--cyan-l));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- GLASS CARD --- */
.glass-card {
    background: var(--g-bg);
    backdrop-filter: var(--g-blur);
    -webkit-backdrop-filter: var(--g-blur);
    border: 1px solid var(--g-bd);
    border-radius: var(--r);
    box-shadow: var(--g-shadow);
    transition: border-color 0.4s ease, background-color 0.4s ease, transform 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--g-bd-h);
    background: var(--g-bg-h);
    transform: translateY(-3px);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border: none;
    transition: transform 0.25s var(--ease-out),
                box-shadow 0.25s ease,
                background 0.25s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    cursor: none;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: inherit;
}

.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-glow {
    background: linear-gradient(135deg, var(--pink) 0%, var(--violet) 60%, var(--violet-l) 100%);
    color: #fff;
    box-shadow: 0 0 30px var(--pink-glow), 0 4px 16px rgba(0,0,0,0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 50px var(--pink-glow), 0 0 20px var(--violet-glow), 0 6px 20px rgba(0,0,0,0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--g-bd-h);
    backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 20px var(--violet-glow);
}

.btn-nav {
    background: linear-gradient(135deg, var(--pink), var(--violet));
    color: #fff;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
    box-shadow: 0 0 20px var(--pink-glow);
    transition: all 0.3s ease;
    cursor: none;
}

.btn-nav:hover {
    box-shadow: 0 0 36px var(--pink-glow), 0 0 16px var(--violet-glow);
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(8, 11, 28, 0.85);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-bottom-color: var(--g-bd);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon { width: 28px; height: 28px; }

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--text);
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin-left: auto;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-mid);
    padding: 8px 12px;
    border-radius: var(--r-sm);
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 6px;
    margin-left: auto;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active span:first-child { transform: translateY(7.5px) rotate(45deg); }
.mobile-toggle.active span:last-child  { transform: translateY(-7.5px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.35) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(90, 30, 160, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(217, 70, 166, 0.12) 0%, transparent 55%),
        linear-gradient(to bottom, rgba(5, 6, 15, 0.3) 0%, rgba(5, 6, 15, 0.7) 70%, rgba(5, 6, 15, 1) 100%);
}

/* Floating molecule */
.floating-molecule {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: min(380px, 35vw);
    opacity: 0.6;
    filter: drop-shadow(0 0 60px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 20px rgba(217, 70, 166, 0.3));
    animation: molecule-float 8s ease-in-out infinite;
    pointer-events: none;
}

.floating-molecule img { width: 100%; }

@keyframes molecule-float {
    0%, 100% { transform: translateY(-50%) rotate(-3deg); }
    50%       { transform: translateY(calc(-50% - 20px)) rotate(3deg); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    padding-left: max(32px, calc(50vw - 600px + 32px));
    padding-top: var(--nav-h);
}

.hero-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--violet-ll);
    margin-bottom: 24px;
    opacity: 0;
}

.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3.5rem, 7vw, 7rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 28px;
    overflow: hidden;
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--pink) 0%, var(--violet-l) 50%, var(--cyan-l) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure gradient is applied to word spans inside hero title em */
.hero-title em .word span {
    background: linear-gradient(135deg, var(--pink) 0%, var(--violet-l) 50%, var(--cyan-l) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .word {
    display: inline-block;
    overflow: hidden;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 40px;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
}

/* Trust bar */
.hero-trust {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 80px;
    padding: 16px 32px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--g-bd);
    width: 100%;
    justify-content: center;
    opacity: 0;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-mid);
    padding: 0 28px;
}

.trust-pill i {
    color: var(--violet-ll);
    font-size: 0.9rem;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: var(--g-bd);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: max(32px, calc(50vw - 600px + 32px));
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.4;
    animation: fade-in 2s ease 2s forwards;
}

@keyframes fade-in { to { opacity: 0.4; } }

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--violet-ll));
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { transform: scaleY(0); transform-origin: top; }
    50%       { transform: scaleY(1); transform-origin: top; }
}

.scroll-indicator span {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-low);
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

/* ================================================
   STATS
   ================================================ */
.stats {
    position: relative;
    z-index: 2;
    padding: 0;
}

.stats-glass {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255,255,255,0.025);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--g-bd);
    border-bottom: 1px solid var(--g-bd);
}

.stat-item {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    border-right: 1px solid var(--g-bd);
}

.stat-item:last-child { border-right: none; }

.stat-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--pink), var(--violet-ll));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-low);
    letter-spacing: 0.04em;
}

.stat-sep { display: none; }

/* ================================================
   ABOUT CARDS
   ================================================ */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 96px;
}

.card-about {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card-about:hover .card-glow { opacity: 1; }

.card-glow-violet { background: radial-gradient(circle at 30% 30%, rgba(139,92,246,0.12), transparent 60%); }
.card-glow-pink   { background: radial-gradient(circle at 30% 30%, rgba(217,70,166,0.12), transparent 60%); }
.card-glow-cyan   { background: radial-gradient(circle at 30% 30%, rgba(34,211,238,0.1), transparent 60%); }

.card-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-sm);
    background: var(--g-bg);
    border: 1px solid var(--g-bd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--violet-ll);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.card-about:hover .card-icon {
    color: var(--pink-l);
    border-color: rgba(217, 70, 166, 0.3);
    box-shadow: 0 0 20px var(--pink-glow);
}

.card-about h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text);
}

.card-about p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.72;
}

/* Researcher */
.researcher {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 72px;
    align-items: start;
}

.researcher-img-wrap {
    position: relative;
    flex-shrink: 0;
}

.researcher-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.researcher-img-wrap img {
    width: 100%;
    border-radius: var(--r);
    border: 1px solid var(--g-bd);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    filter: brightness(0.9) contrast(1.05);
    position: relative;
    z-index: 1;
}

.researcher-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    background: rgba(5, 6, 15, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--g-bd);
    border-radius: var(--r-sm);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--violet-ll);
}

.researcher-info { display: flex; flex-direction: column; gap: 0; }

.researcher-info .section-eyebrow { margin-bottom: 12px; text-align: left; }

.researcher-info h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.2;
}

.researcher-role {
    font-size: 0.85rem;
    color: var(--text-low);
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    font-weight: 400;
}

.researcher-info p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 16px;
}

.r-stats {
    display: flex;
    gap: 32px;
    margin: 24px 0;
    padding: 24px;
    background: var(--g-bg);
    border: 1px solid var(--g-bd);
    border-radius: var(--r-sm);
}

.r-stat-item { display: flex; flex-direction: column; gap: 4px; }

.r-stat-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--pink), var(--violet-ll));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.r-stat-lbl {
    font-size: 0.78rem;
    color: var(--text-low);
    max-width: 160px;
    line-height: 1.4;
}

.researcher-quote {
    position: relative;
    padding: 24px 24px 24px 32px;
    border-left: 2px solid var(--violet);
    background: rgba(139, 92, 246, 0.04);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    margin-top: 8px;
}

.quote-mark {
    position: absolute;
    top: 8px; left: 12px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 4rem;
    color: var(--violet);
    opacity: 0.4;
    line-height: 1;
    pointer-events: none;
}

.researcher-quote p {
    font-size: 0.93rem;
    font-style: italic;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 12px;
}

.researcher-quote cite {
    font-size: 0.78rem;
    color: var(--violet-ll);
    font-style: normal;
    font-weight: 500;
}

/* ================================================
   GALLERY
   ================================================ */
.gallery { background: rgba(0,0,0,0.15); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 280px 280px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--g-bd);
    cursor: none;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out), filter 0.4s ease;
    filter: brightness(0.8) saturate(0.9);
}

.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.65) saturate(1.1);
}

.gallery-cap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 24px 24px;
    background: linear-gradient(to top, rgba(5,6,15,0.9) 0%, transparent 100%);
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover .gallery-cap {
    opacity: 1;
    transform: translateY(0);
}

.gallery-cap h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.gallery-cap p { font-size: 0.82rem; color: var(--text-mid); }

.gi-large { grid-column: span 2; }

/* ================================================
   WHY
   ================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--g-bd);
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--g-bd);
}

.why-item {
    background: var(--deep);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background 0.3s ease;
    position: relative;
}

.why-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--g-bg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-item:hover::before { opacity: 1; }

.why-icon {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(217,70,166,0.1));
    border: 1px solid rgba(139,92,246,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--violet-ll);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.why-item:hover .why-icon {
    color: var(--pink-l);
    border-color: rgba(217, 70, 166, 0.35);
    box-shadow: 0 0 18px var(--pink-glow);
}

.why-item h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.why-item p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

/* ================================================
   PRODUCTS
   ================================================ */
.products { background: rgba(0,0,0,0.1); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    align-items: start;
}

.product-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--g-bg);
    backdrop-filter: var(--g-blur);
    -webkit-backdrop-filter: var(--g-blur);
    border: 1px solid var(--g-bd);
    box-shadow: var(--g-shadow);
    transition: transform 0.15s ease, border-color 0.3s ease;
    will-change: transform;
}

.product-card:hover {
    border-color: var(--g-bd-h);
}

.product-ribbon {
    position: absolute;
    top: 20px; right: -32px;
    z-index: 5;
    padding: 6px 48px;
    background: linear-gradient(135deg, var(--pink), var(--violet));
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    transform: rotate(35deg);
    white-space: nowrap;
}

.product-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.product-card:hover .product-glow { opacity: 1; }

.product-glow-gold   { background: radial-gradient(circle at 50% 30%, rgba(245,158,11,0.12), transparent 60%); }
.product-glow-silver { background: radial-gradient(circle at 50% 30%, rgba(226,232,240,0.08), transparent 60%); }
.product-glow-cyan   { background: radial-gradient(circle at 50% 30%, rgba(34,211,238,0.1), transparent 60%); }

.product-featured {
    border-color: rgba(217, 70, 166, 0.25);
}

.product-featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(217,70,166,0.2);
    pointer-events: none;
}

.product-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
    filter: brightness(0.85) saturate(0.9);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
    filter: brightness(0.8) saturate(1);
}

.product-img-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(13,18,48,1), transparent);
}

.product-body {
    padding: 28px;
    position: relative;
    z-index: 1;
}

.product-material {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-mid);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.material-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.product-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-desc {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 16px;
}

.product-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.product-tags span {
    font-size: 0.72rem;
    color: var(--cyan-l);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(34,211,238,0.2);
    background: rgba(34,211,238,0.05);
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.price-from {
    font-size: 0.78rem;
    color: var(--text-low);
}

.price-from s { opacity: 0.6; }

.price-by {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.price-by sup {
    font-size: 1rem;
    vertical-align: super;
    font-weight: 400;
}

.price-inst {
    font-size: 0.75rem;
    color: var(--text-low);
}

.stock-alert {
    text-align: center;
    font-size: 0.75rem;
    color: var(--pink-l);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0.85;
}

/* COMBO */
.combo-card {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid rgba(217, 70, 166, 0.2);
    background: var(--g-bg);
    backdrop-filter: var(--g-blur);
    -webkit-backdrop-filter: var(--g-blur);
}

.combo-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(217,70,166,0.08), transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(139,92,246,0.08), transparent 50%);
    pointer-events: none;
}

.combo-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    padding: 56px 60px;
    align-items: center;
}

.combo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold-l);
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(252, 211, 77, 0.25);
    background: rgba(252, 211, 77, 0.06);
    margin-bottom: 16px;
}

.combo-left h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.combo-left p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 20px;
}

.combo-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
}

.combo-price span {
    font-size: 0.85rem;
    color: var(--text-low);
}

.combo-price strong {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold-l), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.combo-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
    flex-shrink: 0;
}

.combo-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 20px 16px;
    background: var(--g-bg);
    border: 1px solid var(--g-bd);
    border-radius: var(--r-sm);
}

.combo-feat i {
    font-size: 1.3rem;
    color: var(--violet-ll);
}

.combo-feat span {
    font-size: 0.78rem;
    color: var(--text-mid);
    font-weight: 500;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stars {
    display: flex;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--gold);
}

.testimonial-card > p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.75;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--g-bd);
}

.author-av {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-low);
}

/* ================================================
   SECURITY
   ================================================ */
.security { padding: 80px 0; }

.security-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--g-bd);
    border: 1px solid var(--g-bd);
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 40px;
}

.security-item {
    background: var(--deep);
    padding: 32px 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: background 0.3s ease;
}

.security-item:hover { background: var(--g-bg-h); }

.security-item > i {
    font-size: 1.5rem;
    color: var(--violet-ll);
    flex-shrink: 0;
    margin-top: 2px;
}

.security-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.security-item p {
    font-size: 0.78rem;
    color: var(--text-low);
    line-height: 1.5;
}

.payment-logos {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--text-low);
    flex-wrap: wrap;
}

.payment-logos i:hover { color: var(--text-mid); }

/* ================================================
   FAQ
   ================================================ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--g-bd);
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--g-bg);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.25s ease;
}

.faq-q i {
    font-size: 0.8rem;
    color: var(--text-low);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out), color 0.3s ease;
}

.faq-item.active .faq-q i {
    transform: rotate(45deg);
    color: var(--violet-ll);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq-a p {
    padding: 0 24px 24px;
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.75;
}

/* ================================================
   CONTACT
   ================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-card > i {
    font-size: 1.4rem;
    color: var(--violet-ll);
    margin-bottom: 4px;
}

.contact-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.contact-card p {
    font-size: 0.82rem;
    color: var(--text-mid);
}

.contact-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-mid);
    letter-spacing: 0.02em;
}

.form-field input,
.form-field select,
.form-field textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--g-bd);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-xlow);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: rgba(255,255,255,0.07);
}

.form-field select option {
    background: var(--space);
    color: var(--text);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    position: relative;
    padding: 80px 0 40px;
    border-top: 1px solid var(--g-bd);
    overflow: hidden;
    z-index: 2;
}

.footer-glow {
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 200px;
    background: radial-gradient(ellipse, rgba(139,92,246,0.08), transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-low);
    line-height: 1.65;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--g-bd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-low);
    transition: all 0.25s ease;
    background: var(--g-bg);
}

.footer-social a:hover {
    color: var(--violet-ll);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 0 12px var(--violet-glow);
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-mid);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
    font-size: 0.875rem;
    color: var(--text-low);
    transition: color 0.2s ease;
}

.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--g-bd);
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-xlow);
}

/* ================================================
   FLOATING ELEMENTS
   ================================================ */
.wa-float {
    position: fixed;
    bottom: 32px; right: 32px;
    z-index: 500;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
    animation: wa-pulse 3s ease-in-out infinite;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37,211,102,0.55);
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
    50%       { box-shadow: 0 8px 32px rgba(37,211,102,0.6), 0 0 0 12px rgba(37,211,102,0.06); }
}

.back-top {
    position: fixed;
    bottom: 96px; right: 32px;
    z-index: 500;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--g-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--g-bd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-mid);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.back-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-top:hover {
    color: var(--violet-ll);
    border-color: rgba(168, 85, 247, 0.35);
}

/* ================================================
   GSAP INIT STATES (elements start hidden)
   ================================================ */
[data-gsap="fade-up"],
[data-gsap="stagger"] > * {
    opacity: 0;
    transform: translateY(32px);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .cards-row { grid-template-columns: 1fr; gap: 16px; }
    .card-about { flex-direction: row; gap: 20px; align-items: flex-start; }
    .card-icon { flex-shrink: 0; }

    .researcher {
        grid-template-columns: 280px 1fr;
        gap: 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gi-large { grid-column: span 2; height: 300px; }

    .why-grid { grid-template-columns: repeat(2, 1fr); }

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

    .combo-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .combo-features {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .security-bar { grid-template-columns: repeat(2, 1fr); }

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

    .contact-info { flex-direction: row; flex-wrap: wrap; }
    .contact-card { flex: 1; min-width: 200px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    .stats-glass { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item { border-bottom: 1px solid var(--g-bd); }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
}

@media (max-width: 768px) {
    :root { --nav-h: 60px; }

    .section { padding: 80px 0; }
    .container { padding: 0 20px; }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(8, 11, 28, 0.96);
        backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--g-bd);
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s var(--ease-out), opacity 0.35s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .btn-nav { display: none; }
    .mobile-toggle { display: flex; }

    .hero-content {
        padding: 0 20px;
        padding-top: var(--nav-h);
        text-align: center;
        max-width: 100%;
    }

    .floating-molecule { display: none; }

    .hero-actions { justify-content: center; }

    .hero-trust {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .trust-divider { display: none; }

    .scroll-indicator { display: none; }

    .stats-glass { grid-template-columns: repeat(2, 1fr); }

    .cards-row { grid-template-columns: 1fr; }
    .card-about { flex-direction: column; }

    .researcher {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .researcher-img-wrap { max-width: 280px; margin: 0 auto; }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gi-large { grid-column: span 1; height: 250px; }

    .gallery-item { height: 200px; }

    .why-grid { grid-template-columns: 1fr; gap: 2px; }

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

    .combo-features { grid-template-columns: repeat(2, 1fr); }

    .combo-body { padding: 32px 24px; }

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

    .security-bar { grid-template-columns: 1fr; }

    .contact-info { flex-direction: column; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .cursor, .cursor-dot { display: none; }

    body { cursor: auto; }
    button { cursor: pointer; }
    a { cursor: pointer; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.8rem, 12vw, 4rem);
    }

    .stat-num { font-size: 2.4rem; }

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

    .stats-glass { grid-template-columns: 1fr 1fr; }

    .combo-features { grid-template-columns: 1fr 1fr; }
}
