/**
 * Friendly AI Solution - Modern Public SaaS Theme & Component Design System
 * 2026 SaaS Clean Aesthetic: Crisp White/Slate background, Royal Blue & Emerald Accents,
 * Soft Elevations, Elegant Typography & Perfect Breathing Room.
 */

:root {
    /* Base Color Tokens */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-surface-muted: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.88);
    
    /* Border & Outline Tokens */
    --border-subtle: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-focus: #2563eb;
    
    /* Brand & Accent Tokens */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-border: #bfdbfe;
    
    --whatsapp: #10b981;
    --whatsapp-hover: #059669;
    --whatsapp-light: #ecfdf5;
    --whatsapp-border: #a7f3d0;
    
    --accent-purple: #7c3aed;
    --accent-purple-light: #f5f3ff;
    --accent-amber: #f59e0b;
    --accent-amber-light: #fffbeb;
    
    --danger: #ef4444;
    --danger-light: #fef2f2;
    
    /* Text Color Tokens */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;
    --text-inverse: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Elevation Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 36px -8px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 50px -12px rgba(15, 23, 42, 0.16);
    --shadow-glow-blue: 0 12px 30px -4px rgba(37, 99, 235, 0.22);
    --shadow-glow-green: 0 12px 30px -4px rgba(16, 185, 129, 0.22);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* CSS Resets & Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Layout Utilities */
.public-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-spacing {
    padding: 3.5rem 0;
}

.section-spacing-lg {
    padding: 4.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.25rem auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    border: 1px solid var(--primary-border);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3.2vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
}

.section-title span {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Button Component Tokens */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    font-family: var(--font-body);
}

.btn-brand-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-brand-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.btn-brand-whatsapp {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}

.btn-brand-whatsapp:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35);
}

.btn-brand-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-xs);
}

.btn-brand-secondary:hover {
    background: var(--bg-surface-muted);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.btn-brand-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-subtle);
}

.btn-brand-ghost:hover {
    background: var(--bg-surface-muted);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

/* Public Navbar Styling */
.public-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 0;
    transition: all 0.2s ease;
}

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

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.brand-subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--primary);
}

