/* ============================================
   SIGANAS MADU — Landing Page Custom CSS
   BPBD Kabupaten Subang
   ============================================ */

/* --- Variables --- */
:root {
    --siganas-primary: #c0392b;
    --siganas-secondary: #e74c3c;
    --siganas-dark: #1a2332;
    --siganas-accent: #f39c12;
    --siganas-light-red: #fdedec;
    --font-display: "Sora", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.1);
    --radius-card: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    color: #344767;
}

/* --- Utility --- */
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.fw-800 {
    font-weight: 800;
}
.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}
.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.bg-gray-100 {
    background-color: #f4f6fb;
}
.lh-relaxed {
    line-height: 1.8;
}
.mb-6 {
    margin-bottom: 4rem !important;
}

/* --- Text Gradient --- */
.text-siganas {
    color: var(--siganas-primary) !important;
}

/* ============================================
   NAVBAR
============================================ */
.siganas-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent !important;
    box-shadow: none;
}

.siganas-navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08) !important;
}

.brand-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.3px;
    transition: var(--transition);
}

.navbar-scrolled .brand-title {
    color: var(--siganas-dark);
}

.brand-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.navbar-scrolled .brand-sub {
    color: #67748e;
}

.nav-link-custom {
    font-weight: 600;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: var(--transition);
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px;
}

.navbar-scrolled .nav-link-custom {
    color: #344767 !important;
}

.nav-link-custom:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-scrolled .nav-link-custom:hover {
    color: var(--siganas-primary) !important;
    background: var(--siganas-light-red);
}

/* --- Buttons --- */
.btn-siganas {
    background: linear-gradient(
        135deg,
        var(--siganas-primary) 0%,
        var(--siganas-secondary) 100%
    );
    color: white !important;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.btn-siganas:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.4);
    color: white !important;
}

.btn-siganas-outline {
    background: transparent;
    color: var(--siganas-primary) !important;
    border: 1.5px solid var(--siganas-primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-siganas-outline:hover {
    background: var(--siganas-primary);
    color: white !important;
}

.btn-xs {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 40%, #922b21 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.min-vh-hero {
    min-height: calc(100vh - 80px);
    padding: 4rem 0 5rem;
}

/* Decorative shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #e74c3c, transparent);
    top: -200px;
    right: -100px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #f39c12, transparent);
    bottom: 0;
    left: -100px;
    opacity: 0.06;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, white, transparent);
    top: 30%;
    left: 40%;
    opacity: 0.04;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
}

.text-gradient-hero {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 2rem;
}

/* Hero CTA Buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white !important;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.5);
    color: white !important;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white !important;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    backdrop-filter: blur(15px);
    max-width: 500px;
}

.hero-stat-item {
    text-align: center;
    flex: 1;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.hero-stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* ---- Phone Mockup ---- */
.hero-mockup-col {
    display: flex;
    justify-content: center;
}

.hero-mockup-wrapper {
    position: relative;
    display: inline-block;
}

.mockup-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(231, 76, 60, 0.35) 0%,
        transparent 70%
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 0;
}

.phone-mockup {
    position: relative;
    z-index: 1;
}

.phone-frame {
    width: 270px;
    background: #1a1a2e;
    border-radius: 44px;
    padding: 14px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 33px;
    display: block;
}

.phone-shadow {
    height: 30px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.35) 0%,
        transparent 70%
    );
    margin-top: 10px;
}

/* Float cards */
.float-card {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    min-width: 160px;
}

.float-card-1 {
    bottom: 120px;
    left: -110px;
}

.float-card-2 {
    top: 100px;
    right: -140px;
}

