/* ==========================================================================
   VORTEXFI — DESIGN SYSTEM (META-INSPIRED COMMERCE & MARKETING SPEC)
   Based on DESIGN.md
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS & CSS VARIABLES
   ══════════════════════════════════════════════════════════════════════════ */
:root {
    color-scheme: light;
    /* Base Colors from DESIGN.md */
    --color-primary: #0064e0;
    --color-primary-deep: #0457cb;
    --color-primary-soft: #0091ff;
    --color-on-primary: #ffffff;
    --color-ink-button: #000000;
    --color-on-ink-button: #ffffff;
    --color-fb-blue: #1876f2;
    --color-meta-link: #385898;
    --color-oculus-purple: #a121ce;

    /* Semantic Status */
    --color-success: #31a24c;
    --color-success-bg: #24e400;
    --color-attention: #f2a918;
    --color-warning: #f7b928;
    --color-warning-bg: #ffe200;
    --color-critical: #e41e3f;
    --color-critical-strong: #f0284a;

    /* Geometry / Radius Scale */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 16px;
    --radius-xxl: 24px;
    --radius-xxxl: 32px;
    --radius-feature: 40px;
    --radius-full: 100px;
    --radius-circle: 9999px;

    /* Spacing Scale */
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 10px;
    --space-md: 12px;
    --space-base: 16px;
    --space-lg: 20px;
    --space-xl: 24px;
    --space-xxl: 32px;
    --space-xxxl: 40px;
    --space-section-sm: 48px;
    --space-section: 64px;
    --space-section-lg: 80px;
    --space-hero: 120px;

    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-feature: "ss01", "ss02";
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════════════════════════════════════════════════
   2. THEME MODES (LIGHT & DARK)
   ══════════════════════════════════════════════════════════════════════════ */
/* TEMA CLARO (CANVAS STARK WHITE & HIGH CONTRAST) */
[data-theme="light"] {
    --color-canvas: #ffffff;
    --color-surface-soft: #f1f4f7;
    --color-surface-card: #ffffff;
    --color-surface-alt: #f1f4f7;
    --color-ink-deep: #0a1317;
    --color-ink: #1c1e21;
    --color-charcoal: #444950;
    --color-slate: #4b4c4f;
    --color-steel: #5d6c7b;
    --color-stone: #8595a4;
    --color-hairline: #ced0d4;
    --color-hairline-soft: #dee3e9;
    --color-disabled-text: #bcc0c4;

    /* Semantic Tokens */
    --bg-color: #f7f9fc;
    --surface-color: #ffffff;
    --surface-color-alt: #eef2f6;
    --surface-border: #dee3e9;
    --surface-border-strong: #ced0d4;
    --text-main: #0a1317;
    --text-body: #1c1e21;
    --text-muted: #5d6c7b;
    --text-subtle: #8595a4;
    --header-bg: rgba(255, 255, 255, 0.92);
    --promo-bg: #0a1317;
    --promo-text: #ffffff;
    --promo-link: #ffffff;

    /* Shadows */
    --shadow-flat: none;
    --shadow-card: 0 1px 3px rgba(10, 19, 23, 0.04), 0 4px 16px rgba(10, 19, 23, 0.04);
    --shadow-card-hover: 0 12px 32px rgba(10, 19, 23, 0.08);
    --shadow-checkout: 0 1px 4px rgba(20, 22, 26, 0.2), 0 8px 24px rgba(20, 22, 26, 0.06);
    --shadow-glass: 0 20px 48px rgba(10, 19, 23, 0.09);
    --shadow-premium: 0 12px 32px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04), 0 0 0 2px rgba(0, 100, 224, 0.03);
    --shadow-premium-hover: 0 20px 48px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.05), 0 0 0 2px rgba(0, 100, 224, 0.1);

    /* Gradients */
    --gradient-text: linear-gradient(135deg, #0a1317 0%, #0064e0 100%);
    --gradient-accent: linear-gradient(135deg, #0064e0 0%, #1876f2 100%);
    --hero-glow: rgba(0, 100, 224, 0.06);
    --grid-line: rgba(10, 19, 23, 0.04);
}

/* ══════════════════════════════════════════════════════════════════════════
   3. RESET & BASE ELEMENTS
   ══════════════════════════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-body);
    line-height: 1.50;
    letter-spacing: -0.16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-feature-settings: var(--font-feature);
    letter-spacing: -0.02em;
}

/* Layout Utilities */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-section-lg) 0;
}

