:root {
    /* Palette Colors */
    --brand: #ea580c;
    --brand-dark: #9a3412;
    --brand-light: #ffedd5;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --orange-50: #fff7ed;
    --orange-200: #fed7aa;
    --orange-400: #fb923c;
    --orange-600: #ea580c;
}

/* Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--slate-50);
    color: var(--slate-800);
    overflow-x: hidden;
    line-height: 1.5;
    min-width: 320px;
}

main {
    font-family: 'Inter', sans-serif;
}

::selection {
    background-color: var(--brand);
    color: white;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container - padding lebih kecil untuk 320px */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Helpers */
.text-brand {
    color: var(--brand);
}

.bg-white {
    background-color: white;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Section: Hero */
.hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.65), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
}

.hero-logo {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-logo {
        width: 5rem;
        height: 5rem;
        margin-bottom: 2rem;
    }
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.5));
    filter: brightness(0%) invert(1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(234, 88, 12, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(234, 88, 12, 0.3);
    color: var(--brand-light);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .hero-badge {
        padding: 0.375rem 1rem;
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
}

.hero-title {
    font-size: 2rem;
    /* Pas untuk 320px */
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hero-title-gradient {
    background: linear-gradient(to right, var(--orange-400), var(--orange-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1rem;
    color: var(--slate-300);
    font-weight: 300;
    max-width: 36rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--brand);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--brand-dark);
}

.btn-primary i {
    margin-left: 0.5rem;
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-desc {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }

    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Section: Features */
.features {
    padding: 3rem 0;
    background-color: white;
    border-bottom: 1px solid var(--slate-100);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
        padding: 1rem 0;
    }
}

.feature-item i {
    font-size: 1.75rem;
    color: var(--brand);
    margin-bottom: 0.75rem;
}

.feature-item h3 {
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* Section: About */
.about {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about {
        padding: 6rem 0;
    }

    .about-grid {
        gap: 4rem;
    }
}

@media (min-width: 1024px) {
    .about {
        padding: 8rem 0;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
    }
}

.about-img-box {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    aspect-ratio: 4/5;
}

@media (min-width: 1024px) {
    .about-img-box {
        border-radius: 1.5rem;
        aspect-ratio: 1/1;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .about-badge {
        bottom: 1.5rem;
        left: 1.5rem;
        padding: 1rem;
        border-radius: 1rem;
        gap: 1rem;
    }
}

.about-badge-icon {
    background-color: var(--brand-light);
    color: var(--brand);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .about-badge-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}

.about-badge-text-sm {
    font-size: 0.7rem;
    color: var(--slate-500);
    font-weight: 700;
    text-transform: uppercase;
}

.about-badge-text-lg {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-800);
}

@media (min-width: 640px) {
    .about-badge-text-sm {
        font-size: 0.75rem;
    }

    .about-badge-text-lg {
        font-size: 1rem;
    }
}

.section-label {
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.25;
}

@media (min-width: 640px) {
    .section-label {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .section-title {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.about-desc {
    color: var(--slate-600);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-desc {
        font-size: 1.125rem;
        line-height: 1.625;
    }
}

.about-quote {
    margin-top: 2rem;
    border-left: 3px solid var(--brand);
    padding-left: 1rem;
}

@media (min-width: 768px) {
    .about-quote {
        margin-top: 2.5rem;
        border-left-width: 4px;
        padding-left: 1.5rem;
    }
}

.about-quote-text {
    font-size: 1.125rem;
    color: var(--slate-800);
    font-weight: 500;
    font-style: italic;
}

@media (min-width: 768px) {
    .about-quote-text {
        font-size: 1.25rem;
    }
}

.about-quote-author {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Section: Lokasi JR */
.lokasi {
    padding: 4rem 0;
    background-color: var(--slate-100);
    border-top: 1px solid var(--slate-200);
}

@media (min-width: 768px) {
    .lokasi {
        padding: 6rem 0;
    }
}

.lokasi-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .lokasi-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 4rem;
    }
}

.search-box {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .search-box {
        width: 20rem;
    }
}

@media (min-width: 1024px) {
    .search-box {
        width: 24rem;
    }
}

.search-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1rem;
    display: flex;
    align-items: center;
    color: var(--slate-400);
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    background-color: white;
    color: var(--slate-700);
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
}

.search-input:focus {
    box-shadow: 0 0 0 2px var(--brand);
}

.jr-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .jr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .jr-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .jr-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.jr-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-100);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.jr-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.jr-img-wrap {
    height: 8rem;
    position: relative;
    overflow: hidden;
}

.jr-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jr-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
}

.jr-title {
    position: absolute;
    bottom: 0.75rem;
    left: 1rem;
    right: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    line-height: 1.25;
}

.jr-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.jr-info {
    margin-bottom: 0;
}

.jr-label {
    font-size: 0.7rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.jr-gembala {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jr-gembala i {
    margin-right: 0.375rem;
    color: var(--slate-300);
}

.btn-wa {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--slate-50);
    color: var(--slate-600);
    padding: 0.625rem 0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--slate-100);
    transition: all 0.2s;
}

.btn-wa:hover {
    background-color: var(--orange-50);
    color: var(--brand);
    border-color: var(--orange-200);
}

.btn-wa i {
    font-size: 1.125rem;
    color: #22c55e;
}

.no-result {
    text-align: center;
    padding: 3rem 0;
}

.no-result-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--slate-200);
    color: var(--slate-400);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Section: Steps */
.steps {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .steps {
        padding: 6rem 0;
    }
}

.steps-box {
    background-color: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-100);
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 640px) {
    .steps-box {
        border-radius: 2rem;
        padding: 2.5rem;
        gap: 4rem;
    }
}

@media (min-width: 1024px) {
    .steps-box {
        border-radius: 2.5rem;
        padding: 4rem;
        grid-template-columns: repeat(2, 1fr);
    }
}

.steps-blob {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 16rem;
    height: 16rem;
    background-color: var(--brand-light);
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
}

@media (min-width: 768px) {
    .steps-blob {
        top: -8rem;
        right: -8rem;
        width: 24rem;
        height: 24rem;
        filter: blur(60px);
    }
}

.steps-content {
    position: relative;
    z-index: 10;
}

.steps-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .steps-title {
        font-size: 1.875rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .steps-title {
        font-size: 2.25rem;
    }
}

.step-list {
    position: relative;
}

@media (min-width: 768px) {
    .step-list::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 1.5rem;
        width: 2px;
        background: linear-gradient(to bottom, transparent, var(--slate-200), transparent);
        transform: translateX(-50%);
    }
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
}

