/* ============================================
   RGF Analytics — SEO Authority Hub
   Design System v1.0
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors */
    --primary: #0f172a;
    --primary-light: #1e293b;
    --primary-lighter: #334155;
    --accent: #b91c1c;
    --accent-dark: #991b1b;
    --accent-light: #dc2626;
    --accent-glow: rgba(185, 28, 28, 0.15);

    /* Neutrals */
    --text: #334155;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-accent: 0 4px 14px -3px rgba(185, 28, 28, 0.25);

    /* Layout */
    --container: 1200px;
    --container-narrow: 800px;
    --header-h: 100px;
    --section-pad: 100px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.3s;
    --duration-slow: 0.6s;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration) var(--ease);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Utility --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Scroll Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-left.visible {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-right.visible {
    transform: translateX(0);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal-scale.visible {
    transform: scale(1);
}

/* Stagger children */
.stagger>.reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger>.reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.stagger>.reveal:nth-child(3) {
    transition-delay: 0.19s;
}

.stagger>.reveal:nth-child(4) {
    transition-delay: 0.26s;
}

.stagger>.reveal:nth-child(5) {
    transition-delay: 0.33s;
}

.stagger>.reveal:nth-child(6) {
    transition-delay: 0.40s;
}

/* ============================================
   HEADER — Tabbed Navigation (Elegant)
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow var(--duration) var(--ease);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

/* ── Line 1: Top Bar (Logo + Tabs + Search + Login) ── */
.header-top-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 50;
}

.header-top-inner {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 24px;
    gap: 6px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary);
    letter-spacing: -0.3px;
    flex-shrink: 0;
    margin-right: 4px;
}

.logo img {
    height: 32px;
    width: auto;
}

/* ── Tab Buttons (in top bar) ── */
.header-tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-shrink: 0;
    height: 100%;
}

.header-tab {
    display: flex;
    align-items: center;
    padding: 0 14px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    border-bottom: 2px solid transparent;
    height: 100%;
    letter-spacing: -0.01em;
}

.header-tab:hover {
    color: var(--primary);
}

.header-tab.active {
    color: var(--accent);
    font-weight: 600;
    border-bottom-color: var(--accent);
}

/* ── Header Search (fills remaining space) ── */
.header-search {
    flex: 1;
    position: relative;
    margin: 0 12px;
    min-width: 0;
}

.header-search-form {
    display: flex;
    align-items: center;
    background: var(--bg-subtle);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0 12px;
    transition: all 0.3s var(--ease);
    height: 38px;
}

.header-search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 45, 45, 0.08);
    background: var(--white);
}

.header-search-icon {
    flex-shrink: 0;
    color: var(--text-lighter);
    transition: color 0.2s ease;
}

.header-search-form:focus-within .header-search-icon {
    color: var(--accent);
}

.header-search-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text);
    padding: 0 8px;
    width: 100%;
    min-width: 0;
}

.header-search-input::placeholder {
    color: var(--text-lighter);
    font-weight: 400;
}

.header-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 340px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    overflow: hidden;
    display: none;
    max-height: 360px;
    overflow-y: auto;
}

.header-search-dropdown.visible {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.15s ease;
}

.search-suggestion:last-child {
    border-bottom: none;
}

.search-suggestion:hover {
    background: var(--bg-subtle);
    color: var(--primary);
}

.search-suggestion mark {
    background: rgba(180, 45, 45, 0.1);
    color: var(--accent);
    font-weight: 600;
    border-radius: 2px;
    padding: 0 1px;
}

.suggestion-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 12px;
}

.suggestion-cnpj {
    font-size: 0.75rem;
    color: var(--text-lighter);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.search-loading,
.search-empty {
    padding: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

.search-loading span {
    animation: pulseFade 1.8s infinite ease-in-out;
}

@keyframes pulseFade {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

/* ── Login Button ── */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
    height: 36px;
    flex-shrink: 0;
}

.btn-login:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(180, 45, 45, 0.25);
    color: var(--white);
}

.btn-login::after {
    display: none !important;
}

.btn-login svg {
    flex-shrink: 0;
}

/* ── Line 2: Sub-Nav Bar (light) ── */
.header-subnav-bar {
    background: #fff4f4;
    border-bottom: 1px solid var(--border);
}

.header-subnav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 24px;
}

