/* ==========================================================================
   RERA DATA PROVIDER - Enterprise Stylesheet
   Designed for High Conversion, Clean Aesthetics & Professional Authority
   ========================================================================== */

:root {
    --primary: #660033;
    --primary-hover: #4a0025;
    --primary-light: #800040;
    --primary-subtle: #fdf2f6;
    --primary-border: #f3c2d6;

    --navy: #0f172a;
    --navy-light: #1e293b;
    --navy-muted: #334155;

    --gold: #c9a96e;
    --gold-hover: #b59355;
    --gold-light: #fbf7ee;

    --accent-emerald: #059669;
    --accent-emerald-light: #ecfdf5;
    --accent-amber: #d97706;
    --accent-red: #dc2626;

    --bg-body: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;
    --text-white: #ffffff;

    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-light: #f1f5f9;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 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);
    --shadow-card: 0 12px 36px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 20px rgba(102, 0, 51, 0.25);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1.2rem; }

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* Utilities & Containers */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 48px 0;
}

.section-bg {
    background-color: var(--bg-white);
}

.section-alt {
    background-color: var(--bg-subtle);
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--primary-border);
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-title span {
    color: var(--primary);
    position: relative;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(102, 0, 51, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 0, 51, 0.45);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--navy) !important;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
    background: var(--primary-subtle);
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #b59355 100%);
    color: #1a1a1a !important;
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-wine { background: var(--primary-subtle); color: var(--primary); border: 1px solid var(--primary-border); }
.badge-green { background: var(--accent-emerald-light); color: var(--accent-emerald); border: 1px solid #a7f3d0; }
.badge-gold { background: var(--gold-light); color: #855d14; border: 1px solid #fde68a; }
.badge-navy { background: #e2e8f0; color: var(--navy); border: 1px solid #cbd5e1; }

/* Top Announcement Bar */
.topbar {
    background: linear-gradient(90deg, #3d071c 0%, #660033 50%, #4a0025 100%);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.topbar-badge {
    background: var(--gold);
    color: #1a1a1a;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-link {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.topbar-link:hover {
    color: var(--gold);
}

/* Header & Navbar */
.site-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(102, 0, 51, 0.25);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.brand-title span {
    color: var(--primary);
}

.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary);
    background: var(--primary-subtle);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    transform: scaleX(1);
}

.nav-chevron {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.nav-item:hover > .nav-link .nav-chevron,
.nav-item.dropdown-open > .nav-link .nav-chevron {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 280px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(15,23,42,0.14), 0 4px 16px rgba(15,23,42,0.08);
    border: 1px solid var(--border);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1050;
    pointer-events: none;
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--primary-subtle);
    color: var(--primary);
}

.dropdown-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.dropdown-link:hover .dropdown-icon-box {
    background: var(--primary);
    color: #ffffff;
}

/* State Mega Dropdown */
.mega-dropdown {
    width: 580px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 14px;
    left: -100px;
}

.mega-dropdown-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
}

.mega-dropdown-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    gap: 8px;
    transition: var(--transition);
}

.mega-dropdown-link:hover {
    background: var(--primary-subtle);
    color: var(--primary);
}

.state-count-tag {
    font-size: 0.72rem;
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-weight: 600;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
}

.mega-dropdown-link:hover .state-count-tag {
    background: var(--primary-border);
    color: var(--primary);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 7px;
    color: var(--navy);
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: var(--primary-subtle);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 70px 0 90px 0;
    background: radial-gradient(circle at 10% 20%, rgba(102, 0, 51, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(201, 169, 110, 0.06) 0%, transparent 40%),
                #ffffff;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-subtle);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.hero-title {
    margin-bottom: 20px;
    letter-spacing: -0.8px;
}

.hero-title span {
    color: var(--primary);
    display: inline-block;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--navy-muted);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--navy-muted);
    font-weight: 600;
}

.meta-item svg {
    color: var(--accent-emerald);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Hero Smart Gateway Search / Quote Card (Reference Inspired by rerawebsite.in) */
.gateway-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 34px 30px;
    box-shadow: var(--shadow-card);
    border: 1.5px solid var(--border);
    position: relative;
}

.gateway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 4px 4px 0 0;
}

.gateway-card-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.gateway-pill-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--primary);
    margin-bottom: 6px;
    display: inline-block;
}

.gateway-card-title {
    font-size: 1.3rem;
    color: var(--navy);
}

/* Category Filter Pills */
.gateway-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.filter-pill {
    background: var(--bg-subtle);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-muted);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.filter-pill.active svg {
    stroke: #ffffff;
}

.gateway-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--navy);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--navy);
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 0, 51, 0.1);
}

.gateway-result-box {
    background: var(--primary-subtle);
    border: 1px dashed var(--primary-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-metric {
    display: flex;
    flex-direction: column;
}

.result-count {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.result-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.gateway-disclaimer {
    font-size: 0.74rem;
    color: var(--text-subtle);
    text-align: center;
    margin-top: 14px;
    line-height: 1.4;
}

/* Funfacts & Metrics Ribbon */
.metrics-ribbon {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
}

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

.metric-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
}

.metric-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Service Pillars Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 34px 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-border);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: height 0.3s ease;
}

