/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --secondary-dark: #db2777;
    --tertiary-color: #10b981;
    --accent-color: #f59e0b;
    --accent-2: #8b5cf6;
    --accent-3: #06b6d4;
    
    /* Neutral Colors - Light Mode */
    --dark: #1e293b;
    --dark-2: #334155;
    --gray: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
    --bg-color: #ffffff;
    --text-color: #1e293b;
    --card-bg: #ffffff;
    --section-alt-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Card Color Gradients */
    --card-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --card-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --card-gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --card-gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --card-gradient-6: linear-gradient(135deg, #fad961 0%, #f76b1c 100%);
    --card-gradient-7: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --card-gradient-8: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
[data-theme="dark"] {
    --dark: #f1f5f9;
    --dark-2: #e2e8f0;
    --gray: #94a3b8;
    --light: #1e293b;
    --white: #0f172a;
    --bg-color: #0f172a;
    --text-color: #f1f5f9;
    --card-bg: #1e293b;
    --section-alt-bg: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-text-size-adjust: 100%;
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 2rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    margin: 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-menu .nav-link::after {
    display: none;
}

.dropdown-menu .nav-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Theme Toggle */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--gradient-1);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-lg);
}

.theme-icon {
    transition: var(--transition);
}


/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-1);
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--white);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--tertiary-color);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    top: 30%;
    right: 30%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) translateX(30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) translateX(-30px) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-weight: 400;
    color: var(--white);
}

.highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-alt {
    background: var(--section-alt-bg);
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.oee-interpretation {
    position: relative !important;
    z-index: 100 !important;
}

.interpretation-grid {
    position: relative !important;
    z-index: 100 !important;
}


.section-background .floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.section-background .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 25s infinite ease-in-out;
    filter: blur(40px);
}

.section-background .shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.section-background .shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.section-background .shape-3 {
    width: 180px;
    height: 180px;
    background: var(--tertiary-color);
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
}

[data-theme="dark"] .section-background .shape {
    opacity: 0.08;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-intro {
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
    animation: expand 1s ease-out;
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* ===== CARDS ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: var(--gradient-1);
    transition: var(--transition);
    z-index: 0;
}

.card:hover::before {
    opacity: 0.2;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.card-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    transition: var(--transition);
}

.card:hover .card-icon-wrapper::before {
    opacity: 0.3;
}

.card-icon {
    font-size: 3rem;
    display: block;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Card Color Variations */
.card-color-1 {
    border-top: 4px solid;
    border-image: var(--card-gradient-1) 1;
}

.card-color-1 .card-icon-wrapper::before {
    background: var(--card-gradient-1);
}

.card-color-2 {
    border-top: 4px solid;
    border-image: var(--card-gradient-2) 1;
}

.card-color-2 .card-icon-wrapper::before {
    background: var(--card-gradient-2);
}

.card-color-3 {
    border-top: 4px solid;
    border-image: var(--card-gradient-3) 1;
}

.card-color-3 .card-icon-wrapper::before {
    background: var(--card-gradient-3);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 4px solid var(--primary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: var(--transition);
}

.timeline-dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.2);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
    }
}

.timeline-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    width: 45%;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===== TWO COLUMN ===== */
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 3rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.concept-list {
    list-style: none;
}

.concept-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.concept-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.list-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===== 5S GRID ===== */
.s5-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* Baris pertama: 3 kolom (card 1, 2, 3) - default */
/* Baris kedua: 2 kolom di tengah menggunakan wrapper .s5-grid-bottom */

.s5-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.s5-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.s5-card:hover::before {
    opacity: 0.1;
}

.s5-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.s5-card > * {
    position: relative;
    z-index: 1;
}

.s5-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    line-height: 1;
}