.header-subnav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.subnav-panel {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 100%;
    width: 100%;
    animation: subnavSlide 0.2s ease;
}

.subnav-panel.active {
    display: flex;
}

@keyframes subnavSlide {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subnav-panel a {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 6px;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.15s ease;
}

.subnav-panel a:hover {
    color: var(--accent);
    background: rgba(185, 28, 28, 0.05);
}

.subnav-panel a.active {
    color: var(--accent);
    font-weight: 600;
    background: rgba(185, 28, 28, 0.07);
}

/* Dot separator between sub-links */
.subnav-panel a+a::before {
    content: '·';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    line-height: 1;
    color: var(--border);
    pointer-events: none;
}

/* ── User Menu (header público) ── */
.header-user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
}

.header-admin-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    transition: background 0.2s ease, transform 0.15s ease;
}

.header-admin-badge:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.header-user-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    height: 38px;
}

.header-user-button:hover {
    background: var(--border-light);
    border-color: var(--border);
}

.header-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.header-user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}

.header-user-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.header-user-plan {
    font-size: 0.65rem;
    color: var(--text-lighter);
    font-weight: 500;
    line-height: 1.2;
}

.header-user-arrow {
    flex-shrink: 0;
    color: var(--text-lighter);
    transition: transform 0.2s ease;
}

.header-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    z-index: 1100;
    overflow: hidden;
    display: none;
    animation: dropdownFadeIn 0.15s ease;
    padding: 6px 0;
}

.header-user-dropdown.visible {
    display: block;
}

.header-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s ease;
}

.header-user-dropdown a:hover {
    background: var(--bg-alt);
}

.header-user-dropdown a svg {
    flex-shrink: 0;
    color: var(--text-lighter);
}

.header-user-dropdown a:hover svg {
    color: var(--accent);
}

.header-user-divider {
    height: 1px;
    background: var(--border-light);
    margin: 4px 0;
}

.header-user-logout {
    color: var(--accent) !important;
}

.header-user-logout svg {
    color: var(--accent) !important;
}

/* ── Mobile user section ── */
.mobile-user-section {
    border-top: 1px solid var(--border-light);
    margin-top: 4px;
    padding-top: 8px;
}

.mobile-user-link {
    display: block;
    padding: 10px 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
}

.mobile-user-link:hover {
    color: var(--accent);
}

.mobile-admin-link {
    color: #3b82f6 !important;
}

/* ── Mobile Menu Toggle ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    margin-left: auto;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Nav ── */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px;
    z-index: 999;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
}

.mobile-nav.open {
    display: block;
}

/* Mobile search */
.mobile-search-wrapper {
    margin-bottom: 12px;
    position: relative;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    background: var(--bg-subtle);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0 12px;
    height: 44px;
    transition: border-color 0.2s ease;
}

.mobile-search-form:focus-within {
    border-color: var(--accent);
}

.mobile-search-icon {
    flex-shrink: 0;
    color: var(--text-lighter);
}

.mobile-search-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    padding: 0 10px;
}

.mobile-search-input::placeholder {
    color: var(--text-lighter);
}

.mobile-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    overflow: hidden;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.mobile-search-dropdown.visible {
    display: block;
}

/* Mobile Tab Accordion Groups */
.mobile-tab-group {
    border-bottom: 1px solid var(--border-light);
}

.mobile-tab-group:last-of-type {
    border-bottom: none;
}

.mobile-tab-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: none;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-tab-header:hover {
    color: var(--accent);
}

.mobile-tab-group.active>.mobile-tab-header {
    color: var(--accent);
}

.mobile-tab-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--text-light);
}

.mobile-tab-group.active .mobile-tab-icon {
    color: var(--accent);
}

.mobile-tab-title {
    flex: 1;
    text-align: left;
}

.mobile-tab-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--text-lighter);
}

.mobile-tab-group.open .mobile-tab-arrow {
    transform: rotate(180deg);
}