.service-card:hover::after {
    height: 100%;
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: var(--primary);
    color: #ffffff;
}

.service-card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features-list {
    margin-bottom: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--navy-muted);
    margin-bottom: 8px;
}

.service-feature-item svg {
    color: var(--accent-emerald);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.service-card-link {
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
}

.service-card-link:hover {
    gap: 10px;
}

/* Data Category Comparison Table */
.data-table-container {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.data-table th {
    background: #f8fafc;
    color: var(--navy);
    font-weight: 700;
    padding: 16px 20px;
    border-bottom: 1.5px solid var(--border);
    white-space: nowrap;
}

.data-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--navy-muted);
    vertical-align: middle;
}

.data-table tr:hover td {
    background-color: #fafbfc;
}

/* States Grid Section */
.states-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.state-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    padding: 24px 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.state-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(102, 0, 51, 0.08);
    transform: translateY(-3px);
}

.state-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.state-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.state-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.state-portal-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 14px;
}

.state-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: var(--bg-subtle);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.state-stat-val {
    font-weight: 800;
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.1;
}

.state-stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.state-cities-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
    flex-grow: 1;
}

.state-cities-tag strong {
    color: var(--navy);
}

/* Workflow Step Line */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 30px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

/* Sample Interactive Table Widget */
.sample-widget {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: 24px;
}

.sample-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.sample-search-input {
    min-width: 280px;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    outline: none;
}

.sample-search-input:focus {
    border-color: var(--primary);
}

/* FAQ Accordion */
.faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-border);
    box-shadow: 0 4px 14px rgba(102, 0, 51, 0.05);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    user-select: none;
}

.faq-toggle-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

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

.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--navy-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Banner Section */
.cta-banner {
    background: linear-gradient(135deg, #3d071c 0%, #660033 60%, #4a0025 100%);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(74, 0, 37, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner-content {
    max-width: 680px;
    position: relative;
    z-index: 2;
}

.cta-banner-title {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
}

.cta-banner-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

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

.contact-info-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 36px;
    height: 100%;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact-detail-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
}

.form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Footer */
.site-footer {
    background: #090f1d;
    color: #cbd5e1;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col-title {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.footer-links-list li {
    margin-bottom: 11px;
}

.footer-links-list a {
    color: #94a3b8;
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    background: #040811;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
    color: #64748b;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-disclaimer-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #94a3b8;
    margin-bottom: 40px;
}

/* Desktop Floating WhatsApp FAB & Mobile Sticky Action Bar (like datascraper.in) */
.whatsapp-fab {
    display: none;
}

@media (min-width: 1024px) {
    .whatsapp-fab {
        z-index: 999;
        border-radius: var(--radius-full);
        background: #25d366;
        justify-content: center;
        align-items: center;
        width: 3.5rem;
        height: 3.5rem;
        transition: transform 0.2s, box-shadow 0.2s;
        display: flex;
        position: fixed;
        bottom: 1.5rem;
        right: 1.5rem;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    }

    .whatsapp-fab:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
    }
}

