.mgn-top-page {
    min-height: 100vh;
    overflow: hidden;
}

.top-header {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 20;
    transform: translateX(-50%);
    width: min(calc(100% - 32px), 1180px);
    height: 64px;
    padding: 0 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 999px;
    background: rgba(5, 12, 28, 0.72);
    border: 1px solid rgba(120, 206, 255, 0.2);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(16px);
}

.top-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
}

.top-brand:hover {
    text-decoration: none;
}

.top-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1cb5ff, #8a5cff);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: 0 0 22px rgba(28, 181, 255, 0.34);
}

.top-brand-text {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(234, 246, 255, 0.9);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-nav a {
    color: rgba(234, 246, 255, 0.76);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.top-nav a:hover {
    color: #ffffff;
    text-decoration: none;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 140px 20px 90px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(28, 181, 255, 0.28), transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(138, 92, 255, 0.24), transparent 32%),
        radial-gradient(circle at 50% 90%, rgba(29, 255, 220, 0.12), transparent 34%);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),

        linear-gradient(120deg,
            transparent 0%,
            transparent 42%,
            rgba(115, 217, 255, 0.08) 49%,
            rgba(115, 217, 255, 0.22) 50%,
            rgba(115, 217, 255, 0.08) 51%,
            transparent 58%,
            transparent 100%),

        linear-gradient(-140deg,
            transparent 0%,
            transparent 46%,
            rgba(138, 92, 255, 0.06) 49%,
            rgba(138, 92, 255, 0.18) 50%,
            rgba(138, 92, 255, 0.06) 51%,
            transparent 54%,
            transparent 100%);

    background-size:
        54px 54px,
        54px 54px,
        200% 200%,
        220% 220%;

    background-position:
        center,
        center,
        0% 0%,
        100% 100%;

    animation: heroFlowLines 18s linear infinite;

    mask-image:
        linear-gradient(to bottom,
            transparent,
            #000 14%,
            #000 84%,
            transparent);

    opacity: 0.55;
    pointer-events: none;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(14px);
    opacity: 0.8;
    pointer-events: none;
}

.hero-bg-orb-a {
    width: 360px;
    height: 360px;
    right: -120px;
    top: 160px;
    background: rgba(28, 181, 255, 0.18);
}

.hero-bg-orb-b {
    width: 260px;
    height: 260px;
    left: -80px;
    bottom: 80px;
    background: rgba(138, 92, 255, 0.18);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 1180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 52px;
    align-items: center;
}

.hero-kicker,
.section-kicker,
.service-tag,
.status-label {
    margin: 0;
    color: #73d9ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-title {
    margin: 18px 0 22px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.06em;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 32px rgba(28, 181, 255, 0.18);
}

.hero-lead {
    max-width: 660px;
    margin: 0;
    font-size: 16px;
    line-height: 2;
    color: rgba(234, 246, 255, 0.78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.top-action-button {
    width: auto;
    min-width: 168px;
    height: 50px;
    margin-top: 0;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
}

.top-action-button:hover {
    text-decoration: none;
}

.top-action-button.compact {
    min-width: 150px;
    height: 42px;
}

.secondary-button {
    border: 1px solid rgba(120, 206, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.hero-panel {
    position: relative;
    min-height: 480px;
    padding: 24px;
    box-sizing: border-box;
    display: grid;
    align-content: end;
    gap: 16px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
        radial-gradient(circle at 50% 0%, rgba(28, 181, 255, 0.28), transparent 48%);
    border: 1px solid rgba(120, 206, 255, 0.22);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 60px rgba(28, 181, 255, 0.12);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.hero-panel::before {
    content: "MGN";
    position: absolute;
    top: 46px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.12em;
    color: rgba(255, 255, 255, 0.08);
    text-shadow: 0 0 54px rgba(28, 181, 255, 0.34);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.hero-panel-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    right: 40px;
    top: 70px;
    border-radius: 999px;
    background: rgba(28, 181, 255, 0.18);
    filter: blur(28px);
}

.account-status-card,
.hero-mini-card,
.feature-card,
.service-banner {
    position: relative;
    z-index: 2;
    background: rgba(5, 12, 28, 0.72);
    border: 1px solid rgba(120, 206, 255, 0.16);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
}

.account-status-card {
    padding: 22px;
    border-radius: 22px;
}

.status-title {
    margin: 10px 0 8px;
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
}

.status-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(234, 246, 255, 0.76);
}

.status-actions {
    margin-top: 16px;
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hero-mini-card {
    padding: 14px;
    border-radius: 16px;
}

.hero-mini-card span {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    color: rgba(115, 217, 255, 0.85);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-mini-card strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
}

.about-section,
.services-section {
    position: relative;
    z-index: 3;
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto;
    padding: 80px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 10px 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.section-heading p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(234, 246, 255, 0.72);
}

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

.feature-card {
    padding: 24px;
    border-radius: 24px;
}

.feature-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(28, 181, 255, 0.24), rgba(138, 92, 255, 0.2));
    color: #dff8ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
}

.feature-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: rgba(234, 246, 255, 0.72);
}

.service-banner-list {
    display: grid;
    gap: 16px;
}

.service-banner {
    min-height: 178px;
    padding: 26px 28px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #ffffff;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-banner:hover {
    transform: translateY(-3px);
    border-color: rgba(98, 214, 255, 0.42);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.34),
        0 0 40px rgba(28, 181, 255, 0.12);
    text-decoration: none;
}

.service-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.9;
    pointer-events: none;
}

.contentials-banner::before {
    background:
        radial-gradient(circle at 80% 30%, rgba(138, 92, 255, 0.35), transparent 34%),
        linear-gradient(135deg, rgba(28, 181, 255, 0.18), rgba(78, 36, 160, 0.24));
}

.stst-banner::before {
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 112, 193, 0.28), transparent 34%),
        linear-gradient(135deg, rgba(28, 181, 255, 0.16), rgba(90, 26, 95, 0.32));
}

.service-banner>div,
.service-arrow {
    position: relative;
    z-index: 2;
}

.service-banner h3 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.service-banner p {
    max-width: 720px;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(234, 246, 255, 0.78);
}

.service-arrow {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 26px;
    font-weight: 900;
}

.top-footer {
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto;
    padding: 40px 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(234, 246, 255, 0.58);
    font-size: 13px;
}

.top-footer p {
    margin: 0;
}

.top-footer div {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.top-footer a {
    color: rgba(234, 246, 255, 0.68);
    text-decoration: none;
}

.top-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

@media (max-width: 980px) {
    .top-nav {
        display: none;
    }

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

    .hero-panel {
        min-height: 380px;
    }

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

@media (max-width: 640px) {
    .top-header {
        top: 12px;
        height: 58px;
        width: calc(100% - 24px);
    }

    .top-brand-text {
        display: none;
    }

    .hero-section {
        padding: 112px 16px 64px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-lead {
        font-size: 14px;
    }

    .top-action-button {
        width: 100%;
    }

    .hero-panel {
        min-height: auto;
        padding: 18px;
        border-radius: 26px;
    }

    .hero-panel::before {
        font-size: 78px;
        top: 34px;
    }

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

    .about-section,
    .services-section {
        width: min(calc(100% - 32px), 1180px);
        padding: 56px 0;
    }

    .service-banner {
        min-height: auto;
        padding: 22px;
        align-items: flex-start;
    }

    .service-arrow {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 22px;
    }

    .top-footer {
        width: min(calc(100% - 32px), 1180px);
        flex-direction: column;
        align-items: flex-start;
    }
}