.mobile-tab-links {
    display: none;
    padding: 0 0 12px 28px;
}

.mobile-tab-group.open .mobile-tab-links {
    display: block;
}

.mobile-tab-links a {
    display: block;
    padding: 8px 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-tab-links a:hover {
    color: var(--accent);
}

.mobile-login {
    display: block;
    padding: 14px 0;
    font-weight: 600;
    color: var(--accent) !important;
    font-size: 0.95rem;
    text-decoration: none;
    border-top: 1px solid var(--border-light);
    margin-top: 4px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 18px 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumbs li+li::before {
    content: '›';
    color: var(--text-lighter);
    font-weight: 300;
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs .current {
    color: var(--text);
    font-weight: 600;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    margin-top: var(--header-h);
    padding: 90px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(185, 28, 28, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(185, 28, 28, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(185, 28, 28, 0.12);
    border: 1px solid rgba(185, 28, 28, 0.2);
    border-radius: 50px;
    color: #fca5a5;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-accent), 0 0 40px rgba(185, 28, 28, 0.15);
    transition: all var(--duration) var(--ease);
}

.btn-hero-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent), 0 0 60px rgba(185, 28, 28, 0.2);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.btn-hero-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Proof Cards */
.hero-proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
    padding-top: 0;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 20px 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.proof-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.proof-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    color: var(--accent);
}

.proof-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    stroke-width: 1.8;
    fill: none;
}

.proof-number {
    font-weight: 800;
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.proof-label {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.3;
}

/* ============================================
   HERO LIGHT (Reestruturação page)
   ============================================ */
.hero-light {
    background: var(--bg);
    color: var(--text);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero-light .hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-light .hero-badge {
    background: rgba(185, 28, 28, 0.08);
    border-color: rgba(185, 28, 28, 0.2);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-light h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
}

.hero-light h1 .accent {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-light .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 100%;
}

.hero-light .cta-buttons {
    justify-content: flex-start;
}

/* Right side: proof cards */
.hero-light .hero-proof-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hero-light .proof-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
}

.hero-light .proof-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(185, 28, 28, 0.15);
}

.hero-light .proof-card .proof-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}

.hero-light .proof-card .proof-label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.3;
    display: block;
}

.hero-light .proof-card .proof-icon {
    color: var(--accent);
    margin-bottom: 10px;
}

/* Flagship proof card (first) with accent border */
.hero-light .proof-card.flagship {
    grid-column: 1 / -1;
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.04) 0%, var(--white) 100%);
}

.hero-light .proof-card.flagship .proof-number {
    font-size: 1.8rem;
    color: var(--accent);
}

/* ============================================
   GRID 4-COL OVERRIDE
   ============================================ */
.grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
}

