/* =========================================
   MARIST DIGITAL HUB — Landing Page CSS
   ========================================= */

:root {
    --dark-900:  #020617;
    --dark-800:  #0f172a;
    --dark-700:  #1e293b;
    --dark-600:  #334155;
    --blue-700:  #1d4ed8;
    --blue-600:  #2563eb;
    --blue-500:  #3b82f6;
    --blue-400:  #60a5fa;
    --blue-100:  #dbeafe;
    --blue-50:   #eff6ff;
    --indigo-700: #4338ca;
    --indigo-600: #4f46e5;
    --indigo-50:  #eef2ff;
    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --white: #ffffff;
    --font: 'Inter', sans-serif;
    --transition: 0.25s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--slate-50);
    color: var(--dark-800);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
    padding: 0;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--blue-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
}

.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name { color: var(--white); font-size: 14px; font-weight: 600; line-height: 1.2; }
.nav-brand-sub  { color: var(--blue-400); font-size: 10px; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--slate-400);
    font-size: 14px;
    font-weight: 400;
    transition: color var(--transition);
}
.nav-link:hover { color: var(--white); }

.nav-btn-cta {
    background: var(--blue-600);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-btn-cta:hover { background: var(--blue-700); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #0f172a 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}
.shape-1 {
    width: 500px; height: 500px;
    background: var(--blue-500);
    top: -120px; right: -100px;
}
.shape-2 {
    width: 300px; height: 300px;
    background: var(--indigo-600);
    bottom: 60px; left: -80px;
}
.shape-3 {
    width: 200px; height: 200px;
    background: var(--blue-400);
    top: 40%; left: 40%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.30);
    color: var(--blue-400);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 7px; height: 7px;
    background: var(--blue-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-highlight { color: var(--blue-400); }

.hero-desc {
    font-size: 16px;
    color: var(--slate-400);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.hero-features {
    display: grid;
    gap: 12px;
    max-width: 620px;
    margin: 0 auto 24px;
}

.hero-features .feature-item {
    color: var(--white);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 18px 20px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--blue-600);
    color: var(--white);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--blue-400);
    border: 1px solid rgba(59,130,246,0.45);
}
.btn-outline:hover { background: rgba(59,130,246,0.1); }

/* Hero chips */
.hero-chips {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--slate-400);
    font-size: 13px;
    padding: 7px 16px;
    border-radius: 999px;
    transition: all var(--transition);
}
.chip:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.chip-icon { font-size: 14px; }
.netflix   { color: #e50914; }
.spotify   { color: #1db954; }
.instagram { color: #e1306c; }
.tiktok    { color: #69c9d0; }
.youtube   { color: #ff0000; }

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero-scroll-hint a {
    color: var(--slate-400);
    font-size: 18px;
    animation: bounce 1.8s infinite;
    display: block;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* ---- SECTION COMMON ---- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-100);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.section-badge-light {
    background: rgba(59,130,246,0.12);
    color: var(--blue-400);
    border-color: rgba(59,130,246,0.25);
}

.section-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--dark-800);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.section-sub {
    font-size: 15px;
    color: var(--slate-500);
}

.text-white { color: var(--white) !important; }
.text-muted { color: var(--slate-500) !important; }

/* ---- PORTAL SECTION ---- */
.portal-section {
    padding: 100px 0;
    background: var(--slate-50);
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.portal-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-premium { border-top: 3px solid var(--blue-500); }
.card-smm     { border-top: 3px solid var(--indigo-600); }

.card-badge-top {
    position: absolute;
    top: 20px;
    right: 20px;
}

.badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 999px;
}

.badge-blue   { background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); }
.badge-indigo { background: var(--indigo-50); color: var(--indigo-700); border: 1px solid #c7d2fe; }

.card-icon-wrap {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.icon-blue   { background: var(--blue-50); color: var(--blue-700); }
.icon-indigo { background: var(--indigo-50); color: var(--indigo-700); }

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-800);
    margin-bottom: 10px;
}

.card-desc {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 18px;
}

.card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.svc-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--slate-100);
    color: var(--slate-600);
    border: 1px solid var(--slate-200);
    border-radius: 6px;
}

.card-features {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.card-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--slate-600);
}

.card-feature i {
    color: #16a34a;
    font-size: 12px;
    flex-shrink: 0;
}

.card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-card-blue   { background: var(--blue-600); color: var(--white); }
.btn-card-blue:hover   { background: var(--blue-700); }
.btn-card-indigo { background: var(--indigo-600); color: var(--white); }
.btn-card-indigo:hover { background: var(--indigo-700); }

/* ---- KEUNGGULAN ---- */
.keunggulan-section {
    padding: 100px 0;
    background: var(--dark-800);
}

.keunggulan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.k-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    transition: background var(--transition);
}
.k-card:hover { background: rgba(255,255,255,0.07); }

