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

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: #050a18;
    color: #ffffff;
    line-height: 1.6;
}

/* ===== Header CSS dipindah ke templates/partials/header.html ===== */
:root {
    --ms-red: #e30613;
    --ms-red-glow: rgba(227, 6, 19, 0.5);
}

/* Shared container — dipakai header (partials/header.html) DAN hero-content agar selalu sejajar persis */
.ms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* ===== Main content ===== */
main {
    min-height: 60vh;
}

/* Wrapper untuk halaman SELAIN home (overview, connect, dll) — butuh jarak dari header floating */
.page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 20px 0;
}

/* ===== Footer ===== */
footer {
    background-color: #0a0f20;
    color: #cccccc;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

footer h4 {
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #999999;
}


/* ====================================================== */
/* ===== HOME PAGE SECTIONS ===== */
/* ====================================================== */

/* ===== Hero Section ===== */
.hero-only-container {
    font-family: 'Inter', sans-serif;
    color: #f0ffff;
    background: transparent;
}

.badge-tech {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid #ff007a;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 25px;
    background: rgba(255, 0, 122, 0.05);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sparkle {
    color: #ffffff;
    margin-right: 8px;
}

.main-title {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1.5px;
}

.grad-text {
    background: linear-gradient(to right, #00d2ff, #a155ff, #e00857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-text {
    max-width: 580px;
    color: lightgrey;
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.6;
    margin: 30px 0 30px 0;
}

.hero-cta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 35px 0 30px 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    height: 60px;
    padding: 0 25px;
    background: linear-gradient(135deg, #2a70fa, #d61c38);
    border-radius: 14px;
    color: #f0ffff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(161, 85, 255, 0.2);
}

.icon-circle {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.icon-circle i {
    transform: rotate(45deg);
    color: white;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    color: white !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s ease;
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 122, 0.3);
}

@media (max-width: 768px) {
    .main-title { font-size: 42px; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}

/* ===== Trusted By Section ===== */
.brand-id-container {
    padding: 10px 0;
    background: transparent;
    font-family: 'Inter', sans-serif;
}

.brand-label {
    color: rgba(255, 255, 255, 0.35);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.brand-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-row img {
    height: 12px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.brand-row img:hover {
    opacity: 0.9;
}

.mini-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    padding: 1px;
    background: linear-gradient(135deg, #00d2ff, #ff007a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mini-circle span {
    background: #050a18;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: white;
}

@media (max-width: 768px) {
    .brand-row { gap: 15px; justify-content: flex-start; }
    .brand-row img { height: 10px; }
}

/* ===== SPOTS Platform Section ===== */
.spots-platform-section {
    width: 100%;
    padding: 80px 0;
    background: transparent;
    font-family: 'Inter', sans-serif;
    color: #f0ffff;
    overflow: hidden;
}

.spots-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.spots-visual {
    flex: 1.2;
    position: relative;
}

.mockup-wrapper {
    position: relative;
    z-index: 2;
}

.mockup-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(161, 85, 255, 0.15), rgba(224, 8, 87, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.1);
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(161, 85, 255, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.spots-content {
    flex: 1;
}

.spots-label {
    color: #ff007a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.spots-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.spots-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.spots-mini-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-f-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-icon i {
    font-size: 14px;
    background: linear-gradient(135deg, #00d2ff, #a155ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mini-f-item span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.btn-explore-spots {
    display: inline-flex;
    align-items: center;
    height: 56px;
    padding: 0 30px;
    background: linear-gradient(135deg, #2a70fa, #d61c38);
    border-radius: 14px;
    color: white !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-icon-s {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-s i {
    font-size: 11px;
    transform: rotate(45deg);
}

.btn-explore-spots:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(161, 85, 255, 0.4);
}

@media (max-width: 1024px) {
    .spots-container {
        flex-direction: column;
        text-align: center;
    }
    .spots-description { margin: 0 auto 40px; }
    .spots-mini-features { justify-items: center; }
    .mini-f-item { text-align: left; }
}

/* ===== Stats Section ===== */
.ms-metrics-bar {
    max-width: 1200px;
    margin: 20px auto;
    padding: 35px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    font-family: 'Inter', sans-serif;
}

.ms-metric-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 20px;
}

.ms-metric-item:last-child {
    border-right: none;
}

.ms-icon-circle {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ms-icon-circle i {
    font-size: 22px;
    background: linear-gradient(135deg, #00d2ff, #ff007a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ms-number {
    display: block;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.ms-label {
    margin: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.ms-blue-grad {
    background: linear-gradient(to right, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ms-pink-grad {
    background: linear-gradient(to right, #ff007a, #f2709c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
    .ms-metrics-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .ms-metric-item {
        border-right: none;
        min-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ms-metrics-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
        padding: 25px 20px;
        border-radius: 18px;
    }
    .ms-metric-item {
        min-width: 0;
        padding: 0 0 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: flex-start;
        gap: 12px;
    }
    .ms-metric-item:nth-last-child(-n+2) {
        border-bottom: none;
        padding-bottom: 0;
    }
    .ms-icon-circle { width: 42px; height: 42px; }
    .ms-icon-circle i { font-size: 17px; }
    .ms-number { font-size: 19px; }
    .ms-label { font-size: 9.5px; }
}

/* ====================================================== */
/* ===== ECOSYSTEM UNITS (RADIAL DIAGRAM) ===== */
/* ====================================================== */

.ms-circle-wrapper {
    height: 850px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
}

.ms-circle-container {
    position: relative;
    width: 850px;
    height: 850px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ms-hidden-toggle { display: none; }

.ms-svg-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.ms-line {
    stroke: #0099da;
    stroke-width: 2;
    opacity: 0;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0.8s ease, opacity 0.8s ease;
}

.ms-hidden-toggle:checked ~ .ms-circle-container .ms-line { opacity: 0.3; stroke-dashoffset: 0; }

.ms-line.laser-active {
    opacity: 1 !important;
    stroke: #e31e24;
    stroke-dasharray: 10;
    animation: laserFlow 1s linear infinite;
    filter: drop-shadow(0 0 8px #e31e24);
}

@keyframes laserFlow { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }

.jarvis-core {
    position: relative;
    width: 180px;
    height: 180px;
    background: rgba(10, 15, 25, 0.95);
    border: 3px solid #0099da;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 40px rgba(0, 153, 218, 0.4);
    pointer-events: auto;
}

.core-content { text-align: center; color: #0099da; transition: 0.3s; }
.core-content i { font-size: 40px; margin-bottom: 8px; animation: pulse 2s infinite; }
.core-content span { font-size: 12px; font-weight: 800; letter-spacing: 2px; line-height: 1.2; }
.text-off { display: block; }
.text-on { display: none; }

.ring-outer, .ring-inner { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; }
.ring-outer { width: 250px; height: 250px; border: 1px dashed rgba(0, 153, 218, 0.4); animation: rotateCW 15s linear infinite; }
.ring-inner { width: 210px; height: 210px; border: 3px solid transparent; border-top: 3px solid #e31e24; border-bottom: 3px solid #e31e24; animation: rotateCCW 8s linear infinite; opacity: 0.7; }

.ms-srv-node { position: absolute; width: 260px; opacity: 0; visibility: hidden; transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55); z-index: 50; }
.ms-srv-head { display: flex; align-items: center; gap: 15px; cursor: pointer; }
.ms-srv-icon { width: 55px; height: 55px; background: rgba(10, 15, 25, 0.9); border: 2px solid #0099da; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #0099da; font-size: 20px; box-shadow: 0 0 15px rgba(0, 153, 218, 0.3); transition: 0.4s; flex-shrink: 0; pointer-events: none; }
.ms-srv-info h4 { color: #F0FFFF; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; margin: 0; font-weight: 700; }
.ms-srv-line { width: 0; height: 2px; background: #0099da; margin-top: 5px; transition: width 0.6s ease; }

.ms-srv-term {
    max-height: 0;
    overflow: hidden;
    background: rgba(5, 10, 15, 0.95);
    border-left: 3px solid #e31e24;
    margin-left: 35px;
    color: #F0FFFF;
    font-size: 14px;
    font-family: 'Share Tech Mono', monospace;
    line-height: 1.6;
    transition: max-height 0.6s ease, padding 0.6s ease, margin-top 0.6s ease;
    padding: 0 15px;
}

.ms-read-more {
    display: inline-block;
    margin-top: 12px;
    color: #e31e24;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #e31e24;
    padding-bottom: 3px;
}

.ms-read-more:hover { color: #F0FFFF; border-color: #F0FFFF; }

.ms-hidden-toggle:checked ~ .ms-circle-container .jarvis-core { transform: rotate(360deg) scale(1.05); border-color: #e31e24; box-shadow: 0 0 50px #e31e24; }
.ms-hidden-toggle:checked ~ .ms-circle-container .core-content { color: #e31e24; }
.ms-hidden-toggle:checked ~ .ms-circle-container .text-off { display: none; }
.ms-hidden-toggle:checked ~ .ms-circle-container .text-on { display: block; color: #e31e24; }

.ms-hidden-toggle:checked ~ .ms-circle-container .ms-srv-node { opacity: 1; visibility: visible; }
.ms-hidden-toggle:checked ~ .ms-circle-container .ms-srv-line { width: 80px; }

.ms-hidden-toggle:checked ~ .ms-circle-container .m-1 { transform: translate(-30px, -260px); }
.ms-hidden-toggle:checked ~ .ms-circle-container .m-2 { transform: translate(250px, -130px); }
.ms-hidden-toggle:checked ~ .ms-circle-container .m-3 { transform: translate(250px, 130px); }
.ms-hidden-toggle:checked ~ .ms-circle-container .m-4 { transform: translate(-30px, 260px); }
.ms-hidden-toggle:checked ~ .ms-circle-container .m-5 { transform: translate(-310px, 130px); }
.ms-hidden-toggle:checked ~ .ms-circle-container .m-6 { transform: translate(-310px, -130px); }

.ms-srv-node.active-node .ms-srv-icon { border-color: #e31e24; color: #e31e24; box-shadow: 0 0 25px #e31e24; transform: scale(1.1); }
.ms-srv-node.active-node .ms-srv-line { background: #e31e24; box-shadow: 0 0 10px #e31e24; }

.ms-srv-node.active-node .ms-srv-term {
    max-height: 320px;
    padding: 15px;
    margin-top: 10px;
    border-bottom: 1px solid #0099da;
}

@keyframes rotateCW { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateCCW { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.6; } 100% { transform: scale(1); opacity: 1; } }
.csr { animation: blink 1s infinite; color: #e31e24; font-weight: bold; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
    .ms-circle-wrapper {
        height: 230px;
        min-height: 230px;
        padding: 24px 16px;
        overflow: hidden;
        align-items: flex-start;
        transition: height 0.6s ease, min-height 0.6s ease;
    }

    .ms-circle-wrapper:has(.ms-hidden-toggle:checked) {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .ms-circle-container {
        width: 100%;
        max-width: 430px;
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 16px;
        transform: none;
    }

    .ms-svg-lines, .ring-outer, .ring-inner { display: none; }

    .jarvis-core { position: relative; width: 150px; height: 150px; margin: 0 auto; flex-shrink: 0; }

    .ms-srv-node {
        position: relative;
        width: 100%;
        max-width: 360px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        margin: 0 auto;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.45s ease, max-height 0.55s ease;
    }

    .ms-hidden-toggle:checked ~ .ms-circle-container .ms-srv-node {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: none;
        overflow: visible;
    }

    .ms-hidden-toggle:checked ~ .ms-circle-container .m-1,
    .ms-hidden-toggle:checked ~ .ms-circle-container .m-2,
    .ms-hidden-toggle:checked ~ .ms-circle-container .m-3,
    .ms-hidden-toggle:checked ~ .ms-circle-container .m-4,
    .ms-hidden-toggle:checked ~ .ms-circle-container .m-5,
    .ms-hidden-toggle:checked ~ .ms-circle-container .m-6 {
        transform: translateY(0);
    }

    .ms-srv-head { width: 100%; }
    .ms-srv-info { flex: 1; min-width: 0; }
    .ms-srv-line { max-width: 100%; }
    .ms-hidden-toggle:checked ~ .ms-circle-container .ms-srv-line { width: 100%; }
    .ms-srv-term { margin-left: 0; font-size: 13px; }

    .ms-srv-node.active-node { max-height: none; overflow: visible; }
    .ms-srv-node.active-node .ms-srv-term { max-height: 520px; overflow: visible; }
}

.ms-srv-term .ms-read-more,
.ms-srv-term .ms-read-more:visited,
.ms-srv-term .ms-read-more:active {
    display: inline-block;
    margin-top: 12px;
    color: #e31e24 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #e31e24;
    padding-bottom: 3px;
    text-shadow: 0 0 12px rgba(227, 30, 36, 0.55);
}

.ms-srv-term .ms-read-more:hover {
    color: #F0FFFF !important;
    border-color: #F0FFFF;
    text-shadow: 0 0 10px rgba(240, 255, 255, 0.65);
}