@media (max-width: 1024px) {
    .grid-4col {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hero-light {
        padding: 80px 0 56px;
    }

    .hero-light .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-light .cta-buttons {
        justify-content: center;
    }

    .hero-light h1 {
        text-align: center;
    }

    .hero-light .hero-badge {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-light .hero-subtitle {
        text-align: center;
    }

    .grid-4col {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .grid-4col {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
    padding: var(--section-pad) 0;
}

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

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

.section-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
}

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

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-dark .section-tag {
    color: #fca5a5;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-dark .section-desc {
    color: #94a3b8;
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    padding: 36px;
    transition: all var(--duration) var(--ease);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(185, 28, 28, 0.15);
}

.dark-glass-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 36px;
    transition: all var(--duration) var(--ease);
}

.dark-glass-card:hover {
    border-color: rgba(185, 28, 28, 0.3);
    transform: translateY(-4px);
}

/* ============================================
   STAT CARDS (KPI)
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-glow);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--accent);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}

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

.stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 8px;
    padding: 3px 10px;
    border-radius: 50px;
}

.stat-change.up {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}

.stat-change.down {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--duration) var(--ease);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(185, 28, 28, 0.2);
}

.product-card-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border-light);
}

.product-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.product-card-icon.red {
    background: rgba(185, 28, 28, 0.08);
    color: var(--accent);
}

.product-card-icon.blue {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
}

.product-card-icon.purple {
    background: rgba(139, 92, 246, 0.08);
    color: #8b5cf6;
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-card .card-pain {
    font-size: 0.92rem;
    color: #b45309;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: rgba(180, 83, 9, 0.06);
    border-left: 3px solid #b45309;
    border-radius: 0 8px 8px 0;
}

.product-card .card-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.product-card-body {
    padding: 24px 32px;
    flex: 1;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}

.feature-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.product-card-footer {
    padding: 20px 32px 28px;
}

.btn-product-card {
    display: block;
    text-align: center;
    padding: 13px 24px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.btn-product-card:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

/* ============================================
   CONTENT ARTICLE
   ============================================ */
.article-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    margin: 56px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.article-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin: 36px 0 14px;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 20px;
    color: var(--text);
}

.article-content strong {
    color: var(--primary);
}

.article-content a {
    color: var(--accent);
    font-weight: 500;
    border-bottom: 1px solid rgba(185, 28, 28, 0.2);
}

.article-content a:hover {
    border-bottom-color: var(--accent);
}

.article-content ul,
.article-content ol {
    margin: 16px 0 24px 24px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 8px;
    color: var(--text);
}

/* Info Box */
.info-box {
    padding: 28px 32px;
    border-radius: var(--radius-md);
    margin: 32px 0;
    border-left: 4px solid;
}

.info-box.accent {
    background: rgba(185, 28, 28, 0.04);
    border-left-color: var(--accent);
}

.info-box.blue {
    background: rgba(59, 130, 246, 0.04);
    border-left-color: #3b82f6;
}

.info-box h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.info-box p {
    font-size: 0.96rem;
    margin-bottom: 0;
}

/* Data Table */
.data-table-wrapper {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.data-table th {
    background: var(--bg-alt);
    padding: 14px 20px;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 14px 20px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}

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

.data-table tr:hover td {
    background: rgba(241, 245, 249, 0.5);
}

.data-table .highlight-cell {
    font-weight: 700;
    color: var(--accent);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    max-width: var(--container-narrow);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--duration) var(--ease);
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: none;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    cursor: pointer;
    transition: color var(--duration) var(--ease);
    gap: 16px;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform var(--duration) var(--ease);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 0.98rem;
    color: var(--text);
    line-height: 1.8;
}

.faq-answer-inner a {
    color: var(--accent);
    font-weight: 500;
}

/* ============================================
   MEDIA/PRESS
   ============================================ */
.media-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.media-logo-item {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--white);
    transition: all var(--duration) var(--ease);
}

.media-logo-item:hover {
    color: var(--primary);
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   GLOSSARY
   ============================================ */
.glossary-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.glossary-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-light);
    border: 1px solid var(--border);
    background: var(--white);
    transition: all var(--duration) var(--ease);
}

.glossary-nav a:hover,
.glossary-nav a.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.glossary-letter-group {
    margin-bottom: 40px;
}

.glossary-letter {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.glossary-term {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.glossary-term:last-child {
    border-bottom: none;
}

.glossary-term dt,
.glossary-term h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.glossary-term dd,
.glossary-term p {
    font-size: 0.98rem;
    color: var(--text);
    line-height: 1.7;
}

.glossary-content {
    max-width: 800px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #334155 100%);
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(185, 28, 28, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 32px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-accent);
    transition: all var(--duration) var(--ease);
}

.btn-cta-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #25D366;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.btn-cta-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 64px 0 32px;
}

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    padding: 6px 0;
    color: #94a3b8;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.footer-bottom a {
    color: #94a3b8;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ── Footer Newsletter ── */
.footer-newsletter {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.3s;
}

.newsletter-input-group:focus-within {
    border-color: var(--accent);
}

.newsletter-input-group input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 0.88rem;
    outline: none;
    min-width: 0;
}

.newsletter-input-group input::placeholder {
    color: #64748b;
}

.newsletter-input-group button {
    padding: 10px 20px;
    border: none;
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s, box-shadow 0.3s;
}

.newsletter-input-group button:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 16px rgba(220, 38, 38, 0.3);
}

.newsletter-input-group button:disabled {
    cursor: default;
}

.newsletter-disclaimer {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 8px;
    line-height: 1.5;
}

