:root {
    --bg: #07111f;
    --bg-soft: #0d1b2d;
    --bg-card: rgba(17, 32, 51, 0.78);
    --bg-light: #f5f8fc;

    --text: #f4f8ff;
    --text-soft: #9fb1c7;
    --text-dark: #122033;
    --text-dark-soft: #526278;

    --accent: #53d8ff;
    --accent-2: #8af7d1;
    --accent-dark: #0f9fca;

    --border: rgba(255,255,255,0.10);
    --border-light: rgba(18,32,51,0.11);

    --shadow: 0 25px 70px rgba(0,0,0,0.26);

    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 34px;

    --max-width: 1200px;

    --transition: 220ms ease;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--bg-light);
    color: var(--text-dark);

    line-height: 1.6;
    overflow-x: hidden;
}


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


button,
input,
textarea,
select {
    font: inherit;
}


img {
    display: block;
    max-width: 100%;
}


.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin-inline: auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    background: rgba(7, 17, 31, 0.74);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.07);
}


.header-inner {
    min-height: 82px;

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

    gap: 24px;
}


.brand {
    display: flex;
    align-items: center;

    gap: 14px;

    color: white;
}


.brand-mark {
    display: grid;
    place-items: center;

    min-width: 58px;
    height: 44px;

    padding-inline: 10px;

    border: 1px solid rgba(83,216,255,0.4);
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(83,216,255,0.18),
            rgba(138,247,209,0.07)
        );

    color: var(--accent);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 0.08em;
}


.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}


.brand-text strong {
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}


.brand-text span {
    margin-top: 5px;

    color: var(--text-soft);

    font-size: 0.67rem;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}


.main-nav {
    display: flex;
    align-items: center;

    gap: 24px;
}


.main-nav a {
    position: relative;

    color: #d8e5f3;

    font-size: 0.88rem;
    font-weight: 600;

    transition:
        color var(--transition),
        transform var(--transition);
}


.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;

    height: 2px;

    border-radius: 999px;

    background: var(--accent);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform var(--transition);
}


.main-nav a:hover {
    color: white;
}


.main-nav a:hover::after {
    transform: scaleX(1);
}


.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: rgba(255,255,255,0.05);
    color: white;

    cursor: pointer;
}


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

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 145px 0 90px;

    overflow: hidden;

    color: white;

    background:
        radial-gradient(
            circle at 76% 30%,
            rgba(83,216,255,0.17),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(138,247,209,0.08),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #050d18 0%,
            #07111f 45%,
            #0a1c30 100%
        );
}


.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.38;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );
}


.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    align-items: center;

    gap: 80px;
}


.eyebrow {
    margin: 0 0 14px;

    color: var(--accent);

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}


.hero h1 {
    max-width: 760px;

    margin: 0;

    font-size: clamp(3.7rem, 7vw, 7rem);
    line-height: 0.95;

    letter-spacing: -0.055em;

    font-weight: 800;
}


.hero h1 span {
    display: block;

    margin-top: 10px;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            var(--accent-2)
        );

    -webkit-background-clip: text;
    background-clip: text;
}


.hero-description {
    max-width: 700px;

    margin: 28px 0 0;

    color: #c4d1df;

    font-size: 1.13rem;
    line-height: 1.85;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;
}


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

    min-height: 52px;

    padding: 0 22px;

    border-radius: 13px;

    font-size: 0.9rem;
    font-weight: 750;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}


.btn:hover {
    transform: translateY(-2px);
}


.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--accent),
            #66e6dd
        );

    color: #06111f;

    box-shadow:
        0 14px 30px rgba(83,216,255,0.17);
}


.btn-secondary {
    border: 1px solid rgba(255,255,255,0.15);

    background: rgba(255,255,255,0.045);

    color: white;
}


.btn-secondary:hover {
    border-color: rgba(83,216,255,0.5);

    background: rgba(83,216,255,0.08);
}


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

.hero-panel {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 510px;
}


