/* ============================================================
   HOME.CSS — PREMIUM LANDING PAGE
   Global Manufacturing Standard — Cinematic, Clean, Responsive
   Revisi Final: video stabil, reading mask tepat di belakang konten
   ============================================================ */

/* ---------- Variables ---------- */
:root {
    --primary: #800000;
    --primary-dark: #5a0000;
    --primary-light: #AA4444;
    --secondary: #13294B;
    --secondary-dark: #0d1f3a;
    --secondary-light: #1f446e;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #777777;
    --border-light: #E8E8E8;
    --shadow-sm: 0 4px 16px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.07);
    --shadow-hover: 0 16px 48px rgba(19,41,75,0.12);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & Base ---------- */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    background: var(--bg-white);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

.home-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ---------- Section Label ---------- */
.home-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.home-section-label--light {
    color: rgba(255,255,255,0.7);
}

/* ---------- Buttons ---------- */
.home-btn-primary,
.home-btn-secondary,
.home-btn-outline,
.home-cta-button {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.home-btn-primary {
    background: var(--primary);
    color: #fff;
}
.home-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}
.home-btn-primary:hover::before {
    left: 100%;
}
.home-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(128,0,0,0.25);
    color: #fff;
}

.home-btn-secondary {
    background: var(--secondary);
    color: #fff;
}
.home-btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--secondary-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: -1;
}
.home-btn-secondary:hover::before {
    transform: scaleX(1);
}
.home-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(19,41,75,0.25);
    color: #fff;
}

.home-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.home-btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(128,0,0,0.15);
}

.home-cta-button {
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    padding: 16px 44px;
}
.home-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}
.home-cta-button:hover::before {
    left: 100%;
}
.home-cta-button:hover {
    background: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(19,41,75,0.30);
    color: #fff;
}

/* ---------- Reveal Animations (Premium) ---------- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(10px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left {
    transform: translateX(-40px) scale(0.96);
    filter: blur(10px);
}
.reveal-right {
    transform: translateX(40px) scale(0.96);
    filter: blur(10px);
}
.reveal-scale {
    transform: scale(0.92);
    filter: blur(8px);
}
.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
    filter: blur(0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    filter: blur(6px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
/* ---------- PENAMBAHAN OUR PROCESS ---------- */
.stagger-children.active > *:nth-child(1) { transition-delay: 0.04s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.10s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.22s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.28s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.34s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(7) { transition-delay: 0.40s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(8) { transition-delay: 0.46s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(9) { transition-delay: 0.46s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(10) { transition-delay: 0.46s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(11) { transition-delay: 0.46s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(12) { transition-delay: 0.46s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(13) { transition-delay: 0.46s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(14) { transition-delay: 0.46s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.stagger-children.active > *:nth-child(15) { transition-delay: 0.46s; opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }


/* ---------- Section Wave Dividers ---------- */
.home-wave-divider {
    width: 100%;
    height: 60px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.home-wave-divider::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 60px;
    background: radial-gradient(ellipse at 20% 100%, rgba(19,41,75,0.04) 0%, transparent 70%);
    animation: homeWave 8s ease-in-out infinite alternate;
}
@keyframes homeWave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION 1 — HERO VIDEO FULLSCREEN (FINAL — STABIL)
   ============================================================ */
.home-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: #0a0a0a;
}

.home-hero-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.home-hero-video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none;
    /* Video tetap terang dan tajam — TANPA ZOOM ANIMASI */
    filter: brightness(0.70) contrast(1.05) saturate(0.95);
    /* Hanya fade in saat load — tidak ada zoom goyang */
    animation: homeVideoFade 2s ease-out forwards;
}
@keyframes homeVideoFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ---------- OVERLAY: VIGNETTE + SPOTLIGHT (tanpa reading mask) ---------- */
.home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        /* Vignette kiri */
        linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, transparent 25%),
        /* Vignette kanan */
        linear-gradient(to left, rgba(0, 0, 0, 0.35) 0%, transparent 25%),
        /* Vignette atas */
        linear-gradient(to bottom, rgba(0, 0, 0, 0.30) 0%, transparent 20%),
        /* Vignette bawah */
        linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 25%),
        /* Spotlight tengah */
        radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.06) 60%, rgba(0, 0, 0, 0.15) 100%);
    background-blend-mode: normal, normal, normal, normal, normal;
}

.home-hero-overlay::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:38%;
    mix-blend-mode:multiply;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.95) 0%,
        rgba(0,0,0,.88) 18%,
        rgba(0,0,0,.72) 38%,
        rgba(0,0,0,.45) 62%,
        rgba(0,0,0,.20) 82%,
        transparent 100%
    );

    pointer-events:none;
}

