:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f97316;
    --bg: #f5f5f7;
    --text: #111827;
    --muted: #6b7280;
    --radius-lg: 16px;
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.12);
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout umum */
.container {
    width: min(1120px, 100% - 32px);
    margin-inline: auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(245, 245, 247, 0.9);
    box-shadow: 0 1px 0 rgba(148, 163, 184, 0.25);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.05rem;
}

.logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #ffffff 0, #93c5fd 35%, #1d4ed8 100%);
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.5);
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.9rem;
}

.nav-links a {
    position: relative;
    padding-bottom: 3px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.22s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.55);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: var(--text);
}

.btn-ghost:hover {
    background: rgba(148, 163, 184, 0.08);
}

/* Hero (index) */
.hero {
    padding: 40px 0 32px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary);
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.hero-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

.hero-title {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hero-highlight {
    color: var(--primary-dark);
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.hero-note {
    font-size: 0.78rem;
    color: var(--muted);
}

.hero-card {
    background: radial-gradient(circle at 0 0, #93c5fd 0, #1d4ed808 40%, #0f172a 100%);
    border-radius: 22px;
    padding: 18px;
    color: #f9fafb;
    box-shadow: var(--shadow-soft);
}

.hero-card h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.hero-card p {
    font-size: 0.82rem;
    opacity: 0.9;
}

.hero-card-list {
    margin-top: 10px;
    font-size: 0.8rem;
}

.hero-card-list li {
    margin-left: 16px;
}

/* Section umum */
.section {
    padding: 34px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Card & grid */
.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 14px 14px 16px;
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.35);
    border: 1px solid rgba(226, 232, 240, 0.95);
    font-size: 0.88rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

/* Produk */
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 8px;
}

.product-image-wrapper img {
    transition: transform 0.22s ease;
}

.product-card:hover img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    color: #f9fafb;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.product-meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Testimoni */
.testimonial-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.testimonial-rating {
    font-size: 0.85rem;
    color: #f59e0b;
    margin-bottom: 4px;
}

.testimonial-text {
    font-size: 0.86rem;
    color: var(--muted);
}

/* Halaman About */
.page-hero {
    padding: 34px 0 20px;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.breadcrumb {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 20px;
}

/* Halaman Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 20px;
}

label {
    font-size: 0.8rem;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

input,
textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    padding: 8px 10px;
    font-family: inherit;
    font-size: 0.86rem;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.22);
}

/* Footer */
footer {
    padding: 16px 0 22px;
    border-top: 1px solid rgba(209, 213, 219, 0.9);
    background: #f9fafb;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 12px;
}

.footer-links a {
    text-decoration: underline;
    text-decoration-style: dotted;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}