.hero-orbit {
    position: relative;

    width: min(430px, 100%);
    aspect-ratio: 1;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 1px solid rgba(83,216,255,0.13);

    background:
        radial-gradient(
            circle,
            rgba(83,216,255,0.10),
            rgba(255,255,255,0.015) 55%,
            transparent 70%
        );

    box-shadow:
        inset 0 0 80px rgba(83,216,255,0.055),
        0 0 100px rgba(83,216,255,0.06);
}


.hero-orbit::before,
.hero-orbit::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(83,216,255,0.13);
}


.hero-orbit::before {
    inset: 12%;
}


.hero-orbit::after {
    inset: 27%;
}


.orbit-core {
    position: relative;
    z-index: 2;

    width: 170px;
    height: 170px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    border-radius: 50%;

    border: 1px solid rgba(83,216,255,0.35);

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(83,216,255,0.24),
            rgba(6,18,32,0.94)
        );

    box-shadow:
        0 0 60px rgba(83,216,255,0.13);
}


.orbit-core span {
    color: var(--accent);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.16em;
}


.orbit-core strong {
    margin-top: 4px;

    color: white;

    font-size: 1.4rem;
}


.orbit-label {
    position: absolute;

    z-index: 3;

    padding: 9px 13px;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;

    background: rgba(9,23,39,0.88);

    color: #d9e8f5;

    font-size: 0.67rem;
    font-weight: 750;

    letter-spacing: 0.08em;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.24);
}


.orbit-1 {
    top: 9%;
    left: 42%;
}


.orbit-2 {
    top: 44%;
    right: -2%;
}


.orbit-3 {
    bottom: 9%;
    left: 34%;
}


.orbit-4 {
    top: 46%;
    left: -6%;
}


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

.section {
    padding: 110px 0;
}


.section-heading {
    max-width: 790px;

    margin-bottom: 55px;
}


.section-heading h2,
.vision-section h2,
.contact-box h2 {
    margin: 0;

    color: var(--text-dark);

    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.08;

    letter-spacing: -0.035em;
}


.section-heading > p:last-child {
    margin: 22px 0 0;

    color: var(--text-dark-soft);

    font-size: 1.06rem;
    line-height: 1.8;
}


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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


.feature-card {
    position: relative;

    min-height: 270px;

    padding: 28px;

    border: 1px solid var(--border-light);
    border-radius: var(--radius);

    background: white;

    box-shadow:
        0 12px 35px rgba(16,34,58,0.06);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.feature-card:hover {
    transform: translateY(-5px);

    border-color: rgba(15,159,202,0.25);

    box-shadow:
        0 22px 46px rgba(16,34,58,0.09);
}


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

    width: 42px;
    height: 42px;

    margin-bottom: 40px;

    border-radius: 50%;

    background: #eef8fc;

    color: var(--accent-dark);

    font-size: 0.78rem;
    font-weight: 800;
}


.feature-card h3 {
    margin: 0;

    font-size: 1.25rem;
}


.feature-card p {
    margin: 14px 0 0;

    color: var(--text-dark-soft);

    line-height: 1.75;
}


/* =========================
   NEXUS SECTION
========================= */

.section-dark {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(83,216,255,0.09),
            transparent 30%
        ),
        #081422;

    color: white;
}


.section-dark .section-heading h2 {
    color: white;
}


.section-dark .section-heading > p:last-child {
    color: #afc0d1;
}


.nexus-box {
    position: relative;

    padding: 2px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            rgba(83,216,255,0.65),
            rgba(138,247,209,0.15),
            rgba(255,255,255,0.04)
        );
}


.nexus-core {
    min-height: 320px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 50px;

    text-align: center;

    border-radius: calc(var(--radius-lg) - 2px);

    background:
        radial-gradient(
            circle at center,
            rgba(83,216,255,0.13),
            rgba(8,20,34,0.97) 55%
        );
}


.nexus-core small {
    color: var(--accent);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.17em;
}


.nexus-core strong {
    margin-top: 10px;

    font-size: clamp(2rem, 4vw, 4rem);

    letter-spacing: -0.04em;
}


.nexus-core p {
    max-width: 660px;

    margin: 24px auto 0;

    color: #b6c8d9;

    font-size: 1.02rem;
    line-height: 1.8;
}


