body {
    background-color: #1e1e1e;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Grid Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Cursor Shadow Effect */
#cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 61, 14, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.08s ease-out;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.nexa-heading {
    font-family: 'Audiowide', cursive;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* UPDATED: Increased heading sizes */
h1.nexa-heading {
    font-size: 3.5em !important;
}

h2.nexa-heading {
    font-size: 2.5em !important;
}

h3.nexa-heading {
    font-size: 1.1em !important;
}

h4.nexa-heading {
    font-size: 1.05em !important;
}

.nexa-heading:not(h1):not(h2):not(h3):not(h4) {
    font-size: 1em;
}

.nexa-body {
    font-family: 'Red Hat Display', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1e1e1e;
}
::-webkit-scrollbar-thumb {
    background: #F93D0E;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff5722;
}

/* UPDATED: Enhanced glowing red effect */
.glow-text {
    text-shadow: 0 0 20px rgba(249, 61, 14, 0.8), 0 0 20px rgba(249, 61, 14, 0.5);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { text-shadow: 0 0 30px rgba(249, 61, 14, 0.8), 0 0 60px rgba(249, 61, 14, 0.5); }
    50% { text-shadow: 0 0 20px rgba(249, 61, 14, 1), 0 0 80px rgba(249, 61, 14, 0.7); }
}

.hero-bg {
    background: radial-gradient(circle at 30% 20%, rgba(249, 61, 14, 0.15) 0%, rgba(0, 0, 0, 0) 50%);
}

/* Form focus effects */
.input-field:focus {
    border-color: #F93D0E;
    box-shadow: 0 0 15px rgba(249, 61, 14, 0.3);
    outline: none;
}

/* Loader */
.loader {
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top: 3px solid #F93D0E;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Counter Animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Pricing Card Hover */
.pricing-card {
    transition: all 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(249, 61, 14, 0.3);
}

/* Smooth Appear Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

/* Google Business Stats Card - Google Colors Initially */
.gbp-stats-card {
    background: #1e1e1e;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.gbp-stats-card .stat-label {
    color: #9ca3af;
    transition: color 0.4s ease;
}

.gbp-stats-card .stat-number-calls {
    color: #4285F4;
    transition: color 0.4s ease;
}

.gbp-stats-card .stat-number-views {
    color: #EA4335;
    transition: color 0.4s ease;
}

/* UPDATED: Thinner graph lines */
.gbp-stats-card .progress-bar-calls {
    background: linear-gradient(to right, #4285F4, #34A853);
    transition: background 0.4s ease;
    height: 6px !important;
}

.gbp-stats-card .progress-bar-views {
    background: linear-gradient(to right, #EA4335, #FBBC04);
    transition: background 0.4s ease;
    height: 6px !important;
}

.gbp-stats-card .badge-open {
    background: rgba(52, 168, 83, 0.2);
    color: #34A853;
    border-color: rgba(52, 168, 83, 0.3);
    transition: all 0.4s ease;
}

.gbp-stats-card .badge-rank {
    background: rgba(234, 67, 53, 0.2);
    color: #EA4335;
    border-color: rgba(234, 67, 53, 0.3);
    transition: all 0.4s ease;
}

.gbp-stats-card .badge-verified {
    background: rgba(66, 133, 244, 0.2);
    color: #4285F4;
    border-color: rgba(66, 133, 244, 0.3);
    transition: all 0.4s ease;
}

.gbp-stats-card .star-icon {
    color: #FBBC04;
    transition: color 0.4s ease;
}

/* Google Business Stats Card - Nexa Red on Hover */
.gbp-stats-card:hover {
    border-color: rgba(249, 61, 14, 0.4);
}

.gbp-stats-card:hover .stat-label {
    color: #e5e7eb;
}

.gbp-stats-card:hover .stat-number-calls,
.gbp-stats-card:hover .stat-number-views {
    color: #F93D0E;
}

.gbp-stats-card:hover .progress-bar-calls,
.gbp-stats-card:hover .progress-bar-views {
    background: linear-gradient(to right, #F93D0E, #FF6B35);
}

.gbp-stats-card:hover .badge-open,
.gbp-stats-card:hover .badge-rank,
.gbp-stats-card:hover .badge-verified {
    background: rgba(249, 61, 14, 0.2);
    color: #F93D0E;
    border-color: rgba(249, 61, 14, 0.3);
}

.gbp-stats-card:hover .star-icon {
    color: #F93D0E;
}

/* UPDATED: Reduced button paddings */
.btn-compact {
    padding: 0.75rem 1.5rem !important;
}

@media (min-width: 640px) {
    .btn-compact {
        padding: 0.875rem 2rem !important;
    }
}

/* Button Hover - Only Nexa Brand Colors */
a.nexa-heading.bg-nexa-red:hover,
button.bg-nexa-red:hover {
    background-color: #d63308 !important;
}

a.border-2:hover {
    border-color: #F93D0E !important;
    background-color: rgba(249, 61, 14, 0.1) !important;
}

/* Increase "How We Get You" Background Image Opacity */
.how-it-works-bg {
    background-image: url('https://blog.researcher.life/wp-content/uploads/2023/02/open-flying-old-books.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

/* Google Maps Autocomplete Styling */
.pac-container {
    background-color: #1a1a1a;
    border: 1px solid rgba(249, 61, 14, 0.3);
    border-radius: 8px;
    margin-top: 4px;
    font-family: 'Red Hat Display', sans-serif;
}

.pac-item {
    background-color: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffff;
    padding: 8px;
    cursor: pointer;
}

.pac-item:hover {
    background-color: rgba(249, 61, 14, 0.1);
}

.pac-item-query {
    color: #F93D0E;
    font-size: 14px;
}

.pac-matched {
    font-weight: bold;
    color: #FF6B35;
}

/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-upload-wrapper input[type=file] {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    padding: 1rem;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: #000;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #F93D0E;
    background-color: rgba(249, 61, 14, 0.05);
}

.file-upload-label.has-file {
    border-color: #34A853;
    background-color: rgba(52, 168, 83, 0.05);
}

/* Flatpickr Custom Styling */
.flatpickr-calendar {
    background: #1e1e1e;
    color: #111111;
    border: 1px solid rgba(249, 61, 14, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.flatpickr-months .flatpickr-month {
    background: #ffffff;
    color: #111111;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #ffffff;
    color: #111111;
}

.flatpickr-day {
    color: #111111;
}

.flatpickr-day:hover {
    background: rgba(249, 61, 14, 0.1);
    border-color: #F93D0E;
}

.flatpickr-day.selected {
    background: #F93D0E;
    border-color: #F93D0E;
    color: #ffffff;
}

.flatpickr-time input {
    background: #707070;
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.flatpickr-time input:hover {
    background: #f5f5f5;
}

/* UPDATED: Thinner bar chart lines */
.chart-bar {
    height: 6px !important;
}

/* Carousel dot styles */
.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #F93D0E;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(249, 61, 14, 0.7);
}