/* ── Inline Newsletter Banner (content pages) ── */
.newsletter-inline {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.06), rgba(220, 38, 38, 0.04));
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.newsletter-inline-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.newsletter-inline h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.newsletter-inline>p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.newsletter-inline .newsletter-input-group {
    max-width: 460px;
    margin: 0 auto;
    border-color: rgba(30, 58, 95, 0.15);
}

.newsletter-inline .newsletter-input-group input {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 12px 16px;
    font-size: 0.92rem;
}

.newsletter-inline .newsletter-input-group input::placeholder {
    color: #94a3b8;
}

.newsletter-inline .newsletter-input-group button {
    padding: 12px 24px;
    font-size: 0.88rem;
}

.newsletter-inline .newsletter-disclaimer {
    color: var(--text-light);
    margin-top: 12px;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent);
    margin: 0 auto 16px;
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: fixed;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.92rem;
}

.comparison-table thead th {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--primary);
}

.comparison-table .check {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.1rem;
}

.comparison-table .no {
    color: #cbd5e1;
}

.comparison-table .section-row td {
    background: var(--bg-alt);
    font-weight: 700;
    color: var(--text-light);
    text-align: left;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    padding: 10px 20px;
}

.comparison-table .highlight-col {
    background: rgba(185, 28, 28, 0.04);
}

.comparison-table thead th.highlight-col {
    background: var(--accent);
    color: var(--white);
    position: relative;
}

/* ============================================
   PID FEATURE CARDS (used on multiple pages)
   ============================================ */
.pid-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pid-feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 28px;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.pid-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light, #4a9eff));
    opacity: 0;
    transition: opacity 0.3s;
}

.pid-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pid-feature-card:hover::before {
    opacity: 1;
}

.pid-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb, 42, 92, 170), 0.08), rgba(var(--accent-rgb, 42, 92, 170), 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pid-feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading);
}

.pid-feature-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 36px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--accent);
}

.timeline-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

