:root {
    --bg: #071018;
    --bg-soft: #0c1722;
    --surface: #111f2c;
    --surface-2: #162737;
    --text: #f5f7fa;
    --muted: #9eb0bf;
    --line: rgba(255,255,255,.10);
    --accent: #56d6c9;
    --accent-soft: rgba(86,214,201,.12);
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px max(
        24px,
        calc((100vw - var(--max)) / 2)
    );

    background: rgba(7,16,24,.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
    font-weight: 800;
    letter-spacing: -.04em;
}

.brand {
    font-size: 1.35rem;
}

.brand span,
.footer-brand span,
.hero h1 span {
    color: var(--accent);
}

.main-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.main-nav a {
    color: var(--muted);
    font-size: .9rem;
    transition: .2s ease;
}

.main-nav a:hover {
    color: var(--text);
}

.hero {
    min-height: 82vh;

    display: flex;
    align-items: center;

    padding:
        100px
        max(24px, calc((100vw - var(--max)) / 2));

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(86,214,201,.12),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #071018,
            #09131d
        );
}

.hero-content {
    max-width: 920px;
}

.eyebrow,
.section-code {
    color: var(--accent);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.hero h1 {
    margin: 14px 0;
    font-size: clamp(3.5rem, 8vw, 7.4rem);
    line-height: .95;
    letter-spacing: -.07em;
}

.hero-description {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 22px;

    border: 1px solid var(--line);
    border-radius: 8px;

    font-weight: 700;
}

.button.primary {
    background: var(--accent);
    color: #05100f;
    border-color: var(--accent);
}

.button.secondary {
    background: transparent;
}

.section {
    padding:
        110px
        max(24px, calc((100vw - var(--max)) / 2));
}

.section-dark {
    background: #09131d;
}

.section-heading {
    max-width: 850px;
    margin-bottom: 48px;
}

.section-heading h2,
.contact-section h2 {
    margin: 8px 0 16px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.section-heading > p:last-child,
.contact-section > div > p:last-child {
    color: var(--muted);
}

.institutional-grid,
.ecosystem-grid {
    display: grid;
    gap: 18px;
}

.institutional-grid {
    grid-template-columns: 2fr 1fr 1fr;
}

.ecosystem-grid {
    grid-template-columns: repeat(3, 1fr);
}

.card,
.large-card,
.sector-card,
.contact-placeholder {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.card,
.large-card {
    padding: 30px;
}

.card p,
.large-card p,
.sector-card p,
.contact-placeholder p {
    color: var(--muted);
}

.sector-card {
    position: relative;
    min-height: 330px;
    padding: 30px;

    display: flex;
    flex-direction: column;

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.sector-card:hover {
    transform: translateY(-4px);
    border-color: rgba(86,214,201,.45);
}

.sector-number {
    color: var(--accent);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.sector-card h3 {
    margin-top: 42px;
    font-size: 1.45rem;
}

.sector-link {
    margin-top: auto;
    padding: 0;

    border: 0;
    background: transparent;

    color: var(--accent);
    text-align: left;
    cursor: pointer;
}

.technology-flow {
    display: grid;
    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr auto
        1fr auto
        1fr;
    align-items: center;
    gap: 16px;
}

.technology-flow > div:not(.flow-arrow) {
    min-height: 130px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.technology-flow strong {
    color: var(--accent);
}

.flow-arrow {
    color: var(--muted);
}

.research-section {
    background:
        linear-gradient(
            135deg,
            rgba(86,214,201,.08),
            transparent 55%
        );
}

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

.research-status div {
    padding: 24px;
    border-top: 1px solid var(--line);
}

.research-status span {
    display: block;
    margin-bottom: 8px;

    color: var(--muted);
    font-size: .7rem;
    letter-spacing: .14em;
}

.contact-section {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 60px;
    align-items: center;
}

.contact-placeholder {
    padding: 34px;
}

.contact-placeholder span {
    color: var(--accent);
    font-size: .8rem;
}

.contact-placeholder strong {
    display: block;
    margin-top: 8px;
    font-size: 1.25rem;
}

footer {
    padding:
        40px
        max(24px, calc((100vw - var(--max)) / 2));

    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-brand {
    color: var(--text);
    font-size: 1.25rem;
}

.footer-status {
    font-size: .75rem;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0,0,0,.70);
    backdrop-filter: blur(8px);
}

.modal.open {
    display: flex;
}

.modal-panel {
    position: relative;

    width: min(640px, 100%);
    padding: 40px;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: var(--surface);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;

    border: 0;
    background: transparent;

    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
}

.modal-status {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 12px;

    border: 1px solid rgba(86,214,201,.30);
    border-radius: 6px;

    background: var(--accent-soft);
    color: var(--accent);

    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
}

@media (max-width: 1000px) {

    .main-nav {
        display: none;
    }

    .institutional-grid,
    .ecosystem-grid,
    .research-status,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .technology-flow {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        transform: rotate(90deg);
        text-align: center;
    }

}

@media (max-width: 600px) {

    .hero {
        min-height: 72vh;
    }

    .hero h1 {
        font-size: 3.3rem;
    }

    .section {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .sector-card {
        min-height: 270px;
    }

}

/* AZLN_LEGAL_FOOTER_STYLE_V1 */
.azln-legal-footer {
    width: 100%;
    margin-top: 48px;
    padding: 28px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.azln-legal-footer__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    text-align: center;
}

.azln-legal-footer__brand {
    margin: 0 0 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.azln-legal-footer__copyright {
    margin: 0 0 6px;
    font-size: 0.92rem;
    opacity: 0.82;
}

.azln-legal-footer__technology {
    margin: 0;
    font-size: 0.84rem;
    opacity: 0.62;
}