/* =========================
   PRODUCTS
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}


.product-card {
    position: relative;

    min-height: 285px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    border: 1px solid var(--border-light);
    border-radius: var(--radius);

    background: white;

    box-shadow:
        0 14px 35px rgba(16,34,58,0.055);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


.product-card:hover {
    transform: translateY(-4px);

    border-color: rgba(15,159,202,0.26);

    box-shadow:
        0 22px 46px rgba(16,34,58,0.085);
}


.product-tag {
    color: var(--accent-dark);

    font-size: 0.67rem;
    font-weight: 800;

    letter-spacing: 0.14em;
}


.product-card h3 {
    margin: 12px 0 0;

    font-size: 1.7rem;
    letter-spacing: -0.02em;
}


.product-card p {
    margin: 16px 0 26px;

    color: var(--text-dark-soft);

    line-height: 1.75;
}


.product-status {
    align-self: flex-start;

    margin-top: auto;

    padding: 7px 10px;

    border-radius: 999px;

    background: #eef8fc;

    color: #147fa3;

    font-size: 0.69rem;
    font-weight: 800;

    letter-spacing: 0.04em;
}


/* =========================
   VISION
========================= */

.vision-section {
    background:
        linear-gradient(
            135deg,
            #edf7fb 0%,
            #f8fbfd 55%,
            #effaf7 100%
        );
}


.vision-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;

    gap: 80px;
}


.vision-text {
    padding-top: 42px;
}


.vision-text p {
    margin: 0;

    color: var(--text-dark-soft);

    font-size: 1.06rem;
    line-height: 1.85;
}


.vision-text p + p {
    margin-top: 22px;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    background: #f7f9fc;
}


.contact-box {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    gap: 60px;

    padding: 54px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            #081422,
            #0c2035
        );

    color: white;

    box-shadow: var(--shadow);
}


.contact-box h2 {
    color: white;
}


.contact-box > div:first-child > p:last-child {
    max-width: 650px;

    margin-top: 20px;

    color: #b9c9da;
}


.contact-details {
    align-self: center;

    padding: 28px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);

    background: rgba(255,255,255,0.035);
}


.contact-details p {
    margin: 8px 0;

    color: #c5d5e4;
}


.contact-details strong {
    color: white;

    font-size: 1.1rem;
}


.placeholder {
    opacity: 0.72;
}


/* =========================
   CORPORATE INFO
========================= */

.corporate-section {
    padding: 80px 0 105px;

    background: #f7f9fc;
}


.corporate-box {
    padding: 40px;

    border: 1px solid var(--border-light);
    border-radius: var(--radius);

    background: white;

    box-shadow:
        0 14px 34px rgba(16,34,58,0.045);
}


.corporate-box h2 {
    margin: 0 0 30px;

    font-size: 1.8rem;
}


.corporate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


.corporate-grid > div {
    padding: 19px;

    border: 1px solid #edf1f5;
    border-radius: var(--radius-sm);

    background: #fbfcfe;
}


.corporate-grid span {
    display: block;

    margin-bottom: 5px;

    color: #8290a3;

    font-size: 0.74rem;
    font-weight: 700;

    letter-spacing: 0.045em;

    text-transform: uppercase;
}


.corporate-grid strong {
    color: #1b2d42;

    font-size: 0.92rem;
}


.corporate-note {
    margin: 28px 0 0;

    padding-top: 24px;

    border-top: 1px solid #edf1f5;

    color: #738297;

    font-size: 0.87rem;
}


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

.site-footer {
    padding: 38px 0;

    background: #050c16;

    color: white;

    border-top: 1px solid rgba(255,255,255,0.055);
}


.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.site-footer strong {
    font-size: 0.98rem;
}


.site-footer p {
    margin: 4px 0 0;

    color: #72879d;

    font-size: 0.74rem;
}


.footer-right {
    color: #8498ac;

    font-size: 0.77rem;
}


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

