/* ═══════════════════════════════════════════════════
   ANAKKU:SEDIA — Main Stylesheet
   Dark Blue & Green Color Palette (Government Innovation)
   ═══════════════════════════════════════════════════ */

:root {
    --bg-dark: #0a1628;
    --bg-darker: #060f1e;
    --bg-card: rgba(13, 27, 42, 0.8);
    --accent: #4fc3f7;
    --accent-rgb: 79, 195, 247;
    --accent-dark: #0288d1;
    --green: #00e676;
    --green-dark: #00c853;
    --danger: #ff5252;
    --warning: #ffd740;
    --text: #e0e0e0;
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-glass: rgba(79, 195, 247, 0.15);
    --gradient-1: linear-gradient(135deg, #0a1628 0%, #0d1b2a 50%, #0f1f35 100%);
    --gradient-2: linear-gradient(135deg, #0d1b2a 0%, #112240 100%);
    --gradient-accent: linear-gradient(135deg, #0288d1, #4fc3f7);
    --gradient-green: linear-gradient(135deg, #00c853, #00e676);
}

/* ── Base ────────────────────────────────────── */
body {
    background: var(--bg-dark);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

.bg-darker { background: var(--bg-darker); }

/* ── Navigation ──────────────────────────────── */
.glass-nav {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s;
}

.brand-icon { color: var(--accent); margin-right: 6px; }
.brand-text { font-size: 1.3rem; letter-spacing: -0.5px; }
.text-accent { color: var(--accent) !important; }
.navbar .nav-link { color: rgba(255,255,255,0.7); font-weight: 500; transition: color 0.3s; }
.navbar .nav-link:hover { color: var(--accent); }

.btn-accent {
    background: var(--gradient-accent);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.35); color: #fff; }
.btn-outline-accent { border: 2px solid var(--accent); color: var(--accent); font-weight: 600; transition: all 0.3s; }
.btn-outline-accent:hover { background: var(--accent); color: #0a1628; transform: translateY(-2px); }

/* ── Glass Card ──────────────────────────────── */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: all 0.3s;
}
.glass-card:hover { border-color: rgba(var(--accent-rgb), 0.3); }

/* ── Hero Section ────────────────────────────── */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: var(--gradient-1);
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(var(--accent-rgb), 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(0, 230, 118, 0.05) 0%, transparent 50%);
}
.hero-badge .badge { font-size: 0.85rem; font-weight: 600; }
.hero-title { font-size: 3.2rem; font-weight: 800; line-height: 1.2; }
.hero-subtitle { font-size: 1.3rem; color: var(--text); font-weight: 500; }
.hero-tagline { font-size: 1.4rem; color: var(--accent); font-style: italic; font-weight: 600; }
.hero-desc { font-size: 1.1rem; line-height: 1.7; }
.hero-stat { text-align: center; padding: 10px 20px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.hero-animation { position: relative; }
.car-animation { position: relative; padding: 40px; }
.car-icon { font-size: 8rem; color: var(--accent); filter: drop-shadow(0 0 30px rgba(var(--accent-rgb), 0.5)); animation: carFloat 3s ease-in-out infinite; }
@keyframes carFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.scan-line { position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scanMove 2s ease-in-out infinite; }
@keyframes scanMove { 0% { opacity: 0; top: 20%; } 50% { opacity: 1; } 100% { opacity: 0; top: 80%; } }
.plate-box { background: #111; border: 3px solid var(--accent); border-radius: 8px; padding: 8px 20px; display: inline-block; font-family: 'Courier New', monospace; font-size: 2rem; font-weight: 800; letter-spacing: 6px; color: #fff; text-shadow: 0 0 15px rgba(var(--accent-rgb), 0.5); }

.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 0; }
.hero-wave svg { display: block; width: 100%; }

/* ── Sections ────────────────────────────────── */
.section-padding { padding: 100px 0; }
.section-title { font-size: 2.2rem; font-weight: 800; }

/* ── Icon Circle ─────────────────────────────── */
.icon-circle {
    width: 60px; height: 60px; min-width: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #0a1628;
}

/* ── Problem Cards ───────────────────────────── */
.problem-card { border-left: 3px solid transparent; transition: all 0.3s; }
.problem-card:hover { border-left-color: var(--danger); transform: translateX(5px); }
.problem-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255,82,82,0.1); }

/* ── Objectives ──────────────────────────────── */
.objective-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), 0.4); }

/* ── Workflow ────────────────────────────────── */
.workflow-step { position: relative; }
.step-number {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gradient-accent);
    color: #0a1628; font-weight: 800; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
}
.step-arrow { color: var(--accent); margin-top: 8px; }
@media (min-width: 992px) {
    .step-arrow { position: absolute; right: -15px; top: 70px; }
    .step-arrow i { transform: rotate(-90deg); }
}

/* ── Architecture ────────────────────────────── */
.arch-layer { position: relative; }
.arch-icon { width: 50px; text-align: center; }
.arch-arrow-down { margin: -8px 0 -8px 50px; text-align: left; }

/* ── Features ────────────────────────────────── */
.feature-card:hover { border-color: rgba(var(--accent-rgb), 0.4); transform: translateY(-4px); }

/* ── Benefits ────────────────────────────────── */
.benefit-card:hover { transform: scale(1.03); }

/* ── SDG ─────────────────────────────────────── */
.sdg-badge { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

/* ── FAQ Accordion ───────────────────────────── */
.glass-accordion .accordion-button { background: var(--bg-card); color: #fff; border: 1px solid var(--border-glass); border-radius: 12px !important; }
.glass-accordion .accordion-button:not(.collapsed) { background: rgba(var(--accent-rgb), 0.1); color: var(--accent); box-shadow: none; }
.glass-accordion .accordion-button::after { filter: invert(1); }
.glass-accordion .accordion-body { background: rgba(10,22,40,0.5); border-radius: 0 0 12px 12px; }

/* ── CTA ─────────────────────────────────────── */
.cta-section { background: var(--gradient-2); position: relative; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%); }

/* ── Footer ──────────────────────────────────── */
.footer-section { background: var(--bg-darker); border-top: 1px solid var(--border-glass); }
.footer-link { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-link:hover { color: var(--accent); }
.tagline-footer { color: var(--accent); }

/* ── Form Inputs ─────────────────────────────── */
.glass-input {
    background: rgba(10, 22, 40, 0.6) !important;
    border: 1px solid var(--border-glass) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
}
.glass-input:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15) !important; }
.glass-input::placeholder { color: rgba(255,255,255,0.3); }

/* ── Dashboard Specific ──────────────────────── */
.status-badge { padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; display: inline-block; }
.table-glass th { border-bottom: 2px solid rgba(var(--accent-rgb), 0.3); color: var(--accent); font-weight: 600; }
.table-glass td { border-color: rgba(255,255,255,0.05); color: rgba(255,255,255,0.8); }

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb), 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-rgb), 0.5); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.6rem; }
    .section-padding { padding: 60px 0; }
    .hero-section { padding: 100px 0 40px; min-height: auto; }
}