/* Menu Items */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-item {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    padding: 0.4rem 0;
    position: relative;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-link-flex {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-badge-pill {
    background: var(--whatsapp-light);
    color: var(--whatsapp);
    border: 1px solid var(--whatsapp-border);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-toggle-btn {
    display: none;
    background: var(--bg-surface-muted);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: 8px 10px;
    cursor: pointer;
}

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

/* Hero Section */
.hero-wrapper {
    padding: 4.5rem 0 3.5rem 0;
    background: radial-gradient(100% 100% at 50% 0%, rgba(37, 99, 235, 0.05) 0%, rgba(248, 250, 252, 0) 100%);
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.hero-badge-pill i {
    color: var(--primary);
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-main-title span {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 780px;
    margin: 0 auto 2.25rem auto;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* ==========================================================================
   Hero SaaS Live Dashboard Showcase (Clean, high-fidelity UI mockup)
   ========================================================================== */
.dashboard-hero-mockup {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(226, 232, 240, 0.6);
    overflow: hidden;
    margin: 0 auto;
    max-width: 1140px;
    text-align: left;
}

.mockup-window-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-traffic-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-dot-red { background: #ef4444; }
.mockup-dot-yellow { background: #f59e0b; }
.mockup-dot-green { background: #10b981; }

.mockup-url-bar {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 4px 16px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: monospace;
}

.mockup-live-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #10b981;
}

.mockup-live-ping {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.mockup-body {
    padding: 1.75rem;
    background: #ffffff;
}

/* Dashboard Mockup Metric Cards */
.mockup-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.mockup-metric-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mockup-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.metric-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.metric-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.metric-icon-blue { background: var(--primary-light); color: var(--primary); }
.metric-icon-green { background: var(--whatsapp-light); color: var(--whatsapp); }
.metric-icon-purple { background: var(--accent-purple-light); color: var(--accent-purple); }
.metric-icon-amber { background: var(--accent-amber-light); color: var(--accent-amber); }

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

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #10b981;
}

/* Dashboard Mockup Split Row */
.mockup-split-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.25rem;
}

.mockup-panel {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.mockup-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mockup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.mockup-table th {
    text-align: left;
    padding: 8px 10px;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border-subtle);
}

.mockup-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    color: var(--text-primary);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
}

.status-sent { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.status-paid { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.status-pending { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }

/* Real-time Whatsapp Chat Preview - Authentic WhatsApp Business Template */
.chat-preview-box {
    background: #0b1e1b;
    border: 1px solid #134e4a;
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.chat-bubble-wa {
    background: #005c4b;
    color: #e9edef;
    border-radius: 10px 10px 2px 10px;
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    line-height: 1.45;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.wa-pdf-attachment {
    background: #025143;
    border: 1px solid #004538;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.wa-pdf-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #dc2626;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.wa-pdf-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.wa-pdf-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #ffffff;
}

.wa-pdf-size {
    font-size: 0.72rem;
    color: #94a3b8;
}

.wa-text-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #e2e8f0;
    font-size: 0.8rem;
    line-height: 1.45;
}

.wa-text-content strong {
    color: #ffffff;
}

.wa-bank-box {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 0.78rem;
    line-height: 1.4;
    border-left: 2px solid #25d366;
    margin: 2px 0;
}

.wa-link-preview {
    color: #25d366;
    word-break: break-all;
    font-size: 0.76rem;
    text-decoration: underline;
}

.wa-msg-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.4rem;
}

.wa-ticks {
    color: #53bdeb;
    font-weight: 800;
}

/* Mockup Table Desktop & Mobile Card Feed */
.mockup-table-desktop {
    display: block;
    overflow-x: auto;
}

.mockup-mobile-feed {
    display: none;
    flex-direction: column;
    gap: 0.65rem;
}

.feed-mobile-item {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.feed-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.feed-bill-num {
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--primary);
    background: #eff6ff;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #bfdbfe;
}

.feed-party-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    text-align: right;
    max-width: 65%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feed-amt {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
}

.feed-tags {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Trust Stats Bar */
.trust-stats-bar {
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2.5rem 0;
}

.stats-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-box-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.stat-box-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Feature Cards Grid */
.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-border);
}

.feature-box-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-box-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-box-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.feature-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-check-item i {
    color: var(--whatsapp);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Reviews / Testimonial Cards */
.reviews-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.review-body-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.author-firm {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Pricing Page & Pricing Card Components */
.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.pricing-card-box {
    background: #ffffff;
    border: 2px solid var(--border-subtle);
    border-radius: 18px;
    padding: 1.75rem 1.35rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.pricing-card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.pricing-card-box.active-edition {
    border-color: var(--primary);
    box-shadow: 0 14px 32px -8px rgba(37, 99, 235, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    transform: translateY(-3px);
}

.active-check-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pricing-card-box.active-edition .active-check-badge {
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.featured-pill-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    white-space: nowrap;
}

.pricing-plan-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.pricing-plan-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin-bottom: 1.15rem;
    min-height: 38px;
}

/* Category Navigation Tabs on top */
.marg-cat-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.marg-cat-btn {
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.marg-cat-btn:hover {
    color: var(--primary);
    border-color: #cbd5e1;
    background: #f8fafc;
}

.marg-cat-btn.active {
    background: #0f766e;
    color: #ffffff;
    border-color: #0f766e;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

/* Country Region Tabs */
.region-tabs-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.region-tab-group {
    display: inline-flex;
    background: #e2e8f0;
    padding: 3px;
    border-radius: 50px;
    flex-wrap: wrap;
}

.region-tab-btn {
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    font-size: 0.825rem;
    font-weight: 700;
    color: #475569;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.region-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Dynamic Active Edition Breakdown Panel */
.selected-edition-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #3b82f6;
    border-radius: 20px;
    padding: 2rem 2.25rem;
    margin-top: 2.5rem;
    box-shadow: 0 12px 30px -8px rgba(59, 130, 246, 0.14);
}

.dyn-panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Responsive Clean Pricing Display */
.pricing-price-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pricing-price-val {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-currency {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.price-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 1.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1;
}

.pricing-price-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.price-tax-badge {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.price-type-text {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 500;
}

/* Feature List Items with crisp bullet icons */
.plan-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding: 0;
}

.plan-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.865rem;
    line-height: 1.4;
    color: #1e293b;
}

.plan-feature-row .feat-icon {
    width: 18px;
    height: 18px;
    background: #ecfdf5;
    color: #10b981;
    border: 1px solid #a7f3d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.plan-feature-row .feat-icon svg,
.plan-feature-row .feat-icon i {
    width: 11px;
    height: 11px;
    stroke-width: 3;
}

/* Dedicated Nano Highlight Banner */
.nano-banner-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1.5px dashed #93c5fd;
    border-radius: 20px;
    padding: 1.85rem 2.25rem;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1.4fr auto auto;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 18px rgba(14, 165, 233, 0.07);
}

@media (max-width: 992px) {
    .nano-banner-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* Comparison Table */
.comparison-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 4rem;
}

.comp-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.comp-table th {
    background: #f8fafc;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.comp-table td {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.comp-table tr:last-child td {
    border-bottom: none;
}

.comp-table tr:hover td {
    background: #fbfcfe;
}

/* Official Marg Software Comparison Features Chart */
.fea-chart-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 3.5rem;
}

.fea-chart-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.fea-chart-table th {
    background: #0f766e;
    color: #ffffff;
    padding: 1.15rem 1.25rem;
    font-weight: 700;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
}

.fea-chart-table th:nth-child(2) {
    text-align: left;
}

.fea-chart-table td {
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.fea-chart-table tr:hover td {
    background: #f8fafc;
}

.fea-chart-table td.sno {
    text-align: center;
    font-weight: 700;
    color: #0f766e;
    background: #f0fdfa;
    width: 65px;
}

.fea-chart-table td.feature-title {
    font-weight: 600;
    color: #0f172a;
}

.fea-chart-table td.val-col {
    text-align: center;
}

.fea-check-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.fea-check-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* FAQ Accordion Styling */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1080px;
    margin: 0 auto;
}

.faq-box {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.faq-question i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 1.8rem;
}

/* High Impact CTA Banner */
.cta-banner-wrapper {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-banner-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-banner-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto 2.25rem auto;
    position: relative;
    z-index: 1;
}

/* Footer Styling */
.public-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    padding: 3.25rem 0 1.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 2.25rem;
}

.footer-desc {
    font-size: 0.865rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 320px;
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-primary);
    background: #f8fafc;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.footer-heading {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
}

.footer-links a {
    font-size: 0.825rem;
    color: var(--text-secondary);
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-links a i {
    width: 12px;
    height: 12px;
    color: var(--text-muted);
}

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

.footer-contact-box {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.contact-line i {
    color: var(--primary);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface-muted);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-border);
}

/* Modal Styling */
.lead-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeInModal 0.2s ease-out;
}

.lead-modal-container {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 560px;
    padding: 2.25rem;
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
}

.lead-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--bg-surface-muted);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lead-modal-close:hover {
    color: var(--danger);
    background: var(--danger-light);
    border-color: var(--danger);
}

.lead-modal-header {
    margin-bottom: 1.5rem;
}

.modal-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.modal-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.form-label .req {
    color: var(--danger);
}

.form-input {
    width: 100%;
    padding: 0.7rem 0.95rem;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.checkbox-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.checkbox-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-surface-muted);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
}

.checkbox-card input[type="checkbox"] {
    accent-color: var(--primary);
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsiveness across all viewports */
@media (max-width: 1180px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .mockup-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .pricing-grid-3, .features-grid-3, .reviews-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 980px) {
    .dyn-panel-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 2.25rem 0;
    }
    .section-spacing-lg {
        padding: 3rem 0;
    }
    .section-header {
        margin-bottom: 1.5rem;
    }
    .nav-menu {
        display: none;
    }
    .mobile-toggle-btn {
        display: block;
    }
    .mobile-nav-drawer.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-lg);
        padding: 1.5rem;
    }
    .mobile-nav-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .mobile-nav-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
        padding: 0.5rem 0;
    }
    .hero-wrapper {
        padding: 2.5rem 0 2rem 0;
    }
    .hero-badge-pill {
        font-size: 0.76rem;
        padding: 0.35rem 0.85rem;
        margin-bottom: 1rem;
        max-width: 100%;
        line-height: 1.35;
    }
    .hero-main-title {
        font-size: 1.85rem;
        line-height: 1.22;
        margin-bottom: 0.75rem;
        letter-spacing: -0.02em;
    }
    .hero-lead-text {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    .mockup-body {
        padding: 1rem 0.85rem;
    }
    .mockup-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    .mockup-metric-card {
        padding: 0.85rem 0.75rem;
    }
    .metric-card-val {
        font-size: 1.35rem;
    }
    .mockup-split-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .mockup-table-desktop {
        display: none !important;
    }
    .mockup-mobile-feed {
        display: flex !important;
    }
    .stats-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.75rem;
        padding: 1.5rem 1rem;
    }
    .stat-box-num {
        font-size: 1.85rem;
    }
    .stat-box-label {
        font-size: 0.78rem;
    }
    .pricing-grid-3, .pricing-grid-4, .features-grid-3, .reviews-grid-3, .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature-box {
        padding: 1.5rem 1.25rem;
    }
    .feature-box-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }
    .feature-box-title {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }
    .feature-box-desc {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    .review-card {
        padding: 1.25rem 1.1rem;
    }
    .review-body-text {
        font-size: 0.865rem;
        line-height: 1.45;
        margin-bottom: 0.85rem;
    }
    .author-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .author-name {
        font-size: 0.88rem;
    }
    .author-firm {
        font-size: 0.74rem;
    }
    .form-row-2, .checkbox-options-grid {
        grid-template-columns: 1fr;
    }
    .public-footer {
        padding: 2.25rem 0 1.25rem 0;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        margin-bottom: 1.75rem;
    }
    .brand-col {
        grid-column: 1 / -1;
    }
    .footer-col:nth-child(4) {
        grid-column: 1 / -1;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 0.95rem 1.15rem;
    }
    .footer-desc {
        max-width: 100%;
        margin-bottom: 0.75rem;
        font-size: 0.825rem;
        line-height: 1.45;
    }
    .footer-heading {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    .footer-links {
        gap: 0.35rem;
    }
    .footer-links a {
        font-size: 0.78rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        margin-top: 1.25rem;
        padding-top: 1rem;
    }
    .cta-banner-wrapper {
        padding: 2.25rem 1.25rem;
        border-radius: 16px;
    }
    .cta-banner-title {
        font-size: 1.65rem;
        margin-bottom: 0.65rem;
    }
    .cta-banner-desc {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .public-container {
        padding: 0 1rem;
    }
    .hero-wrapper {
        padding: 2rem 0 1.5rem 0;
    }
    .hero-badge-pill {
        font-size: 0.72rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 0.85rem;
    }
    .hero-main-title {
        font-size: 1.65rem;
        line-height: 1.24;
        margin-bottom: 0.75rem;
    }
    .hero-lead-text {
        font-size: 0.86rem;
        line-height: 1.48;
        margin-bottom: 1.35rem;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem;
        margin-bottom: 1.75rem;
    }
    .hero-cta-group .btn-brand {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.88rem;
    }
    .mockup-window-header {
        padding: 0.55rem 0.85rem;
    }
    .mockup-url-bar {
        display: none;
    }
    .mockup-body {
        padding: 0.85rem 0.65rem;
    }
    .mockup-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }
    .mockup-metric-card {
        padding: 0.65rem 0.55rem;
        border-radius: 8px;
    }
    .metric-label {
        font-size: 0.68rem;
    }
    .metric-card-val {
        font-size: 1.2rem;
    }
    .metric-card-footer {
        font-size: 0.65rem;
    }
    .stats-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 0.6rem;
        padding: 1.25rem 0.75rem;
        border-radius: 14px;
    }
    .stat-box-num {
        font-size: 1.65rem;
    }
    .stat-box-label {
        font-size: 0.74rem;
    }
    .marg-cat-nav {
        gap: 0.35rem;
    }
    .marg-cat-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
    }
    .region-tab-btn {
        padding: 0.4rem 0.85rem;
        font-size: 0.76rem;
    }
    .lead-modal-box {
        padding: 1.5rem 1.15rem;
        border-radius: 16px;
    }
    .modal-title {
        font-size: 1.3rem;
    }
    .nav-actions .btn-brand {
        display: none;
    }
    .mobile-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .public-container {
        padding: 0 0.75rem;
    }
    .brand-title {
        font-size: 1rem;
    }
    .brand-subtitle {
        font-size: 0.6rem;
    }
    .hero-main-title {
        font-size: 1.45rem;
        line-height: 1.25;
    }
    .hero-lead-text {
        font-size: 0.8rem;
    }
    .metric-card-val {
        font-size: 1.05rem;
    }
    .stat-box-num {
        font-size: 1.45rem;
    }
    .section-title {
        font-size: 1.35rem;
    }
    .lead-modal-box {
        padding: 1.25rem 0.85rem;
    }
}