.timeline-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 64px;
        --header-h: 64px;
        /* mobile: only top-bar, highlight bar hidden */
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero {
        padding: 64px 0 56px;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: -0.8px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-proof {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .hero-light .hero-proof-cards {
        grid-template-columns: 1fr !important;
    }

    .cta-box {
        padding: 48px 28px;
    }

    .cta-box h3 {
        font-size: 1.6rem;
    }

    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px;
        word-break: break-word;
        hyphens: auto;
    }

    .comparison-table thead th {
        font-size: 0.68rem;
        letter-spacing: 0;
        line-height: 1.3;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 90px;
        font-size: 0.78rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .process-steps {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Newsletter inline mobile */
    .newsletter-inline {
        padding: 28px 20px;
    }

    .newsletter-inline h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-proof {
        grid-template-columns: 1fr !important;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.72rem;
    }

    .glossary-nav a {
        width: 34px;
        height: 34px;
        font-size: 0.78rem;
    }
}

/* ── Catch-all: force inline-styled grids to stack on mobile ── */
@media (max-width: 768px) {

    [style*="grid-template-columns: repeat(6"],
    [style*="grid-template-columns: repeat(5"],
    [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    .section .container>[style*="display: grid"][style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {

    [style*="grid-template-columns: repeat(6"],
    [style*="grid-template-columns: repeat(5"],
    [style*="grid-template-columns: repeat(4"],
    [style*="grid-template-columns: repeat(3"],
    [style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   MOBILE SEARCH + LOGIN (HEADER)
   ============================================ */
.mobile-search-wrapper {
    padding: 4px 0 12px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 8px;
    position: relative;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    background: var(--bg-subtle);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0 12px;
    height: 44px;
}

.mobile-search-form:focus-within {
    border-color: var(--accent);
    background: var(--white);
}

.mobile-search-icon {
    flex-shrink: 0;
    color: var(--text-lighter);
}

.mobile-search-form:focus-within .mobile-search-icon {
    color: var(--accent);
}

.mobile-search-input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    padding: 0 10px;
    width: 100%;
}

.mobile-search-input::placeholder {
    color: var(--text-lighter);
}

.mobile-search-dropdown {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 1100;
    overflow: hidden;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.mobile-search-dropdown.visible {
    display: block;
}

.mobile-search-dropdown .search-suggestion {
    padding: 14px 16px;
    font-size: 0.9rem;
}

.mobile-login {
    display: block;
    margin-top: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 1100px) {
    :root {
        --header-h: 64px;
    }

    .header-tabs {
        display: none;
    }

    .header-search {
        display: none;
    }

    .btn-login,
    .header-user-menu {
        display: none;
    }

    .header-subnav-bar {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-nav {
        bottom: 0;
    }
}

/* ============================================
   CNPJ SEARCH BAR (PILLAR HERO)
   ============================================ */
.cnpj-search-wrapper {
    margin-top: 32px;
    max-width: 620px;
}

.cnpj-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 6px 6px 6px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cnpj-search-form:focus-within {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.15);
}

.cnpj-search-icon {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.cnpj-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font);
    padding: 10px 0;
    min-width: 0;
}

.cnpj-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.cnpj-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cnpj-search-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateX(2px);
}

.cnpj-search-hint {
    margin-top: 10px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

.cnpj-search-hint strong {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive search */
@media (max-width: 600px) {
    .cnpj-search-wrapper {
        margin-top: 24px;
    }

    .cnpj-search-form {
        flex-wrap: wrap;
        padding: 8px;
        gap: 6px;
    }

    .cnpj-search-icon {
        display: none;
    }

    .cnpj-search-input {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .cnpj-search-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}

/* ============================================
   POWERBI DASHBOARD — MONITOR RJ PAGE
   ============================================ */
.powerbi-section {
    padding: 32px 0 48px;
}

/* Toolbar */
.powerbi-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    gap: 16px;
}

.powerbi-toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.powerbi-toolbar-badge {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary);
}

.powerbi-toolbar-hint {
    font-size: 0.8rem;
    color: var(--text-lighter);
    font-style: italic;
}

.powerbi-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-subtle);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.powerbi-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Container */
.powerbi-container {
    position: relative;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    background: var(--white);
}

.powerbi-container iframe {
    width: 100%;
    height: 740px;
    border: none;
    display: block;
}

/* Fullscreen mode */
.powerbi-container:fullscreen,
.powerbi-container:-webkit-full-screen {
    border-radius: 0;
    border: none;
    background: #fff;
}

.powerbi-container:fullscreen iframe,
.powerbi-container:-webkit-full-screen iframe {
    height: 100vh;
    width: 100vw;
}

/* Fullscreen exit button (hidden by default, shown in fullscreen) */
.powerbi-exit-fs {
    display: none;
}

.powerbi-container:fullscreen .powerbi-exit-fs,
.powerbi-container:-webkit-full-screen .powerbi-exit-fs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10000;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.powerbi-container:fullscreen .powerbi-exit-fs:hover,
.powerbi-container:-webkit-full-screen .powerbi-exit-fs:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(180, 45, 45, 0.3);
}

.powerbi-mobile-hint {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 24px;
}

.powerbi-mobile-hint.visible {
    display: flex;
}

.powerbi-mobile-hint-content {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    max-width: 340px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.powerbi-mobile-hint-content svg {
    color: var(--accent);
    margin-bottom: 16px;
}

.powerbi-mobile-hint-content p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.powerbi-hint-dismiss {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: background 0.2s ease;
}

.powerbi-hint-dismiss:hover {
    background: var(--accent);
}

/* Instructions bar below dashboard */
.powerbi-instructions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 16px 20px;
    margin-top: 16px;
    background: var(--bg-subtle);
    border-radius: 10px;
    flex-wrap: wrap;
}

.instruction-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-light);
    white-space: nowrap;
}

.instruction-icon {
    font-size: 1.1rem;
}

/* ============================================
   COMMERCIAL SECTION — MONITOR RJ
   ============================================ */
.commercial-section {
    padding: 64px 0;
    background: var(--bg-subtle);
}

.commercial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.commercial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.commercial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.commercial-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(180, 45, 45, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.commercial-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.commercial-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.commercial-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(180, 45, 45, 0.08);
    color: var(--accent);
}

/* CTA Box */
.commercial-cta {
    margin-top: 48px;
}

.commercial-cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    color: #fff;
}

.commercial-cta-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.commercial-cta-box>p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

.commercial-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.commercial-cta-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Responsive — Monitor Page */
@media (max-width: 1024px) {
    .commercial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .powerbi-container iframe {
        height: 420px;
    }

    .powerbi-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .powerbi-toolbar-hint {
        display: none;
    }

    .powerbi-instructions {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .commercial-grid {
        grid-template-columns: 1fr;
    }

    .commercial-cta-box {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .powerbi-container iframe {
        height: 320px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .site-header,
    .mobile-nav,
    .menu-toggle,
    .cta-box,
    .site-footer,
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-login,
    .header-actions,
    .powerbi-toolbar,
    .powerbi-container,
    .commercial-cta {
        display: none !important;
    }

    .hero {
        background: none !important;
        color: #000 !important;
        padding: 20px 0;
        margin-top: 0;
    }

    .hero h1,
    .hero-subtitle {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }

    .section {
        padding: 30px 0;
    }

    body {
        color: #000;
        background: #fff;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 998;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
    flex-shrink: 0;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 2px 8px rgba(0, 0, 0, 0.2);
    }
}

/* ============================================
   FEATURE SHOWCASE — State-of-the-Art Cards
   ============================================ */
.feature-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-showcase-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--accent-rgb, 42, 92, 170), 0.25);
}

.feature-showcase-card:hover::before {
    opacity: 1;
}

/* Pro card accent border */
.feature-showcase-card[data-tier="pro"] {
    border-color: rgba(var(--accent-rgb, 42, 92, 170), 0.18);
    background: linear-gradient(135deg, var(--bg) 0%, rgba(var(--accent-rgb, 42, 92, 170), 0.03) 100%);
}

.feature-showcase-card[data-tier="pro"]::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-light, #4a9eff));
    opacity: 1;
}