/* ---------- GLASS EFFECT (dekoratif) ---------- */
.home-hero-glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* ---------- FLOATING BLUR (dekoratif) ---------- */
.home-hero-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.06;
    animation: homeFloat 16s ease-in-out infinite alternate;
}
.home-hero-blur--1 {
    width: 500px;
    height: 500px;
    background: var(--primary-light, #AA4444);
    top: -150px;
    right: -150px;
}
.home-hero-blur--2 {
    width: 400px;
    height: 400px;
    background: var(--secondary, #13294B);
    bottom: -100px;
    left: -100px;
    animation-delay: 4s;
}
@keyframes homeFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -50px) scale(1.3); }
}

/* ---------- HERO CONTENT (dengan reading mask di belakang) ---------- */
.home-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    transform: translateY(-40px);
    animation: homeHeroFade 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes homeHeroFade {
    0% { opacity: 0; transform: translateY(-20px) scale(0.97); }
    100% { opacity: 1; transform: translateY(-40px) scale(1); }
}

/* ---------- READING MASK — tepat di belakang konten ---------- */
.home-hero-content::before {
    content: '';
    position: absolute;
    inset: -80px -100px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.30) 0%,
        rgba(0, 0, 0, 0.18) 45%,
        transparent 80%
    );
    filter: blur(24px);
    z-index: -1;
    pointer-events: none;
}

.home-hero-inner {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ---------- BADGE (Glassmorphism Premium) ---------- */
.home-hero-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.80);
    padding: 0.4em 1.8em;
    border-radius: 30px;
    margin-bottom: 36px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    animation: homeBorderPulse 3s ease-in-out infinite;
}
@keyframes homeBorderPulse {
    0%, 100% { border-color: rgba(255, 255, 255, 0.15); }
    50% { border-color: rgba(255, 255, 255, 0.30); }
}

/* ---------- TITLE (Elegan) ---------- */
.home-hero-title {
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 32px;
    color: #F7F7F7;
    text-shadow:
        0 4px 16px rgba(0, 0, 0, 0.35),
        0 12px 40px rgba(0, 0, 0, 0.20);
}

.home-hero-highlight {
    color: var(--primary-light, #AA4444);
    position: relative;
    display: inline-block;
}
.home-hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-light, #AA4444);
    border-radius: 4px;
    opacity: 0.4;
    transform: scaleX(0);
    transform-origin: left;
    animation: homeUnderline 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}
@keyframes homeUnderline {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* ---------- SUBTITLE ---------- */
.home-hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 48px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* ---------- META ---------- */
.home-hero-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.50);
    letter-spacing: 0.5px;
    margin-bottom: 46px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.home-hero-meta-sep {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.15);
}

/* ---------- BUTTONS ---------- */
.home-hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}
.home-hero-buttons .home-btn-primary {
    background: var(--primary);
    color: #fff;
}
.home-hero-buttons .home-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(128, 0, 0, 0.30);
}
.home-hero-buttons .home-btn-secondary {
    background: var(--secondary);
    color: #fff;
    border: 2px solid var(--secondary);
}
.home-hero-buttons .home-btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(19, 41, 75, 0.30);
}

