/* ===== RESET & VARIABEL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0f1f;
    --bg-secondary: #141b2b;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f0f4fa;
    --text-secondary: #a0b3d9;
    --accent-cyan: #00e5ff;
    --accent-orange: #ffb347;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --radius: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(10, 15, 31, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    font-weight: 300;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px var(--accent-cyan);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #0a0f1f 0%, #1a253a 100%);
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== BUTTON ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent-cyan), #0077be);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.5);
}

/* ===== STATS CARDS ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.stat-card p {
    color: var(--text-secondary);
}

/* ===== SECTION ===== */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
    border-radius: 2px;
}

/* ===== CARD & GRID ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: border-color 0.3s;
}

.info-box:hover {
    border-color: var(--accent-cyan);
}

.info-box h3 {
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-box h3 i {
    margin-right: 0.5rem;
}

/* ===== FORM ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* ===== TABEL ===== */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

th {
    background: linear-gradient(135deg, #1e2a3a, #0f1a2f);
    color: var(--accent-cyan);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
}

td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(0, 229, 255, 0.05);
    color: #fff;
}

/* ===== BADGE ===== */
.badge {
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.badge.active {
    background: rgba(0, 255, 0, 0.2);
    color: #8aff8a;
    border: 1px solid #00ff00;
}

.badge.inactive {
    background: rgba(255, 0, 0, 0.2);
    color: #ff8a8a;
    border: 1px solid #ff4444;
}

/* ===== HALAMAN PETA ===== */
.map-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.map-card h3 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.map-image {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: #000;
    cursor: zoom-in;
    transition: transform 0.3s;
}

.map-image:hover {
    transform: scale(1.01);
}

.map-metadata {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    border-left: 4px solid var(--accent-cyan);
}

.metadata-label {
    color: var(--accent-cyan);
    font-weight: 600;
}

.diagram-lokasi {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.diagram-item {
    background: rgba(0, 229, 255, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    border: 1px solid var(--accent-cyan);
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* ===== HALAMAN TERMINAL ===== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.photo-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.photo-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.photo-card p {
    margin-top: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.tarif-highlight {
    background: linear-gradient(135deg, #1e2a3a, #0f1a2f);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    font-weight: 600;
}

/* ===== HALAMAN TRAYEK ===== */
.warna-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-right: 1rem;
}

.warna-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
}

/* ===== FOOTER ===== */
footer {
    background: #050a14;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}