/* Design Tokens & Theme Colors matching tutuplubang.org */
:root {
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --bg-page: #F7F9F5;
    --bg-card: #FFFFFF;
    --bg-card-subtle: #FAFCF9;
    --bg-pill: #EDF3EC;
    
    --green-primary: #3F6A3B;
    --green-hover: #31532E;
    --green-light: #EBF2E9;
    --green-badge: #4E7C4A;
    
    --text-primary: #1C231B;
    --text-secondary: #525E50;
    --text-muted: #7E8A7C;
    
    --border-subtle: #E2E8DF;
    --border-focus: #3F6A3B;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 25px rgba(63, 106, 59, 0.1);
    
    --transition: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: var(--transition);
}

.btn-green {
    background-color: var(--green-primary);
    color: #FFFFFF;
}

.btn-green:hover {
    background-color: var(--green-hover);
    box-shadow: 0 4px 12px rgba(63, 106, 59, 0.3);
}

.btn-outline-green {
    background-color: #FFFFFF;
    border-color: var(--border-subtle);
    color: var(--text-primary);
}

.btn-outline-green:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.btn-admin-inbox {
    background: var(--green-light);
    color: var(--green-primary);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 0.85rem;
}

.inbox-count {
    background: var(--green-primary);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 4px;
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 12px 24px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* Header Navigation */
.navbar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pill-badge-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--green-primary);
    background: var(--bg-pill);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--green-primary);
}

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

/* Hero Section */
.hero-section {
    padding: 60px 0 40px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.brand-heading {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.hero-subtext {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
}

/* Ekosistem Section */
.ecosystem-section {
    padding: 50px 0;
}

.section-title-wrap {
    margin-bottom: 28px;
}

.section-title-wrap h2 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.section-title-wrap p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .ecosystem-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .ecosystem-grid { grid-template-columns: 1fr; }
}

.eco-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.eco-card:hover {
    border-color: var(--green-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.eco-icon {
    font-size: 1.6rem;
    color: var(--green-primary);
    margin-bottom: 14px;
}

.eco-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.35;
}

.eco-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.eco-card-job {
    background: var(--bg-card-subtle);
    border-color: #D3E0D0;
}

.badge-baru {
    position: absolute;
    top: -10px;
    right: 14px;
    background: var(--green-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

.link-arrow {
    margin-top: auto;
    padding-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-primary);
    text-decoration: none;
}

.link-arrow:hover { text-decoration: underline; }

/* Dual Section: Video & Kirim Lamaran */
.dual-section {
    padding: 20px 0 60px;
}

.dual-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
}

@media (max-width: 860px) {
    .dual-container { grid-template-columns: 1fr; }
}

.video-panel-card, .apply-panel-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.panel-header {
    margin-bottom: 20px;
}

.panel-header h3, .apply-panel-card h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.panel-header p, .apply-panel-card .subtitle {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.video-thumb-item {
    cursor: pointer;
}

.video-thumb-item:hover .video-img-wrap img {
    transform: scale(1.05);
}

.video-img-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    margin-bottom: 8px;
    background: #000;
}

.video-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.duration-tag {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.video-thumb-item h4 {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

/* Compact Apply Form */
.compact-form {
    margin-top: 18px;
}

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

.form-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card-subtle);
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--green-primary);
    background: #FFFFFF;
}

.file-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card-subtle);
}

.file-text {
    border: none;
    border-radius: 0;
    background: transparent;
    flex: 1;
}

.btn-choose-file {
    background: #FFFFFF;
    border-left: 1px solid var(--border-subtle);
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    white-space: nowrap;
}

.file-hint-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

/* Jobs Detail Section */
.jobs-detail-section {
    padding: 40px 0 80px;
    background: #FFFFFF;
    border-top: 1px solid var(--border-subtle);
}

.job-category-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.cat-pill {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--bg-page);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.cat-pill.active, .cat-pill:hover {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: white;
}

.jobs-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.job-card {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.job-card:hover {
    border-color: var(--green-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.job-badge {
    background: var(--bg-pill);
    color: var(--green-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.job-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.job-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.job-card-footer {
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Site Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    background: #FFFFFF;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .footer-container { flex-direction: column; text-align: center; }
    .hero-container { grid-template-columns: 1fr; }
    .brand-heading { font-size: 2.8rem; }
}

.footer-quote {
    max-width: 320px;
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.social-links a {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 0 8px;
    text-decoration: none;
}

.social-links a:hover { color: var(--green-primary); }

.footer-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-nav-links a:hover { color: var(--green-primary); }

/* Modals & Drawers */
.modal-backdrop, .drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-backdrop.active, .drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 580px;
    padding: 28px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.modal-close, .drawer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
}

.success-icon {
    font-size: 3rem;
    color: var(--green-primary);
    margin-bottom: 10px;
}

.email-preview-box {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 16px 0;
    font-size: 0.88rem;
}

.badge-attachment {
    background: var(--bg-pill);
    color: var(--green-primary);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 10px 0;
}

/* Drawer */
.drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: #FFFFFF;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.drawer-backdrop.active .drawer-panel {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
}

.inbox-item {
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

/* Portfolio Dynamic Rows */
.portfolio-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}
.portfolio-platform {
    width: 35%;
}
.portfolio-url {
    flex: 1;
}
.btn-remove-portfolio {
    background: #FFEBEB;
    color: #D32F2F;
    border: 1px solid #FFCDCD;
    border-radius: var(--radius-md);
    padding: 10px 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-remove-portfolio:hover {
    background: #D32F2F;
    color: #FFF;
    border-color: #D32F2F;
}

/* Desktop & Mobile Header Layout */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    padding: 10px 0;
}
.mobile-menu.active {
    display: flex;
}
.mobile-nav-link {
    padding: 12px 24px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav-link:last-child {
    border-bottom: none;
}
.mobile-nav-link:hover {
    background: var(--bg-card-subtle);
    color: var(--green-primary);
}

/* Mobile Responsiveness for Header */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .pill-badge-header {
        display: inline-flex;
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    .desktop-nav {
        display: none;
    }
    .hamburger-btn {
        display: block;
    }
    .hero-cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    .brand-heading {
        font-size: 2.5rem;
    }
}
