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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1a1a2e;
    line-height: 1.7;
    background: #e8e3da;
}

header {
    background: #1e293b;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f59e0b;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: #ffffff;
    font-weight: 300;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover {
    color: #f59e0b;
}

.nav-cta {
    background: #f59e0b;
    color: #1e293b;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
}

.nav-cta:hover {
    background: #d97706;
    color: #1e293b;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    text-align: center;
    padding: 5rem 2rem 4rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    margin: 0 -2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero h1 span {
    color: #f59e0b;
}

.hero p {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 2rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-badges span {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.btn {
    display: inline-block;
    background: #f59e0b;
    color: #1e293b;
    padding: 0.85rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn:hover {
    background: #d97706;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #f59e0b;
}

.btn-outline:hover {
    background: #f59e0b;
    color: #1e293b;
}

.section {
    padding: 4rem 0;
    position: relative;
}

.section-divider {
    height: 60px;
    margin: -2rem 0;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.section-divider-top {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
    height: 80px;
    margin-top: -4rem;
    margin-bottom: 0;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
    font-size: 1.05rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: #f0ece4;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #d6cec2;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: #1e293b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

p + p {
    margin-top: 1rem;
}

.content p {
    margin-bottom: 1.25rem;
}

.card h3 {
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-size: 1.2rem;
}

.card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: #f59e0b;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.card-link:hover {
    color: #d97706;
}

.page-header {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    margin: 0 -2rem;
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.content {
    padding: 3rem 0;
}

.content-block {
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.content-block h2 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid #f59e0b;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content-block h3 {
    color: #1e293b;
    font-size: 1.15rem;
    margin: 1.5rem 0 0.5rem;
}

.content-block p {
    color: #475569;
    margin-bottom: 1rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    background: #f0ece4;
    padding: 2rem 1rem;
    border-radius: 12px;
    border: 1px solid #d6cec2;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #f59e0b;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.article-group {
    margin-bottom: 3rem;
}

.article-group h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-group h2 .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
}

.badge-syariah {
    background: #d9d6cc;
    color: #3d5a3d;
}

.badge-common {
    background: #d6d6cc;
    color: #2a4a6a;
}

.badge-general {
    background: #d9d0c4;
    color: #7a5020;
}

.article-list {
    list-style: none;
}

.article-list li {
    padding: 1rem 1.25rem;
    background: #f0ece4;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid #d6cec2;
    transition: all 0.2s;
}

.article-list li:hover {
    border-color: #f59e0b;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.1);
}

.article-list a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.article-list a:hover {
    color: #f59e0b;
}

.article-list .meta {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.3rem;
}

.about-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    margin: 2rem 0;
    align-items: start;
}

.profile-card {
    background: #f0ece4;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #d6cec2;
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #1e293b;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #f59e0b;
}

.profile-card h3 {
    font-size: 1.2rem;
    color: #1e293b;
}

.profile-card .title {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.25rem 0 0.5rem;
}

.profile-card .detail {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0.25rem 0;
}

.contact-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.contact-info-item .icon {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    flex-shrink: 0;
}

.contact-info-item .text {
    flex: 1;
}

.contact-info-item .text strong {
    display: block;
    font-size: 0.9rem;
    color: #334155;
}

.contact-info-item .text span {
    font-size: 0.9rem;
    color: #64748b;
}

.contact-info-item .text a {
    color: #1e293b;
    text-decoration: none;
}

.contact-info-item .text a:hover {
    color: #f59e0b;
}

.contact-form {
    background: #f0ece4;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #d6cec2;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #c4bbae;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #e8e3da;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

footer {
    background: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 2.5rem 2rem;
    margin-top: 3rem;
}

footer a {
    color: #f59e0b;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

footer .footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

footer .footer-links a:hover {
    color: #f59e0b;
    text-decoration: none;
}

.highlight-box {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    padding: 3rem;
    border-radius: 16px;
    margin: 2rem 0;
    text-align: center;
}

.highlight-box h2 {
    color: #f59e0b;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.highlight-box p {
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto 1.5rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #f59e0b;
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item .year {
    font-weight: 800;
    color: #f59e0b;
    font-size: 0.9rem;
}

.timeline-item h4 {
    color: #1e293b;
    margin: 0.25rem 0;
}

.timeline-item p {
    color: #475569;
    font-size: 0.9rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background: #f0ece4;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    border: 1px solid #d6cec2;
    text-align: center;
    transition: all 0.3s;
}

.pricing-card.featured {
    border-color: #f59e0b;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15);
    transform: scale(1.02);
}

.pricing-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f59e0b;
    margin: 1rem 0;
}

.pricing-card .price span {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: #475569;
    font-size: 0.9rem;
}

.pricing-card ul li::before {
    content: '✓';
    color: #f59e0b;
    font-weight: 700;
    margin-right: 0.75rem;
}

.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero {
        padding: 3rem 1.5rem;
    }
    .about-profile {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .pricing-card.featured {
        transform: none;
    }
    .highlight-box {
        padding: 2rem;
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* FAQ accordion */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: #f0ece4;
    border: 1px solid #d6cec2;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: #f59e0b;
    font-weight: 700;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item .faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Sticky mobile CTA */
.sticky-mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
        background: #1e293b;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    .sticky-mobile-cta a {
        flex: 1;
        text-align: center;
        padding: 0.75rem;
        border-radius: 8px;
        font-weight: 700;
        font-size: 0.9rem;
        text-decoration: none;
    }
    .sticky-mobile-cta .btn-mobile-primary {
        background: #f59e0b;
        color: #1e293b;
    }
    .sticky-mobile-cta .btn-mobile-secondary {
        background: transparent;
        color: #fff;
        border: 2px solid #f59e0b;
    }
    body {
        padding-bottom: 4rem;
    }
}