.grid {
    display: grid;
    gap: var(--space-xl);
}

/* ══════════════════════════════════════════════════════════════════════════
   4. PROMO BANNER (TOP OF PAGE)
   ══════════════════════════════════════════════════════════════════════════ */
.promo-banner {
    background-color: var(--promo-bg);
    color: var(--promo-text);
    padding: var(--space-md) var(--space-xl);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.43;
    letter-spacing: -0.14px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1003;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
}

.promo-banner a {
    color: var(--promo-link);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
}

.promo-banner a:hover {
    opacity: 0.85;
}

.promo-badge-tag {
    background-color: var(--color-warning);
    color: #0a1317;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════════════════════════
   5. BUTTONS & CTAS (META SIGNATURE SPEC)
   ══════════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.43;
    letter-spacing: -0.14px;
    border-radius: var(--radius-full) !important; /* Always 100px pill */
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
}

/* Button Primary */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-on-primary) !important;
    padding: 14px 30px;
    box-shadow: 0 4px 14px rgba(0, 100, 224, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 100, 224, 0.4);
}

.btn-primary:active {
    background-color: var(--color-meta-link);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 100, 224, 0.2);
}

/* Liquid-Glass CTA */
.btn-liquid-glass {
    position: relative;
    overflow: hidden;
    background: rgba(0, 100, 224, 0.7);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        0 8px 24px rgba(0, 100, 224, 0.25);
    color: #ffffff !important;
    font-weight: 600;
    padding: 14px 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.btn-liquid-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    transform: scale(0.8);
    transition: transform 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.btn-liquid-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.btn-liquid-glass:hover {
    background: rgba(0, 100, 224, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.6),
        0 12px 32px rgba(0, 100, 224, 0.35);
}

.btn-liquid-glass:hover::before {
    transform: scale(1.1) translate(5%, 5%);
}

.btn-liquid-glass:hover::after {
    left: 200%;
}

.btn-liquid-glass:active {
    transform: scale(0.96);
    box-shadow: 
        inset 0 2px 6px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 100, 224, 0.2);
}

/* Button Buy CTA (Cobalt Pill for Purchase / Commerce Flows) */
.btn-buy-cta {
    background-color: var(--color-primary);
    color: var(--color-on-primary) !important;
    padding: 14px 30px;
    box-shadow: 0 4px 14px rgba(0, 100, 224, 0.28);
}

.btn-buy-cta:hover {
    background-color: var(--color-primary-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 100, 224, 0.4);
}

.btn-buy-cta:active {
    background-color: #0348a8;
    transform: translateY(0);
}

/* Button Secondary (Outlined Ghost Pill) */
.btn-secondary {
    background-color: transparent;
    color: var(--text-main) !important;
    border: 2px solid var(--text-main);
    padding: 12px 28px;
}

.btn-secondary:hover {
    background-color: rgba(10, 19, 23, 0.05);
    transform: translateY(-1px);
}

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

/* Button Ghost (Soft Border) */
.btn-ghost {
    background-color: transparent;
    color: var(--text-main) !important;
    border: 2px solid var(--surface-border-strong);
    padding: 10px 22px;
}

.btn-ghost:hover {
    border-color: var(--text-main);
    background-color: var(--surface-color-alt);
}

