@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root { --electric: #00b8c9; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #ffffff;
}

.heading-font { font-family: 'Space Grotesk', sans-serif; }

::selection { background: rgba(0, 184, 201, 0.25); color: #0f172a; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.hero-wrap {
    background:
        radial-gradient(ellipse 90% 60% at 70% -10%, rgba(0, 184, 201, 0.08), transparent 60%),
        radial-gradient(ellipse 60% 50% at 15% 110%, rgba(16, 185, 129, 0.05), transparent 60%),
        #ffffff;
}

.page-hero {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 184, 201, 0.06), transparent 60%),
        #ffffff;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 184, 201, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 184, 201, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
}

.orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(90px);
    opacity: 0.3;
    pointer-events: none;
    animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(40px, -50px) scale(1.15); }
}

.powerline { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; }
.powerline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 30%;
    background: linear-gradient(90deg, transparent, var(--electric), transparent);
    animation: surge 3.2s linear infinite;
}
@keyframes surge {
    from { left: -30%; }
    to   { left: 100%; }
}

.text-glow {
    background: linear-gradient(180deg, #0f172a 30%, #0891b2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.accent-gradient {
    background: linear-gradient(90deg, #00b8c9, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .orb, .powerline::before, .marquee-track, .blade { animation: none !important; }
}

.hero-in { opacity: 0; transform: translateY(24px); animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-in.d1 { animation-delay: 0.1s; }
.hero-in.d2 { animation-delay: 0.25s; }
.hero-in.d3 { animation-delay: 0.4s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 184, 201, 0.4);
    box-shadow: 0 20px 60px -20px rgba(0, 184, 201, 0.15), 0 10px 30px -12px rgba(15, 23, 42, 0.08);
}
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 184, 201, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}
.card:hover::after { opacity: 1; }

.icon-chip {
    display: flex; align-items: center; justify-content: center;
    width: 3.25rem; height: 3.25rem;
    border-radius: 1rem;
    font-size: 1.25rem;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .icon-chip { transform: scale(1.1) rotate(-4deg); }

.nav-link { position: relative; color: #475569; transition: color 0.25s; }
.nav-link:hover, .nav-link.active { color: #0f172a; }
.nav-link:after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -4px; left: 0;
    background: var(--electric);
    transition: width 0.3s ease;
}
.nav-link:hover:after, .nav-link.active:after { width: 100%; }

#navbar { transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease; }
#navbar.scrolled { box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.08); }

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
.marquee-track { display: flex; gap: 4.5rem; width: max-content; animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.blade {
    transform-box: view-box;
    transform-origin: 50% 50%;
    animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ring-pulse { animation: ringPulse 3s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ringPulse {
    0% { opacity: 0.7; transform: scale(0.85); }
    100% { opacity: 0; transform: scale(1.25); }
}

.bar { width: 0; transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s; }
.bars-visible .bar { width: var(--w); }

.field {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
    padding: 1.15rem 1.5rem;
    color: #0f172a;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field::placeholder { color: #94a3b8; }
.field:focus {
    outline: none;
    border-color: rgba(0, 184, 201, 0.6);
    background: rgba(0, 184, 201, 0.03);
    box-shadow: 0 0 0 4px rgba(0, 184, 201, 0.1);
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #00f0ff, #2ee6c0);
    color: #000;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px -8px rgba(0, 240, 255, 0.45);
}
.btn-primary:active { transform: translateY(0) scale(0.985); }

.btn-ghost {
    border: 1px solid #cbd5e1;
    color: #0f172a;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.btn-ghost:hover { border-color: #0891b2; background: #f8fafc; transform: translateY(-2px); }

.scroll-cue { display: none; }
@media (min-width: 768px) and (min-height: 860px) {
    .scroll-cue { display: flex; }
}

/* ---------- HERO GRAPHIC ---------- */

.hero-visual {
    position: relative;
    pointer-events: none;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 10% 5%;
    background: radial-gradient(ellipse at center, rgba(0, 184, 201, 0.14), transparent 70%);
    filter: blur(32px);
    z-index: 0;
}

.hero-graphic {
    position: relative;
    z-index: 1;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.12));
}

/* Mobile / tablet hero image — full width, no height cap */
.hero-visual-mobile {
    position: relative;
    margin-left: -1rem;
    margin-right: -1rem;
    pointer-events: none;
}

.hero-graphic-mobile {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (min-width: 640px) {
    .hero-visual-mobile {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .hero-visual-mobile {
        max-width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1024px) {
    .hero-graphic {
        max-height: min(72vh, 680px);
        opacity: 1;
    }

    .hero-visual::before {
        inset: 5% 0;
        background: radial-gradient(ellipse at 60% 50%, rgba(0, 184, 201, 0.18), transparent 65%);
    }
}

.advantage-nav a {
    color: #64748b;
    transition: color 0.2s, border-color 0.2s;
    border-left: 2px solid transparent;
    padding-left: 1rem;
}
.advantage-nav a:hover, .advantage-nav a.active {
    color: #0891b2;
    border-left-color: #0891b2;
}

.team-card details summary { cursor: pointer; list-style: none; }
.team-card details summary::-webkit-details-marker { display: none; }
.team-card details[open] summary .chevron { transform: rotate(180deg); }

.credibility-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(0, 184, 201, 0.08), rgba(16, 185, 129, 0.06));
    border: 1px solid rgba(0, 184, 201, 0.35);
    box-shadow: 0 0 32px rgba(0, 184, 201, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
}

.credibility-badge-main {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #0f766e;
}

@media (min-width: 640px) {
    .credibility-badge-main { font-size: 0.8125rem; }
}

.credibility-badge-stat {
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    color: #64748b;
    padding-left: 1.75rem;
}

a.credibility-badge {
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

a.credibility-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -12px rgba(0, 184, 201, 0.35);
}

.credibility-badge-power {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06), rgba(255, 255, 255, 0.9));
    border-color: rgba(239, 68, 68, 0.3);
}

a.credibility-badge-power:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 8px 24px -12px rgba(239, 68, 68, 0.25);
}

.credibility-badge-power .credibility-badge-main {
    color: #b91c1c;
}

.argonne-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1.25rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    background: rgba(0, 184, 201, 0.08);
    border: 1px solid rgba(0, 184, 201, 0.2);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #0e7490;
}

.conceptual-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: rgba(100, 116, 139, 0.06);
    border: 1px solid rgba(100, 116, 139, 0.2);
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
}

.conceptual-note i {
    color: #94a3b8;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* ---------- FEATURED PRESS ---------- */

.press-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 1.5rem;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    text-decoration: none;
    color: inherit;
}

.press-card:hover {
    border-color: rgba(0, 184, 201, 0.45);
    box-shadow: 0 20px 50px -24px rgba(0, 184, 201, 0.25);
    transform: translateY(-3px);
}

.press-card-logo {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.25rem;
}

.press-card-photo {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}

.press-card-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0891b2;
    margin-bottom: 0.5rem;
}

.press-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.press-card-quote {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #64748b;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.press-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0891b2;
}

.press-card-argonne {
    background: linear-gradient(135deg, rgba(0, 184, 201, 0.06), #ffffff 55%);
}

.press-card-power {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.04), #ffffff 50%);
    border-color: rgba(239, 68, 68, 0.15);
}

.press-card-power:hover {
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 20px 50px -24px rgba(239, 68, 68, 0.15);
}

.press-card-power .press-card-eyebrow {
    color: #dc2626;
}

.press-card-power .press-card-cta {
    color: #dc2626;
}

/* ---------- MOBILE & TABLET ---------- */

@media (max-width: 1023px) {
    .credibility-badge {
        display: flex;
        width: 100%;
        max-width: 100%;
    }

    .credibility-badge-main {
        flex-wrap: wrap;
        row-gap: 0.35rem;
        font-size: 0.6875rem;
        letter-spacing: 0.045em;
        line-height: 1.35;
    }

    .credibility-badge-stat {
        padding-left: 0;
        line-height: 1.45;
    }

    .hero-visual::before {
        display: none;
    }

    .card:hover {
        transform: none;
    }
}

@media (max-width: 639px) {
    .conceptual-note {
        font-size: 0.8125rem;
        padding: 0.875rem 1rem;
    }

    .marquee-track {
        gap: 2.5rem;
        font-size: 0.75rem;
    }

    #navbar .heading-font {
        font-size: 1.25rem;
    }
}
