:root {
    --gov-navy: #141c2b;
    --gov-blue: #004085;
    --soft-blue: #e8effe;
    --soft-purple: #f3efff;
    --purple-main: #4a34b2;
    --danger: #ff4757;
    --surface: #ffffff;
    --background: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --border: #f1f5f9;
}

/* ── ROOT OVERFLOW PREVENTION ── */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.navbar {
    background: var(--surface);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.emblem {
    width: 56px;
    height: auto;
}

.logo-text h1 {
    font-size: 1rem;
    color: var(--gov-navy);
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gov-navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
    line-height: 1.2;
}

.nav-links a.active {
    color: var(--purple-main);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--purple-main);
    border-radius: 2px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.btn-icon-dark {
    width: 20px;
    height: 20px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
    border-radius: 24px;
    padding: 10px 24px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--gov-navy);
    border-radius: 24px;
    padding: 10px 20px;
}

.btn-primary {
    background-color: var(--purple-main);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--gov-navy);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.btn-secondary i {
    color: var(--purple-main);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
    border-radius: 12px;
}

.btn-text {
    background: none;
    color: var(--gov-navy);
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 60px 0 100px;
    position: relative;
    background: radial-gradient(ellipse at 80% 30%, #f0f4ff 0%, #ffffff 50%);
    border-radius: 0;
    margin: 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 0 0 55%;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 8px 20px 8px 8px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gov-navy);
    margin-bottom: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.badge-icon {
    background: var(--purple-main);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.hero-title {
    font-size: clamp(1.8rem, 4.5vw + 0.5rem, 4.2rem);
    font-weight: 800;
    color: var(--gov-navy);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    overflow-wrap: anywhere;
}

.highlight {
    color: var(--purple-main);
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gov-navy);
    margin-bottom: 24px;
    line-height: 1.4;
    max-width: 90%;
}

.hero-bullets {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 40px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: absolute;
    right: -5%;
    top: -10%;
    width: 60%;
    height: 130%;
    z-index: 1;
}

.illustration-placeholder {
    width: 100%;
    height: 100%;
}

.illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    /* Softly fade edges using mask */
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, black 45%, transparent 75%);
    mask-image: radial-gradient(ellipse at 60% 40%, black 45%, transparent 75%);
}

/* Features */
.features {
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.features-container {
    background: var(--surface);
    border-radius: 20px;
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #e2e8f0;
    color: var(--purple-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-text {
    font-weight: 600;
    color: var(--gov-navy);
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Emergency Banner */
.emergency-banner {
    padding: 40px 0 60px;
}

.banner-content {
    background: linear-gradient(135deg, #fceeff 0%, #ffeaf0 100%);
    border-radius: 20px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.banner-content::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 300px;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="200" height="150" viewBox="0 0 200 150" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M150 150c-20-40-50-60-90-50 40-10 70-30 80-70-10 40-30 60-70 70 40-10 60-30 70-70" fill="%23f9a8d4" opacity="0.4"/></svg>') no-repeat right bottom;
    background-size: contain;
}

.banner-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--purple-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 0 0 15px rgba(74, 52, 178, 0.1);
}

.banner-text {
    z-index: 2;
}

.banner-text h4 {
    color: var(--gov-navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.banner-text h2 {
    color: var(--gov-navy);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.banner-text p {
    color: #db2777;
    font-weight: 600;
    font-size: 0.95rem;
}