/* Pill Tabs (Top-Level Category Navigation) */
.btn-pill-tab {
    background-color: var(--color-canvas);
    color: var(--text-body);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.43;
    letter-spacing: -0.14px;
    border-radius: var(--radius-full);
    padding: 8px 18px;
    border: 1px solid var(--surface-border);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-pill-tab:hover {
    border-color: var(--text-muted);
    color: var(--text-main);
}

.btn-pill-tab-active,
.btn-pill-tab.active {
    background-color: var(--color-ink-deep) !important;
    color: #ffffff !important;
    border-color: var(--color-ink-deep) !important;
}

/* Circular Icon Buttons */
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-circle);
    background-color: var(--surface-color);
    color: var(--text-main);
    border: 1px solid var(--surface-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.icon-btn:hover {
    background-color: var(--surface-color-alt);
    border-color: var(--surface-border-strong);
    transform: scale(1.05);
}

/* ══════════════════════════════════════════════════════════════════════════
   6. NAVBAR & NAVIGATION
   ══════════════════════════════════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 68px;
    background-color: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--surface-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-links > a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.nav-links > a:hover {
    color: var(--text-main);
    background-color: var(--surface-color-alt);
}

.nav-links > a.active {
    color: var(--text-main);
    background-color: var(--surface-color-alt);
    font-weight: 700;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-btn {
    background: transparent;
    border: none;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-dropdown-btn:hover,
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown-btn.active {
    color: var(--text-main);
    background-color: var(--surface-color-alt);
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xs);
    min-width: 300px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    color: var(--text-main) !important;
}

.dropdown-item:hover {
    background-color: var(--surface-color-alt);
}

.dropdown-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.di-blue {
    background: rgba(0, 100, 224, 0.1);
    color: var(--color-primary);
}

.di-cyan {
    background: rgba(0, 145, 255, 0.12);
    color: var(--color-primary-soft);
}

.di-green {
    background: rgba(49, 162, 76, 0.1);
    color: var(--color-success);
}

.dropdown-item-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dropdown-item-info strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.dropdown-item-info span {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: transparent;
    z-index: 1001;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: var(--radius-xs);
    transition: 0.3s ease;
    display: block;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Drawer */
.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface-color);
    border-bottom: 1px solid var(--surface-border);
    padding: var(--space-xl);
    z-index: 999;
    flex-direction: column;
    gap: var(--space-xs);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: var(--text-body);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid var(--surface-border);
    transition: var(--transition);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--color-primary);
}

.mobile-dropdown {
    border-bottom: 1px solid var(--surface-border);
}

.mobile-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-dropdown-items {
    display: none;
    flex-direction: column;
    padding-left: var(--space-md);
    padding-bottom: var(--space-xs);
}

.mobile-dropdown.open .mobile-dropdown-items {
    display: flex;
}

/* ══════════════════════════════════════════════════════════════════════════
   7. HERO SECTION (META DUAL-CTA PATTERN)
   ══════════════════════════════════════════════════════════════════════════ */
.hero {
    padding: var(--space-section-lg) 0 var(--space-section);
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 20%, black, transparent);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-section);
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-hero {
    padding: var(--space-section) 0 var(--space-xl);
    text-align: center;
}

/* Badges & Eyebrows */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background-color: var(--surface-color-alt);
    color: var(--text-muted);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.33;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.1px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.14;
    font-weight: 500;
    font-feature-settings: var(--font-feature);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.44;
    color: var(--text-muted);
    margin-bottom: var(--space-xxl);
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    position: relative;
    z-index: 10;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xxxl);
    flex-wrap: wrap;
}

.stat-card {
    text-align: left;
    padding: var(--space-base) var(--space-xl);
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-card);
    min-width: 130px;
    flex: 1;
}

.stat-card .stat-number {
    font-size: 28px;
    font-weight: 500;
    font-feature-settings: var(--font-feature);
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════════════
   8. MOCKUP UI / SAAS DASHBOARD (META GLASS SPEC)
   ══════════════════════════════════════════════════════════════════════════ */
.glass-panel {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xxxl); /* 32px rounding */
    padding: var(--space-xl);
    box-shadow: var(--shadow-glass);
    position: relative;
    transition: transform 0.4s ease;
}

.glass-panel:hover {
    transform: translateY(-4px);
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-base);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--surface-border);
}

.mockup-header-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: var(--color-critical); }
.dot.yellow { background-color: var(--color-warning); }
.dot.green { background-color: var(--color-success); }

.dash-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(0, 100, 224, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.dash-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-success);
    animation: badge-pulse 1.8s ease-in-out infinite;
}