/* --- Tier Badge --- */
.fs-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
    width: fit-content;
}

.fs-badge-free {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.fs-badge-pro {
    background: rgba(var(--accent-rgb, 42, 92, 170), 0.08);
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb, 42, 92, 170), 0.2);
}

.fs-badge svg {
    flex-shrink: 0;
}

/* --- Card Icon --- */
.fs-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.feature-showcase-card[data-tier="free"] .fs-card-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.15));
}

.feature-showcase-card[data-tier="pro"] .fs-card-icon {
    background: linear-gradient(135deg, rgba(var(--accent-rgb, 42, 92, 170), 0.08), rgba(var(--accent-rgb, 42, 92, 170), 0.15));
}

.feature-showcase-card:hover .fs-card-icon {
    transform: scale(1.08);
}

/* --- Card Content --- */
.fs-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 6px;
    line-height: 1.3;
}

.fs-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.5;
}

/* --- Bullet List --- */
.fs-card-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex: 1;
}

.fs-card-bullets li {
    display: -webkit-box;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.5;
    padding: 3px 0;
}

.fs-card-bullets li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-showcase-card[data-tier="free"] .fs-card-bullets li::before {
    background: rgba(34, 197, 94, 0.12);
    box-shadow: inset 0 0 0 1.5px #22c55e;
}

.feature-showcase-card[data-tier="pro"] .fs-card-bullets li::before {
    background: rgba(var(--accent-rgb, 42, 92, 170), 0.1);
    box-shadow: inset 0 0 0 1.5px var(--accent);
}

/* Checkmark via SVG background */
.fs-card-bullets li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2322c55e'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L11 5l1 1z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-showcase-card[data-tier="pro"] .fs-card-bullets li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232a5caa'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L11 5l1 1z'/%3E%3C/svg%3E");
}

/* --- Detail Trigger --- */
.fs-detail-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 0;
    transition: gap 0.2s, color 0.2s;
    margin-top: auto;
}

.fs-detail-trigger:hover {
    gap: 10px;
    color: var(--heading);
}

.fs-detail-trigger svg {
    transition: transform 0.2s;
}