/* ---------- SCROLL INDICATOR (Elegan) ---------- */
.home-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.20);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: homeScrollFade 0.8s ease 1.4s forwards;
}
@keyframes homeScrollFade {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.home-hero-scroll-line {
    display: block;
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.40), transparent);
    margin-top: 8px;
    animation: homeScrollLine 2.4s ease-in-out infinite;
}
@keyframes homeScrollLine {
    0% { transform: scaleY(0); opacity: 0; transform-origin: top; }
    40% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

/* ============================================================
   SECTION 1.5 — "WOW" FULLSCREEN IDENTITY
   ============================================================ */
.home-wow {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--secondary);
    color: #fff;
    overflow: hidden;
    padding: 60px 20px;
}
.home-wow-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}
.home-wow-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(128,0,0,0.06) 0%, transparent 70%);
    z-index: 1;
}
.home-wow-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    animation: homeWowFade 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes homeWowFade {
    0% { opacity: 0; transform: scale(0.95) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.home-wow-title {
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -4px;
    color: rgba(255,255,255,0.15);
}
.home-wow-title span {
    color: #fff;
    font-weight: 700;
    display: block;
    text-shadow: 0 10px 40px rgba(0,0,0,0.30);
}
.home-wow-divider {
    width: 120px;
    height: 4px;
    background: var(--primary);
    margin: 30px auto;
    border-radius: 4px;
}
.home-wow-sub {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    letter-spacing: 8px;
    text-transform: uppercase;
}
.home-wow-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.15);
    font-size: 1.6rem;
    animation: homeWowBounce 2s ease-in-out infinite;
}
@keyframes homeWowBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(12px); }
}

/* ============================================================
   SECTION 2 — QUICK INTRODUCTION (50:50)
   ============================================================ */
.home-intro {
    padding: 120px 0;
    background: var(--bg-white);
    position: relative;
}
.home-intro::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(19,41,75,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.home-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.home-intro-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.home-intro-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}
.home-intro-image-wrapper:hover .home-intro-image {
    transform: scale(1.02);
}
.home-intro-image-glass {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.10);
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 50%);
}
.home-intro-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 16px;
}
.home-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 24px;
}

/* ============================================================
   SECTION 3 — STATISTICS
   ============================================================ */
.home-stats {
    padding: 100px 0;
    background: var(--secondary);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.home-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(128,0,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.home-stats-header {
    text-align: center;
    margin-bottom: 50px;
}
.home-stats-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #fff;
}
.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.home-stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(4px);
    transition: all var(--transition);
}
.home-stat-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-6px);
    border-color: var(--primary);
}
.home-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(128,0,0,0.15);
    border-radius: 50%;
     color:#fff
    margin-bottom: 12px;
}
.home-stat-icon svg {
    width: 28px;
    height: 28px;
}
.home-stat-number {
    display: block;
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.home-stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* ============================================================
   SECTION 4 — MANUFACTURING PROCESS FLOW (UPGRADE KE SLIDER)
   ============================================================ */
.home-process {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}
.home-process::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(19,41,75,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.home-process-header {
    text-align: center;
    margin-bottom: 50px;
}
.home-process-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--secondary);
}

/* --- wrapper untuk slider --- */
.home-process-wrapper {
    position: relative;
}

/* --- flow utama (slider) --- */
.home-process-flow {
    display: flex;
    align-items: stretch;
    gap: 12px;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 60px 20px;
    scroll-snap-type: x mandatory;
}
.home-process-flow::-webkit-scrollbar {
    display: none;
}

/* --- garis timeline --- */
.home-process-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
    transform: translateY(-50%);
}

/* --- setiap step --- */
.home-process-step {
    flex: 0 0 145px;
    min-width: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 12px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
    z-index: 1;
    margin: 0 4px;
    scroll-snap-align: center;
}
.home-process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.home-process-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(128,0,0,0.06);
    border-radius: 50%;
    color: var(--primary);
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}
.home-process-step:hover .home-process-icon {
    transform: scale(1.08) rotate(4deg);
}
.home-process-icon svg {
    width: 26px;
    height: 26px;
}

.home-process-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
}

.home-process-arrow {
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin: 4px 0;
}
.home-process-arrow svg {
    width: 20px;
    height: 20px;
}
.home-process-step:last-child .home-process-arrow {
    display: none;
}

/* --- tombol navigasi --- */
.home-process-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    color: var(--secondary);
    font-size: 22px;
    cursor: pointer;
    transition: .3s;
    z-index: 100;
}
.home-process-nav:hover {
    transform: translateY(-50%) scale(1.08);
    background: var(--primary);
    color: #fff;
}
.home-process-prev {
    left: 0;
}
.home-process-next {
    right: 0;
}

