*, *::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: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    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;
    white-space: nowrap;
    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;
}

/* --- Hamburger menu --- */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #f59e0b;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

main {
    width: 100%;
}

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

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle at 20px 20px, rgba(245,158,11,0.06) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 80px 80px;
    background-position: -1px -1px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #f59e0b, #d97706, #f59e0b);
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.15;
    text-shadow: 0 2px 40px rgba(245, 158, 11, 0.08);
}

.hero h1 span {
    color: #f59e0b;
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: #f59e0b;
    border-radius: 2px;
    opacity: 0.4;
}

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

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

.hero-badges span {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(4px);
}

.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;
    letter-spacing: 0.3px;
}

.btn:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

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

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

.section {
    padding: 6rem 3rem;
    position: relative;
    width: 100%;
}

.section-dark {
    background: #1e293b;
    color: #fff;
}

.section-dark h2 {
    color: #fff;
}

.section-dark .section-sub {
    color: #94a3b8;
}

.section-stone {
    background: #e2dcd2;
}

.section h2 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.inner {
    max-width: 1400px;
    margin: 0 auto;
}

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

.card {
    background: #f0ece4;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #d6cec2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: #1e293b;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #f59e0b;
    transition: transform 0.3s;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card:hover .card-icon {
    transform: scale(1.08);
}

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

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

.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);
    padding: 4rem 3rem;
    text-align: center;
    color: #fff;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706, #f59e0b);
}

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

.page-header p {
    color: #94a3b8;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.content {
    padding: 4rem 3rem;
    width: 100%;
}

.content-inner {
    max-width: 1400px;
    margin: 0 auto;
}

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

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

.stat-card {
    text-align: center;
    background: #f0ece4;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    border: 1px solid #d6cec2;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1.2;
}

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

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

.article-group h2 {
    font-size: 1.6rem;
    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.5rem;
    background: #f0ece4;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    border: 1px solid #d6cec2;
    transition: all 0.2s;
}

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

.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: 300px 1fr;
    gap: 3.5rem;
    margin: 2rem 0;
    align-items: start;
}

.profile-card {
    background: #f0ece4;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid #d6cec2;
    text-align: center;
    position: sticky;
    top: 6rem;
}

.profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #f59e0b;
    font-weight: 800;
    border: 3px solid #f59e0b;
}

.profile-card h3 {
    font-size: 1.3rem;
    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: 1000px;
    margin: 0 auto;
}

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

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

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

.contact-info-item .icon {
    width: 44px;
    height: 44px;
    background: #1e293b;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.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: 2.5rem;
    border-radius: 16px;
    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: 8px;
    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: 3rem 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706, #f59e0b);
}

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

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

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    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: 3.5rem;
    border-radius: 20px;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.highlight-box h2 {
    color: #f59e0b;
    font-size: 2rem;
    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(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

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

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

.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;
}

.section-divider {
    height: 80px;
    margin: -2.5rem 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: 100px;
    margin-top: -5rem;
    margin-bottom: 0;
}

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

.faq-item {
    background: #f0ece4;
    border: 1px solid #d6cec2;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.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;
    font-size: 1rem;
}

.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;
}