.dash-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
    margin-bottom: var(--space-base);
}

.dash-stat-box {
    background: var(--surface-color-alt);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
}

.dsb-title {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dsb-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 2px;
}

.dsb-value small {
    font-size: 11px;
    color: var(--color-success);
    font-weight: 700;
}

.dash-chart-area {
    background: var(--surface-color-alt);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-base);
    margin-bottom: var(--space-base);
}

.dash-chart-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.dash-chart-legend {
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
}

.dash-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 70px;
    padding-top: 6px;
    border-bottom: 1px solid var(--surface-border);
}

.d-bar {
    flex: 1;
    height: var(--h, 50%);
    background: var(--color-primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    opacity: 0.85;
    transition: var(--transition);
}

.d-bar:hover {
    opacity: 1;
    background: var(--color-primary-deep);
}

.dash-feed {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.dash-feed-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-color-alt);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 8px 12px;
}

.df-user {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.df-avatar {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-circle);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.df-user strong {
    font-size: 13px;
    color: var(--text-main);
    display: block;
    line-height: 1.2;
}

.df-user small {
    font-size: 11px;
    color: var(--text-muted);
}

.df-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tag-wa {
    background: rgba(49, 162, 76, 0.12);
    color: var(--color-success);
}

.tag-pix {
    background: rgba(0, 100, 224, 0.12);
    color: var(--color-primary);
}

/* ══════════════════════════════════════════════════════════════════════════
   9. TRUST & HARDWARE INTEGRATIONS BAR
   ══════════════════════════════════════════════════════════════════════════ */
.trust-bar-section {
    padding: var(--space-xl) 0 var(--space-xxl);
    border-bottom: 1px solid var(--surface-border);
    background: var(--surface-color);
}

.trust-bar-title {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.trust-bar-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.tbi-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    padding: 8px 18px;
    background: var(--surface-color-alt);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.tbi-brand:hover {
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.tbi-brand i {
    font-size: 1.15rem;
    color: var(--color-primary);
}

/* ══════════════════════════════════════════════════════════════════════════
   10. SECTION HEADERS & EDITORIAL RHYTHM
   ══════════════════════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-section);
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.28;
    margin-bottom: var(--space-base);
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--color-primary);
}

.highlight-accent {
    color: var(--color-primary-soft);
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.50;
    letter-spacing: -0.16px;
}

/* ══════════════════════════════════════════════════════════════════════════
   11. SEGMENTS SECTION (CARD ICON FEATURE 16px)
   ══════════════════════════════════════════════════════════════════════════ */
.segments-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-base);
}

.seg-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl); /* 16px card-icon-feature */
    padding: var(--space-xl) var(--space-base);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.seg-card:hover {
    border-color: var(--surface-border-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.seg-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--surface-color-alt);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    transition: var(--transition);
}

.seg-card:hover .seg-icon {
    background: rgba(0, 100, 224, 0.1);
    color: var(--color-primary);
}

.seg-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.seg-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ══════════════════════════════════════════════════════════════════════════
   12. HOW IT WORKS (STEPS & WORKFLOW)
   ══════════════════════════════════════════════════════════════════════════ */
.section-alt {
    background-color: var(--surface-color-alt);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
}

.step-card {
    text-align: center;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xxl); /* 24px */
    padding: var(--space-xxl) var(--space-xl);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-circle);
    background-color: var(--color-ink-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 auto var(--space-base);
}

.step-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-main);
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════════════
   13. FEATURES GRID (CARD PRODUCT FEATURE 32px)
   ══════════════════════════════════════════════════════════════════════════ */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.card {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    padding: var(--space-xxl);
    border-radius: var(--radius-xxxl); /* 32px card-product-feature */
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--surface-border-strong);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: var(--space-base);
    display: block;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════════════════
   14. AUTH METHODS & PHONE MOCKUP
   ══════════════════════════════════════════════════════════════════════════ */
.methods-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxxl);
    align-items: center;
}

.methods-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.method-item {
    display: flex;
    align-items: center;
    gap: var(--space-base);
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    padding: var(--space-base) var(--space-xl);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.method-item:hover {
    border-color: var(--surface-border-strong);
    transform: translateX(4px);
}

.method-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.method-item h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-main);
}

