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

:root {
    --primary-color: #1e40af;
    --secondary-color: #0f172a;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --background: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* Main Content */
main {
    padding: 3rem 0;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: var(--primary-color);
}

h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Sections */
section {
    margin: 2rem 0;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Feature Boxes */
.feature-box,
.tech-item,
.security-item,
.emergency-item,
.api-section {
    background-color: #f0f9ff;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.feature-box h3,
.tech-item h3,
.security-item h3,
.emergency-item h3,
.api-section h3 {
    margin-top: 0;
}

/* Lists */
ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Steps */
.step {
    background-color: #fef2f2;
    border-left: 4px solid var(--danger-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    display: flex;
    gap: 2rem;
}

.step-number {
    background-color: var(--danger-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step h3 {
    margin-top: 0;
}

/* Indicators */
.indicator-group {
    background-color: #f5f3ff;
    border-left: 4px solid var(--info-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0.8rem;
    background-color: white;
    border-radius: 4px;
}

.light {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
    flex-shrink: 0;
}

.light.white {
    background-color: #ffffff;
    border: 2px solid #d1d5db;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.light.white.blink {
    animation: blink 1s infinite;
}

.light.green {
    background-color: var(--success-color);
}

.light.red {
    background-color: var(--danger-color);
}

.light.red.blink {
    animation: blink 1s infinite;
}

.light.blue {
    background-color: var(--info-color);
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0.3;
    }
}

.indicator p {
    margin: 0;
}

/* Note */
.note {
    font-style: italic;
    color: var(--text-light);
    background-color: #fef3c7;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin: 0;
    color: #cbd5e1;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    section {
        padding: 1.5rem;
    }

    main {
        padding: 1.5rem 0;
    }
}
