:root {
    --bg-color: #f8f9fa;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --primary: #dc2626;
    --primary-hover: #b91c1c;
    --glass-bg: #ffffff;
    --glass-border: #e5e7eb;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

.text-gradient {
    background: linear-gradient(135deg, #dc2626, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Navbar -> Clean Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #111827;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

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

.nav-links a:not(.btn) {
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    color: white;
}

.btn-glass {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-glass:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    color: #111827;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-color: #f8f9fa;
}

.hero-bg-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-area {
    max-width: 700px;
}

.badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.pulse-dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: #111827;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Features / Bento Grid */
.features-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-color);
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    color: #111827;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

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

.glass-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.bento-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #fee2e2;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.bento-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Reference Section */
.reference-section {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid var(--glass-border);
}

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

.ref-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #111827;
}

.ref-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.ref-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #374151;
}

.ref-highlight i {
    color: #16a34a;
}

.ref-btn {
    margin-top: 30px;
}

.ref-image {
    position: relative;
}

.ref-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.glow-effect {
    display: none;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    background: #ffffff;
}

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

.footer-brand .logo {
    color: #111827;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color 0.3s;
    font-weight: 500;
}

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Latest News Section */
.news-section {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.news-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #d1d5db;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.news-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-summary {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-readmore {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Legal Pages Styling & Blog */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid var(--glass-border);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #111827;
}

.page-content {
    padding: 60px 0;
}

.legal-text {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    font-size: 1.1rem;
    color: #374151;
    box-shadow: var(--card-shadow);
}

.main-content .container {
    padding: 0;
    max-width: 100%;
}

.legal-text h2 {
    color: #111827;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
    font-weight: 800;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    color: #1f2937;
    font-size: 1.4rem;
    margin: 30px 0 15px;
    font-weight: 700;
}

.legal-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-text li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #fee2e2;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: #111827;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.info-content p {
    color: var(--text-muted);
}

.contact-form {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #374151;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    color: #111827;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Sidebar and Layout Overrides */
.layout-wrapper { display: flex; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.main-content { flex: 1; min-width: 300px; }
.sidebar { width: 350px; flex-shrink: 0; position: sticky; top: 120px; }
@media (max-width: 991px) {
    .sidebar { width: 100%; position: static; }
}

.sidebar-widget { 
    background: #ffffff; 
    padding: 30px; 
    border-radius: 16px; 
    border: 1px solid var(--glass-border); 
    box-shadow: var(--card-shadow); 
    margin-bottom: 30px;
}

.sidebar-title { 
    color: #111827; 
    margin-bottom: 20px; 
    font-size: 1.3rem; 
    border-bottom: 1px solid var(--glass-border); 
    padding-bottom: 15px; 
    font-weight: 800;
}

.sidebar-link { 
    display: block; 
    margin-bottom: 15px; 
    text-decoration: none; 
    border-bottom: 1px solid var(--glass-border); 
    padding-bottom: 15px;
}
.sidebar-link:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0;}

.sidebar-link h4 { 
    color: #1f2937; 
    font-size: 1.05rem; 
    margin-bottom: 5px; 
    transition: 0.3s; 
    line-height: 1.4; 
    font-weight: 700;
}

.sidebar-link:hover h4 { color: var(--primary); }

.sidebar-link div { 
    color: #6b7280; 
    font-size: 0.85rem; 
    font-weight: 500;
}

.breadcrumb { 
    display: flex; gap: 10px; align-items: center; font-size: 0.9rem; margin-bottom: 25px; color: var(--text-muted); font-weight: 500;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: #111827; font-weight: 600; }

.article-container { 
    background: #ffffff; 
    padding: 45px; 
    border-radius: 16px; 
    border: 1px solid var(--glass-border); 
    box-shadow: var(--card-shadow);
}
.article-content h2 { color: #111827; margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; font-weight: 800; line-height: 1.3; }
.article-content p { color: #374151; font-size: 1.15rem; line-height: 1.8; margin-bottom: 25px; }
.article-content ul { color: #374151; font-size: 1.15rem; line-height: 1.8; margin-bottom: 25px; padding-left: 25px; }
.article-content li { margin-bottom: 12px; }
.article-content strong { color: #111827; font-weight: 700; }
.article-content blockquote { 
    border-left: 4px solid var(--primary); 
    padding-left: 20px; 
    margin: 30px 0; 
    font-style: italic; 
    color: #1f2937; 
    font-size: 1.3rem; 
    line-height: 1.6; 
    background: #fee2e2; 
    padding: 20px; 
    border-radius: 0 10px 10px 0; 
}
.article-meta { display: flex; gap: 25px; color: var(--primary); font-weight: 700; margin-bottom: 30px; border-bottom: 1px solid var(--glass-border); padding-bottom: 25px; font-size: 0.95rem; }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .reference-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; }
    .bento-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 15px auto; }
    .footer-contact p { justify-content: center; }
    .article-container { padding: 25px; }
    .mobile-menu-btn { display: block; }
}

/* Mobile Drawer Navigation */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #111827;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.mobile-menu-btn:hover {
    background: #f3f4f6;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-drawer.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: #ffffff;
    padding: 60px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-nav-drawer.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
}

.mobile-nav-content a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-content a.btn-primary {
    border-bottom: none;
    color: #ffffff;
    margin-top: 10px;
}


/* About Content Section (AdSense original content) */
.about-content-section {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid var(--glass-border);
}

.content-article {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 45px 50px;
    box-shadow: var(--card-shadow);
}

.content-article p {
    color: #4b5563;
    font-size: 1.08rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.content-article h3 {
    color: #111827;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 35px 0 15px;
}

.content-article ul {
    color: #4b5563;
    font-size: 1.08rem;
    line-height: 1.9;
    padding-left: 22px;
    margin-bottom: 20px;
}

.content-article li {
    margin-bottom: 10px;
}

/* Active Cities Network Section */
.network-section {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.city-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    box-shadow: var(--card-shadow);
}

.city-card:hover {
    transform: translateY(-5px);
    border-color: #d1d5db;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.city-card.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    filter: grayscale(1);
    background: #f9fafb;
}

.city-card.disabled:hover {
    transform: none;
    border-color: var(--glass-border);
    box-shadow: var(--card-shadow);
}

.city-logo {
    width: 64px;
    height: 64px;
    background: #fee2e2;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.city-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111827;
}

.city-status {
    font-size: 0.85rem;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    padding: 4px 12px;
    border-radius: 50px;
}

.city-card.disabled .city-status {
    color: #6b7280;
    background: #e5e7eb;
}

.index-main-container { padding-top: 50px; }
.hero-subtitle { margin: 0 auto 40px auto; } /* Fix for margin 0 auto */
.breadcrumb i { font-size: 0.7rem; }

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid var(--glass-border);
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: border-color 0.3s;
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: color 0.3s;
}

.faq-question:hover, .faq-item.active .faq-question {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 28px;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 28px 22px 28px;
}

