/* ==========================================================================
   VARIABEL WARNA & TIPOGRAFI
   ========================================================================== */
:root {
    --maha-green-dark: #0A3D24;
    --maha-green-primary: #007A1E;
    --maha-green-soft: #EBF5EE;
    --maha-gold: #C69C2B;
    --maha-gold-light: #FDF9ED;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --bg-body: #F8FAFC;
    --bg-surface: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(10, 61, 36, 0.05);
    --shadow-md: 0 8px 24px -4px rgba(10, 61, 36, 0.08), 0 2px 8px -2px rgba(10, 61, 36, 0.04);
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   TOP BAR INSTITUSI
   ========================================================================== */
.top-bar {
    background-color: var(--maha-green-dark);
    color: #FFFFFF;
    font-size: 0.75rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--maha-gold);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.inst-tag {
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #E2E8F0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clock-display {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.74rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    color: #FDE68A;
    white-space: nowrap;
}

/* ==========================================================================
   SITE HEADER (COMPACT & RESPONSIVE)
   ========================================================================== */
.site-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand-logo {
    height: 48px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand-divider {
    width: 1px;
    height: 34px;
    background-color: var(--border-color);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-sub {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--maha-green-primary);
    text-transform: uppercase;
    line-height: 1.2;
}

.brand-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--maha-green-dark);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-actions {
    flex-shrink: 0;
}

.link-situs-utama {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--maha-green-dark);
    padding: 7px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    background-color: #FAFAFA;
    white-space: nowrap;
}

.link-situs-utama:hover {
    background-color: var(--maha-green-soft);
    border-color: var(--maha-green-primary);
    color: var(--maha-green-primary);
}

/* ==========================================================================
   MAIN CONTENT & STATUS CARD
   ========================================================================== */
.main-content {
    flex: 1;
    padding: 28px 0 40px;
}

.status-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 24px;
}

.card-top-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--maha-green-dark) 0%, var(--maha-green-primary) 70%, var(--maha-gold) 100%);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 24px;
    background-color: #FCFDFD;
    border-bottom: 1px solid var(--border-color);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--maha-green-soft);
    border: 1px solid #BBF7D0;
    color: var(--maha-green-dark);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #16A34A;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #16A34A;
    animation: pulse-ring 1.8s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.dns-badge {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ==========================================================================
   HERO BODY
   ========================================================================== */
.hero-body {
    padding: 32px 24px 28px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.arabic-greeting {
    font-size: clamp(1.15rem, 3vw, 1.35rem);
    color: var(--maha-green-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.domain-heading {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1.75rem, 5vw, 2.45rem);
    font-weight: 700;
    color: var(--maha-green-dark);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    word-break: break-word;
}

.ownership-statement {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: var(--text-primary);
    background-color: var(--maha-gold-light);
    border-left: 4px solid var(--maha-gold);
    padding: 12px 16px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 14px;
    text-align: left;
}

.ownership-statement strong {
    color: var(--maha-green-dark);
}

.ownership-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto 24px;
}

/* ==========================================================================
   TOMBOL AKSI
   ========================================================================== */
.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 11px 20px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background-color: var(--maha-green-dark);
    color: #FFFFFF;
    border: 1px solid var(--maha-green-dark);
}

.btn-primary:hover {
    background-color: var(--maha-green-primary);
    border-color: var(--maha-green-primary);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

/* ==========================================================================
   TABEL VERIFIKASI KEPEMILIKAN
   ========================================================================== */
.verification-box {
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-color);
    padding: 22px 24px;
}

.verification-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--maha-green-dark);
    margin-bottom: 14px;
}

.verify-icon {
    width: 18px;
    height: 18px;
    color: var(--maha-green-primary);
    flex-shrink: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.info-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 11px 14px;
    border-radius: var(--radius-md);
}

.info-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.info-value {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-word;
}

.highlight-domain {
    font-weight: 700;
    color: var(--maha-green-primary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.95rem;
}

.email-link,
.footer-mail {
    color: var(--maha-green-dark);
    text-decoration: none;
    font-weight: 600;
}

.email-link:hover,
.footer-mail:hover {
    text-decoration: underline;
    color: var(--maha-green-primary);
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.service-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.dot-status {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--maha-green-primary);
    background-color: var(--maha-green-soft);
    padding: 2px 8px;
    border-radius: 4px;
}

.service-card h3 {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--maha-green-dark);
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER RESMI
   ========================================================================== */
.site-footer {
    background-color: #FFFFFF;
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-inst {
    color: var(--maha-green-dark);
    margin-bottom: 2px;
}

.footer-right {
    text-align: right;
}

.tech-note {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==========================================================================
   ANIMASI TRANSISI
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-in-delayed {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.55s ease 0.12s, transform 0.55s ease 0.12s;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 820px) {
    .brand-divider,
    .brand-text {
        display: none;
    }

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

@media (max-width: 640px) {
    .top-bar {
        padding: 5px 0;
        font-size: 0.68rem;
    }

    .inst-tag {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .site-header {
        padding: 9px 0;
    }

    .brand-logo {
        height: 36px;
        max-width: 155px;
    }

    .link-situs-utama {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .main-content {
        padding: 18px 0 28px;
    }

    .status-header {
        flex-direction: column;
        text-align: center;
        padding: 12px 14px;
        gap: 6px;
    }

    .status-badge {
        font-size: 0.68rem;
        padding: 4px 10px;
    }

    .dns-badge {
        font-size: 0.7rem;
    }

    .hero-body {
        padding: 22px 16px 20px;
    }

    .ownership-statement {
        text-align: center;
        padding: 10px 12px;
    }

    .ownership-desc {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 11px 16px;
    }

    .verification-box {
        padding: 18px 14px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }
}