.method-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Phone Mockup */
.phone-mockup {
    background: #0a1317;
    border-radius: var(--radius-feature); /* 40px */
    border: 8px solid #1c1e21;
    overflow: hidden;
    max-width: 290px;
    margin: 0 auto;
    box-shadow: var(--shadow-glass);
}

.phone-notch {
    background: #1c1e21;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch span {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
}

.phone-content {
    padding: var(--space-xl) var(--space-base);
    background: #0a1317;
    color: #ffffff;
}

.phone-content h4 {
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    margin-bottom: 4px;
    font-weight: 700;
}

.phone-content .pc-sub {
    color: var(--color-stone);
    font-size: 12px;
    text-align: center;
    margin-bottom: var(--space-base);
}

.phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    cursor: pointer;
    transition: var(--transition);
}

.pb-wa { background: #25d366; color: #fff; }
.pb-pix { background: var(--color-primary); color: #fff; }
.pb-cpf { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); }
.pb-voucher { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); }
.pb-free { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); }
.phone-divider { text-align: center; font-size: 11px; color: var(--color-stone); margin: 6px 0; }

/* ══════════════════════════════════════════════════════════════════════════
   15. PRICING PLANS & COMMERCE CTAS
   ══════════════════════════════════════════════════════════════════════════ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    align-items: stretch;
    margin-bottom: var(--space-section);
}

.plan-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xxxl); /* 32px card rounding */
    padding: var(--space-xxl);
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--surface-border-strong);
}

/* Featured Business Plan */
.plan-card.featured {
    border: 2px solid var(--color-primary);
    box-shadow: 0 12px 36px rgba(0, 100, 224, 0.12);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 100, 224, 0.3);
}

.plan-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-xs);
}

.plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: var(--space-xs);
}

.plan-price-currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.plan-price-value {
    font-size: 48px;
    font-weight: 500;
    font-feature-settings: var(--font-feature);
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -0.03em;
}

.plan-price-period {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.5;
    min-height: 42px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xxl);
    flex: 1;
}

.plan-features li {
    font-size: 14px;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    line-height: 1.45;
}

.plan-features li i {
    color: var(--color-success);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.plan-btn {
    width: 100%;
    text-align: center;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.plan-btn-default {
    background: var(--surface-color-alt);
    color: var(--text-main);
    border: 1px solid var(--surface-border-strong);
}

.plan-btn-default:hover {
    background: var(--surface-border-strong);
    color: var(--text-main);
}

.plan-btn-featured {
    background: var(--color-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 100, 224, 0.3);
}

.plan-btn-featured:hover {
    background: var(--color-primary-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 100, 224, 0.4);
}

/* Plan Highlights (Why-Buy Tiles) */
.plan-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-base);
    margin-bottom: var(--space-xxl);
}

.plan-highlight-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl); /* 16px why-buy-tile */
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.plan-highlight-card:hover {
    transform: translateY(-2px);
    border-color: var(--surface-border-strong);
}

.plan-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
}

.phi-blue { background: rgba(0, 100, 224, 0.1); color: var(--color-primary); }
.phi-green { background: rgba(49, 162, 76, 0.1); color: var(--color-success); }
.phi-purple { background: rgba(161, 33, 206, 0.1); color: var(--color-oculus-purple); }
.phi-amber { background: rgba(247, 185, 40, 0.15); color: #d97706; }

.plan-highlight-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.plan-highlight-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Card Promo Strip (Dark Full-Width Promo Card 32px) */
.plan-cta-banner {
    background: #0a1317;
    color: #ffffff;
    border-radius: var(--radius-xxxl); /* 32px */
    padding: var(--space-section) var(--space-xxl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xxl);
    box-shadow: var(--shadow-glass);
    margin-bottom: var(--space-xxl);
    position: relative;
    overflow: hidden;
}

.plan-cta-content {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    max-width: 620px;
}

.plan-cta-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    background: rgba(0, 100, 224, 0.2);
    border: 1px solid rgba(0, 100, 224, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0091ff;
    flex-shrink: 0;
}

.plan-cta-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #ffffff;
}

