/* ============================================
   SIMONTAP - Landing Page Styles
   BNPB Official Theme: Blue, Orange & White
   Disaster-Centric Card Layout
   ============================================ */

:root {
    /* BNPB Brand Colors */
    --bnpb-navy: #003566;
    --bnpb-blue: #005B99;
    --bnpb-blue-light: #0077CC;
    --bnpb-blue-pale: #E8F4FD;
    --bnpb-blue-50: #F0F7FF;
    --bnpb-orange: #FF6B00;
    --bnpb-orange-dark: #E55D00;
    --bnpb-orange-light: #FF8A33;
    --bnpb-orange-pale: #FFF3E8;

    /* Background hierarchy */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F8FC;
    --bg-tertiary: #EDF2F7;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-glass-dark: rgba(0, 53, 102, 0.06);
    --border-glass: rgba(0, 53, 102, 0.08);
    --border-light: rgba(0, 53, 102, 0.12);

    /* Text */
    --text-primary: #1A2B42;
    --text-secondary: #4A6785;
    --text-muted: #7A8FA6;
    --text-on-dark: #FFFFFF;
    --text-on-orange: #FFFFFF;

    /* Accent */
    --accent-green: #0FAA5C;
    --accent-green-pale: #E6F9F0;
    --accent-yellow: #F5A623;
    --accent-yellow-pale: #FFF8E8;
    --accent-red: #E53E3E;
    --accent-red-pale: #FDE8E8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--bnpb-navy), var(--bnpb-blue));
    --gradient-orange: linear-gradient(135deg, var(--bnpb-orange), var(--bnpb-orange-light));
    --gradient-hero: linear-gradient(135deg, var(--bnpb-navy) 0%, var(--bnpb-blue) 50%, #0088DD 100%);
    --gradient-hero-overlay: linear-gradient(180deg, rgba(0,53,102,0.92) 0%, rgba(0,91,153,0.88) 50%, rgba(0,119,204,0.85) 100%);
    --gradient-section: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 53, 102, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 53, 102, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 53, 102, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 53, 102, 0.15);
    --shadow-orange: 0 8px 30px rgba(255, 107, 0, 0.25);
    --shadow-blue: 0 8px 30px rgba(0, 53, 102, 0.2);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    /* Font */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

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

.glass {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

/* ============= NAVBAR ============= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 53, 102, 0.08);
}

.navbar.scrolled .brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar.scrolled .nav-links a { color: var(--text-secondary); }
.navbar.scrolled .nav-links a:hover { color: var(--bnpb-navy); }
.navbar.scrolled .nav-toggle span { background: var(--bnpb-navy); }

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-on-dark);
}

.brand-icon { display: flex; align-items: center; }

.brand-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover { color: white; }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bnpb-orange);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after { width: 100%; }

.btn-nav {
    background: var(--gradient-orange) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-orange);
    transition: all 0.3s ease !important;
}

.btn-nav:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(255, 107, 0, 0.35) !important;
}

.btn-nav::after { display: none !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: var(--shadow-lg);
}

.mobile-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-glass);
    transition: color 0.3s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--bnpb-navy); }

.btn-nav-mobile {
    background: var(--gradient-orange) !important;
    color: white !important;
    padding: 14px 24px !important;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    border-bottom: none !important;
    box-shadow: var(--shadow-orange);
}

.btn-nav-mobile.pwa {
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-blue);
}

/* ============= HERO ============= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--bnpb-orange);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.hero-particles .particle:nth-child(odd) {
    background: rgba(255, 255, 255, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-40px) scale(1.5); opacity: 0.6; }
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--bnpb-orange);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.5);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.4); }
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: white;
}

.gradient-text {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 660px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* Hero Search */
.hero-search {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto 40px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.hero-search:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.hero-search svg {
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.hero-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 15px;
    color: white;
    font-weight: 500;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 0;
}

.hero-stat {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hero-stat .stat-number {
    font-size: 32px;
    font-weight: 900;
    color: white;
    line-height: 1.2;
}

.hero-stat .stat-number.percentage {
    color: var(--bnpb-orange-light);
}

.hero-stat .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 4px;
    font-weight: 500;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.5);
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============= TRUST BAR ============= */
.trust-bar {
    padding: 40px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-glass);
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* ============= SECTIONS ============= */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--bnpb-orange-pale);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bnpb-orange);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
    color: var(--bnpb-navy);
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============= FILTER BAR ============= */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-secondary);
}