/* --- efek fade di tepi slider --- */
.home-process-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 70px;
    height: 100%;
    background: linear-gradient(to right, #F5F5F5 30%, transparent);
    z-index: 50;
    pointer-events: none;
}
.home-process-wrapper::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 70px;
    height: 100%;
    background: linear-gradient(to left, #F5F5F5 30%, transparent);
    z-index: 50;
    pointer-events: none;
}
/* ============================================================ */

/* ============================================================
   SECTION 5 — FEATURED PRODUCTS
   ============================================================ */
.home-products {
    padding: 100px 0;
    background: var(--bg-white);
}
.home-products-header {
    text-align: center;
    margin-bottom: 50px;
}
.home-products-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--secondary);
}
.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.home-product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.home-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.home-product-image {
    overflow: hidden;
    height: 200px;
}
.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.home-product-card:hover .home-product-image img {
    transform: scale(1.04);
}
.home-product-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    padding: 16px 20px 4px;
    margin: 0;
}
.home-product-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0 20px 20px;
    margin: 0;
    line-height: 1.5;
}
.home-products-action {
    text-align: center;
    margin-top: 44px;
}

/* ============================================================
   SECTION 6 — WHY GLOBAL BRANDS CHOOSE RAYARD
   ============================================================ */
.home-why {
    padding: 100px 0;
    background: var(--bg-light);
}
.home-why-header {
    text-align: center;
    margin-bottom: 50px;
}
.home-why-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--secondary);
}
.home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.home-why-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px 24px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.home-why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, rgba(128,0,0,0.02) 100%);
}
.home-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(128,0,0,0.06);
    border-radius: 50%;
    color: var(--primary);
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}
.home-why-card:hover .home-why-icon {
    transform: scale(1.08) rotate(4deg);
}
.home-why-icon svg {
    width: 28px;
    height: 28px;
}
.home-why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}
.home-why-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   SECTION 7 — LATEST MILESTONES
   ============================================================ */
.home-milestones {
    padding: 100px 0;
    background: var(--bg-white);
}
.home-milestones-header {
    text-align: center;
    margin-bottom: 50px;
}
.home-milestones-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--secondary);
}
.home-milestones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.home-milestone-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px 24px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
    transition: all var(--transition);
    position: relative;
}
.home-milestone-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.home-milestone-year {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.home-milestone-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    margin-bottom: 8px;
}
.home-milestone-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}
.home-milestone-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}
.home-milestones-action {
    text-align: center;
    margin-top: 44px;
}

/* ============================================================
   SECTION 8 — CTA (Premium)
   ============================================================ */
