:root {
    /* Color Palette - BPRS Sharia Theme */
    --primary-color: #1a5c36;
    /* Deep Green */
    --primary-dark: #124026;
    --accent-color: #d4af37;
    /* Gold */
    --accent-hover: #c4a02e;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --bg-light: #f9fafb;
    --card-bg: #ffffff;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.brand-text p {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ecfdf5;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(26, 92, 54, 0.2);
}

/* Visual/Abstract decorations */
.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape-1 {
    position: absolute;
    top: 50%;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(0, -50%);
    filter: blur(40px);
}

.shape-2 {
    position: absolute;
    top: 20%;
    right: 40%;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(50px);
}

.hero-illustration {
    position: relative;
    z-index: 10;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}
/* Visi Misi Section */
    .vm-wrap *, .vm-wrap *::before, .vm-wrap *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    
    /* ---- Wrapper section ---- */
    .vm-wrap {
        font-family: 'DM Sans', sans-serif;
        padding: 5rem 1.5rem 6rem;
        position: relative;
        overflow: hidden;
        background: var(--vm-section-bg, #f8faff);
    }
    
    /* ---- Grid background ---- */
    .vm-bg-grid {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(24, 95, 165, 0.045) 1px, transparent 1px),
            linear-gradient(90deg, rgba(24, 95, 165, 0.045) 1px, transparent 1px);
        background-size: 48px 48px;
        pointer-events: none;
        z-index: 0;
    }
    
    /* ---- Header ---- */
    .vm-header {
        text-align: center;
        margin-bottom: 3.5rem;
        position: relative;
        z-index: 1;
    }
    
    .vm-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #185FA5;
        margin-bottom: 1rem;
    }
    
    .vm-eyebrow::before,
    .vm-eyebrow::after {
        content: '';
        display: block;
        width: 30px;
        height: 1px;
        background: #185FA5;
        opacity: 0.45;
    }
    
    .vm-heading {
        font-family: 'Syne', sans-serif;
        font-size: clamp(2rem, 5vw, 3rem);
        font-weight: 800;
        color: #0f172a;
        line-height: 1.1;
        letter-spacing: -0.025em;
    }
    
    .vm-heading span {
        color: #185FA5;
    }
    
    /* ---- Grid layout ---- */
    .vm-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        max-width: 880px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
    
    @media (max-width: 640px) {
        .vm-grid {
            grid-template-columns: 1fr;
        }
    }
    
    /* ---- Card ---- */
    .vm-card {
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        position: relative;
        transition: transform 0.4s cubic-bezier(.22,.68,0,1.3),
                    border-color 0.3s ease,
                    box-shadow 0.4s ease;
        animation: vmCardUp 0.65s cubic-bezier(.22,.68,0,1.2) both;
    }
    
    .vm-card.card-misi {
        animation-delay: 0.15s;
    }
    
    .vm-card:hover {
        transform: translateY(-10px) scale(1.01);
        border-color: #cbd5e1;
        box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.12);
    }

    .vm-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        border-radius: 20px 0 0 20px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 2;
    }
    
    .vm-card.card-visi::before { background: #185FA5; }
    .vm-card.card-misi::before { background: #0F6E56; }
    .vm-card:hover::before     { opacity: 1; }
    
    @keyframes vmCardUp {
        from {
            opacity: 0;
            transform: translateY(40px) scale(0.97);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .vm-strip {
        padding: 1.5rem 1.75rem 1.25rem;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
    }
    
    .vm-strip-left {
        flex: 1;
        padding-right: 1rem;
    }
    
    /* Watermark huruf besar */
    .vm-number {
        font-family: 'Syne', sans-serif;
        font-size: 5.5rem;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.04em;
        opacity: 0.065;
        position: absolute;
        right: 1.25rem;
        top: 0.5rem;
        color: #0f172a;
        pointer-events: none;
        user-select: none;
    }
    
    /* Badge label */
    .vm-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding: 4px 10px 4px 7px;
        border-radius: 99px;
        margin-bottom: 0.85rem;
    }
    
    .card-visi .vm-tag {
        background: #E6F1FB;
        color: #0C447C;
        border: 1px solid #B5D4F4;
    }
    
    .card-misi .vm-tag {
        background: #E1F5EE;
        color: #085041;
        border: 1px solid #9FE1CB;
    }
    
    /* Pulse dot dalam badge */
    .vm-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        display: block;
        flex-shrink: 0;
    }
    
    .card-visi .vm-dot {
        background: #185FA5;
        animation: vmPulse 2s infinite;
    }
    
    .card-misi .vm-dot {
        background: #0F6E56;
        animation: vmPulse 2s 0.4s infinite;
    }
    
    @keyframes vmPulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50%       { opacity: 0.3; transform: scale(1.65); }
    }
    
    /* Judul kartu */
    .vm-card-title {
        font-family: 'Syne', sans-serif;
        font-size: 1.075rem;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.35;
        letter-spacing: -0.01em;
    }
    
    /* ---- Ilustrasi ---- */
    .vm-illus-panel {
        margin: 0 1.25rem;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        line-height: 0;
    }
    
    .vm-illus-panel svg {
        display: block;
        width: 100%;
    }
    
    /* ---- Konten bawah ---- */
    .vm-content {
        padding: 1.25rem 1.75rem 1.75rem;
    }
    
    .vm-divider {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 0.9rem;
    }
    
    .vm-divider-line {
        flex: 1;
        height: 1px;
        background: #f1f5f9;
    }
    
    .vm-divider-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .card-visi .vm-divider-icon { background: #E6F1FB; }
    .card-misi .vm-divider-icon { background: #E1F5EE; }
    
    .vm-body-text {
        font-size: 13.5px;
        color: #64748b;
        line-height: 1.8;
    }
    
    /* ---- Connector footer ---- */
    .vm-connector {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 2.25rem;
        max-width: 880px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        z-index: 1;
    }
    
    .vm-connector-line {
        flex: 1;
        height: 1px;
        background: #e2e8f0;
    }
    
    .vm-connector-badge {
        font-size: 11px;
        font-weight: 500;
        color: #94a3b8;
        letter-spacing: 0.06em;
        padding: 6px 16px;
        border-radius: 99px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        white-space: nowrap;
    }

    @media (prefers-reduced-motion: reduce) {
        .vm-card, .vm-dot {
            animation: none !important;
        }
        .vm-card:hover {
            transform: none;
        }
    }
/* Features */
.features {
    padding: 5rem 0;
    background: #f8faff;
    position: relative;
    overflow: hidden;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 48px;
    height: 48px;
    background-color: #ecfdf5;
    color: var(--primary-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .logo-container {
        justify-content: center;
    }
}
/* 1. TYPO DIPERBAIKI: Tambahkan titik di depan class */
.ck-editor__editable_inline,
.ck-editor__editable {
    min-height: 500px !important;
    border-bottom-left-radius: 0.75rem !important;
    border-bottom-right-radius: 0.75rem !important;
    padding: 0 2rem !important;
}

/* 2. Menyesuaikan border agar mirip inputan lain */
.ck.ck-editor__main > .ck-editor__editable {
    border-color: #e5e7eb !important; /* Gray-200 */
    background: transparent !important;
}

.ck.ck-toolbar {
    border-top-left-radius: 0.75rem !important;
    border-top-right-radius: 0.75rem !important;
    border-color: #e5e7eb !important;
    background-color: #f9fafb !important;
}

/* 3. Dark Mode Support */
.dark .ck.ck-editor__main > .ck-editor__editable {
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important; /* Memastikan teks bisa dibaca di dark mode */
}

.dark .ck.ck-toolbar {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark .ck.ck-toolbar .ck-button {
    /* Opsional: Membuat icon toolbar sedikit lebih terang di dark mode */
    color: rgba(255, 255, 255, 0.7) !important; 
}