@media (max-width: 980px) {

    .main-nav {
        position: absolute;

        top: 82px;
        left: 20px;
        right: 20px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 12px;

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

        background: rgba(7,17,31,0.97);

        box-shadow: var(--shadow);
    }


    .main-nav.is-open {
        display: flex;
    }


    .main-nav a {
        padding: 13px 12px;
    }


    .main-nav a::after {
        display: none;
    }


    .menu-toggle {
        display: grid;
        place-items: center;
    }


    .hero-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .hero-panel {
        min-height: auto;

        padding-top: 20px;
    }


    .hero-orbit {
        width: min(390px, 92vw);
    }


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


    .vision-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .vision-text {
        padding-top: 0;
    }


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

}


@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, var(--max-width));
    }


    .brand-text span {
        display: none;
    }


    .hero {
        padding-top: 120px;
        padding-bottom: 70px;
    }


    .hero h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }


    .hero-description {
        font-size: 1rem;
    }


    .hero-actions {
        flex-direction: column;
    }


    .btn {
        width: 100%;
    }


    .hero-panel {
        padding-top: 10px;
    }


    .hero-orbit {
        width: min(320px, 88vw);
    }


    .orbit-core {
        width: 135px;
        height: 135px;
    }


    .orbit-core strong {
        font-size: 1.15rem;
    }


    .orbit-label {
        font-size: 0.57rem;
    }


    .section {
        padding: 78px 0;
    }


    .section-heading {
        margin-bottom: 38px;
    }


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


    .contact-box {
        padding: 30px 22px;
    }


    .corporate-box {
        padding: 26px 20px;
    }


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


    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* =========================================================
   P-DJD WEBSITE V1.1 REFINEMENTS
========================================================= */

/* HEADER: keep premium navy appearance consistently */
.site-header {
    background: rgba(5, 14, 25, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        background 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.site-header.scrolled {
    background: rgba(5, 14, 25, 0.985);

    border-bottom-color: rgba(83,216,255,0.11);

    box-shadow:
        0 14px 35px rgba(0,0,0,0.18);
}


/* HERO: slightly more restrained corporate scale */
.hero h1 {
    font-size: clamp(3.4rem, 6.2vw, 6.4rem);
}


/* NEXUS orbit gets a subtle living-system feel */
.hero-orbit {
    animation: nexusBreath 7s ease-in-out infinite;
}

.hero-orbit::before {
    animation: orbitPulseOne 8s ease-in-out infinite;
}

.hero-orbit::after {
    animation: orbitPulseTwo 10s ease-in-out infinite;
}

.orbit-core {
    animation: coreGlow 5.5s ease-in-out infinite;
}

.orbit-label {
    transition:
        transform 250ms ease,
        border-color 250ms ease,
        background 250ms ease,
        box-shadow 250ms ease;
}

.orbit-label:hover {
    transform: translateY(-3px) scale(1.035);

    border-color: rgba(83,216,255,0.38);

    background: rgba(10, 31, 49, 0.98);

    box-shadow:
        0 12px 34px rgba(0,0,0,0.25),
        0 0 24px rgba(83,216,255,0.10);
}


/* New ESTIA orbit node */
.orbit-5 {
    right: 7%;
    bottom: 18%;
}


/* Product cards get a tiny premium accent */
.product-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 30px;
    right: 30px;

    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(83,216,255,0.55),
            transparent
        );

    opacity: 0;

    transition: opacity 220ms ease;
}

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


/* Corporate legal name should never feel truncated */
.corporate-grid strong {
    overflow-wrap: anywhere;
}


/* Slightly cleaner footer spacing */
.site-footer {
    margin-top: 0;
}


/* Animations */
@keyframes nexusBreath {
    0%, 100% {
        box-shadow:
            inset 0 0 80px rgba(83,216,255,0.055),
            0 0 100px rgba(83,216,255,0.06);
    }

    50% {
        box-shadow:
            inset 0 0 95px rgba(83,216,255,0.085),
            0 0 125px rgba(83,216,255,0.095);
    }
}


@keyframes orbitPulseOne {
    0%, 100% {
        opacity: 0.75;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.018);
    }
}


@keyframes orbitPulseTwo {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 0.92;
        transform: scale(0.985);
    }
}


