:root {
    --primary-color: #E65100; /* Safety Orange */
    --primary-hover: #BF360C;
    --accent-color: #111111;
    --bg-color: #FFFFFF;
    --bg-secondary: #F4F4F4;
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: #E0E0E0;
    --whatsapp-color: #25D366; 
    --warning-color: #FFB300; 
    
    --font-family: 'Plus Jakarta Sans', sans-serif;
    
    --container-width: 1050px;
}

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

html {
    font-size: 14.5px; /* Scales down all rem-based typography by ~10% for a sleeker look */
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--accent-color);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}
.bg-gray {
    background-color: var(--bg-secondary);
}

.section-header {
    margin-bottom: 50px;
}
.section-header.space-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 5px;
    letter-spacing: -0.01em;
}

/* BADGE */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.badge-text {
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 0;
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.05em;
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}
.btn-icon i {
    margin-right: 8px;
    font-size: 1.2em;
}
.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
}
.btn-outline {
    border-color: var(--border-color);
    color: var(--accent-color);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: white;
}
.btn-outline-white {
    border-color: white;
    color: white;
    background: transparent;
}
.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
}
.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.link-arrow i {
    margin-left: 5px;
    transition: transform 0.3s;
}
.link-arrow:hover i {
    transform: translateX(5px);
}

