/* ============================================
   MST Singapore — Homepage Sections v3
   ============================================ */

/* === Platforms === */
.section--platforms {
    background: #f0f4f8;
    position: relative;
}
/* Subtle top glow */
.section--platforms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}
@media (max-width: 1024px) {
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .platforms-grid { grid-template-columns: 1fr; }
}

/* === Trust === */
.section--trust {
    background: var(--color-bg-dark);
    padding: var(--space-8) 0;
    position: relative;
    overflow: hidden;
}
/* Glow blobs */
.section--trust::before,
.section--trust::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.section--trust::before {
    width: 400px; height: 400px;
    background: rgba(0, 212, 255, 0.04);
    top: -200px; left: -100px;
}
.section--trust::after {
    width: 300px; height: 300px;
    background: rgba(56, 189, 248, 0.03);
    bottom: -150px; right: -50px;
}

.trust-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-10);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.trust-item { text-align: center; min-width: 100px; }

.trust-item__number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    letter-spacing: var(--tracking-tighter);
    line-height: 1;
    margin-bottom: 8px;
    color: var(--color-primary);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}
.trust-item__label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .trust-grid { gap: var(--space-6); }
    .trust-item__number { font-size: var(--text-4xl); }
}

/* === About === */
.section--about {
    background: #f0f9ff;
    position: relative;
}

.about-brief {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.about-brief__title {
    margin-bottom: var(--space-3);
    color: var(--color-text);
}

.about-brief__text {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-5);
    max-width: 480px;
    color: var(--color-text-secondary);
}

.about-brief__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-brief__globe {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    background:
        radial-gradient(circle at 35% 35%, rgba(0, 212, 255, 0.06), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(56, 189, 248, 0.04), transparent 40%);
    border: 1px solid var(--color-border);
    /* Grid lines on the globe */
    background-image:
        radial-gradient(circle at 35% 35%, rgba(0, 212, 255, 0.06), transparent 50%),
        linear-gradient(0deg, transparent 49%, rgba(148,163,184,0.04) 49%, rgba(148,163,184,0.04) 51%, transparent 51%),
        linear-gradient(90deg, transparent 49%, rgba(148,163,184,0.04) 49%, rgba(148,163,184,0.04) 51%, transparent 51%);
    background-size: 100% 100%, 60px 60px, 60px 60px;
}

.globe-dot {
    position: absolute;
    width: 12px;
    height: 12px;
}
.globe-dot__pulse {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
    animation: pulse-dot 2.5s ease-in-out infinite;
}
.globe-dot__label {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
    white-space: nowrap;
    letter-spacing: var(--tracking-wide);
}

.globe-dot--sg { top: 60%; left: 72%; }
.globe-dot--cn { top: 32%; left: 78%; }
.globe-dot--us { top: 32%; left: 18%; }
/* Lines between dots */
.about-brief__globe::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(0, 212, 255, 0.08);
}

@media (max-width: 768px) {
    .about-brief { grid-template-columns: 1fr; }
    .about-brief__visual { display: none; }
}

/* === News === */
.section--news {
    background: #f8fafc;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* === CTA === */
.section--cta {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-darker);
    padding: var(--space-12) 0;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}
.cta-shape--1 {
    width: 600px; height: 600px;
    background: rgba(0, 212, 255, 0.08);
    top: -250px; right: -150px;
}
.cta-shape--2 {
    width: 500px; height: 500px;
    background: rgba(56, 189, 248, 0.05);
    bottom: -200px; left: -150px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-content__title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: 800;
    margin-bottom: var(--space-3);
    color: white;
}

.cta-content__desc {
    font-size: var(--text-lg);
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-5);
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
}

.cta-content__actions {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-5);
}

.cta-content__ecosystem {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.cta-eco-link {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid rgba(148, 163, 184, 0.06);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    letter-spacing: var(--tracking-wide);
}
.cta-eco-link:hover {
    color: var(--color-primary);
    border-color: rgba(0, 212, 255, 0.15);
    background: rgba(0, 212, 255, 0.04);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}
