* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #07111f;
    color: #f4f7fb;
    line-height: 1.6;
}

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


/* ============================================================
   HERO
   ============================================================ */

.hero {
    min-height: 760px;
    background:
        radial-gradient(
            circle at 78% 35%,
            rgba(25, 119, 255, 0.16),
            transparent 34%
        ),
        radial-gradient(
            circle at 18% 80%,
            rgba(0, 191, 255, 0.08),
            transparent 30%
        ),
        #07111f;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 17, 31, 0.96) 0%,
            rgba(7, 17, 31, 0.82) 48%,
            rgba(7, 17, 31, 0.25) 100%
        );
    pointer-events: none;
}

.hero-content {
    width: min(1400px, 92%);
    min-height: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.title-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.aec-logo {
    width: 340px;
    max-width: 80%;
    height: auto;
    object-fit: contain;
    margin-bottom: 28px;
}

.title-text {
    max-width: 720px;
}

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #36a9ff;
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(48px, 6vw, 88px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -3px;
    color: #ffffff;
}

h1 span {
    display: block;
    color: #2c9cff;
}

.hero-description {
    margin-top: 28px;
    max-width: 610px;
    font-size: 19px;
    color: #aebdce;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    background: #1688f7;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
    box-shadow: 0 10px 30px rgba(22, 136, 247, 0.22);
}

.primary-button:hover {
    background: #2b9bff;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(22, 136, 247, 0.32);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    border: 1px solid rgba(54, 169, 255, 0.45);
    background: rgba(255, 255, 255, 0.035);
    color: #dcecff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.secondary-button:hover {
    background: rgba(45, 157, 255, 0.10);
    border-color: rgba(54, 169, 255, 0.75);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(45, 157, 255, 0.12);
}

.hero-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.ndm-logo {
    width: min(620px, 100%);
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(
        0 25px 45px rgba(0, 0, 0, 0.35)
    );
}


/* ============================================================
   SECTIONS
   ============================================================ */

.section {
    padding: 110px 0;
}

.section-inner {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 60px;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #2d9dff;
    margin-bottom: 16px;
}

.section-heading h2 {
    font-size: clamp(38px, 4.5vw, 62px);
    line-height: 1.05;
    letter-spacing: -2px;
    color: #ffffff;
}

.section-heading p {
    margin-top: 22px;
    color: #91a2b5;
    font-size: 17px;
    max-width: 680px;
}


/* ============================================================
   WORKFLOW
   ============================================================ */

.workflow-section {
    background: #0a1626;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.workflow-card {
    min-height: 270px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.workflow-card:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 157, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.workflow-number {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2d9dff;
    margin-bottom: 45px;
}

.workflow-card h3 {
    font-size: 23px;
    margin-bottom: 13px;
}

.workflow-card p {
    color: #91a2b5;
    font-size: 15px;
    line-height: 1.7;
}


/* ============================================================
   FEATURES
   ============================================================ */

.features-section {
    background: #07111f;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 34px;
    min-height: 190px;
    border-left: 2px solid #1688f7;
    background: rgba(255, 255, 255, 0.025);
}

.feature-card h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #91a2b5;
    max-width: 560px;
}


/* ============================================================
   ARCHITECTURE
   ============================================================ */

.architecture-section {
    background: #0a1626;
}

.architecture-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.architecture-copy p {
    margin-top: 24px;
    color: #91a2b5;
    font-size: 17px;
    line-height: 1.8;
    max-width: 560px;
}

.architecture-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.architecture-node {
    width: 175px;
    min-height: 130px;
    padding: 24px 18px;
    border-radius: 12px;
    border: 1px solid rgba(45, 157, 255, 0.28);
    background: rgba(255, 255, 255, 0.025);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.architecture-node strong {
    font-size: 19px;
    letter-spacing: 1px;
}

.architecture-node span {
    margin-top: 8px;
    font-size: 12px;
    color: #8193a8;
}

.architecture-line {
    width: 45px;
    height: 1px;
    background: #2d9dff;
    position: relative;
}

.architecture-line::after {
    content: "";
    position: absolute;
    right: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #2d9dff;
    border-right: 1px solid #2d9dff;
    transform: rotate(45deg);
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: #050c15;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    width: min(1200px, 90%);
    min-height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-inner > div:first-child {
    display: flex;
    flex-direction: column;
}

.footer-inner strong {
    font-size: 13px;
    letter-spacing: 1.5px;
}

.footer-inner span {
    color: #718196;
    font-size: 12px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {

    .hero {
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 100px 0;
    }

    .hero-logo-area {
        min-height: auto;
        order: -1;
    }

    .ndm-logo {
        width: min(460px, 75%);
    }

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

    .architecture-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}


@media (max-width: 650px) {

    .hero-content {
        width: 88%;
        padding: 70px 0;
    }

    .aec-logo {
        width: 260px;
    }

    h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section {
        padding: 75px 0;
    }

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

    .architecture-flow {
        flex-direction: column;
    }

    .architecture-line {
        width: 1px;
        height: 35px;
    }

    .architecture-line::after {
        right: -4px;
        top: auto;
        bottom: 0;
        transform: rotate(135deg);
    }

    .footer-inner {
        padding: 25px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}
