/* assets/style.css – Fiddlekids Ecommerce */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-body: #f5f7fb;
    --bg-card: #ffffff;
    --accent: #ff7b54;
    --accent-soft: rgba(255, 123, 84, 0.12);
    --accent-dark: #f9664f;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-soft: rgba(15, 23, 42, 0.08);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.09);
}

html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top left, #fef3c7, #eff6ff 42%, #f5f7fb 70%);
    color: var(--text-main);
    min-height: 100vh;
}

/* Layout */

.wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

.section {
    padding: 48px 0;
}

/* Header & nav */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    margin-bottom: 24px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 16px;
    z-index: 20;
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #facc15, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    color: #111827;
    box-shadow: 0 0 26px rgba(248, 250, 252, 0.9);
}

.brand-text-main {
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 15px;
}

.brand-text-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: 0.16s ease;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-dark);
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(255, 255, 255, 0.9);
}

/* Hero */

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(248, 113, 113, 0.7);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7f1d1d;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-title span.highlight {
    color: var(--accent-dark);
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 18px;
    max-width: 480px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.pill {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.9);
}

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

.btn {
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.18s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #111827;
    box-shadow: 0 14px 32px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.55);
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Hero card kanan */

.hero-card {
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border-soft);
    padding: 18px 18px 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-card-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hero-metric-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.hero-metric {
    flex: 1;
    padding: 10px 10px 9px;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid rgba(209, 213, 219, 0.9);
}

.hero-metric-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.hero-metric-value {
    font-size: 16px;
    font-weight: 700;
}

.hero-metric-note {
    font-size: 10px;
    color: #16a34a;
}

.hero-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.hero-card-chip {
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px dashed rgba(148, 163, 184, 0.7);
}

/* Section heading */

.section-head {
    margin-bottom: 18px;
}

.section-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-dark);
    margin-bottom: 2px;
}

.section-title {
    font-size: 22px;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

/* Product grid */

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

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    padding: 10px 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 14px;
    background: linear-gradient(135deg, #bfdbfe, #fecaca);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #374151;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
}

.product-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-dark);
}

.product-tagline {
    font-size: 11px;
    color: #16a34a;
}

.product-actions {
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.product-actions a {
    text-decoration: none;
    color: var(--accent-dark);
}

/* Steps / USP */

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

.usp-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    padding: 14px 14px 16px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    font-size: 14px;
}

.usp-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.usp-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* Footer */

.site-footer {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

/* Pages */

.page-hero {
    padding: 24px 20px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: var(--shadow-soft);
    margin-bottom: 22px;
}

.page-hero-title {
    font-size: 24px;
    margin-bottom: 4px;
}

.page-hero-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.page-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-soft);
    padding: 18px 18px 20px;
    box-shadow: var(--shadow-soft);
    font-size: 14px;
    color: var(--text-main);
}

.page-content h2 {
    font-size: 18px;
    margin: 10px 0 6px;
}

.page-content h3 {
    font-size: 15px;
    margin: 8px 0 4px;
}

.page-content p {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.page-content ul {
    padding-left: 18px;
    margin-bottom: 8px;
}

.page-content li {
    margin-bottom: 4px;
}

/* Contact form */

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 18px;
}

.form-group {
    margin-bottom: 10px;
}

.form-label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
    display: block;
}

.form-control,
.form-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    transition: 0.15s ease;
    font-family: inherit;
}

.form-control:focus,
.form-textarea:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.35);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-help {
    font-size: 11px;
    color: var(--text-muted);
}

/* Responsive */

@media (max-width: 880px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-card {
        order: -1;
    }
    .grid-3,
    .usp-grid,
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .hero-title {
        font-size: 26px;
    }
    .section {
        padding: 36px 0;
    }
}