.filter-chip:hover {
    border-color: var(--bnpb-blue-light);
    color: var(--bnpb-navy);
    background: var(--bnpb-blue-pale);
}

.filter-chip.active {
    background: var(--bnpb-navy);
    color: white;
    border-color: var(--bnpb-navy);
    box-shadow: var(--shadow-blue);
}

/* ============= DISASTER CARDS ============= */
.section-disasters {
    background: var(--bg-secondary);
}

.disaster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.disaster-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.disaster-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.disaster-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.disaster-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.disaster-card:hover .disaster-card-img img {
    transform: scale(1.08);
}

.disaster-card-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.card-status-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.card-status-badge.progress {
    background: rgba(0, 119, 204, 0.9);
    color: white;
}

.card-status-badge.selesai {
    background: rgba(15, 170, 92, 0.9);
    color: white;
}

.card-status-badge.darurat {
    background: rgba(229, 62, 62, 0.9);
    color: white;
}

.card-magnitude {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 107, 0, 0.9);
    color: white;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.card-type-icon {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    z-index: 2;
    backdrop-filter: blur(8px);
}

.disaster-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--bnpb-navy);
    margin-bottom: 4px;
    line-height: 1.3;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.card-stat {
    text-align: center;
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
}

.card-stat-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--bnpb-navy);
}

.card-stat-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.card-progress-wrap {
    margin-bottom: 18px;
}

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

.card-progress-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.card-progress-pct {
    font-size: 14px;
    font-weight: 800;
    color: var(--bnpb-navy);
}

.card-progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    overflow: hidden;
}

.card-progress-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1.5s ease;
    background: var(--gradient-primary);
}