.s5-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.s5-japanese {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.s5-card[data-s5="1"] .s5-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.s5-card[data-s5="2"] .s5-number {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.s5-card[data-s5="3"] .s5-number {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.s5-card[data-s5="4"] .s5-number {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.s5-card[data-s5="5"] .s5-number {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.s5-card[data-s5="6"] .s5-number {
    background: linear-gradient(135deg, #fad961 0%, #f76b1c 100%);
}

/* ===== PILLARS GRID ===== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.pillar-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.pillar-card:hover::before {
    opacity: 0.1;
}

.pillar-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.pillar-card > * {
    position: relative;
    z-index: 1;
}

.pillar-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
}

.pillar-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon-wrapper::before {
    opacity: 0.3;
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 0;
    display: block;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.2) rotate(5deg);
}

.pillar-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Pillar Color Variations */
.pillar-color-1 {
    border-top-color: #667eea;
}

.pillar-color-1::before,
.pillar-color-1 .pillar-icon-wrapper::before {
    background: var(--card-gradient-1);
}

.pillar-color-2 {
    border-top-color: #f093fb;
}

.pillar-color-2::before,
.pillar-color-2 .pillar-icon-wrapper::before {
    background: var(--card-gradient-2);
}

.pillar-color-3 {
    border-top-color: #4facfe;
}

.pillar-color-3::before,
.pillar-color-3 .pillar-icon-wrapper::before {
    background: var(--card-gradient-3);
}

.pillar-color-4 {
    border-top-color: #43e97b;
}

.pillar-color-4::before,
.pillar-color-4 .pillar-icon-wrapper::before {
    background: var(--card-gradient-4);
}

.pillar-color-5 {
    border-top-color: #fa709a;
}

.pillar-color-5::before,
.pillar-color-5 .pillar-icon-wrapper::before {
    background: var(--card-gradient-5);
}

.pillar-color-6 {
    border-top-color: #fad961;
}

.pillar-color-6::before,
.pillar-color-6 .pillar-icon-wrapper::before {
    background: var(--card-gradient-6);
}

.pillar-color-7 {
    border-top-color: #a8edea;
}

.pillar-color-7::before,
.pillar-color-7 .pillar-icon-wrapper::before {
    background: var(--card-gradient-7);
}

.pillar-color-8 {
    border-top-color: #ff9a9e;
}

.pillar-color-8::before,
.pillar-color-8 .pillar-icon-wrapper::before {
    background: var(--card-gradient-8);
}

.pillar-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== DOWNTIME SECTION ===== */
.downtime-types {
    margin: 4rem 0;
}

.downtime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.downtime-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.downtime-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.downtime-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.downtime-card h4 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.downtime-subtitle {
    color: var(--gray);
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

.downtime-planned {
    border-top: 5px solid #10b981;
}

.downtime-unplanned {
    border-top: 5px solid #f5576c;
}

.downtime-examples {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.example-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    transition: var(--transition);
}

.example-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.example-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.example-content strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.example-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.downtime-causes {
    margin: 4rem 0;
}

.causes-intro {
    margin: 2rem 0 3rem;
}

.intro-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(99, 102, 241, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.intro-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.intro-card h4 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.intro-card p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

.causes-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.category-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.category-machine {
    border-top: 5px solid #f5576c;
}

.category-process {
    border-top: 5px solid #4facfe;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light);
}

.category-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.category-title-wrapper h4 {
    color: var(--text-color);
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.category-subtitle {
    color: var(--gray);
    font-size: 1rem;
    font-style: italic;
    margin: 0;
}

.category-description {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.classification-note {
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
    border: 2px solid rgba(245, 87, 108, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
}

.classification-note strong {
    color: var(--text-color);
    font-weight: 700;
}

[data-theme="dark"] .classification-note {
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.15) 0%, rgba(251, 146, 60, 0.15) 100%);
    border-color: rgba(245, 87, 108, 0.4);
}

.causes-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
}

.detail-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--card-bg);
}

.detail-machine {
    border-left-color: #f5576c;
}

.detail-process {
    border-left-color: #4facfe;
}

.detail-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.detail-card h5 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.detail-card > p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footwear-examples {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed rgba(99, 102, 241, 0.2);
}

.footwear-examples strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footwear-examples ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footwear-examples li {
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.9rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.footwear-examples li::before {
    content: "👟";
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.classification-guide {
    margin: 4rem 0 0;
}

.guide-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.guide-icon {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    display: block;
}

.guide-card h4 {
    color: var(--text-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.guide-intro {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light);
}

.guide-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.guide-example {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid transparent;
}

.guide-machine {
    border-left-color: #f5576c;
}

.guide-process {
    border-left-color: #4facfe;
}

.guide-example h5 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.guide-example > p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.guide-example ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.guide-example li {
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.95rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.guide-example li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.guide-example li strong {
    color: var(--text-color);
}

.example-box {
    background: rgba(99, 102, 241, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.example-box strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.5rem;
}

.guide-tip {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.tip-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.tip-content {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
}

.tip-content strong {
    color: var(--text-color);
    font-weight: 700;
}

[data-theme="dark"] .guide-tip {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
    border-color: rgba(251, 191, 36, 0.4);
}

.downtime-impact {
    margin: 4rem 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.impact-card.impact-4 {
    /* Reset special positioning for 2x2 layout */
    grid-column: auto;
    justify-self: auto;
    max-width: 100%;
}

.impact-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.impact-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.impact-1 .impact-icon-wrapper {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.impact-2 .impact-icon-wrapper {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.impact-3 .impact-icon-wrapper {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.impact-4 .impact-icon-wrapper {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.impact-icon {
    font-size: 2.5rem;
    display: block;
}

.impact-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.impact-card p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.impact-1 {
    border-top-color: #f5576c;
}

.impact-2 {
    border-top-color: #4facfe;
}

.impact-3 {
    border-top-color: #43e97b;
}

.impact-4 {
    border-top-color: #fa709a;
}

.downtime-reduction {
    margin: 4rem 0;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.strategy-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.strategy-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.strategy-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.strategy-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.downtime-connection {
    margin: 4rem 0;
}

.connection-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.connection-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.connection-card h4 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.connection-card > p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.connection-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.connection-list li {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--light);
    border-radius: 8px;
    color: var(--text-color);
    transition: var(--transition);
}

.connection-list li:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.connection-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    text-align: left;
    color: var(--text-color);
    font-size: 1rem;
}

/* ===== OEE SECTION ===== */
.oee-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.oee-explanation {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.oee-explanation p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.oee-explanation p:not(.lead-text) {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.oee-formula {
    margin: 3rem 0;
}

.formula-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.formula-card h3 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.formula-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.formula-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.formula-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    white-space: nowrap;
}

.formula-elements {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.formula-block {
    min-width: 180px;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.formula-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.9;
    z-index: 0;
}

.formula-block:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.block-label {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.block-avail {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.block-avail::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.block-perf {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.block-perf::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.block-qual {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.block-qual::before {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.formula-multiply {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

/* ===== CONTOH PERHITUNGAN OEE ===== */
.oee-calculation-example {
    margin: 4rem 0;
    position: relative;
    z-index: 1;
}

.example-intro {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.case-scenario-box {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.scenario-header-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light);
}

.scenario-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.scenario-title-box h4 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.scenario-subtitle {
    color: var(--gray);
    font-size: 1rem;
}

.data-collection {
    margin-bottom: 3rem;
}

.data-collection h5 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.data-item {
    background: var(--light);
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.data-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.data-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.data-value {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.data-desc {
    color: var(--gray);
    font-size: 0.85rem;
    font-style: italic;
}

.calculation-steps {
    margin: 3rem 0;
}

.calculation-steps h5 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.calc-step {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.calc-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.calc-step.final-step {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-left-color: var(--primary-color);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-header h6 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin: 0;
}

.step-formula {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.formula-line {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    flex-wrap: wrap;
}

.formula-line.result {
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid var(--primary-color);
}

.formula-line.final-result {
    background: var(--gradient-1);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}

.formula-label {
    color: var(--text-color);
    font-weight: 600;
    min-width: 120px;
}

.formula-line.final-result .formula-label {
    color: var(--white);
}

.formula-value {
    color: var(--gray);
    flex: 1;
}

.formula-line.final-result .formula-value {
    color: var(--white);
}

.formula-value.highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.formula-value.final {
    font-size: 2rem;
    font-weight: 800;
}

.oee-interpretation {
    margin: 3rem 0;
    position: relative;
    z-index: 10;
}

.oee-interpretation h5 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.interpretation-grid {
    position: relative;
    z-index: 10;
}

.interpretation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.interpret-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition);
    border-left: 4px solid transparent;
    position: relative;
    overflow: visible;
}

.interpret-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.interpret-item.highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 50%, rgba(236, 72, 153, 0.15) 100%);
    border-left: 5px solid;
    border-image: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%) 1;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.interpret-item.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.interpret-item.highlight:hover::before {
    opacity: 1;
}

.interpret-item.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.interpret-item.highlight > * {
    position: relative;
    z-index: 1;
}

.interpret-item.highlight .interpret-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.interpret-item.highlight .interpret-content h6 {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.interpret-item.highlight .interpret-content p {
    color: var(--text-color);
    font-weight: 500;
}

.interpret-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.interpret-content h6 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.interpret-content p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.improvement-suggestions {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light);
}

.improvement-suggestions h5 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.suggestion-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: var(--light);
    border-radius: 10px;
    transition: var(--transition);
}

.suggestion-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.suggestion-badge {
    width: 35px;
    height: 35px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.suggestion-text {
    flex: 1;
    color: var(--text-color);
    line-height: 1.6;
}

.suggestion-text strong {
    color: var(--primary-color);
}

.target-oee {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.target-oee p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0;
}

.target-value {
    color: #10b981;
    font-size: 1.5rem;
    font-weight: 800;
}

.losses-section {
    margin-top: 4rem;
}

.losses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.loss-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.loss-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.loss-card:hover::before {
    opacity: 0.1;
}

.loss-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.loss-card > * {
    position: relative;
    z-index: 1;
}

.loss-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.loss-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    transition: var(--transition);
}

.loss-card:hover .loss-icon-wrapper::before {
    opacity: 0.3;
}

.loss-icon {
    font-size: 2.5rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.loss-card:hover .loss-icon {
    transform: scale(1.2);
}

/* Loss Color Variations */
.loss-color-1 {
    border-left-color: #667eea;
}

.loss-color-1::before,
.loss-color-1 .loss-icon-wrapper::before {
    background: var(--card-gradient-1);
}

.loss-color-2 {
    border-left-color: #f093fb;
}

.loss-color-2::before,
.loss-color-2 .loss-icon-wrapper::before {
    background: var(--card-gradient-2);
}

.loss-color-3 {
    border-left-color: #4facfe;
}

.loss-color-3::before,
.loss-color-3 .loss-icon-wrapper::before {
    background: var(--card-gradient-3);
}

.loss-color-4 {
    border-left-color: #43e97b;
}

.loss-color-4::before,
.loss-color-4 .loss-icon-wrapper::before {
    background: var(--card-gradient-4);
}

.loss-color-5 {
    border-left-color: #fa709a;
}

.loss-color-5::before,
.loss-color-5 .loss-icon-wrapper::before {
    background: var(--card-gradient-5);
}

.loss-color-6 {
    border-left-color: #fad961;
}

.loss-color-6::before,
.loss-color-6 .loss-icon-wrapper::before {
    background: var(--card-gradient-6);
}

.loss-card h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* ===== GOALS GRID ===== */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.goal-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    transition: var(--transition);
}

.goal-card:hover::before {
    top: -30%;
    left: -30%;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.goal-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}

.goal-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.goal-card:hover .goal-icon {
    transform: scale(1.2) rotate(5deg);
}

.goal-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Goal Color Variations */
.goal-color-1::before {
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
}

.goal-color-2::before {
    background: radial-gradient(circle, rgba(240, 147, 251, 0.2) 0%, transparent 70%);
}

.goal-color-3::before {
    background: radial-gradient(circle, rgba(79, 172, 254, 0.2) 0%, transparent 70%);
}

.goal-color-4::before {
    background: radial-gradient(circle, rgba(67, 233, 123, 0.2) 0%, transparent 70%);
}

.goal-color-5::before {
    background: radial-gradient(circle, rgba(250, 112, 154, 0.2) 0%, transparent 70%);
}

.goal-card p {
    color: var(--gray);
    position: relative;
    z-index: 1;
}

/* ===== PHASES ===== */
.phases-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.phase-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-1);
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.phase-1::before {
    background: var(--gradient-1);
}

.phase-2::before {
    background: var(--gradient-2);
}

.phase-3::before {
    background: var(--gradient-3);
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light);
}

.phase-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.phase-2 .phase-number {
    background: var(--gradient-2);
}

.phase-3 .phase-number {
    background: var(--gradient-3);
}

.phase-header h3 {
    color: var(--text-color);
    font-size: 1.4rem;
}

.phase-steps {
    display: grid;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    transition: var(--transition);
}

.step-item:hover {
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.step-item p {
    color: var(--text-color);
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.step-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.benefit-card:hover::before {
    opacity: 0.1;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.benefit-card > * {
    position: relative;
    z-index: 1;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
}

.benefit-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon-wrapper::before {
    opacity: 0.3;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 0;
    display: block;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.2) rotate(5deg);
}

.benefit-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Benefit Color Variations */
.benefit-color-1::before,
.benefit-color-1 .benefit-icon-wrapper::before {
    background: var(--card-gradient-1);
}

.benefit-color-2::before,
.benefit-color-2 .benefit-icon-wrapper::before {
    background: var(--card-gradient-2);
}

.benefit-color-3::before,
.benefit-color-3 .benefit-icon-wrapper::before {
    background: var(--card-gradient-3);
}

.benefit-color-4::before,
.benefit-color-4 .benefit-icon-wrapper::before {
    background: var(--card-gradient-4);
}

.benefit-color-5::before,
.benefit-color-5 .benefit-icon-wrapper::before {
    background: var(--card-gradient-5);
}

.benefit-color-6::before,
.benefit-color-6 .benefit-icon-wrapper::before {
    background: var(--card-gradient-6);
}

.benefit-card p {
    color: var(--gray);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== KEJUJURAN DAN KETERBUKAAN SECTION ===== */
.honesty-principles {
    margin-top: 4rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.principle-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.principle-card:hover::before {
    opacity: 0.1;
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.principle-card > * {
    position: relative;
    z-index: 1;
}

.principle-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: var(--transition);
}

.principle-card:hover .principle-icon {
    transform: scale(1.2) rotate(5deg);
}

.principle-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.principle-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Principle Color Variations */
.principle-color-1 {
    border-top-color: #667eea;
}

.principle-color-1::before {
    background: var(--card-gradient-1);
}

.principle-color-2 {
    border-top-color: #f093fb;
}

.principle-color-2::before {
    background: var(--card-gradient-2);
}

.principle-color-3 {
    border-top-color: #4facfe;
}

.principle-color-3::before {
    background: var(--card-gradient-3);
}

.principle-color-4 {
    border-top-color: #43e97b;
}

.principle-color-4::before {
    background: var(--card-gradient-4);
}

.principle-color-5 {
    border-top-color: #fa709a;
}

.principle-color-5::before {
    background: var(--card-gradient-5);
}

.principle-color-6 {
    border-top-color: #fad961;
}

.principle-color-6::before {
    background: var(--card-gradient-6);
}

/* Benefits List */
.honesty-benefits {
    margin-top: 4rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.benefits-row {
    display: grid;
    gap: 2rem;
}

.benefits-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.benefits-row-2 {
    grid-template-columns: repeat(2, 1fr);
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    align-items: flex-start;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.benefit-check {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 50%;
    color: var(--white);
    font-weight: bold;
}

.benefit-content h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-content p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Quote Card */
.honesty-quote {
    margin-top: 4rem;
}

.quote-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-left: 5px solid;
    border-image: var(--gradient-1) 1;
}

.quote-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.quote-card blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

.quote-card blockquote p {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
    font-style: italic;
    position: relative;
}

.quote-card blockquote p::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: serif;
}

.quote-card blockquote p::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-family: serif;
}

/* ===== OEE DAN KEJUJURAN SECTION ===== */
.oee-honesty-section {
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.blame-game-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    border-left: 5px solid;
    border-image: linear-gradient(135deg, #f5576c 0%, #f093fb 100%) 1;
    position: relative;
    overflow: hidden;
}

.blame-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 87, 108, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.blame-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.blame-game-card h4 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blame-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.blame-list li {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(245, 87, 108, 0.1);
    border-left: 3px solid #f5576c;
    border-radius: 5px;
    color: var(--text-color);
    position: relative;
    padding-left: 2.5rem;
}

.blame-list li::before {
    content: '❌';
    position: absolute;
    left: 0.8rem;
}

.blame-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #f59e0b;
    margin-top: 1.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.oee-analysis {
    margin: 3rem 0;
}

.analysis-title {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.analysis-intro {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.oee-components-analysis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 100%;
    width: 100%;
}

.oee-component-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid;
    width: 100%;
}

.oee-component-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.oee-avail {
    border-top-color: #4facfe;
}

.oee-perf {
    border-top-color: #43e97b;
}

.oee-qual {
    border-top-color: #fa709a;
}

.oee-comp-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light);
}

.oee-comp-icon {
    font-size: 2.5rem;
}

.oee-comp-header h5 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin: 0;
}

.oee-comp-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.oee-factors {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.oee-factors h6 {
    color: var(--text-color);
    margin-bottom: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.factors-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.factor-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid transparent;
    min-height: 50px;
}

.factor-row:hover {
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
}

.factor-icon {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.factor-name {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

.factor-status {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
    text-align: right;
    min-width: fit-content;
}

.factor-status.factor-true {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.factor-status.factor-false {
    color: #f5576c;
    background: rgba(245, 87, 108, 0.1);
    border: 1px solid rgba(245, 87, 108, 0.3);
}

.factor-status.factor-mixed {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Highlight border based on status - using class approach for better browser support */
.factor-row.true-border {
    border-left-color: #10b981;
}

.factor-row.false-border {
    border-left-color: #f5576c;
}

.factor-row.mixed-border {
    border-left-color: #f59e0b;
}

.oee-insight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Case Study */
.oee-case-study {
    margin: 4rem 0;
}

.case-title {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.case-scenario {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.scenario-header h5 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.scenario-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.case-analysis {
    display: grid;
    gap: 2rem;
}

.case-oee {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
}

.case-oee h6 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.oee-breakdown {
    display: grid;
    gap: 1rem;
}

.oee-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.oee-metric.total {
    background: var(--gradient-1);
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.metric-label {
    color: var(--text-color);
    font-weight: 500;
}

.oee-metric.total .metric-label {
    color: var(--white);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.metric-value.high {
    color: #10b981;
}

.metric-value.medium {
    color: #f59e0b;
}

.metric-value.low {
    color: #f5576c;
}

.oee-metric.total .metric-value {
    color: var(--white);
}

.metric-note {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
}

.oee-metric.total .metric-note {
    color: rgba(255, 255, 255, 0.9);
}

.case-findings {
    margin-top: 2rem;
}

.case-findings h6 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.finding-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid;
}

.finding-false {
    background: rgba(245, 87, 108, 0.1);
    border-left-color: #f5576c;
}

.finding-true {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10b981;
}

.finding-action {
    background: rgba(99, 102, 241, 0.1);
    border-left-color: #6366f1;
}

.finding-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.finding-content {
    flex: 1;
}

.finding-content strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.finding-content p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.finding-content ul {
    margin: 0.5rem 0 0 1.5rem;
    color: var(--gray);
}

.finding-content li {
    margin-bottom: 0.3rem;
}

/* Lessons */
.oee-lessons {
    margin: 4rem 0;
}

.lessons-title {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
}

.lesson-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.lesson-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.lesson-card h5 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.lesson-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Commitment */
.oee-commitment {
    margin: 4rem 0;
}

.commitment-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 2px solid;
    border-image: var(--gradient-1) 1;
}

.commitment-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.commitment-card h4 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.commitment-card > p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.commitment-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.commitment-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--light);
    border-radius: 8px;
    color: var(--text-color);
    transition: var(--transition);
}

.commitment-list li:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

/* ===== RESPONSIVE GRID LAYOUTS ===== */
.goals-grid-row1,
.pillars-grid-row1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.goals-grid-row1 {
    margin-bottom: 2rem;
}

.pillars-grid-row1 {
    margin-top: 3rem;
}

.goals-grid-row2,
.pillars-grid-row2,
.s5-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.pillars-grid-row2 {
    margin-top: 2rem;
}

.s5-grid-bottom {
    margin-top: 2rem;
}

.pillars-grid-row3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.grid-2-col-lg {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.grid-auto-fit-sm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.content-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* ===== TRAINING PAGES ===== */
.training-nav-links {
    position: sticky;
    top: 80px;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    z-index: 100;
}

.training-nav-links h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.training-nav-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.training-nav-links li {
    margin: 0;
}

.training-nav-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.training-nav-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.training-section {
    scroll-margin-top: 100px;
    margin-bottom: 4rem;
}

.executive-summary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    margin-top: 3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container,
    .nav-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Dropdown Menu Mobile */
    .nav-dropdown {
        position: relative;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(99, 102, 241, 0.05);
        margin: 0.5rem 0;
        padding: 0.5rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 70vh;
        overflow-y: auto;
    }

    .dropdown-menu .nav-link {
        padding: 0.5rem 2rem;
        font-size: 0.9rem;
    }

    .hero {
        min-height: auto;
        padding: 90px 0 70px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .subsection-title {
        font-size: 1.4rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .content-grid,
    .content-grid-2,
    .goals-grid-row1,
    .goals-grid-row2,
    .pillars-grid-row1,
    .pillars-grid-row2,
    .pillars-grid-row3,
    .s5-grid-bottom,
    .grid-2-col,
    .grid-2-col-lg,
    .s5-grid,
    .pillars-grid,
    .losses-grid,
    .goals-grid,
    .benefits-grid,
    .principles-grid,
    .oee-components-analysis,
    .lessons-grid {
        grid-template-columns: 1fr;
    }

    .benefits-row-3,
    .benefits-row-2 {
        grid-template-columns: 1fr;
    }

    .oee-metric {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .finding-item {
        flex-direction: column;
    }

    .commitment-card {
        padding: 2rem;
    }

    .factor-row {
        grid-template-columns: 35px 1fr;
        gap: 0.75rem;
    }

    .factor-status {
        grid-column: 1 / -1;
        text-align: left;
        white-space: normal;
        margin-left: 43px;
    }

    .factor-name {
        font-size: 0.9rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .benefit-check {
        margin: 0 auto;
    }

    .quote-card {
        padding: 2rem;
    }

    .quote-card blockquote p {
        font-size: 1rem;
    }

    .formula-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .formula-main {
        font-size: 1.75rem;
        white-space: normal;
        text-align: center;
    }

    .formula-elements {
        flex-direction: column;
        gap: 0.75rem;
    }

    .formula-multiply {
        transform: rotate(90deg);
        font-size: 2rem;
    }

    .formula-block {
        min-width: 100%;
        width: 100%;
        max-width: 300px;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .interpretation-grid {
        grid-template-columns: 1fr;
    }

    .downtime-grid {
        grid-template-columns: 1fr;
    }

    .causes-grid,
    .strategy-grid {
        grid-template-columns: 1fr;
    }

    .causes-detail-grid {
        grid-template-columns: 1fr;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
    }

    .category-section {
        padding: 2rem 1.5rem;
    }

    .guide-examples {
        grid-template-columns: 1fr;
    }

    .guide-card {
        padding: 2rem 1.5rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .scenario-header-box {
        flex-direction: column;
        text-align: center;
    }

    .formula-line {
        flex-direction: column;
        align-items: flex-start;
    }

    .formula-label {
        min-width: auto;
    }

    .phases-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .phase-card {
        padding: 1.5rem;
    }

    .phase-header h3 {
        font-size: 1.2rem;
    }

    .phase-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .card,
    .downtime-card,
    .guide-example {
        padding: 1.75rem;
    }

    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .training-nav-links {
        top: 70px;
        padding: 1rem;
        position: relative;
    }

    .training-nav-links a {
        font-size: 0.8rem;
        padding: 0.45rem 0.75rem;
    }

    .executive-summary {
        padding: 1.5rem;
    }

    .concept-list li:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .card,
    .phase-card,
    .goal-card,
    .benefit-card,
    .s5-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .training-section {
        margin-bottom: 2.5rem;
    }
}