@keyframes coreGlow {
    0%, 100% {
        box-shadow:
            0 0 60px rgba(83,216,255,0.13);
    }

    50% {
        box-shadow:
            0 0 78px rgba(83,216,255,0.20);
    }
}


/* Respect accessibility preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.001ms !important;
    }
}


/* Mobile orbit rebalance */
@media (max-width: 700px) {

    .orbit-5 {
        right: 0%;
        bottom: 21%;
    }

}

/* =========================================================
   V1.1 SECTION NAVIGATION FIX
========================================================= */

/* Leave room for the fixed header when jumping to anchors */
section {
    scroll-margin-top: 96px;
}

/* Slightly tighter vertical rhythm for one-screen navigation */
#ecosystem,
#solutions,
#vision,
#contact {
    padding-top: 72px;
    padding-bottom: 72px;
}

/* Keep the company section balanced too */
#company {
    padding-top: 72px;
    padding-bottom: 72px;
}

/* Reduce excessive blank space in vision */
#vision {
    min-height: auto;
}

/* Smooth navigation */
html {
    scroll-behavior: smooth;
}

/* Desktop refinement */
@media (min-width: 981px) {

    #ecosystem,
    #vision {
        min-height: calc(100vh - 80px);
        display: flex;
        align-items: center;
    }

    #ecosystem > .container,
    #vision > .container {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 980px) {

    section {
        scroll-margin-top: 82px;
    }

    #ecosystem,
    #solutions,
    #vision,
    #contact,
    #company {
        padding-top: 58px;
        padding-bottom: 58px;
    }
}


/* =========================================================
   V1.1 COMPACT SECTION HEIGHT
========================================================= */

/* More compact main sections */
#ecosystem,
#vision {
    min-height: auto !important;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}

/* Solutions: tighter spacing without squeezing the cards */
#solutions {
    padding-top: 46px !important;
    padding-bottom: 54px !important;
}

/* Reduce large internal gaps */
#ecosystem .section-heading,
#solutions .section-heading,
#vision .section-heading {
    margin-bottom: 28px !important;
}

/* NEXUS core box becomes more compact */
#ecosystem .ecosystem-core,
#ecosystem .nexus-core,
#ecosystem .core-platform {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
    min-height: auto !important;
}

/* Vision should fit much better in one screen */
#vision .vision-grid {
    gap: 52px !important;
    align-items: start !important;
}

/* Slightly tighter typography spacing */
#ecosystem h2,
#solutions h2,
#vision h2 {
    margin-bottom: 20px !important;
}

#ecosystem p,
#solutions p,
#vision p {
    margin-bottom: 14px;
}

/* Desktop: avoid forcing sections to full viewport height */
@media (min-width: 981px) {

    #ecosystem,
    #vision {
        min-height: 0 !important;
        display: block !important;
    }

}

/* Mobile keeps breathing room */
@media (max-width: 980px) {

    #ecosystem,
    #solutions,
    #vision {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }

}

/* =========================================================
   V1.1 ULTRA COMPACT SECTIONS
========================================================= */

#ecosystem,
#solutions,
#vision {
    min-height: 0 !important;
    padding-top: 24px !important;
    padding-bottom: 28px !important;
}

/* Section headings */
#ecosystem .section-heading,
#solutions .section-heading,
#vision .section-heading {
    margin-bottom: 16px !important;
}

#ecosystem h2,
#solutions h2,
#vision h2 {
    margin-top: 6px !important;
    margin-bottom: 10px !important;
    line-height: 1.05 !important;
}

/* Intro paragraphs */
#ecosystem .section-heading p,
#solutions .section-heading p {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    line-height: 1.55 !important;
}

/* NEXUS main core box */
#ecosystem .ecosystem-core,
#ecosystem .nexus-core,
#ecosystem .core-platform {
    min-height: 0 !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    margin-top: 18px !important;
}

/* Solutions cards: substantially shorter */
#solutions .product-card {
    min-height: 0 !important;
    padding-top: 22px !important;
    padding-bottom: 20px !important;
}

#solutions .product-card h3 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

#solutions .product-card p {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    line-height: 1.5 !important;
}