.card-progress-fill.high { background: linear-gradient(90deg, var(--accent-green), #22D07E); }
.card-progress-fill.medium { background: var(--gradient-orange); }
.card-progress-fill.low { background: linear-gradient(90deg, var(--accent-red), #FF6B6B); }

.card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: var(--bnpb-navy);
    background: var(--bnpb-blue-pale);
    transition: all 0.3s ease;
    margin-top: auto;
}

.card-action:hover {
    background: var(--bnpb-navy);
    color: white;
    box-shadow: var(--shadow-blue);
}

.card-action svg {
    transition: transform 0.3s ease;
}

.card-action:hover svg {
    transform: translateX(4px);
}

/* No results message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-results svg {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.no-results h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--bnpb-navy);
    margin-bottom: 8px;
}

.no-results p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============= MAP ============= */
.section-map {
    background: var(--bg-primary);
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

.map-toolbar {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-glass);
    background: var(--bg-card);
}

.map-legend {
    display: flex;
    gap: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.green { background: var(--accent-green); }
.dot.yellow { background: var(--accent-yellow); }
.dot.red { background: var(--accent-red); }

.map-container {
    height: 500px;
    background: var(--bnpb-blue-pale);
}

/* Leaflet overrides */
.leaflet-container {
    background: var(--bnpb-blue-pale) !important;
    font-family: var(--font) !important;
}

.leaflet-popup-content-wrapper {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-lg) !important;
}

.leaflet-popup-tip { background: var(--bg-card) !important; }

.leaflet-popup-content {
    margin: 14px 18px !important;
    font-family: var(--font) !important;
    font-size: 13px !important;
}

.popup-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--bnpb-navy); }
.popup-stat { display: flex; justify-content: space-between; padding: 4px 0; }
.popup-stat-label { color: var(--text-secondary); }
.popup-stat-value { font-weight: 700; color: var(--text-primary); }
.popup-progress { margin-top: 10px; }
.popup-progress-bar { height: 6px; background: var(--bg-tertiary); border-radius: 100px; overflow: hidden; margin-top: 6px; }
.popup-progress-fill { height: 100%; border-radius: 100px; }
.popup-link { display: block; text-align: center; margin-top: 12px; padding: 8px; background: var(--bnpb-blue-pale); border-radius: var(--radius-sm); font-weight: 700; font-size: 13px; color: var(--bnpb-navy); text-decoration: none; transition: all 0.3s ease; }
.popup-link:hover { background: var(--bnpb-navy); color: white; }

/* ============= FEATURES ============= */
.section-features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    border: 1px solid var(--border-glass);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-icon.blue { background: var(--bnpb-blue-pale); color: var(--bnpb-blue); }
.feature-icon.orange { background: var(--bnpb-orange-pale); color: var(--bnpb-orange); }
.feature-icon.green { background: var(--accent-green-pale); color: var(--accent-green); }
.feature-icon.navy { background: rgba(0, 53, 102, 0.08); color: var(--bnpb-navy); }

.feature-card:hover .feature-icon.blue { background: var(--bnpb-blue); color: white; }
.feature-card:hover .feature-icon.orange { background: var(--bnpb-orange); color: white; }
.feature-card:hover .feature-icon.green { background: var(--accent-green); color: white; }
.feature-card:hover .feature-icon.navy { background: var(--bnpb-navy); color: white; }

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--bnpb-navy);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============= CTA SECTION ============= */
.section-cta {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: white;
    color: var(--bnpb-navy);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-orange-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-orange-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============= FOOTER ============= */
.footer {
    padding: 60px 0 30px;
    background: var(--bnpb-navy);
    color: white;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 16px;
    line-height: 1.8;
}

.footer .nav-brand { color: white; }
.footer .brand-text { color: white; background: none; -webkit-text-fill-color: unset; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--bnpb-orange);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-tech a {
    color: var(--bnpb-orange);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-tech a:hover { color: var(--bnpb-orange-light); }

/* ============= ANIMATIONS ============= */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

.features-grid [data-animate]:nth-child(1) { transition-delay: 0.1s; }
.features-grid [data-animate]:nth-child(2) { transition-delay: 0.2s; }
.features-grid [data-animate]:nth-child(3) { transition-delay: 0.3s; }
.features-grid [data-animate]:nth-child(4) { transition-delay: 0.4s; }

.disaster-card {
    opacity: 0;
    transform: translateY(20px);
    animation: cardIn 0.6s ease forwards;
}

.disaster-card:nth-child(1) { animation-delay: 0.1s; }
.disaster-card:nth-child(2) { animation-delay: 0.2s; }
.disaster-card:nth-child(3) { animation-delay: 0.3s; }
.disaster-card:nth-child(4) { animation-delay: 0.4s; }
.disaster-card:nth-child(5) { animation-delay: 0.5s; }
.disaster-card:nth-child(6) { animation-delay: 0.6s; }
.disaster-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes cardIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
    .disaster-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .mobile-nav.active { display: flex; }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-desc { font-size: 15px; }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-stat .stat-number { font-size: 24px; }

    .hero-search {
        padding: 12px 20px;
    }

    .hero-search input { font-size: 14px; }

    .disaster-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        gap: 8px;
    }

    .filter-chip {
        padding: 8px 16px;
        font-size: 13px;
    }

    .map-container { height: 350px; }

    .footer-links { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .section { padding: 60px 0; }

    .map-legend { gap: 12px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .hero-stat { padding: 16px 12px; }
    .hero-stat .stat-number { font-size: 20px; }
    .hero-stat .stat-label { font-size: 11px; }

    .trust-logos { gap: 24px; }
    .trust-item { font-size: 12px; }
    .trust-item svg { width: 20px; height: 20px; }

    .card-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
}