.amber-rule {
    width: 60px;
    height: 4px;
    background: #f59e0b;
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

.amber-rule-left {
    width: 60px;
    height: 4px;
    background: #f59e0b;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .about-profile {
        grid-template-columns: 1fr;
    }
    .profile-card {
        position: static;
    }
    .section {
        padding: 3rem 1.5rem;
    }
    .content {
        padding: 3rem 1.5rem;
    }
    .hero {
        padding: 4rem 1.5rem 3.5rem;
    }
    .page-header {
        padding: 3rem 1.5rem;
    }
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }
    .hamburger {
        display: flex;
    }
    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: #0f172a;
        border-radius: 12px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }
    nav ul.open {
        display: flex;
    }
    nav ul li {
        width: 100%;
    }
    nav ul li a {
        display: block;
        padding: 0.75rem 1.25rem;
        border-radius: 8px;
    }
    nav ul li a:hover {
        background: rgba(245,158,11,0.1);
    }
    .nav-cta {
        display: none;
    }
    .hero .btn {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
    .hero .btn + .btn {
        margin-top: 0.75rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero {
        padding: 3rem 1.5rem;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .pricing-card.featured {
        transform: none;
    }
    .highlight-box {
        padding: 2rem;
    }
    .highlight-box .btn {
        display: block;
        width: fit-content;
        margin-left: auto !important;
        margin-right: auto;
    }
    .highlight-box .btn + .btn {
        margin-top: 0.75rem;
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .section h2 {
        font-size: 1.8rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
}

@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;
    }
}

/* =============================================
   DESIGN OVERHAUL — New Components & Enhancements
   ============================================= */

/* --- Smooth scroll --- */
html { scroll-behavior: smooth; }

/* --- Blueprint background utility --- */
.blueprint-bg {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.page-header.blueprint-bg,
.section-dark.blueprint-bg {
    background-image:
        linear-gradient(135deg, rgba(30,41,59,0.97), rgba(15,23,42,0.97)),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
}

.blueprint-bg-sm {
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --- Scroll animations --- */
.fade-in,
.slide-up,
.slide-right {
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in { transform: translateY(0); }
.slide-up { transform: translateY(40px); }
.slide-right { transform: translateX(-30px); }

.fade-in.visible,
.slide-up.visible,
.slide-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger children */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.stagger.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.1s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.2s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.3s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.4s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.5s; }

/* --- Process / How It Works --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    counter-reset: step;
}

.process-step {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #f0ece4;
    border: 1px solid #d6cec2;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s;
}

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

.process-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: #f59e0b;
    color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.process-step .step-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
}

.process-step h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.process-step p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
}

/* Connector between steps (desktop) */
@media (min-width: 900px) {
    .process-steps-connector {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        position: relative;
        margin: 2.5rem 0;
    }
    .process-steps-connector .process-step {
        position: relative;
    }
    .process-steps-connector .process-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: #f59e0b;
        font-weight: 700;
        z-index: 2;
    }
}

/* --- Testimonial --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.testimonial-card {
    background: #f0ece4;
    border: 1px solid #d6cec2;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #f59e0b;
    opacity: 0.2;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-weight: 800;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-style: italic;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-card .attribution {
    font-style: normal;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
}

.testimonial-card .attribution span {
    color: #94a3b8;
    font-weight: 400;
}

/* --- Trust badges --- */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.trust-badge {
    padding: 0.6rem 1.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.trust-badge:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(245,158,11,0.3);
    transform: translateY(-2px);
}

.trust-badge strong {
    color: #f59e0b;
}

/* --- Stat callout (large stat with label) --- */
.stat-callout {
    text-align: center;
    padding: 2rem;
}

.stat-callout .big-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-callout .big-label {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Enhanced stat cards --- */
.stat-card-modern {
    background: #f0ece4;
    border: 1px solid #d6cec2;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

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

.stat-card-modern .number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1.2;
}

.stat-card-modern .label {
    color: #475569;
    font-size: 0.88rem;
    margin-top: 0.5rem;
}

/* --- Section with side accent --- */
.section-accent-left {
    border-left: 4px solid #f59e0b;
    padding-left: 1.5rem;
}

.section-accent-left h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* --- Card with icon top (icon badge style) --- */
.card-icon-top {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.card-icon-top .icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    color: #f59e0b;
    border: 2px solid rgba(245,158,11,0.2);
    transition: transform 0.3s;
}

.card-icon-top:hover .icon {
    transform: scale(1.1);
}

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

.card-icon-top p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Enhanced hero badges (homepage) --- */
.hero-badges span {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.hero-badges span:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

/* --- Badge tags (for EUREKA, HERCULES, etc) --- */
.tag {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tag-amber {
    background: rgba(245,158,11,0.15);
    color: #b45309;
}

.tag-green {
    background: rgba(5,150,105,0.15);
    color: #047857;
}

.tag-blue {
    background: rgba(37,99,235,0.15);
    color: #1d4ed8;
}

/* --- Pricing card enhancements --- */
.pricing-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-6px) scale(1.03);
}

/* --- Stat card in dark sections --- */
.stat-card-dark {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card-dark:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.stat-card-dark .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1.2;
}

.stat-card-dark .label {
    color: #b0b8c8;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* --- Divider options --- */
.divider-amber {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

.divider-amber-left {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* --- Pull quote --- */
.pull-quote {
    border-left: 4px solid #f59e0b;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: rgba(245,158,11,0.04);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
}

.pull-quote strong {
    color: #1e293b;
    font-style: normal;
}

/* --- System diagram (simple inline SVG) --- */
.system-diagram {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.sys-node {
    background: #f0ece4;
    border: 1px solid #d6cec2;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

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

.sys-node .emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.sys-node h4 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sys-node p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
}

.sys-node .arrow-down {
    display: none;
}

@media (min-width: 768px) {
    .system-diagram-vertical {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .sys-node {
        max-width: 500px;
        width: 100%;
    }
    .sys-arrow {
        width: 3px;
        height: 50px;
        background: linear-gradient(180deg, #f59e0b, #d97706);
        margin: 0 auto;
        position: relative;
    }
    .sys-arrow::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: #d97706;
    }
}

/* --- Interactive hover effect for links --- */
.hover-underline {
    position: relative;
    text-decoration: none;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s;
}

.hover-underline:hover::after {
    width: 100%;
}

/* --- Section label (like "OUR PROGRAMS" overline) --- */
.section-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.section-label-left {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

/* --- Image frame --- */
.img-frame {
    border-radius: 12px;
    border: 1px solid #d6cec2;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* --- Pulse dot (for live/active indicators) --- */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #059669;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    margin-right: 0.5rem;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(5,150,105,0.4); }
    70% { box-shadow: 0 0 0 8px rgba(5,150,105,0); }
    100% { box-shadow: 0 0 0 0 rgba(5,150,105,0); }
}

/* --- Glow amber button variant --- */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #f59e0b, #d97706, #f59e0b);
    border-radius: 10px;
    z-index: -1;
    animation: glow-spin 3s linear infinite;
    opacity: 0.6;
}

@keyframes glow-spin {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* --- Floating CTA (desktop) --- */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    background: #f59e0b;
    color: #1e293b;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(245,158,11,0.3);
    transition: all 0.3s;
    display: none;
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245,158,11,0.4);
}

/* --- Section connector wave (dark section transitions) --- */
.section-wave-top {
    position: relative;
    margin-top: -3rem;
}
.section-wave-top::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: #e8e3da;
    clip-path: ellipse(70% 100% at 50% 100%);
}

/* --- Offerings grid with labels --- */
.offering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.offering-card {
    background: #f0ece4;
    border: 1px solid #d6cec2;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.offering-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.offering-card .ribbon {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: #f59e0b;
    color: #1e293b;
    padding: 0.25rem 2.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
}

.offering-card .ribbon-green {
    background: #059669;
    color: #fff;
}

.offering-card h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

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

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

.offering-card .price-tag.green {
    color: #059669;
}

.offering-card ul {
    list-style: none;
    margin: 1.25rem 0;
}

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

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

.offering-card ul li.green-check::before {
    color: #059669;
}

/* --- Category label divider --- */
.category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.category-label::before,
.category-label::after {
    content: '';
    width: 24px;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
}

.category-label-amber {
    background: rgba(245,158,11,0.1);
    color: #b45309;
}

.category-label-green {
    background: rgba(5,150,105,0.1);
    color: #047857;
}

/* --- Responsive improvements for new components --- */
@media (max-width: 768px) {
    .stat-callout .big-number {
        font-size: 2.5rem;
    }
    .offering-grid {
        grid-template-columns: 1fr;
    }
    .system-diagram {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}