.home-cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--secondary);
}
.home-cta-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://via.placeholder.com/1920x600/13294B/ffffff?text=CTA+Background');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.10;
}
.home-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19,41,75,0.85);
    z-index: 1;
}
.home-cta-glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.02) 0%, transparent 60%);
    pointer-events: none;
}
.home-cta-container {
    position: relative;
    z-index: 2;
}
.home-cta-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
    padding: 60px 50px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 20px 60px rgba(0,0,0,0.20);
}
.home-cta-heading {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.home-cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .home-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .home-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .home-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .home-milestones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .home-container {
        padding: 0 20px;
    }
    .home-hero {
        min-height: 560px;
        height: 60vh;
    }
    .home-hero-title {
        font-size: 2.6rem;
        letter-spacing: -0.5px;
        text-shadow: 0 4px 14px rgba(0,0,0,0.40), 0 12px 32px rgba(0,0,0,0.20);
    }
    .home-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 35px;
    }
    .home-hero-badge {
        font-size: 10px;
        letter-spacing: 4px;
        padding: 0.3em 1.2em;
        margin-bottom: 28px;
    }
    .home-hero-meta {
        font-size: 0.7rem;
        margin-bottom: 32px;
    }
    .home-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .home-hero-buttons .home-btn-primary,
    .home-hero-buttons .home-btn-secondary {
        width: 100%;
        max-width: 260px;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .home-hero-content {
        transform: translateY(-20px);
    }
    /* Reading mask lebih besar di mobile */
    .home-hero-content::before {
        inset: -60px -40px;
        background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.20) 50%, transparent 80%);
        filter: blur(20px);
    }
    .home-wow-title {
        font-size: 3.5rem;
    }
    .home-wow-sub {
        font-size: 0.9rem;
        letter-spacing: 4px;
    }
    .home-intro {
        padding: 70px 0;
    }
    .home-intro-text {
        font-size: 0.95rem;
    }
    .home-stats {
        padding: 70px 0;
    }
    .home-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .home-stat-number {
        font-size: 2.6rem;
    }
    .home-stat-label {
        font-size: 0.8rem;
    }
    /* === responsive slider process === */
    .home-process {
        padding: 70px 0;
    }
    .home-process-flow {
        padding: 10px 40px 20px;
        gap: 10px;
    }
    .home-process-flow::before {
        left: 40px;
        right: 40px;
    }
    .home-process-step {
        flex: 0 0 130px;
        min-width: 130px;
        padding: 16px 12px;
    }
    .home-process-icon {
        width: 44px;
        height: 44px;
    }
    .home-process-icon svg {
        width: 22px;
        height: 22px;
    }
    .home-process-label {
        font-size: 0.8rem;
    }
    .home-process-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .home-process-wrapper::before,
    .home-process-wrapper::after {
        width: 40px;
    }
    /* === end process === */
    .home-products {
        padding: 70px 0;
    }
    .home-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .home-product-image {
        height: 160px;
    }
    .home-product-card h3 {
        font-size: 1rem;
        padding: 12px 16px 2px;
    }
    .home-product-card p {
        font-size: 0.85rem;
        padding: 0 16px 16px;
    }
    .home-why {
        padding: 70px 0;
    }
    .home-why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .home-why-card {
        padding: 24px 16px;
    }
    .home-why-card h3 {
        font-size: 1rem;
    }
    .home-milestones {
        padding: 70px 0;
    }
    .home-milestones-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .home-cta {
        padding: 80px 0;
    }
    .home-cta-content {
        padding: 40px 24px;
    }
    .home-cta-heading {
        font-size: 2rem;
    }
    .home-cta-text {
        font-size: 0.95rem;
    }
    .home-cta-button {
        padding: 14px 34px;
        font-size: 0.95rem;
    }
    .home-btn-primary,
    .home-btn-secondary,
    .home-btn-outline {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .home-hero-title {
        font-size: 2rem;
        text-shadow: 0 4px 12px rgba(0,0,0,0.50), 0 10px 28px rgba(0,0,0,0.25);
    }
    .home-hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 28px;
    }
    .home-hero-badge {
        font-size: 9px;
        letter-spacing: 3px;
        padding: 0.2em 1.0em;
        margin-bottom: 22px;
    }
    .home-hero-meta {
        font-size: 0.65rem;
        margin-bottom: 26px;
    }
    .home-hero-content {
        transform: translateY(-10px);
    }
    /* Reading mask lebih besar dan turun di mobile */
    .home-hero-content::before {
        inset: -40px -20px;
        background: radial-gradient(ellipse at center 55%, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.22) 55%, transparent 85%);
        filter: blur(16px);
    }
    .home-hero-scroll {
        display: none;
    }
    .home-wow-title {
        font-size: 2.6rem;
        letter-spacing: -2px;
    }
    .home-wow-divider {
        width: 80px;
        margin: 20px auto;
    }
    .home-stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .home-stat-card {
        padding: 20px 16px;
    }
    /* === responsive slider process extra small === */
    .home-process-flow {
        padding: 10px 30px 20px;
        gap: 8px;
    }
    .home-process-flow::before {
        left: 30px;
        right: 30px;
    }
    .home-process-step {
        flex: 0 0 110px;
        min-width: 110px;
        padding: 12px 8px;
    }
    .home-process-icon {
        width: 38px;
        height: 38px;
    }
    .home-process-icon svg {
        width: 18px;
        height: 18px;
    }
    .home-process-label {
        font-size: 0.7rem;
    }
    .home-process-nav {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .home-process-wrapper::before,
    .home-process-wrapper::after {
        width: 30px;
    }
    /* === end process === */
    .home-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .home-why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .home-milestone-card {
        padding: 20px 18px;
    }
    .home-cta-content {
        padding: 30px 18px;
    }
    .home-cta-heading {
        font-size: 1.6rem;
    }
    .home-cta-text {
        font-size: 0.85rem;
    }
    .home-cta-button {
        padding: 12px 28px;
        font-size: 0.85rem;
    }
}