.float-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}
.bg-gradient-warning {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
}
.bg-gradient-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.bg-gradient-info {
    background: linear-gradient(135deg, #2980b9, #3498db);
}
.bg-gradient-primary {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}
.bg-gradient-siganas {
    background: linear-gradient(
        135deg,
        var(--siganas-primary),
        var(--siganas-secondary)
    );
}

.float-label {
    font-size: 0.7rem;
    color: #67748e;
    font-weight: 500;
}

.float-value {
    font-size: 0.9rem;
    font-weight: 800;
    color: #344767;
    font-family: var(--font-display);
}

/* Hero wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    margin-bottom: -1px;
}

.hero-wave svg {
    display: block;
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float-phone {
    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }
    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

@keyframes floatDelay {
    0%,
    100% {
        transform: translateY(-8px) rotate(-2deg);
    }
    50% {
        transform: translateY(0) rotate(-2deg);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.7s ease both;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease both;
}

.animate-float-phone {
    animation: float-phone 4s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delay {
    animation: floatDelay 3s ease-in-out infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SECTION COMMON STYLES
============================================ */
.section-bpbd,
.section-app,
.section-pengaduan,
.section-kontak {
    padding: 6rem 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--siganas-light-red);
    color: var(--siganas-primary);
    border: 1px solid rgba(192, 57, 43, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--siganas-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #67748e;
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto;
}

/* ============================================
   ABOUT BPBD SECTION
============================================ */
.bpbd-profile-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.bpbd-card-header {
    background: linear-gradient(135deg, var(--siganas-dark), #922b21);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bpbd-logo-circle {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bpbd-card-body {
    background: white;
    padding: 1.5rem;
}

.bpbd-info-row {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.bpbd-info-row:last-of-type {
    border-bottom: none;
}

.bpbd-info-row i {
    width: 18px;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-label {
    font-size: 0.72rem;
    color: #67748e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.info-value {
    font-size: 0.875rem;
    color: #344767;
    font-weight: 500;
}

.achievement-card {
    background: white;
    border-radius: 14px;
    padding: 1.25rem 0.75rem;
    border: 1px solid #eef0f4;
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.achievement-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.achievement-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--siganas-dark);
}

.achievement-label {
    font-size: 0.72rem;
    color: #67748e;
    font-weight: 500;
}

/* ============================================
   APP FEATURES SECTION
============================================ */
.section-app {
    background: white;
}

.feature-card {
    background: white;
    border: 1px solid #eef0f4;
    border-radius: var(--radius-card);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--siganas-primary),
        var(--siganas-accent)
    );
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.gradient-red {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.gradient-orange {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}
.gradient-blue {
    background: linear-gradient(135deg, #2980b9, #3498db);
}
.gradient-green {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}
.gradient-purple {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}
.gradient-teal {
    background: linear-gradient(135deg, #16a085, #1abc9c);
}

.feature-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--siganas-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: #67748e;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0;
}

/* How to Use */
.how-to-use-card {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border: 1px solid #eef0f4;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.step-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--siganas-light-red);
    line-height: 1;
    min-width: 35px;
    color: var(--siganas-primary);
    opacity: 0.3;
}

.step-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    background: white;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: var(--transition);
}

.step-content:hover {
    border-color: var(--siganas-primary);
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.08);
}

.step-icon {
    width: 38px;
    height: 38px;
    background: var(--siganas-light-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--siganas-primary);
    flex-shrink: 0;
    font-size: 0.9rem;
}

/* ============================================
   PENGADUAN SECTION
============================================ */
.btn-filter {
    background: white;
    border: 1.5px solid #dee2e6;
    color: #67748e;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    transition: var(--transition);
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--siganas-primary);
    border-color: var(--siganas-primary);
    color: white;
}

.pengaduan-card {
    background: white;
    border-radius: var(--radius-card);
    border: 1px solid #eef0f4;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pengaduan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.pengaduan-card-header {
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pengaduan-id {
    font-size: 0.7rem;
    font-weight: 700;
    color: #67748e;
    font-family: monospace;
}

.pengaduan-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.jenis-banjir {
    background: #ebf5fb;
    color: #2980b9;
}
.jenis-longsor {
    background: #fef9e7;
    color: #7d6608;
}
.jenis-angin-kencang {
    background: #eafaf1;
    color: #1e8449;
}
.jenis-kebakaran {
    background: #fef0e7;
    color: #c0392b;
}
.jenis-gempa-bumi {
    background: #f4ecf7;
    color: #7d3c98;
}

.pengaduan-status {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
}

.status-menunggu {
    background: #fef9e7;
    color: #9a7d0a;
}
.status-proses {
    background: #ebf5fb;
    color: #2980b9;
}
.status-selesai {
    background: #eafaf1;
    color: #1e8449;
}

.pengaduan-card-body {
    padding: 1rem 1.25rem;
    flex: 1;
}

.pengaduan-title {
    font-weight: 700;
    color: var(--siganas-dark);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.pengaduan-meta {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #67748e;
    margin-bottom: 0.35rem;
}

.pengaduan-meta i {
    width: 12px;
    font-size: 0.7rem;
    margin-top: 4px;
    flex-shrink: 0;
    color: #adb5bd;
}

.pengaduan-card-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #f5f5f5;
    background: #fafbfc;
}

.pengaduan-time {
    font-size: 0.75rem;
    color: #adb5bd;
    font-weight: 500;
}

/* Pagination */
.pagination-siganas .page-link {
    color: #67748e;
    border: 1.5px solid #dee2e6;
    border-radius: 8px !important;
    margin: 0 2px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.pagination-siganas .page-link:hover {
    background: var(--siganas-light-red);
    border-color: var(--siganas-primary);
    color: var(--siganas-primary);
}

.pagination-siganas .page-item.active .page-link {
    background: var(--siganas-primary);
    border-color: var(--siganas-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

/* ============================================
   CONTACT SECTION
============================================ */
.kontak-card {
    background: white;
    border: 1px solid #eef0f4;
    border-radius: var(--radius-card);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.kontak-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: rgba(192, 57, 43, 0.15);
}

.kontak-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.kontak-label {
    font-size: 0.72rem;
    color: #67748e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.kontak-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--siganas-dark);
}

.kontak-sub {
    font-size: 0.75rem;
    color: #adb5bd;
}

.map-container {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid #eef0f4;
}

.map-overlay-header {
    background: var(--siganas-dark);
    color: white;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.emergency-cta {
    background: linear-gradient(135deg, var(--siganas-primary), #922b21);
    border-radius: var(--radius-card);
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.emergency-pulse {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.emergency-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
============================================ */
.footer-siganas {
    background: var(--siganas-dark);
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-social {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social:hover {
    background: var(--siganas-primary);
    border-color: var(--siganas-primary);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   BACK TO TOP
============================================ */
.btn-back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--siganas-primary);
    color: white;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(192, 57, 43, 0.4);
    z-index: 999;
}

.btn-back-top:hover {
    background: var(--siganas-dark);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 991px) {
    .float-card-1,
    .float-card-2 {
        display: none;
    }
    .phone-frame {
        width: 230px;
    }
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        padding: 1rem;
        max-width: 100%;
    }
    .hero-stat-item {
        flex: 1;
        min-width: 80px;
    }
    .hero-stat-divider {
        width: 1px;
        height: 40px;
    }
    .how-to-use-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 767px) {
    /* Navbar */
    .siganas-navbar {
        padding: 0.6rem 0;
    }
    .brand-title {
        font-size: 0.85rem;
    }

    /* Hero */
    .min-vh-hero {
        padding: 5.5rem 0 3rem;
    }
    .hero-title {
        font-size: 1.75rem;
        letter-spacing: -0.3px;
    }
    .hero-subtitle {
        font-size: 0.875rem;
    }
    .hero-badge {
        font-size: 0.72rem;
        padding: 0.3rem 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.7rem 1.25rem;
        font-size: 0.82rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        max-width: 100%;
    }
    .hero-stat-divider {
        width: 100%;
        height: 1px;
    }
    .hero-stat-number {
        font-size: 1.5rem;
    }

    /* Phone mockup — tampilkan lebih kecil di bawah konten */
    .hero-mockup-col {
        margin-top: 2rem;
        justify-content: center;
    }
    .phone-frame {
        width: 200px;
    }
    .mockup-glow {
        width: 200px;
        height: 200px;
    }

    /* Section common */
    .section-bpbd,
    .section-app,
    .section-pengaduan,
    .section-kontak {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.875rem;
    }

    /* About BPBD */
    .bpbd-profile-card {
        margin-bottom: 1rem;
    }
    .achievement-card {
        padding: 0.875rem 0.5rem;
    }
    .achievement-value {
        font-size: 1.1rem;
    }
    .achievement-label {
        font-size: 0.65rem;
    }

    /* Features */
    .feature-card {
        padding: 1.5rem 1.25rem;
    }
    .how-to-use-card {
        padding: 1.5rem 1rem;
    }
    .step-content {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }

    /* Pengaduan */
    .btn-filter {
        font-size: 0.72rem;
        padding: 0.3rem 0.75rem;
    }

    /* Kontak */
    .kontak-card {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .kontak-card .btn-siganas-outline {
        width: 100%;
        text-align: center;
    }
    .emergency-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .emergency-content .d-flex {
        width: 100%;
    }
    .emergency-content .btn {
        flex: 1;
        text-align: center;
    }

    /* Footer */
    .footer-siganas .col-6 {
        width: 50% !important;
    }
}

@media (max-width: 575px) {
    /* Navbar */
    .brand-sub {
        display: none;
    }
    .brand-title {
        font-size: 0.8rem;
    }

    /* Hero */
    .min-vh-hero {
        padding: 5rem 0 2.5rem;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.82rem;
        line-height: 1.65;
    }

    /* Pengaduan grid — 1 kolom di layar sangat kecil */
    .pengaduan-item {
        width: 100% !important;
    }

    /* Phone mockup lebih kecil */
    .phone-frame {
        width: 175px;
    }

    /* Step item layout */
    .step-item {
        gap: 0.75rem;
    }
    .step-number {
        font-size: 1.1rem;
        min-width: 25px;
    }

    /* Section badge */
    .section-badge {
        font-size: 0.7rem;
    }

    /* Back to top */
    .btn-back-top {
        bottom: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
    }
}