.plan-cta-content p {
    font-size: 15px;
    color: var(--color-stone);
    line-height: 1.5;
}

.plan-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    flex-shrink: 0;
}

.plan-cta-action .btn-cta-green {
    background: #ffffff;
    color: #0a1317;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.plan-cta-action .btn-cta-green:hover {
    background: #f1f4f7;
    transform: translateY(-2px);
}

.plan-cta-note {
    font-size: 12px;
    color: var(--color-stone);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    padding-top: var(--space-xs);
}

.trust-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.tbi-green i { color: var(--color-success); }
.tbi-blue i { color: var(--color-primary); }
.tbi-purple i { color: var(--color-oculus-purple); }

/* ══════════════════════════════════════════════════════════════════════════
   16. FAQ ACCORDION (16px ACCORDION ITEMS)
   ══════════════════════════════════════════════════════════════════════════ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl); /* 16px */
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--surface-border-strong);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main);
    gap: var(--space-base);
    user-select: none;
    transition: var(--transition);
}

.faq-q:hover {
    color: var(--color-primary);
}

.faq-q .arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--surface-color-alt);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: 0.3s ease;
    color: var(--text-muted);
}

.faq-item.open .faq-q .arrow {
    transform: rotate(180deg);
    background: rgba(0, 100, 224, 0.1);
    color: var(--color-primary);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-a {
    max-height: 320px;
}

.faq-a p {
    padding: 0 var(--space-xl) var(--space-xl);
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════════════
   17. CTA SECTION (HERO BAND MARKETING 32px)
   ══════════════════════════════════════════════════════════════════════════ */
.cta-section {
    padding: var(--space-section-lg) 0;
}

.cta-box {
    background: #0a1317;
    border-radius: var(--radius-xxxl); /* 32px */
    padding: var(--space-section-lg) var(--space-xxl);
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: var(--space-base);
    color: #ffffff;
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 16px;
    margin-bottom: var(--space-xxxl);
    color: var(--color-stone);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    display: flex;
    gap: var(--space-xs);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.cta-form input {
    flex: 1;
    height: 44px;
    padding: 0 var(--space-base);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-hairline);
    font-size: 14px;
    font-family: var(--font-family);
    outline: none;
    background: #ffffff;
    color: #0a1317;
    transition: var(--transition);
}

.cta-form input:focus {
    border-color: var(--color-fb-blue);
    box-shadow: 0 0 0 2px rgba(24, 118, 242, 0.2);
}

.cta-form input::placeholder {
    color: var(--color-stone);
}

.cta-form .btn {
    height: 44px;
    background-color: #ffffff;
    color: #0a1317 !important;
    padding: 0 26px;
    font-weight: 700;
}

.cta-form .btn:hover {
    background-color: #f1f4f7;
    transform: translateY(-1px);
}


.btn-dark {
    background-color: var(--color-ink-deep) !important;
    color: #ffffff !important;
}
.btn-dark:hover, .btn-dark:active {
    background-color: #0a1317 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

/* Divider */
.divider {
    border: 0;
    height: 1px;
    background-color: var(--surface-border);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   18. FOOTER REGION (DENSE 6-COLUMN / REFINED MULTI-COLUMN)
   ══════════════════════════════════════════════════════════════════════════ */
footer {
    border-top: 1px solid var(--surface-border);
    padding: var(--space-section) 0 var(--space-xl);
    background-color: var(--surface-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-section);
    margin-bottom: var(--space-section);
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 320px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: var(--space-base);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.14px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
    transition: var(--transition);
    font-size: 14px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-stone);
    font-size: 12px;
    border-top: 1px solid var(--surface-border);
    padding-top: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-base);
}

.footer-bottom a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Floating WhatsApp Button */
@keyframes pulse-aura-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.float-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: 0.3s ease;
    animation: pulse-aura-green 2s infinite;
}

.float-wa:hover, .float-wa:active {
    transform: translateY(-4px) scale(1.05);
    /* animation: none; */
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.float-wa svg {
    fill: #fff;
    width: 28px;
    height: 28px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 96px; /* 28px + 56px + 12px gap */
    right: 32px;
    z-index: 998;
    width: 48px;
    height: 48px;
    background: var(--color-ink-button);
    color: var(--color-canvas);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--surface-border);
    cursor: pointer;
    transition: 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 100, 224, 0.3);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ══════════════════════════════════════════════════════════════════════════
   19. SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════ */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   20. PREMIUM B2B STRUCTURAL & UI COMPONENTS
   ══════════════════════════════════════════════════════════════════════════ */
.hero-display {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-feature-settings: "ss01", "ss02";
    color: var(--text-main);
    margin-bottom: var(--space-md);
}

.shadow-premium {
    box-shadow: var(--shadow-premium, 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03));
    border: 1px solid var(--surface-border);
    transition: var(--transition-slow);
}

