:root {
    --pico-font-family: Buka Sans Text,system-ui,sans-serif;
    --brand-pink: #E31E52;
    --brand-pink-dark: #C41543;
    --surface-gray: #F5F6F8;
    --text-main: #1A1D20;
    --text-muted: #5E6670;
}

@font-face {
    font-family: 'Buka Sans';
    src: url('fonts/BukaSansText-Regular-v2.woff2') format('woff2');
    font-display: swap; /* Keeps text visible while loading */
}


@font-face {
  font-family: 'BukaSansDisplayBold';
  src: url('fonts/BukaSansDisplay-Bold-v2.woff2') format('woff2');
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: 'BukaSansDisplay';
  src: url('fonts/BukaSansDisplay-Medium-v2.woff2') format('woff2');
  font-display: swap;
  font-weight: 500;
}


body {
    color: var(--text-main);
    background-color: #ffffff;
    overflow-x: hidden;
}

body>main {
    padding-block: 0;
}

.container {
    /* 1120px of content + side gutters; Pico drops container padding above 576px,
       so add it back to keep content off the screen edges on tablets/laptops */
    max-width: calc(1120px + 2.5rem);
    padding-inline: 1.25rem;
}

@media (max-width: 575.98px) {
    .container {
        padding-inline: 1rem;
    }
}

/* --- NAVBAR --- */
header.site-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.5rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--brand-pink);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.mode-pills {
    display: inline-flex;
    background: #F4F5F7;
    padding: 0.25rem;
    border-radius: 999px;
    gap: 0.25rem;
}

.mode-pill {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.mode-pill.active {
    background: var(--brand-pink);
    color: #ffffff;
}

.mode-pill.inactive {
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--brand-pink);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 0.4rem;
    margin: 0;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-nav-drawer {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 1rem 0;
}

.mobile-nav-drawer ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-drawer ul li {
    list-style: none;
    list-style-type: none;
}



.mobile-nav-drawer.open {
    display: block;
}

/* --- HERO SECTION --- */
.hero-section {
    background-image: url("images/gradient.png");
    background-position: center top;
    padding: 3.5rem 0 4.5rem;
}

.hero-grid {
    align-items: center;
    gap: 2.5rem;
}

.hero-eyebrow {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-main);
    font-family: 'BukaSansDisplay';
}

