/*==============================================================
  Lunar Logic v2.0
  Hero
  File: hero.css
==============================================================*/

/*==============================================================
  Hero Section
==============================================================*/

.hero {
    position: relative;
    overflow: hidden;

    /* Hero stays on the original dark theme regardless of the rest
       of the page. Everything below is scoped only to .hero and its
       descendants — nothing outside the hero is affected. */
    --color-background: #07111f;
    --color-background-alt: #0f1d31;

    --color-surface: rgba(255,255,255,.05);
    --color-surface-hover: rgba(255,255,255,.08);
    --color-surface-active: rgba(255,255,255,.12);

    --color-border: rgba(255,255,255,.10);
    --color-border-strong: rgba(255,255,255,.20);

    --color-heading: #ffffff;
    --color-text: rgba(255,255,255,.88);
    --color-text-soft: rgba(255,255,255,.72);
    --color-text-muted: rgba(255,255,255,.52);

    --button-secondary-border: rgba(255,255,255,.12);
    --button-secondary-hover-bg: rgba(255,255,255,.06);
    --button-secondary-hover-border: rgba(255,255,255,.22);

    background: var(--color-background);
}

.hero__content {
    position: relative;
    z-index: 10;
}

.hero__content h1 {
    margin-bottom: var(--space-8);
}

.hero__lead {
    margin-bottom: var(--space-10);

    font-size: var(--fs-md);
    line-height: 1.8;

    color: var(--color-text-soft);
}

/*==============================================================
  Hero Actions
==============================================================*/

.hero__actions {
    margin-bottom: var(--space-20);
}

.hero__actions .button {
    min-width: 220px;
}

/*==============================================================
  Hero Metrics
==============================================================*/

.hero__metrics {
    list-style: none;
}

.hero__metrics li {
    position: relative;

    padding-left: var(--space-6);
}

.hero__metrics li::before {
    content: "";

    position: absolute;

    left: 0;
    top: .35rem;

    width: 2px;
    height: calc(100% - .7rem);

    background: var(--color-brand-500);

    border-radius: 100px;
}

.hero__metrics strong {

    display: block;

    margin-bottom: .35rem;

    color: var(--color-heading);

    font-size: 2rem;
    font-weight: var(--fw-bold);

    line-height: 1;
}

.hero__metrics span {

    display: block;

    font-size: var(--fs-sm);

    color: var(--color-text-muted);

    line-height: 1.7;
}

/*==============================================================
  Orbit System
==============================================================*/

.orbit-system {

    position: relative;

    width: 620px;
    height: 620px;

    display: flex;
    align-items: center;
    justify-content: center;

}

/*==============================================================
  Orbit Rings
==============================================================*/

.orbit {

    position: absolute;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.08);

    animation:
        rotateOrbit
        30s
        linear
        infinite;

}

.orbit--large {

    width: 600px;
    height: 600px;

}

.orbit--medium {

    width: 430px;
    height: 430px;

    animation-duration: 22s;
    animation-direction: reverse;

}

.orbit--small {

    width: 260px;
    height: 260px;

    animation-duration: 15s;

}

/*==============================================================
  Central Core
==============================================================*/

.core {

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at top,
            var(--color-brand-400),
            var(--color-brand-700)
        );

    box-shadow:
        0 0 80px rgba(47,111,255,.45),
        inset 0 0 35px rgba(255,255,255,.08);

    text-align: center;

    z-index: 50;

}

.core span {

    color: white;

    font-weight: var(--fw-bold);

    font-size: 1.1rem;

    letter-spacing: -.03em;

}

/*==============================================================
  Planets
==============================================================*/

.planet {

    position: absolute;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--color-accent),
            var(--color-brand-500)
        );

    box-shadow:
        0 0 25px rgba(108,229,255,.35);

}

/* ERP */

.planet--erp {

    width: 20px;
    height: 20px;

    top: 12%;
    left: 48%;

}

/* Finance */

.planet--finance {

    width: 14px;
    height: 14px;

    right: 18%;
    top: 46%;

}

/* Cloud */

.planet--cloud {

    width: 18px;
    height: 18px;

    bottom: 12%;
    left: 50%;

}

/* Support */

.planet--support {

    width: 12px;
    height: 12px;

    left: 18%;
    top: 50%;

}

/*==============================================================
  Decorative Glow
==============================================================*/

.hero__visual::before {

    content: "";

    position: absolute;

    width: 820px;
    height: 820px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(47,111,255,.12),
            transparent 70%
        );

    filter: blur(60px);

    z-index: 0;

}

.hero__visual::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(108,229,255,.18),
            transparent
        );

    filter: blur(40px);

}

/*==============================================================
  Animations
==============================================================*/

@keyframes rotateOrbit {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}

/*==============================================================
  Responsive
==============================================================*/

@media (max-width:1200px){

    .orbit-system{

        width:520px;
        height:520px;

    }

    .orbit--large{

        width:500px;
        height:500px;

    }

    .orbit--medium{

        width:360px;
        height:360px;

    }

    .orbit--small{

        width:220px;
        height:220px;

    }

}

@media (max-width:992px){

    .hero__content{

        max-width:760px;
        margin-inline:auto;

    }

    .orbit-system{

        width:460px;
        height:460px;

    }

    .orbit--large{

        width:430px;
        height:430px;

    }

    .orbit--medium{

        width:310px;
        height:310px;

    }

    .orbit--small{

        width:180px;
        height:180px;

    }

    .core{

        width:145px;
        height:145px;

    }

}

@media (max-width:768px){

    .hero__lead{

        font-size:var(--fs-base);

    }

    .orbit-system{

        width:340px;
        height:340px;

    }

    .orbit--large{

        width:320px;
        height:320px;

    }

    .orbit--medium{

        width:230px;
        height:230px;

    }

    .orbit--small{

        width:140px;
        height:140px;

    }

    .core{

        width:120px;
        height:120px;

    }

    .core span{

        font-size:.95rem;

    }

    .hero__metrics strong{

        font-size:1.6rem;

    }

}

@media (max-width:480px){

    .orbit-system{

        width:280px;
        height:280px;

    }

    .orbit--large{

        width:260px;
        height:260px;

    }

    .orbit--medium{

        width:185px;
        height:185px;

    }

    .orbit--small{

        width:110px;
        height:110px;

    }

    .core{

        width:95px;
        height:95px;

    }

    .core span{

        font-size:.8rem;

    }

}

/*==============================================================
  Reduced Motion
==============================================================*/

@media (prefers-reduced-motion:reduce){

    .orbit{

        animation:none;

    }

}