
:root {
    --xcore-bg: #07162d;
    --xcore-surface: #0b203c;
    --xcore-surface-hover: #102947;
    --xcore-blue: #1b4fa8;
    --xcore-gold: #cfae35;
    --xcore-text: #f4f7fc;
    --xcore-muted: #a9b8ce;
    --xcore-border: rgba(147, 173, 210, 0.17);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--xcore-bg);
    color: var(--xcore-text);
    font-family: "Segoe UI", Arial, sans-serif;
    padding-top: 72px;
}

a {
    text-decoration: none;
}

.xcore-home {
    overflow: hidden;
    background: var(--xcore-bg);
}

/* Navbar */

.xcore-navbar {
    background: rgba(7, 22, 45, 0.96);
    border-bottom: 1px solid var(--xcore-border);
    backdrop-filter: blur(14px);
}

.xcore-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--xcore-text) !important;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
}

    .xcore-brand img {
        width: 40px;
    }

.xcore-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--xcore-gold);
    color: var(--xcore-bg);
    font-size: 1.25rem;
    font-weight: 900;
}

.xcore-navbar .nav-link {
    color: var(--xcore-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

    .xcore-navbar .nav-link:hover,
    .xcore-navbar .nav-link:focus {
        color: var(--xcore-gold);
    }

.xcore-navbar .navbar-toggler {
    border-color: var(--xcore-border);
}

    .xcore-navbar .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

.xcore-navbar .navbar-toggler-icon {
    /*filter: invert(1);*/
    border-color: var(--xcore-border);
}

/* Hero */

.hero-section {
    position: relative;
    padding: 100px 0 110px;
    background: radial-gradient( ellipse at 80% 45%, rgba(27, 79, 168, 0.16), transparent 42% ), var(--xcore-bg);
}

.hero-label,
.section-eyebrow {
    color: var(--xcore-gold);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--xcore-gold);
    box-shadow: 0 0 12px rgba(207, 174, 53, 0.7);
}

.hero-title {
    max-width: 780px;
    margin: 0 0 24px;
    color: var(--xcore-text);
    font-size: clamp(2.7rem, 5vw, 4.65rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -2.5px;
}

    .hero-title span,
    .section-heading h2 span,
    .about-panel h2 span {
        color: var(--xcore-gold);
    }

.hero-description {
    max-width: 570px;
    margin-bottom: 32px;
    color: var(--xcore-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-xcore-primary,
.btn-xcore-outline {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 650;
    transition: all 0.2s ease;
}

.btn-xcore-primary {
    background: var(--xcore-gold);
    color: var(--xcore-bg);
}

    .btn-xcore-primary:hover {
        background: #e0c35e;
        color: var(--xcore-bg);
        transform: translateY(-2px);
    }

.btn-xcore-outline {
    border-color: var(--xcore-border);
    color: var(--xcore-text);
}

    .btn-xcore-outline:hover {
        border-color: var(--xcore-gold);
        color: var(--xcore-gold);
    }

.hero-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 55px;
    color: #8194af;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
}

.caption-line {
    width: 35px;
    height: 1px;
    background: var(--xcore-gold);
}

/* Hero visual */

.hero-visual {
    position: relative;
    display: flex;
    min-height: 430px;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.visual-grid {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image: linear-gradient(rgba(105, 145, 200, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(105, 145, 200, 0.07) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(ellipse, black 15%, transparent 72%);
}

.visual-glow {
    position: absolute;
    z-index: -1;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(27, 79, 168, 0.25);
    filter: blur(55px);
}

.core-symbol {
    display: flex;
    width: 150px;
    height: 150px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(207, 174, 53, 0.65);
    border-radius: 30px;
    background: linear-gradient(145deg, #153c72, #081a34);
    box-shadow: 0 0 60px rgba(27, 79, 168, 0.3), inset 0 0 30px rgba(207, 174, 53, 0.05);
    transform: rotate(-8deg);
}

    .core-symbol img {
        font-size: 6rem;
        font-weight: 800;
        width: 100px;
    }

    .core-symbol span {
        color: var(--xcore-gold);
        font-size: 5rem;
        font-weight: 800;
        transform: rotate(8deg);
    }

.orbit {
    position: absolute;
    border: 1px solid rgba(88, 132, 196, 0.25);
    border-radius: 50%;
    transform: rotate(-28deg);
}

.orbit-one {
    width: 330px;
    height: 190px;
}

.orbit-two {
    width: 390px;
    height: 250px;
    transform: rotate(35deg);
}

.floating-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--xcore-border);
    border-radius: 8px;
    background: rgba(11, 32, 60, 0.94);
    color: var(--xcore-text);
    font-size: 0.8rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.node-icon,
.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .node-icon svg,
    .product-icon svg {
        display: block;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

.node-top {
    top: 10px;
    left: 25%;
}

.node-right {
    top: 35%;
    right: -1%;
}

.node-bottom {
    bottom: 40px;
    left: 20%;
}

.node-left {
    top: 50%;
    left: -3%;
    transform: translateY(-50%);
}

/* Ecosystem */

.ecosystem-section {
    padding: 90px 0;
    border-top: 1px solid var(--xcore-border);
    background: #091a33;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 38px;
}

.section-eyebrow {
    margin-bottom: 15px;
}

.section-heading h2,
.about-panel h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -1px;
}

.section-heading > p {
    max-width: 390px;
    margin: 0 0 3px;
    color: var(--xcore-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.product-card {
    height: 100%;
    padding: 27px 23px;
    border: 1px solid var(--xcore-border);
    border-radius: 10px;
    background: var(--xcore-surface);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        border-color: rgba(207, 174, 53, 0.5);
        background: var(--xcore-surface-hover);
    }

.product-icon {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(207, 174, 53, 0.3);
    border-radius: 8px;
    background: rgba(207, 174, 53, 0.08);
    color: var(--xcore-gold);
    font-size: 1.15rem;
    font-weight: 750;
}

.worker-symbol {
    font-size: 1.8rem;
}

.product-category {
    min-height: 18px;
    margin-bottom: 9px;
    color: #8da4c3;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-card h3 {
    margin-bottom: 12px;
    color: var(--xcore-text);
    font-size: 1.35rem;
    font-weight: 700;
}

.product-card p {
    min-height: 82px;
    margin-bottom: 23px;
    color: var(--xcore-muted);
    font-size: 0.86rem;
    line-height: 1.8;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--xcore-gold);
    font-size: 0.82rem;
    font-weight: 650;
}

    .product-link span {
        transition: transform 0.2s ease;
    }

    .product-link:hover {
        color: #e0c35e;
    }

        .product-link:hover span {
            transform: translateX(4px);
        }

/* About */

.about-section {
    padding: 80px 0;
    background: var(--xcore-bg);
}

.about-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 48px;
    border: 1px solid var(--xcore-border);
    border-radius: 12px;
    background: radial-gradient( ellipse at 100% 0%, rgba(27, 79, 168, 0.18), transparent 50% ), var(--xcore-surface);
}

    .about-panel > div:first-child {
        max-width: 720px;
    }

    .about-panel h2 {
        margin-bottom: 18px;
    }

    .about-panel p {
        margin: 0;
        color: var(--xcore-muted);
        font-size: 0.95rem;
        line-height: 1.9;
    }

.about-mark {
    flex-shrink: 0;
    color: var(--xcore-gold);
    font-size: 5rem;
    font-weight: 850;
    letter-spacing: -5px;
}

    .about-mark span {
        color: var(--xcore-text);
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

/* Footer */

.xcore-footer {
    padding: 24px 0;
    border-top: 1px solid var(--xcore-border);
    background: var(--xcore-bg);
    color: #8194af;
    font-size: 0.8rem;
}

    .xcore-footer p {
        margin: 0;
    }

    .xcore-footer strong {
        color: var(--xcore-gold);
    }

/* Responsive */

@media (max-width: 991.98px) {
    .hero-section {
        padding: 75px 0;
    }

    .hero-visual {
        min-height: 360px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 15px;
    }

        .section-heading > p {
            max-width: 600px;
        }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.65rem;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-caption {
        margin-top: 35px;
        font-size: 0.58rem;
    }

    .hero-visual {
        min-height: 310px;
    }

    .core-symbol {
        width: 115px;
        height: 115px;
    }

        .core-symbol img {
            font-size: 4rem;
            width: 80px;
        }

        .core-symbol span {
            font-size: 4rem;
        }

    .orbit-one {
        width: 260px;
        height: 150px;
    }

    .orbit-two {
        width: 290px;
        height: 190px;
    }

    .floating-node {
        padding: 9px 11px;
        font-size: 0.72rem;
    }

    .node-top {
        top: 0;
        left: 0;
    }

    .node-right {
        top: 7%;
        right: 0;
    }

    .node-bottom {
        bottom: 0;
        left: auto;
        right: 0;
    }

    .node-left {
        top: 80%;
        left: 0;
        transform: none;
    }

    .ecosystem-section {
        padding: 65px 0;
    }

    .about-section {
        padding: 55px 0;
    }

    .about-panel {
        align-items: start;
        flex-direction: column;
        padding: 28px 23px;
    }

    .about-mark {
        font-size: 3.8rem;
    }
}

/* Contact */

.contact-section {
    padding: 35px 0 90px;
    background: var(--xcore-bg);
}

.contact-panel {
    position: relative;
    display: flex;
    min-height: 330px;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    overflow: hidden;
    padding: 48px;
    border: 1px solid var(--xcore-border);
    border-radius: 12px;
    background: radial-gradient( ellipse at 100% 50%, rgba(27, 79, 168, 0.23), transparent 55% ), var(--xcore-surface);
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

    .contact-content h2 {
        margin: 0 0 18px;
        color: var(--xcore-text);
        font-size: clamp(1.9rem, 3.5vw, 3rem);
        font-weight: 750;
        line-height: 1.2;
        letter-spacing: -1px;
    }

        .contact-content h2 span {
            display: block;
            margin-top: 8px;
            color: var(--xcore-gold);
        }

    .contact-content p {
        max-width: 570px;
        margin-bottom: 26px;
        color: var(--xcore-muted);
        font-size: 0.95rem;
        line-height: 1.9;
    }

.contact-decoration {
    display: flex;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(207, 174, 53, 0.35);
    border-radius: 30px;
    transform: rotate(12deg);
}

.contact-decoration-inner {
    display: flex;
    width: 135px;
    height: 135px;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(27, 79, 168, 0.2);
    color: var(--xcore-gold);
    font-size: 5rem;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .contact-section {
        padding: 20px 0 60px;
    }

    .contact-panel {
        padding: 30px 24px;
    }

    .contact-decoration {
        display: none;
    }
}
