/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root Variables */
:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --secondary-color: #059669;
    --accent-color: #f59e0b;
    --warning-color: #f97316;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-light: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    --border-radius: 16px;
    --max-width: 1400px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-size: 16px;
    font-weight: 400;
}

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

/* Disclaimer Banner */
.disclaimer-banner {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: var(--shadow-medium);
    animation: pulse-warning 3s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% { background: linear-gradient(135deg, #dc2626, #b91c1c); }
    50% { background: linear-gradient(135deg, #b91c1c, #991b1b); }
}

.disclaimer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: center;
    justify-content: center;
}

.disclaimer-content i {
    font-size: 1.5rem;
    animation: shake 2s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.disclaimer-text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.disclaimer-text strong {
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Header */
.header {
    position: fixed;
    top: 56px; /* Account for disclaimer banner */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

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

.btn-primary-large {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(220, 38, 38, 0.05);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-mobile {
    display: none;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px; /* Account for fixed header + disclaimer */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
    padding: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Download Button */
.btn-download-main {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 24px 40px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    width: 100%;
    justify-content: center;
    max-width: 400px;
}

.btn-download-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-download-main:hover::before {
    left: 100%;
}

.btn-download-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn-download-main i {
    font-size: 2rem;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.btn-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.btn-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1;
}

/* Secondary Actions */
.secondary-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-secondary-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    padding: 16px 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-secondary-action:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emergency-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.hero-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid var(--warning-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-disclaimer i {
    color: var(--warning-color);
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--shadow-heavy);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background-white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-category {
    background: var(--background-white);
    border-radius: var(--border-radius-large);
    padding: 32px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.feature-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.feature-category h3 i {
    font-size: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 4px;
    min-width: 20px;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Shelter Types Section */
.shelter-types {
    padding: 100px 0;
    background: var(--background-light);
}

.shelter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.shelter-type {
    background: var(--background-white);
    border-radius: var(--border-radius-large);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.shelter-type:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

/* Screenshots Gallery */
.screenshots-gallery {
    padding: 80px 0;
    background: var(--bg-light);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.screenshot-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.screenshot-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    transition: var(--transition);
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-caption {
    padding: 24px;
    text-align: center;
}

.screenshot-caption h4 {
    margin: 0 0 12px 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.screenshot-caption p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Screenshot Gallery Responsive */
@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .screenshot-item img {
        height: 350px;
    }
    
    .screenshot-caption {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .screenshot-item img {
        height: 300px;
    }
    
    .screenshot-caption {
        padding: 16px;
    }
    
    .screenshot-caption h4 {
        font-size: 1.1rem;
    }
    
    .screenshot-caption p {
        font-size: 0.9rem;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .disclaimer-banner {
        padding: 12px 0;
    }
    
    .disclaimer-content {
        flex-direction: column;
        gap: 8px;
        padding: 0 16px;
    }
    
    .disclaimer-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .header {
        top: 48px;
    }
    
    .nav {
        height: 70px;
        padding: 0 16px;
    }
    
    .nav-brand h1 {
        font-size: 1.4rem;
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-primary-large {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .btn-secondary {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 140px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 32px 0;
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .btn-download-main {
        padding: 20px 32px;
        font-size: 1.1rem;
        gap: 16px;
        max-width: 100%;
    }
    
    .btn-download-main i {
        font-size: 1.8rem;
    }
    
    .btn-title {
        font-size: 1.2rem;
    }
    
    .btn-subtitle {
        font-size: 0.85rem;
    }
    
    .secondary-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-secondary-action {
        padding: 14px 20px;
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .phone-mockup {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .disclaimer-text {
        font-size: 0.9rem;
    }
    
    .nav-brand h1 {
        font-size: 1.2rem;
    }
    
    .nav-actions {
        gap: 6px;
    }
    
    .btn-primary-large {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .btn-secondary {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        padding: 20px 12px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .btn-download-main {
        padding: 18px 24px;
        font-size: 1rem;
        gap: 12px;
    }
    
    .btn-download-main i {
        font-size: 1.6rem;
    }
    
    .btn-title {
        font-size: 1.1rem;
    }
    
    .btn-secondary-action {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* Legacy Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 16px;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
}

.shelter-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: white;
}

.shelter-icon.red {
    background: var(--emergency-color);
}

.shelter-icon.blue {
    background: var(--primary-color);
}

.shelter-icon.green {
    background: var(--secondary-color);
}

.shelter-type h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.shelter-type p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.shelter-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.marker.red {
    background: var(--emergency-color);
}

.marker.blue {
    background: var(--primary-color);
}

.marker.green {
    background: var(--secondary-color);
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--background-white);
}

.download-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.download-text > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.download-steps {
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

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

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.download-info i {
    color: var(--primary-color);
}

.qr-code {
    display: flex;
    justify-content: center;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: var(--background-light);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-align: center;
}

.qr-placeholder i {
    font-size: 3rem;
    margin-bottom: 12px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background-light);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-text > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 4px;
}

.about-feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.about-feature p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.official-links h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.official-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.official-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.official-link i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.footer-logo i {
    font-size: 1.5rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-disclaimer {
    padding: 16px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--emergency-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: #ffcdd2;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-bottom-content {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom-content p {
    margin-bottom: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features,
    .shelter-types,
    .download,
    .about {
        padding: 60px 0;
    }
    
    .feature-category,
    .shelter-type {
        padding: 24px;
    }
}
