/* === RESET & VARIABEL === */
:root {
    --primary: #FF6B00;
    --dark: #1F2326;
    --light: #F4F7F6;
    --text: #4A4A4A;
    --danger: #E74C3C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* === NAVIGASI === */
header {
    position: fixed;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(244, 247, 246, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--dark); }
.nav-links a { text-decoration: none; color: var(--dark); margin-left: 30px; font-weight: 600; font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* === HERO SECTION === */
.hero {
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 0 5%;
    position: relative;
}

.hero-text {
    flex: 1;
    max-width: 550px;
    z-index: 10;
}

.badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 { font-size: 3.5rem; color: var(--dark); line-height: 1.2; margin-bottom: 20px; }
.hero-text p { font-size: 1rem; margin-bottom: 30px; color: #666; line-height: 1.6; }

.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}
.btn-primary:hover { transform: translateY(-3px); background-color: #e65c00; }

#canvas-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100vh;
    z-index: 1;
}

/* === FLOWCHART & COOLDOWN SECTION === */
.learning-flow {
    padding: 100px 5%;
    background-color: white;
    min-height: 100vh;
}

.flow-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.flow-header h2 { font-size: 2.5rem; color: var(--dark); margin-bottom: 15px; }
.flow-header p { color: #666; line-height: 1.6; }

.flowchart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
}

.flow-card {
    display: flex;
    align-items: center;
    background: var(--light);
    width: 100%;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content { flex: 1; }
.step-content h3 { color: var(--dark); font-size: 1.2rem; margin-bottom: 5px; }
.step-content p { color: #666; font-size: 0.9rem; }

.cooldown-timer {
    background: rgba(231, 76, 60, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: right;
    min-width: 140px;
}

.cooldown-timer .label { display: block; font-size: 0.7rem; color: var(--danger); font-weight: 600; text-transform: uppercase;}
.cooldown-timer .time-display { font-size: 1.3rem; color: var(--danger); font-weight: 800; font-variant-numeric: tabular-nums;}

.flow-connector {
    width: 4px;
    height: 40px;
    background-color: #E0E0E0;
    margin: 10px 0;
}