.shadow-premium:hover {
    box-shadow: var(--shadow-premium-hover, 0 16px 40px rgba(0, 0, 0, 0.12));
    transform: translateY(-4px);
    border-color: var(--surface-border-strong);
}

.hero-band-marketing {
    padding: var(--space-section-lg) 0 var(--space-section);
    background-color: var(--surface-color);
    text-align: center;
    border-bottom: 1px solid var(--surface-border);
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background-image: radial-gradient(var(--surface-border-strong) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

[data-parallax-speed] {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    [data-parallax-speed],
    .parallax-bg {
        transform: none !important;
        transition: none !important;
    }
}

.feature-icon-row {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-sm);
}

.feature-icon-row i {
    color: var(--color-primary);
    font-size: 24px;
}

.feature-icon-row h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    font-feature-settings: "ss01", "ss02";
}

.footer-region {
    background: #0a1317;
    color: #ffffff;
    padding: var(--space-section-lg) 0 var(--space-xxl);
}

.footer-region p, .footer-region a {
    color: var(--color-stone);
}

.footer-region a:hover {
    color: #ffffff;
}

.footer-region h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: var(--space-base);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 12px;
}

.mobile-sticky-cta {
    display: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   21. RESPONSIVE BREAKPOINTS (PER DESIGN.MD)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xxxl);
    }

    .hero-subtitle {
        margin: 0 auto var(--space-xxl);
    }

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

    .hero-stats {
        justify-content: center;
    }

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

    .methods-wrap {
        grid-template-columns: 1fr;
    }

    .plan-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }

    .plan-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-display {
        font-size: 48px;
    }

    .hero {
        padding: var(--space-section) 0 var(--space-xl);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-image {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-base);
    }

    .segments-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

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

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

    .plan-highlights-grid {
        grid-template-columns: 1fr;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-box {
        padding: var(--space-xxl) var(--space-xl);
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .section {
        padding: var(--space-section-sm) 0;
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-header h2 {
        font-size: 28px;
    }

    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: var(--space-md);
        background: var(--surface-color);
        box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
        z-index: 1000;
        border-top: 1px solid var(--surface-border);
    }
    
    .mobile-sticky-cta .btn {
        width: 100%;
        text-align: center;
    }

    body {
        padding-bottom: 80px; /* Space for sticky bar */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-stats {
        flex-direction: column;
    }

    .stat-card {
        width: 100%;
    }

    .promo-banner {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* Espaçamento Exclusivo para #segmentos */
#segmentos {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px; /* Compensa a navbar fixa */
}

/* Premium B2B Grids */
.segments-grid-magazine {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.segment-card-premium {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.segment-card-premium:hover {
    box-shadow: var(--shadow-premium-hover);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.segment-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--color-ink-button);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--color-on-ink-button);
    font-size: 32px;
}

.segment-card-premium h3 {
    font-size: 20px;
    margin-bottom: var(--space-sm);
    color: var(--text-color);
}

.segment-card-premium p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
}

/* Pillars Section */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.pillar-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xxl) var(--space-xl);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid var(--surface-border);
    transition: var(--transition-base);
}

.pillar-card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon i {
    font-size: 32px;
}

.pillar-card h3 {
    font-size: 22px;
    margin-bottom: var(--space-md);
}