.k-icon {
    width: 50px; height: 50px;
    background: rgba(59,130,246,0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--blue-400);
    margin: 0 auto 16px;
}

.k-title {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.k-desc {
    font-size: 13px;
    color: var(--slate-500);
    line-height: 1.6;
}

/* ---- STATISTIK ---- */
.stats-section {
    padding: 100px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.stat-icon {
    font-size: 24px;
    color: var(--blue-500);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-800);
    display: inline;
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-800);
    display: inline;
}

.stat-label {
    font-size: 13px;
    color: var(--slate-500);
    margin-top: 6px;
    margin-bottom: 10px;
}

.stat-growth {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 3px 10px;
    border-radius: 999px;
}

.stat-online {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}
.stat-online i { color: #22c55e; font-size: 8px; }

/* ---- CTA SECTION ---- */
.cta-section {
    padding: 80px 0;
    background: var(--slate-100);
}

.cta-box {
    background: linear-gradient(135deg, var(--dark-800) 0%, #1e3a5f 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(59,130,246,0.2);
}

.cta-icon {
    width: 64px; height: 64px;
    background: rgba(59,130,246,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--blue-400);
    margin: 0 auto 20px;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 15px;
    color: var(--slate-400);
    max-width: 480px;
    margin: 0 auto 32px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--blue-600);
    color: var(--white);
    padding: 12px 26px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition);
}
.btn-cta-primary:hover { background: var(--blue-700); }

.btn-cta-outline {
    background: transparent;
    color: var(--blue-400);
    border: 1px solid rgba(59,130,246,0.4);
    padding: 12px 26px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}
.btn-cta-outline:hover { background: rgba(59,130,246,0.1); }

.btn-cta-wa {
    background: #25d366;
    color: var(--white);
    padding: 12px 26px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition);
}
.btn-cta-wa:hover { background: #128c7e; }

/* ---- FOOTER ---- */
.footer {
    background: var(--dark-900);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 36px; height: 36px;
    background: var(--blue-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    flex-shrink: 0;
}

.footer-brand-name { color: var(--white); font-size: 14px; font-weight: 600; }
.footer-brand-url  { color: var(--blue-400); font-size: 11px; }

.footer-brand-desc {
    font-size: 13px;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 34px; height: 34px;
    border: 1px solid #1e293b;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-600);
    font-size: 15px;
    transition: all var(--transition);
}
.social-link:hover { border-color: var(--blue-600); color: var(--blue-400); }

.footer-col-title {
    color: var(--slate-400);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 16px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--slate-600);
    font-size: 13px;
    margin-bottom: 10px;
    transition: color var(--transition);
}
.footer-link i { font-size: 12px; width: 14px; }
.footer-link:hover { color: var(--slate-400); }

.footer-divider {
    border: none;
    border-top: 1px solid #1e293b;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 12px;
    color: var(--dark-600);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: var(--dark-600);
    transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--slate-400); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .portal-grid      { grid-template-columns: 1fr; max-width: 500px; }
    .keunggulan-grid  { grid-template-columns: repeat(2, 1fr); }
    .stats-grid       { grid-template-columns: repeat(2, 1fr); }
    .footer-top       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(2, 6, 23, 0.98);
        padding: 16px 24px 24px;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .nav-menu.active { display: flex; }
    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-btn-cta { margin-top: 12px; justify-content: center; }
    .nav-toggle  { display: flex; }

    .hero { padding: 90px 0 60px; }
    .hero-title { font-size: 30px; }

    .keunggulan-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid      { grid-template-columns: 1fr 1fr; }
    .footer-top      { grid-template-columns: 1fr; }
    .footer-bottom   { flex-direction: column; text-align: center; }
    .cta-box         { padding: 40px 24px; }
}

@media (max-width: 400px) {
    .keunggulan-grid { grid-template-columns: 1fr; }
    .stats-grid      { grid-template-columns: 1fr; }
    .hero-actions    { flex-direction: column; align-items: center; }
    .cta-actions     { flex-direction: column; align-items: center; }
}

/* ---- SERVICE MODAL ---- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2000;
}
.modal-backdrop.active {
    display: flex;
}

.modal-card {
    width: min(560px, 100%);
    background: var(--dark-900);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: var(--slate-400);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 26px;
}

.modal-actions {
    display: grid;
    gap: 12px;
}

.modal-action {
    width: 100%;
    justify-content: center;
}

@media (max-width: 640px) {
    .modal-card {
        padding: 24px;
    }
}