.mobile-action-bar {
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    margin: 0;
    overflow: hidden;
    box-shadow: 0 -4px 20px -2px rgba(15, 23, 42, 0.16), 0 -1px 4px rgba(15, 23, 42, 0.08);
    width: 100% !important;
    max-width: 100vw !important;
    height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 9990 !important;
    align-items: stretch !important;
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.mobile-action-btn {
    box-sizing: border-box;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    border: none;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    height: 56px;
    padding: 0 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.15s, opacity 0.15s;
    display: flex;
    overflow: hidden;
    flex: 1 1 50% !important;
    width: 50% !important;
    min-width: 0 !important;
    max-width: 50% !important;
}

.mobile-action-btn:active {
    opacity: 0.88;
}

.mobile-action-btn-call {
    color: #0f172a !important;
    background: #ffffff;
    border-right: 1px solid rgba(15, 23, 42, 0.12) !important;
}

.mobile-action-btn-call:active {
    background: #f1f5f9;
}

.mobile-action-btn-whatsapp {
    color: #ffffff !important;
    background: #25d366;
}

.mobile-action-btn-whatsapp:active {
    background: #20bd5a;
}

.mobile-action-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .mobile-action-bar {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    body {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
}

.mobile-drawer-actions {
    display: none;
}

@media (max-width: 960px) {
    .mobile-drawer-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .mobile-drawer-whatsapp {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 16px;
        border-radius: var(--radius-md);
        font-size: 0.85rem;
        font-weight: 700;
        color: #ffffff !important;
        background: #25d366;
        transition: background-color 0.2s;
        text-decoration: none;
    }

    .mobile-drawer-whatsapp:hover {
        background: #20bd5a;
    }

    .mobile-drawer-call {
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--navy-muted);
        text-decoration: none;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
}

.toast {
    background: #ffffff;
    border-left: 4px solid var(--accent-emerald);
    box-shadow: var(--shadow-xl);
    padding: 16px 22px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    animation: slideInRight 0.3s forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .states-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .nav-menu {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 16px calc(80px + env(safe-area-inset-bottom, 0px));
        gap: 2px;
        box-shadow: var(--shadow-xl);
        border-top: 1px solid var(--border);
        display: none;
        overflow-y: auto;
        z-index: 999;
    }
    .nav-menu.open {
        display: flex;
        animation: slideDown 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-12px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .nav-item {
        border-bottom: 1px solid var(--border-light);
    }
    .nav-item:last-child {
        border-bottom: none;
    }
    .nav-link {
        padding: 13px 12px;
        font-size: 0.95rem;
        border-radius: 0;
        justify-content: space-between;
    }
    .nav-link::after {
        display: none;
    }
    .nav-link:hover,
    .nav-item.active .nav-link {
        background: var(--primary-subtle);
        border-radius: var(--radius-sm);
    }
    /* Mobile accordion dropdowns */
    .dropdown-menu, .mega-dropdown {
        position: static;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--primary-border);
        border-radius: 0;
        padding: 4px 0 8px 12px;
        margin-bottom: 8px;
        grid-template-columns: 1fr;
        pointer-events: auto;
        /* Hidden by default on mobile, shown on toggle */
        display: none !important;
    }
    .nav-item.dropdown-open > .dropdown-menu {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        animation: fadeIn 0.18s ease;
    }
    .nav-item.dropdown-open > .mega-dropdown {
        display: grid !important;
        grid-template-columns: 1fr;
        animation: fadeIn 0.18s ease;
    }
    @keyframes fadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    .mega-dropdown-header {
        display: none;
    }
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-actions .btn:not(.btn-cta-mobile) {
        display: none;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .states-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .cta-banner {
        padding: 40px 24px;
    }
    .topbar-left {
        display: none;
    }
    /* Prevent grid children with <pre> or tables from overflowing 1fr on mobile */
    div[style*="display:grid"] > *,
    .hero-grid > *,
    .contact-grid > *,
    .cards-grid > *,
    .states-grid > * {
        min-width: 0;
    }
    /* Collapse inline 2-column content + sidebar layouts on tablet/mobile */
    div[style*="grid-template-columns: 1.2fr 0.8fr"],
    div[style*="grid-template-columns: 1.35fr 0.65fr"],
    div[style*="grid-template-columns: 1.1fr 0.9fr"],
    div[style*="grid-template-columns: 1fr 1fr; gap:40px"],
    div[style*="grid-template-columns: 1fr 1fr; gap:32px"] {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    .sample-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .sample-search-input {
        min-width: 0;
        width: 100%;
    }
    .sample-controls > div {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
    }
    .sample-controls > div .form-control {
        flex: 1 1 140px;
    }
    li[style*="justify-content:space-between"] {
        gap: 8px;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .topbar {
        display: none;
    }
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .navbar {
        height: 68px;
    }
    .nav-menu {
        top: 68px;
    }
    .nav-logo-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    .brand-title {
        font-size: 1.18rem;
    }
    .brand-subtitle {
        font-size: 0.65rem;
    }
    .section {
        padding: 48px 0;
    }
    .section-sm {
        padding: 32px 0;
    }
    .section-header {
        margin-bottom: 32px;
    }
    .hero {
        padding: 36px 0 48px 0;
    }
    section[style*="padding: 60px 0"],
    section[style*="padding: 56px 0"] {
        padding: 36px 0 !important;
    }
    h1,
    h1[style*="font-size"] {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
    }
    h2,
    h2[style*="font-size"] {
        font-size: 1.45rem !important;
        line-height: 1.3 !important;
    }
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 22px;
    }
    .btn {
        white-space: normal;
        max-width: 100%;
        padding: 12px 20px;
    }
    .btn-lg {
        padding: 13px 20px;
        font-size: 0.95rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hero-actions .btn,
    .cta-banner-actions .btn {
        width: 100%;
    }
    .cta-banner {
        padding: 32px 20px;
        border-radius: var(--radius-lg);
    }
    .cta-banner-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .gateway-card,
    .form-card,
    .contact-info-card,
    .service-card,
    .sample-widget {
        padding: 22px 18px;
    }
    div[style*="padding:40px"],
    div[style*="padding:36px"],
    div[style*="padding:32px"],
    div[style*="padding:28px"] {
        padding: 22px 18px !important;
    }
    /* Collapse all multi-column grids to single column on mobile phones */
    .metrics-grid,
    .footer-grid,
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .site-footer {
        padding-top: 48px;
    }
    .footer-grid {
        margin-bottom: 36px;
        gap: 28px !important;
    }
    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .footer-bottom-content > div {
        flex-wrap: wrap;
        gap: 12px !important;
    }
    .faq-question {
        padding: 16px 18px;
        font-size: 0.96rem;
        gap: 10px;
    }
    .faq-answer {
        padding: 0 18px 16px 18px;
        font-size: 0.9rem;
    }
    .toast-container {
        left: 16px;
        right: 16px;
        top: 16px;
    }
}