.pillar-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive adjustments for new grids */
@media (max-width: 1024px) {
    .segments-grid-magazine {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 480px) {
    .segments-grid-magazine {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   GATEWAYS GRID
   ══════════════════════════════════════════════════════════════════════════ */
.title-gradient-vortex {
    background: linear-gradient(90deg, #3f51b5 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 42px;
}

.gateways-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.gateway-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    border: 1px solid var(--surface-border);
    transition: var(--transition);
    min-height: 120px;
}

.gateway-card:hover {
    box-shadow: var(--shadow-premium-hover);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.gateway-card img {
    max-height: 45px;
    max-width: 100%;
    object-fit: contain;
}

.img-scale-lg {
    transform: scale(1.4);
}

.img-scale-xl {
    transform: scale(2.5);
}

@media (max-width: 1024px) {
    .gateways-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .gateways-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .title-gradient-vortex { 
        font-size: 32px; 
    }
}

@media (max-width: 480px) {
    .gateways-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .title-gradient-vortex { 
        font-size: 26px; 
    }
}

/* --- Added for Dark Cards --- */
.icon-container-dark {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.text-white {
    color: #ffffff !important;
}

/* ==========================================================================
   BENTO GRID & CARDS (Restored)
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    width: 100%;
}

.bento-card {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

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

.card-promo-strip {
    background: #0a1317 !important;
    color: #ffffff;
}

.promo-split {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-content {
    flex: 1;
}

.bento-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.card-promo-strip p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ==========================================================================
   GLOBAL RESPONSIVE RULES (Restored)
   ========================================================================== */

/* TABLET (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Collapse any 3 or 4 col grid to 2 columns */
    .bento-grid, .features-grid, .pricing-grid, .promo-split {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* MOBILE (< 768px) */
@media (max-width: 767px) {
    /* 1. Collapse grids to 1 column */
    .bento-grid, .features-grid, .pricing-grid, .promo-split {
        grid-template-columns: 1fr !important;
    }
    
    /* 1. Reset span 2 to span 1 */
    .bento-card[style*="grid-column: span 2"], .bento-card {
        grid-column: span 1 !important;
    }
    
    /* 1. Reduce padding */
    .bento-card {
        padding: 20px !important;
    }
}

/* ==========================================================================
   DIAGRAM SCROLL FIX (Restored)
   ========================================================================== */
.diagram-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 24px;
    padding-left: max(32px, 5vw); /* added padding to prevent left-side text cut-off */
}

.diagram-scroll-container > * {
    min-width: 720px;
}

/* ==========================================================================
   FLIP CARD COMPONENT (Restored)
   ========================================================================== */
.flip-card {
  background-color: transparent;
  perspective: 1000px;
  cursor: pointer;
  position: relative;
}

/* Invisible overlay to catch ALL mouse events perfectly, avoiding 3D flickering */
.flip-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface-card);
  box-sizing: border-box;
}

.flip-card-front {
  transform: rotateY(0deg);
  z-index: 2;
}

.flip-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}


/* ==========================================================================
   GLOBAL RESPONSIVENESS AUDIT UTILITIES
   ========================================================================== */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

.responsive-flex {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .responsive-flex-col-mobile {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .responsive-full-width-mobile {
        min-width: 100% !important;
        flex: 1 1 100% !important;
    }

    /* Override large inline font sizes automatically */
    h1[style*="font-size"], h2[style*="font-size"] {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
        line-height: 1.2 !important;
    }
    h3[style*="font-size"] {
        font-size: clamp(1.25rem, 5vw, 1.75rem) !important;
    }

    /* Override large padding */
    .section[style*="padding: var(--space-xxl)"] {
        padding: var(--space-xl) 0 !important;
    }
    
    /* Auto-fix inline styles that break mobile */
    div[style*="flex-wrap: nowrap"] {
        flex-wrap: wrap !important;
    }
    div[style*="min-width: 320px"] {
        min-width: 100% !important;
    }
}
@media (max-width: 767px) {
    .comparison-container {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .comparison-arrow {
        transform: rotate(90deg) !important;
        margin: 16px auto !important;
    }
}