#solutions .products-grid,
#solutions .solutions-grid {
    gap: 16px !important;
}

/* Vision: remove the huge vertical footprint */
#vision .vision-grid {
    gap: 38px !important;
    min-height: 0 !important;
    align-items: center !important;
}

#vision .vision-grid h2 {
    margin-bottom: 0 !important;
}

#vision .vision-grid p {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    line-height: 1.55 !important;
}

/* Never force these sections to viewport height */
@media (min-width: 981px) {

    #ecosystem,
    #solutions,
    #vision {
        display: block !important;
        min-height: 0 !important;
        height: auto !important;
    }

}

/* Keep mobile comfortable */
@media (max-width: 980px) {

    #ecosystem,
    #solutions,
    #vision {
        padding-top: 32px !important;
        padding-bottom: 34px !important;
    }

}

/* =========================================================
   V1.1 FINAL HEIGHT TUNING
   SOLUTIONS -40% | VISION -60%
========================================================= */


/* ---------- SOLUTIONS : -40% ---------- */

#solutions {
    padding-top: 14px !important;
    padding-bottom: 17px !important;
}

#solutions .section-heading {
    margin-bottom: 10px !important;
}

#solutions .section-heading h2 {
    margin-top: 3px !important;
    margin-bottom: 6px !important;
}

#solutions .section-heading p {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
}

#solutions .products-grid,
#solutions .solutions-grid {
    gap: 10px !important;
}

#solutions .product-card {
    min-height: 0 !important;
    padding-top: 13px !important;
    padding-bottom: 12px !important;
}

#solutions .product-card h3 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

#solutions .product-card p {
    margin-top: 0 !important;
    margin-bottom: 7px !important;
    line-height: 1.35 !important;
}

#solutions .product-tag {
    margin-bottom: 5px !important;
}

#solutions .product-status {
    margin-top: 4px !important;
}


/* ---------- VISION : -60% ---------- */

#vision {
    min-height: 0 !important;
    height: auto !important;

    padding-top: 10px !important;
    padding-bottom: 11px !important;
}

#vision .section-heading {
    margin-bottom: 5px !important;
}

#vision .vision-grid {
    min-height: 0 !important;
    height: auto !important;

    gap: 24px !important;

    align-items: center !important;
}

#vision .vision-grid h2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    line-height: 1.02 !important;
}

#vision .vision-grid p {
    margin-top: 0 !important;
    margin-bottom: 6px !important;

    line-height: 1.4 !important;
}


/* Desktop only */
@media (min-width: 981px) {

    #solutions,
    #vision {
        min-height: 0 !important;
        height: auto !important;
        display: block !important;
    }

}


/* Do not over-compress mobile */
@media (max-width: 980px) {

    #solutions {
        padding-top: 28px !important;
        padding-bottom: 30px !important;
    }

    #vision {
        padding-top: 28px !important;
        padding-bottom: 30px !important;
    }

}

/* =========================================================
   V1.1 FINAL COMPACT -25%
========================================================= */

/* SOLUTIONS: additional -25% */
#solutions {
    padding-top: 10px !important;
    padding-bottom: 12px !important;
}

#solutions .section-heading {
    margin-bottom: 7px !important;
}

#solutions .products-grid,
#solutions .solutions-grid {
    gap: 7px !important;
}

#solutions .product-card {
    padding-top: 10px !important;
    padding-bottom: 9px !important;
}

#solutions .product-card h3 {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

#solutions .product-card p {
    margin-bottom: 5px !important;
    line-height: 1.28 !important;
}

#solutions .product-tag {
    margin-bottom: 4px !important;
}


/* VISION: additional -25% */
#vision {
    padding-top: 7px !important;
    padding-bottom: 8px !important;
}

#vision .vision-grid {
    gap: 18px !important;
}

#vision .vision-grid p {
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
}


/* Keep mobile readable */
@media (max-width: 980px) {

    #solutions,
    #vision {
        padding-top: 26px !important;
        padding-bottom: 28px !important;
    }

}

/* =========================================================
   V1.1 TARGET COMPRESSION
   SOLUTIONS -35% | VISION -45%
========================================================= */