/* NAVBAR */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}
.navbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 70px;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
}
.brand-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}
.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.1;
    letter-spacing: 0.5px;
}
.brand-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
}
.nav-links {
    display: flex;
    gap: 15px;
    justify-self: center;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.nav-links a:hover {
    background-color: rgba(0,0,0,0.04);
    color: var(--accent-color);
}
.nav-links a.active {
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 700;
}
.nav-actions {
    justify-self: end;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* HERO */
.hero {
    padding: 40px 0 80px;
    background-color: white;
    background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 15px 0 20px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
}
.avatar-group {
    display: flex;
}
.avatar-group img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -15px;
}
.avatar-group img:first-child {
    margin-left: 0;
}
.proof-text {
    display: flex;
    align-items: center;
    gap: 15px;
}
.proof-count {
    font-size: 0.9rem;
    font-weight: 600;
}
.proof-stars {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.text-warning {
    color: var(--warning-color);
}
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-image::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--primary-color);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

/* FEATURES */
.features {
    padding: 70px 0;
    background-color: var(--bg-secondary);
    color: var(--text-color);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    border: none;
    background: transparent;
}
.feature-item {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: white;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(230, 81, 0, 0.08);
    background: white;
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(230, 81, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    flex-shrink: 0;
}
.feature-text h3 {
    color: var(--accent-color);
    font-size: 1.15rem;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.product-img-wrapper {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}
.product-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 3rem;
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-color);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-title {
    font-weight: 600;
}
.product-sku {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}
.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.product-buttons .btn-outline {
    flex: 1;
}
.product-buttons .btn-primary {
    flex: 2;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 40px;
    align-items: start;
}
.product-detail-title {
    font-size: 1.5rem;
    font-weight: 800;
}
.variants-table-wrapper {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}
.variants-table {
    width: 100%;
    border-collapse: collapse;
}
.variants-table th {
    background: rgba(0,0,0,0.02);
    padding: 12px 15px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.variants-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    font-size: 0.95rem;
}
.variants-table tr:last-child td {
    border-bottom: none;
}

/* ABOUT */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.rounded-img {
    width: 100%;
    border-radius: 20px;
}
.about-desc {
    margin: 20px 0 30px;
    font-size: 1.05rem;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 20px;
}
.about-feature .icon-box {
    width: 45px;
    height: 45px;
    background: #FFF0F0;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}
.about-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* TESTIMONIAL */
.slider-controls {
    display: flex;
    gap: 10px;
}
.btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-circle:hover {
    border-color: var(--accent-color);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
}
.testimonial-user {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.testimonial-info {
    flex: 1;
}
.stars {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-style: italic;
}
.testimonial-name {
    font-size: 0.95rem;
}
.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA BANNER */
.cta-banner {
    padding: 0 0 80px;
}
.cta-inner {
    background: linear-gradient(135deg, var(--primary-color), #BF360C);
    border-radius: 16px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 20px 40px rgba(230, 81, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    top: -50%;
    left: -50%;
    transform: rotate(-15deg);
}
.cta-text-group, .cta-button {
    position: relative;
    z-index: 1;
}
.cta-text-group {
    display: flex;
    align-items: center;
    gap: 25px;
}
.cta-icon {
    font-size: 3.5rem;
}
.cta-text h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}
.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* FOOTER */
.footer {
    background: #111111;
    padding: 70px 0 30px;
    color: white;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 20px;
}
.footer-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}
.footer-brand .brand-logo i {
    color: var(--primary-color);
    font-size: 28px;
}
.footer-desc {
    color: rgba(255,255,255,0.6);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}
.footer-menu h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: white;
}
.footer-menu a {
    display: block;
    color: rgba(255,255,255,0.6);
    margin-bottom: 15px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.footer-menu a:hover {
    color: var(--primary-color);
}
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}
.contact-item i {
    font-size: 1.2rem;
    margin-top: 3px;
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .navbar-inner {
        display: flex;
        justify-content: space-between;
    }
    .nav-links, .nav-actions .btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    .hero-buttons, .hero-social-proof {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-item:nth-child(2) {
        border-right: none;
    }
    .feature-item:nth-child(1), .feature-item:nth-child(2) {
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-detail-title {
        font-size: 2rem !important;
    }
    .about-inner {
        grid-template-columns: 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .cta-text-group {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* ANIMATIONS & NEW COMPONENTS */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.product-card.premium-card .product-hover-overlay {
    opacity: 0;
    transition: all 0.4s ease;
}
.product-card.premium-card:hover .product-hover-overlay {
    opacity: 1;
}
.product-card.premium-card .img-zoom {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card.premium-card:hover .img-zoom {
    transform: scale(1.05);
}
.link-order {
    display: inline-flex; 
    align-items: center; 
    gap: 5px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    position: relative;
    padding-bottom: 5px;
    color: var(--accent-color);
}
.link-order::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1.5px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}
.link-order:hover::after {
    width: 100%;
}
.link-order i {
    transition: transform 0.3s ease;
}
.link-order:hover i {
    transform: translateX(5px);
}
.feature-icon {
    border-radius: 50%;
}
.premium-features .feature-item {
    transition: transform 0.4s ease;
}
.premium-features .feature-item:hover {
    transform: translateY(-5px);
}

/* SKELETON LOADER */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
    border-radius: 4px;
}
@keyframes skeleton-loading {
    0% { background-color: #e2e5e7; }
    100% { background-color: #f1f3f5; }
}
.product-img-wrapper.skeleton .product-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-img-wrapper.skeleton.loaded .product-img {
    opacity: 1;
}
.product-img-wrapper.skeleton.loaded {
    animation: none;
    background: transparent;
}

/* REVIEWS SUMMARY (Tokopedia Style) */
.review-summary-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.review-summary-header {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.review-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: center;
}
@media (max-width: 768px) {
    .review-summary-grid {
        grid-template-columns: 1fr;
    }
}
.review-rating-big {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}
.review-rating-score {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}
.review-rating-max {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
}
.review-satisfaction {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}
.review-stats-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.review-star-icon {
    color: var(--warning-color);
    font-size: 2rem;
    margin-right: 5px;
}
.review-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}
.review-bar-star {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 35px;
}
.review-bar-star i {
    color: var(--warning-color);
}
.review-bar-container {
    flex-grow: 1;
    height: 8px;
    background: #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
}
.review-bar-fill {
    height: 100%;
    background: var(--warning-color);
    border-radius: 10px;
}
.review-bar-count {
    width: 40px;
    text-align: right;
    font-size: 0.8rem;
}
