/* --- Core Variables & Reset --- */
:root {
    --bg-dark: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface-accent: #334155;
    --primary: #fbbf24; /* Premium Gold theme */
    --primary-hover: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Navigation Header --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.brand-logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.brand-logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.btn-download-apk {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-download-apk:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    padding: 10rem 0 6rem 0;
    background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.08), transparent 50%),
                radial-gradient(circle at bottom left, rgba(30, 41, 59, 0.5), transparent 50%);
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.badge {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--bg-surface-accent);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: #475569;
}

/* --- Stats Section --- */
.stats-section {
    background-color: var(--bg-surface);
    padding: 3rem 0;
    border-y: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card h3 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Services Section --- */
.services-section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Regions / States Section --- */
.regions-section {
    background-color: #0b0f19;
    padding: 6rem 0;
}

.regions-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.regions-wrapper h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.regions-wrapper p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.regions-highlights {
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary);
    text-align: left;
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.states-grid span {
    background-color: var(--bg-surface);
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

/* --- Multi-Column Footer --- */
.footer {
    background-color: #070a12;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.brand-col p {
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- PWA App Toast Banner --- */
.pwa-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--bg-surface);
    border: 1px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 2000;
    transition: var(--transition);
}
.pwa-toast.hidden { display: none; }
.btn-primary-sm { background-color: var(--primary); color: #000; padding: 0.4rem 1rem; border: none; border-radius: 4px; cursor: pointer; font-weight: 600;}

/* ==========================================================================
   Responsive View Breakpoints
   ========================================================================== */

/* --- Tablet View Viewports (Max 1024px) --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .nav-container { padding: 1rem; }
    .nav-menu { gap: 0.8rem; }
    .nav-link { font-size: 0.85rem; }
}

/* --- Mobile View Viewports (Max 768px) --- */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    /* Navigation Drawer configuration */
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        height: calc(100vh - 60px);
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        align-items: flex-start;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .btn-download-apk {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    /* Transform hamburger into an 'X' when open */
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Content Layout Resizes */
    .hero { padding: 8rem 0 4rem 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero-cta { flex-direction: column; width: 100%; }
    
    .services-grid { grid-template-columns: 1fr; }
    .states-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .pwa-toast { flex-direction: column; left: 20px; right: 20px; text-align: center; }
}