/* ================= SOLUTIONS -35% ================= */

#solutions {
    padding-top: 6px !important;
    padding-bottom: 7px !important;
}

#solutions .section-heading {
    margin-bottom: 5px !important;
}

#solutions .section-heading h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.6rem) !important;
    line-height: 1 !important;
    margin: 2px 0 4px !important;
}

#solutions .section-heading p {
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}

#solutions .products-grid,
#solutions .solutions-grid {
    gap: 5px !important;
}

#solutions .product-card {
    padding: 8px 18px !important;
    min-height: 0 !important;
}

#solutions .product-tag {
    font-size: 0.66rem !important;
    margin-bottom: 3px !important;
}

#solutions .product-card h3 {
    font-size: 1.35rem !important;
    line-height: 1.05 !important;
    margin: 3px 0 4px !important;
}

#solutions .product-card p {
    font-size: 0.86rem !important;
    line-height: 1.22 !important;
    margin: 0 0 5px !important;
}

#solutions .product-status {
    font-size: 0.66rem !important;
    margin-top: 2px !important;
}


/* ================= VISION -45% ================= */

#vision {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

#vision .vision-grid {
    min-height: 0 !important;
    height: auto !important;
    gap: 18px !important;
    align-items: center !important;
}

#vision .section-kicker {
    margin-bottom: 3px !important;
}

#vision h2 {
    font-size: clamp(2.5rem, 4.5vw, 4.7rem) !important;
    line-height: 0.98 !important;
    margin: 0 !important;
}

#vision p {
    font-size: 0.92rem !important;
    line-height: 1.28 !important;
    margin: 0 0 5px !important;
}


/* Desktop only */
@media (min-width: 981px) {

    #solutions,
    #vision {
        min-height: 0 !important;
        height: auto !important;
        display: block !important;
    }
}


/* Mobile remains readable */
@media (max-width: 980px) {

    #solutions,
    #vision {
        padding: 24px 0 !important;
    }

    #solutions .product-card {
        padding: 18px !important;
    }
}


/* =========================================================
   V1.1 VISION POSITION + TYPOGRAPHY FINAL
========================================================= */

/* Land a little lower when clicking "Όραμα" */
#vision {
    scroll-margin-top: 125px !important;
}

/* Smaller vision headline */
#vision h2 {
    font-size: clamp(2.4rem, 3.7vw, 3.9rem) !important;
    line-height: 1.02 !important;
    margin: 0 !important;
}

/* Slightly smaller supporting copy */
#vision p {
    font-size: 0.88rem !important;
    line-height: 1.32 !important;
}

/* Keep the two columns balanced */
#vision .vision-grid {
    gap: 28px !important;
    align-items: center !important;
}


/* =========================================================
   V1.1 ONE CLICK = ONE SECTION
========================================================= */

/* One desktop viewport per main section */
@media (min-width: 981px) {

    #solutions,
    #vision {
        box-sizing: border-box !important;
        min-height: calc(100vh - 82px) !important;
    }

    /* SOLUTIONS:
       content stays exactly as it is,
       but the next section will no longer peek through */
    #solutions {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    #solutions > .container {
        width: 100% !important;
    }


    /* VISION:
       one clean screen */
    #vision {
        display: flex !important;
        align-items: center !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    #vision > .container {
        width: 100% !important;
    }

    /* Smaller vision statement */
    #vision h2 {
        font-size: clamp(2.6rem, 3.5vw, 3.8rem) !important;
        line-height: 1.02 !important;
    }

    #vision p {
        font-size: 0.92rem !important;
        line-height: 1.45 !important;
    }

}


/* Correct landing below fixed header */
#solutions,
#vision {
    scroll-margin-top: 82px !important;
}


/* =========================================================
   V1.2 LANGUAGE SWITCH
========================================================= */

.language-switch {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: 14px;
    white-space: nowrap;
}

.lang-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.58);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    padding: 4px 2px;
    transition:
        color 180ms ease,
        opacity 180ms ease;
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.is-active {
    color: #53d8ff;
}

