/* ── Landing page specific styles ── */

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 60%, #ffffff 100%);
    padding: 6rem 5% 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(255,89,17,.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,89,17,.10) 0%, transparent 70%);
    pointer-events: none;
}
.hero__inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 600;
    padding: .35rem .9rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    letter-spacing: .03em;
}
.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1e1e2e;
    margin-bottom: 1.2rem;
}
.hero__title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__sub {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto 2.2rem;
    line-height: 1.7;
}
.hero__actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero__cta-main {
    padding: .85rem 2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(255,89,17,.25);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.hero__cta-main:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,89,17,.35);
}
.hero__cta-sec {
    padding: .85rem 1.8rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #1e1e2e;
    background: #fff;
    text-decoration: none;
    transition: border-color .2s, color .2s;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.hero__cta-sec:hover { border-color: var(--primary); color: var(--primary); }
.hero__stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}
.hero__stat strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: #1e1e2e;
}
.hero__stat span {
    font-size: .82rem;
    color: #64748b;
    font-weight: 500;
}

/* Features */
.features {
    padding: 5.5rem 5%;
    background: #f8f9fc;
}
.features__inner { max-width: 1200px; margin: 0 auto; }
.features__header { text-align: center; margin-bottom: 3.5rem; }
.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
/* Center card ke-5 dan ke-6 (baris kedua hanya 2 dari 4 kolom) */
.features__grid .feature-card:nth-child(5) {
    grid-column: 2 / 3;
}
.features__grid .feature-card:nth-child(6) {
    grid-column: 3 / 4;
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
    border: 1px solid #f1f5f9;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255,89,17,.12);
}
.feature-card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1.1rem;
}
.feature-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e1e2e;
    margin-bottom: .45rem;
}
.feature-card__desc {
    font-size: .88rem;
    color: #64748b;
    line-height: 1.65;
}

/* How it works */
.howto { padding: 5.5rem 5%; }
.howto__inner { max-width: 1200px; margin: 0 auto; }
.howto__header { text-align: center; margin-bottom: 3.5rem; }
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    counter-reset: steps;
}
.step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}
.step__num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 16px rgba(255,89,17,.28);
}
.step__title {
    font-size: .98rem;
    font-weight: 700;
    color: #1e1e2e;
    margin-bottom: .4rem;
}
.step__desc {
    font-size: .85rem;
    color: #64748b;
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 5%;
    text-align: center;
    color: #fff;
}
.cta-banner__inner { max-width: 640px; margin: 0 auto; }
.cta-banner h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 1rem;
}
.cta-banner p {
    font-size: 1rem;
    opacity: .88;
    margin-bottom: 2rem;
    line-height: 1.65;
}
.cta-banner__actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-banner .btn-white {
    padding: .85rem 2rem;
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.cta-banner .btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.cta-banner .btn-ghost {
    padding: .85rem 1.8rem;
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    text-decoration: none;
    transition: all .2s;
}
.cta-banner .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* About Brief Section for SEO */
.about-brief {
    padding: 5.5rem 5%;
    background: #ffffff;
}
.about-brief__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.about-brief__content {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    margin-top: 1.5rem;
}
.about-brief__content p {
    margin-bottom: 1.25rem;
}
.about-brief__highlight {
    font-weight: 600;
    color: var(--primary);
}

@media (max-width: 600px) {
    .hero { padding: 4rem 5% 3.5rem; }
    .hero__stats { gap: 1.5rem; }
}

/* Responsive: features grid */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features__grid .feature-card:nth-child(5),
    .features__grid .feature-card:nth-child(6) {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .features__grid {
        grid-template-columns: 1fr;
    }
}
