:root {
    --base-clr: #11121a;
    --line-clr: #42434a;
    --hover-clr: #222533;
    --text-clr: #e6e6ef;
    --accent-clr: #5e63ff;
    --secondary-text-clr: #b0b3c1;
}

/* Hero Section */
.hero {
    min-height: 600px;
    background: linear-gradient(135deg, rgba(94, 99, 255, 0.1) 0%, rgba(17, 18, 26, 0.9) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(94,99,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    display: flex;
    align-items: center;
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(94, 99, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-50px, 50px);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-clr) 0%, var(--accent-clr) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--secondary-text-clr);
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    height: 400px;
    background: var(--hover-clr);
    border-radius: 20px;
    border: 1px solid var(--line-clr);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-image::after {
    content: '🏘️';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Demographics Section */
.demographics {
    padding: 5rem 5%;
    background: var(--base-clr);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-clr);
}

.section-subtitle {
    text-align: center;
    color: var(--secondary-text-clr);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.demo-card {
    background: var(--hover-clr);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--line-clr);
    transition: all 0.3s;
    text-align: center;
}

.demo-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-clr);
    box-shadow: 0 10px 30px rgba(94, 99, 255, 0.2);
}

.demo-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.demo-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-clr);
    margin-bottom: 0.5rem;
}

.demo-label {
    color: var(--secondary-text-clr);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Map Section */
.map-section {
    padding: 5rem 5%;
    background: var(--hover-clr);
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.map-placeholder {
    height: 450px;
    background: var(--base-clr);
    border-radius: 20px;
    border: 1px solid var(--line-clr);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(94, 99, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.map-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.map-info p {
    color: var(--secondary-text-clr);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--base-clr) 0%, var(--hover-clr) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--base-clr);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--line-clr);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-clr), #7b7fff);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(94, 99, 255, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-clr), #7b7fff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(94, 99, 255, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-clr);
}

.feature-card p {
    color: var(--secondary-text-clr);
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--hover-clr);
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--line-clr);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-clr);
}

.footer-section p {
    color: var(--secondary-text-clr);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--secondary-text-clr);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-clr);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--line-clr);
    color: var(--secondary-text-clr);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}