.hero-title {
    font-size: clamp(2.1rem, 4vw, 3.15rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.15rem;
    margin-top: 1.15rem;
    color: var(--text-main);
    font-family: 'BukaSansDisplayBold';
}

.hero-title .highlight {
    color: var(--brand-pink);
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 440px;
    margin-bottom: 2.25rem;
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.badge-bi {
    letter-spacing: 0.05em;
}

.badge-tuv-text {
    font-size: 0.68rem;
    line-height: 1.25;
    color: var(--text-muted);
    max-width: 240px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- VALUE PROPS SECTION --- */
.section-block {
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-heading {
    font-family: 'BukaSansDisplay';
    text-align: center;
    font-size: clamp(1.5rem, 2.8vw, 2.05rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.section-subheading {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 1120px;
    margin: 0 auto 3rem;
}

.feature-card {
    text-align: left;
}

.feature-art-box {
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 346.67 / 320;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
}

.bg-mint {
    background-color: #6DCF7A;
    border: 1px solid #23A665;
    background-image: url("images/art-box-1.png");
    background-position: center;
}
.bg-cream {
    background-color: #FAF4B2;
    border: 1px solid #FB8B01;
    background-image: url("images/art-box-2.png");
    background-position: center;

}
.bg-periwinkle {
    background-color: #D6E4FE;
    border: 1px solid #4F78E8;
    background-image: url("images/art-box-3.png");
    background-position: center;
}

.feature-card h3 {
    font-family: 'BukaSansDisplay';
    font-weight: 700;
    font-size: 1.12rem;
    margin-bottom: 0.45rem;
    color: var(--text-main);
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- MITRA BUKALAPAK BENTO GRID --- */
/* 9-column grid: wide cards span 5, narrow span 4 (600:480 ratio),
   so rows alternate wide/narrow and narrow/wide and always fill the width. */
.bento-row {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 1.5rem;
}

.bento-card-1 {
    grid-column: span 4;
}

.bento-card-2 {
    grid-column: span 5;
}

.bento-card {
    background-color: var(--surface-gray);
    border-radius: 18px;
    padding: 2rem 2rem 2rem 2rem;
    box-shadow: none;
    border: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    max-height: 360px;
}

.bento-card h3 {
    font-size: 1.15rem;
    font-family: 'BukaSansDisplay';
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.bento-card-1 .bento-content {
    max-width: 404px;
}
.bento-card-2 .bento-content {
    max-width: 434px;
}

.bento-visual {
    margin-top: auto;
    justify-content: center;
}

.bento-visual img {
    max-width: 100%;
    height: auto;
}


/* --- SEO OVERVIEW SECTION --- */
.seo-section {
    padding: 2.5rem 0 4rem;
    border-top: 1px solid #f2f2f2;
}

.seo-section h2 {
    font-size: 0.95rem;
    font-weight: 700;
    font-style: bold;
    margin-top: var(--pico-typography-spacing-top);
    margin-bottom: 0.65rem;
}

.seo-section p {
    font-size: 0.82rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.seo-section li {
    font-size: 0.82rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}


.seo-more {
    display: none;
}

.seo-more.expanded {
    display: block;
}

.read-more-btn {
    background: none;
    border: none;
    padding: 0;
    color: #1D63DC;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

/* --- DARK FOOTER --- */
footer.site-footer {
    background-color: #111111;
    color: #D1D5DB;
    padding: 4rem 0 2.5rem;
    font-size: 0.82rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 2.25rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 0.8fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #262626;
}

.footer-col h5 {
    color: #ffffff;
    font-family: 'BukaSansDisplay';
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    line-height: 1.55;
    color: #B0B5BC;
}

.footer-links {
    padding: 0;
    margin: 0;
}

.footer-links li {
    list-style: none;
    margin-bottom: 0.65rem;
}

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

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal {
    max-width: 570px;
    line-height: 1.6;
    font-size: 14px;
    height:fit-content;
}

.footer-legal p {
    color: #b6b6b6;
}

.footer-legal p:last-child {
    margin-bottom: 0;
}

.footer-legal strong {
    color: #ffffff;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.copyright-bar {
    margin-top: 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* --- RESPONSIVE BREAKPOINTS (MOBILE LAYOUT MATCH) --- */

/* Tablet & small laptop: pills + links no longer fit, use the hamburger menu */
@media (max-width: 1023.98px) {
    .mode-pills,
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }
}

/* Small laptop: tighten navbar spacing so everything fits on one line */
@media (min-width: 1024px) and (max-width: 1279.98px) {
    .nav-left { gap: 0.75rem; }
    .nav-links { gap: 1.1rem; }
}

/* Hide the drawer if it was left open and the screen is widened */
@media (min-width: 1024px) {
    .mobile-nav-drawer.open {
        display: none;
    }
}

/* Tablet: bento cards in an even 2-column grid */
@media (max-width: 1023.98px) {
    .bento-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bento-card-1,
    .bento-card-2 {
        grid-column: span 1;
    }

    .bento-card {
        padding: 1.5rem;
    }
}

/* Mobile (matches Pico's 768px grid breakpoint, so the two never overlap) */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 1.5rem 0 3rem;
    }
    
    /* Mobile stacks illustration on top, text below */
    .hero-visual {
        order: -1;
        margin-bottom: 0.5rem;
    }
    
    .hero-visual svg {
        max-width: 290px;
        height: auto;
    }

    .badge-bi {
        max-width: 103.34px;
        max-height: 47.04px;
    }

    .badge-item {
        max-width: 204px;
    }

    .bento-row {
        grid-template-columns: 1fr;
    }

    .bento-card {
        max-height: none;
        padding: 1.5rem 1.5rem 0 1.5rem;
        min-height: 220px;
    }
    
    .service-icons-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.45rem;
        padding: 0.85rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .badge-iso {
        min-width: 48px; 
    }
}