@media (min-width: 640px) {
    .step-item {
        margin-bottom: 2rem;
    }
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-num {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--slate-100);
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--slate-500);
    font-weight: 700;
    font-size: 1rem;
    z-index: 10;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

@media (min-width: 768px) {
    .step-num {
        width: 3rem;
        height: 3rem;
        font-size: 1.125rem;
    }
}

.step-item:hover .step-num {
    background-color: var(--brand);
    color: white;
}

.step-text {
    margin-left: 1rem;
}

@media (min-width: 768px) {
    .step-text {
        margin-left: 1.5rem;
    }
}

.step-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .step-text h4 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
}

.step-text p {
    color: var(--slate-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .step-text p {
        font-size: 1rem;
        line-height: 1.625;
    }
}

.steps-visual {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .steps-visual {
        margin-top: 0;
    }
}

.steps-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 20;
}

@media (min-width: 640px) {
    .steps-logo {
        width: 7rem;
        height: 7rem;
        border-width: 4px;
    }
}

@media (min-width: 1024px) {
    .steps-logo {
        width: 9rem;
        height: 9rem;
        margin-bottom: 2rem;
    }
}

.steps-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    scale: 0.8;
}

.steps-img-box {
    width: 100%;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/9;
    margin-top: -3rem;
}

@media (min-width: 640px) {
    .steps-img-box {
        margin-top: -4.5rem;
    }
}

@media (min-width: 1024px) {
    .steps-img-box {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        margin-top: -5.5rem;
    }
}

.steps-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steps-img-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(234, 88, 12, 0.15);
    mix-blend-mode: overlay;
}

/* Section: FAQ */
.faq {
    padding: 4rem 0;
    background-color: var(--slate-50);
}

@media (min-width: 768px) {
    .faq {
        padding: 6rem 0;
    }
}

.faq-box {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .faq-header {
        margin-bottom: 3rem;
    }
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .faq-list {
        gap: 1rem;
    }
}

.faq-item {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-100);
    overflow: hidden;
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--slate-800);
    background-color: white;
    position: relative;
    z-index: 10;
    list-style: none;
    font-size: 0.9rem;
}

@media (min-width: 640px) {
    .faq-summary {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    color: var(--brand);
}

.faq-icon {
    color: var(--slate-400);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1rem 1rem 1rem;
    color: var(--slate-600);
    line-height: 1.6;
    font-size: 0.9rem;
    background-color: rgba(248, 250, 252, 0.5);
    border-top: 1px solid var(--slate-50);
    padding-top: 0.5rem;
}

@media (min-width: 640px) {
    .faq-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
        font-size: 1rem;
    }
}