.fs-detail-trigger:hover svg {
    transform: translateX(3px);
}

/* ============================================
   FEATURE DETAIL MODAL
   ============================================ */
.fs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.fs-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fs-modal {
    background: var(--bg);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s ease;
    position: relative;
}

.fs-modal-overlay.active .fs-modal {
    transform: translateY(0) scale(1);
}

.fs-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}

.fs-modal-close:hover {
    background: var(--border);
    transform: rotate(90deg);
}

/* Modal Split Layout */
.fs-modal-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 380px;
}

.fs-modal-left {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 20px 0 0 20px;
    gap: 16px;
}

.fs-modal-left-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-modal-left-icon svg {
    stroke: #fff;
}

.fs-modal-left-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.fs-modal-left .fs-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.fs-modal-right {
    padding: 40px 36px;
}

.fs-modal-right h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 12px;
}

.fs-modal-right .fs-modal-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Modal checklist */
.fs-modal-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 10px;
}

.fs-modal-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.5;
}

.fs-modal-checklist li .check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.fs-modal-checklist li .check-icon svg {
    width: 12px;
    height: 12px;
    stroke: #22c55e;
}

.fs-modal-checklist li.pro-feature .check-icon {
    background: rgba(var(--accent-rgb, 42, 92, 170), 0.1);
}

.fs-modal-checklist li.pro-feature .check-icon svg {
    stroke: var(--accent);
}

/* Modal ideal profiles */
.fs-modal-profiles {
    margin-bottom: 24px;
}

.fs-modal-profiles h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.fs-modal-profiles-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fs-modal-profiles-tags span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text);
}

/* Modal CTA */
.fs-modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.fs-modal-cta:hover {
    background: var(--heading);
    transform: translateY(-1px);
}

/* ============================================
   FEATURE SHOWCASE — Responsive
   ============================================ */
@media (max-width: 1024px) {
    .feature-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-showcase-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fs-modal-content {
        grid-template-columns: 1fr;
    }

    .fs-modal-left {
        border-radius: 20px 20px 0 0;
        padding: 28px 24px;
        flex-direction: row;
        gap: 14px;
        text-align: left;
    }

    .fs-modal-left-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        flex-shrink: 0;
    }

    .fs-modal-left-icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .fs-modal-left-title {
        font-size: 1rem;
    }

    .fs-modal-right {
        padding: 28px 24px;
    }

    .fs-modal {
        max-height: 90vh;
    }
}

/* ============================================
   FLOATING TABLE OF CONTENTS (Overview Page)
   ============================================ */
.page-toc {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-toc.visible {
    opacity: 1;
    pointer-events: auto;
}

.page-toc-inner {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 10px 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.toc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-light);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.35;
}

.toc-label {
    font-size: 0;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: -0.01em;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 0;
}

/* Hover: expand labels */
.page-toc-inner:hover .toc-label {
    font-size: 0.72rem;
    opacity: 0.7;
    max-width: 160px;
    margin-left: 10px;
}

.page-toc-inner:hover .toc-dot {
    opacity: 0.5;
}

/* Individual item hover */
.toc-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.toc-item:hover .toc-label {
    opacity: 1 !important;
    color: var(--heading);
}

.toc-item:hover .toc-dot {
    background: var(--accent);
    opacity: 1;
    transform: scale(1.3);
}

/* Active state */
.toc-item.active .toc-dot {
    background: var(--accent);
    opacity: 1;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 3px rgba(183, 53, 47, 0.15);
}

.toc-item.active .toc-label {
    color: var(--accent);
    font-weight: 600;
}

.page-toc-inner:hover .toc-item.active .toc-label {
    opacity: 1;
}

/* Hide on smaller screens */
@media (max-width: 1200px) {
    .page-toc {
        display: none;
    }
}

/* ============================================
   PRODUCT CARD SECONDARY BUTTON
   ============================================ */
.product-card-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-product-card-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 24px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--heading);
    background: transparent;
    border: 1.5px solid var(--border);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
}

.btn-product-card-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(183, 53, 47, 0.04);
    transform: translateY(-1px);
}

.btn-product-card-secondary:active {
    transform: translateY(0);
}