.lang-divider {
    color: rgba(255,255,255,0.22);
    font-size: 0.76rem;
    user-select: none;
}

/* Keep header balanced on desktop */
@media (min-width: 981px) {

    .header-inner {
        gap: 18px;
    }

    .main-nav {
        margin-left: auto;
    }

}

/* Mobile */
@media (max-width: 980px) {

    .language-switch {
        margin-left: auto;
        margin-right: 12px;
    }

}

/* =========================================================
   V1.3 P-DJD PHILOSOPHY
========================================================= */

.philosophy-section {
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(83, 216, 255, 0.08) 0%,
        rgba(83, 216, 255, 0) 70%
    );
    top: -180px;
    right: -180px;
    pointer-events: none;
}

.philosophy-section .section-heading {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.philosophy-intro {
    max-width: 820px;
}

.philosophy-pillars {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 42px;
}

.philosophy-card {
    position: relative;
    min-height: 230px;
    padding: 30px 28px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        );
    backdrop-filter: blur(10px);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        background 220ms ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    border-color: rgba(83,216,255,0.30);
    background:
        linear-gradient(
            145deg,
            rgba(83,216,255,0.06),
            rgba(255,255,255,0.02)
        );
}

.pillar-number {
    display: block;
    margin-bottom: 26px;
    color: #53d8ff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.philosophy-card h3 {
    margin: 0 0 14px;
    font-size: 1.12rem;
    letter-spacing: 0.08em;
}

.philosophy-card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.67);
}


/* =========================================================
   V1.3 RESPONSIBLE AI
========================================================= */

.responsible-ai-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(3, 10, 20, 0.96),
            rgba(5, 15, 29, 0.98)
        );
}

.responsible-ai-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            120deg,
            rgba(83,216,255,0.035),
            transparent 38%
        );
    pointer-events: none;
}

.responsible-ai-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
    gap: 68px;
    align-items: center;
}

.responsible-ai-grid h2 {
    margin-bottom: 24px;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1.04;
}

.responsible-ai-grid > div > p:not(.eyebrow) {
    max-width: 850px;
    color: rgba(255,255,255,0.70);
    line-height: 1.7;
}

.responsible-ai-statement {
    margin-top: 26px !important;
    padding-left: 20px;
    border-left: 2px solid #53d8ff;
    color: rgba(255,255,255,0.88) !important;
}

.responsible-ai-principles {
    position: relative;
    padding: 32px;
    border: 1px solid rgba(83,216,255,0.22);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(83,216,255,0.07),
            rgba(255,255,255,0.025)
        );
    box-shadow:
        0 30px 70px rgba(0,0,0,0.22);
}

.ai-act-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 11px;
    margin-bottom: 18px;
    border: 1px solid rgba(83,216,255,0.24);
    border-radius: 999px;
    background: rgba(83,216,255,0.06);
    color: #53d8ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.responsible-ai-principles h3 {
    margin: 0 0 24px;
    font-size: 1.45rem;
    line-height: 1.2;
}

.responsible-ai-principles ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.responsible-ai-principles li {
    position: relative;
    padding: 13px 0 13px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.82);
    font-size: 0.94rem;
}

.responsible-ai-principles li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #53d8ff;
    transform: translateY(-50%);
    box-shadow: 0 0 14px rgba(83,216,255,0.7);
}

.responsible-ai-principles li:last-child {
    border-bottom: 0;
}

.ai-act-link {
    display: inline-flex;
    align-items: center;
    margin-top: 26px;
    color: #53d8ff;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.ai-act-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}


/* =========================================================
   V1.3 RESPONSIVE
========================================================= */

@media (max-width: 980px) {
    .philosophy-pillars {
        grid-template-columns: 1fr;
    }

    .responsible-ai-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .responsible-ai-principles {
        max-width: 620px;
    }
}

@media (max-width: 640px) {
    .philosophy-card,
    .responsible-ai-principles {
        padding: 24px 22px;
    }

    .responsible-ai-grid h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }
}

/* Anchor alignment for fixed header */
#philosophy,
#responsible-ai {
    scroll-margin-top: 82px;
}

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card-link .product-card {
    height: 100%;
}