/* ==========================================================================
   UPWISE PLANS PAGE STYLESHEET - PREMIUM WHITE/CLEAN THEME (STRIPE & LINEAR STYLE)
   ========================================================================== */

:root {
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --font-arabic: 'Cairo', sans-serif;

    /* Color Palette */
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-hover: #f1f5f9;
    
    --text-primary: #09090b;
    --text-secondary: #1e293b;
    --text-muted: #475569;
    
    /* Premium Copper/Gold theme from index.html */
    --brand-primary: #2563eb;
    --brand-light: #60a5fa;
    --brand-dark: #1d4ed8;
    --brand-glow: rgba(37, 99, 235, 0.12);
    --brand-text-accent: #1e40af; /* High contrast dark bronze/gold for light backgrounds */
    
    
    --indigo: #1d4ed8;
    --purple: #1e40af;
    --cyan: #60a5fa;
    
    --border-light: #e2e8f0;
    --border-focus: #cbd5e1;
    --border-accent: rgba(37, 99, 235, 0.3);
    
    --red-alert: #ef4444;
    --red-bg: rgba(239, 68, 68, 0.05);
    --green-success: #10b981;
    --green-bg: rgba(16, 185, 129, 0.05);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #2563eb 50%, #1d4ed8 100%);
    --gradient-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(29, 78, 216, 0.03) 100%);
    --gradient-glow: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(29, 78, 216, 0) 70%);

    /* Dimensions & Curves */
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    
    /* Animations & Transitions */
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-in-out;
}

/* Global Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

html {
    scroll-behavior: smooth;
    color: var(--text-primary);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

/* RTL Support for Arabic */
[dir="rtl"] {
    font-family: var(--font-arabic), var(--font-body);
}
[dir="rtl"] * {
    font-family: inherit;
}

body {
    overflow-x: hidden;
    width: 100%;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.65;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

/* Ambient Glow Blobs */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--gradient-glow);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

/* Layout Utilities */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.center {
    text-align: center;
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 2000;
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   HEADER / NAVBAR (Consistent with index.html - Dark Theme)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(7, 7, 9, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: padding 0.3s var(--transition-smooth), background 0.3s var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(7, 7, 9, 0.9);
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s var(--transition-smooth);
}

.navbar.scrolled .navbar-container {
    padding: 8px 24px;
}

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

.nav-logo-img {
    height: 28px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
    transition: opacity 0.3s var(--transition-smooth);
}

.nav-logo-img:hover {
    opacity: 0.85;
}

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

.nav-link {
    font-size: 0.825rem;
    font-weight: 600;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s var(--transition-smooth);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--brand-primary);
    transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-nav-cta {
    border: 1px solid var(--brand-primary) !important;
    padding: 8px 20px !important;
    border-radius: 9999px;
    background: transparent;
    color: var(--brand-primary) !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    transition: all 0.3s var(--transition-smooth) !important;
    text-shadow: none !important;
}

.btn-nav-cta::after {
    display: none;
}

.btn-nav-cta:hover {
    background: var(--brand-primary) !important;
    color: #070709 !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-toggle-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* Language Selector */
.lang-selector-container {
    position: relative;
    display: inline-block;
}

.lang-selector-btn {
    background: rgba(14, 14, 17, 0.75);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: #ffffff;
    padding: 8px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.lang-selector-btn:hover {
    background: rgba(14, 14, 17, 0.9);
    border-color: rgba(37, 99, 235, 0.5);
    color: var(--brand-primary);
}

.lang-selector-btn .chevron-icon {
    width: 10px;
    height: 10px;
    transition: transform 0.3s ease;
}

.lang-selector-btn[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(7, 7, 9, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 4px;
    padding: 6px 0;
    min-width: 90px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s var(--transition-smooth);
    z-index: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    background: none;
    border: none;
    color: #a1a1aa;
    padding: 8px 16px;
    text-align: left;
    font-size: 0.725rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: var(--transition-fast);
}

.lang-option:hover, .lang-option.active {
    color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #070709;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.btn-primary i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--transition-smooth);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-primary);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: var(--brand-primary);
    color: var(--brand-text-accent);
    transform: translateY(-2px);
}

.btn-full {
    display: flex;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   SEÇÃO 1 — HERO
   ========================================================================== */
.hero-section {
    padding: 220px 0 160px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#interactive-hero-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-centered-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    box-shadow: 0 0 10px var(--brand-primary);
}

.badge-text {
    font-size: 0.725rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1.hero-title {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.hero-headline {
    font-size: 3.65rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hero-title-img {
    max-width: 580px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 750px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.825rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.trust-icon {
    width: 18px;
    height: 18px;
    color: var(--green-success);
}

/* Hero Visual Composition */
.hero-visual {
    position: relative;
    z-index: 5;
}

.interactive-hero-visual {
    width: 100%;
    perspective: 1000px;
}

.zoomable-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    transition: transform 0.5s var(--transition-smooth);
    background-color: #ffffff;
    border: 1px solid var(--border-light);
}

.zoomable-image-wrapper:hover {
    transform: translateY(-4px) scale(1.01);
}

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

.zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoomable-image-wrapper:hover .zoom-overlay {
    opacity: 1;
}

.zoom-overlay i {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

/* ==========================================================================
   SEÇÃO 2 — O PROBLEMA
   ========================================================================== */
.problem-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-header {
    max-width: 800px;
    margin-bottom: 60px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-tag {
    font-size: 0.725rem;
    font-weight: 800;
    color: var(--brand-text-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 680px;
}

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

.problem-cards-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.problem-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition-fast);
}

.problem-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.4);
}

.problem-icon-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.problem-icon-wrapper.red {
    background-color: var(--red-bg);
    color: var(--red-alert);
}

.problem-icon-wrapper i {
    width: 20px;
    height: 20px;
}

.problem-text h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
}

.problem-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.problem-visual {
    width: 100%;
}

.problem-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

/* ==========================================================================
   SEÇÃO 3 — NOSSA ESTEIRA
   ========================================================================== */
.esteira-section {
    padding: 100px 0;
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.esteira-flow-container {
    position: relative;
    margin-top: 80px;
}

.esteira-flow-line-svg {
    position: absolute;
    top: 54px;
    left: 10%;
    width: 80%;
    height: 6px;
    z-index: 1;
}

.desktop-only {
    display: block;
}

.esteira-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.esteira-step-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;
}

.esteira-step-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-primary);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.step-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.step-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.esteira-step-card:hover .step-card-img {
    transform: scale(1.05);
}

.step-card-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-grow: 1;
}

.step-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.step-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-primary);
    border-radius: 10px;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--transition-smooth);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.esteira-step-card:hover .step-icon-box {
    transform: scale(1.08) translateY(-2px);
}

.step-icon-box i {
    width: 22px;
    height: 22px;
}

.esteira-step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-outcome {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    margin-top: auto;
    width: 100%;
}

.outcome-label {
    display: block;
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.outcome-val {
    display: block;
    font-size: 0.825rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
}

/* Line animated flow glow style */
.flow-glow-path {
    stroke-dasharray: 100;
    animation: flow-run 6s linear infinite;
}

@keyframes flow-run {
    0% { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 0; }
}

/* ==========================================================================
   SEÇÕES 4, 5 e 6 — PLANOS / PREÇOS
   ========================================================================== */
.pricing-section {
    padding: 100px 0;
    background: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 60px;
    align-items: stretch;
}

/* Faixa de Destaques */
.pricing-highlight-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 50px;
    padding: 24px 32px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
}

.strip-item i {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
}

@media (max-width: 768px) {
    .pricing-highlight-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 24px;
    }
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    transition: transform 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.08);
}

/* Card Destacado (Produto 2) */
.pricing-card.featured {
    border: 2px solid var(--brand-primary);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
}

.card-header {
    margin-bottom: 32px;
}

.card-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    color: var(--text-secondary);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.card-badge.blue {
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-text-accent);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
}

.card-price-desc {
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 8px;
}

.price-symbol {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-val {
    font-size: 2.85rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
}

.price-text {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.card-body {
    flex-grow: 1;
    margin-bottom: 36px;
}

.inclusions-title {
    font-size: 0.725rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.inclusions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inclusions-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.inc-check {
    width: 16px;
    height: 16px;
    color: var(--brand-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.card-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
}

.card-result-box {
    background: var(--bg-alt);
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.card-result-box strong {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.card-result-box p {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* ==========================================================================
   SEÇÃO 7 — COMO FUNCIONA (Timeline Horizontal)
   ========================================================================== */
.how-it-works {
    padding: 100px 0;
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow-x: hidden;
}

.timeline-container {
    margin-top: 80px;
    position: relative;
    padding: 40px 0;
}

.timeline-progress-line {
    position: absolute;
    top: 60px;
    left: 4%;
    width: 92%;
    height: 2px;
    background: var(--border-light);
    z-index: 1;
}

.timeline-steps-wrapper {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.timeline-item {
    text-align: center;
    cursor: pointer;
}

.timeline-node {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--text-muted);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s var(--transition-smooth);
}

.timeline-node i {
    width: 18px;
    height: 18px;
}

.timeline-content h3 {
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
    transition: color 0.3s ease;
}

.timeline-content p {
    font-size: 0.725rem;
    color: var(--text-secondary);
    line-height: 1.4;
    padding: 0 8px;
}

/* Timeline Item hover / active states */
.timeline-item:hover .timeline-node,
.timeline-item.active .timeline-node {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(37, 99, 235, 0.08);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.timeline-item.active .timeline-content h3 {
    color: var(--brand-primary);
}

/* ==========================================================================
   SEÇÃO 8 — BENEFÍCIOS
   ========================================================================== */
.benefits-section {
    padding: 100px 0;
    background: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.benefit-card-simple {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition-fast);
}

.benefit-card-simple:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.06);
    transform: translateY(-2px);
}

.b-icon-wrapper {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--brand-text-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.benefit-card-simple:hover .b-icon-wrapper {
    background-color: var(--brand-primary);
    color: #070709;
}

.b-icon-wrapper i {
    width: 22px;
    height: 22px;
}

.benefit-card-simple h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
}

.benefit-card-simple p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   SEÇÃO 9 — PROVA DE VALOR
   ========================================================================== */
.value-proof-section {
    padding: 100px 0;
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.value-comparison-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    margin-top: 60px;
    align-items: center;
}

.value-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.value-table {
    display: flex;
    flex-direction: column;
}

.value-table-row {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    border-bottom: 1px solid var(--border-light);
}

.value-table-row:last-child {
    border-bottom: none;
}

.value-table-row.header-row {
    background-color: var(--bg-alt);
    border-bottom: 2px solid var(--border-light);
}

.value-cell {
    padding: 16px 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.value-cell.bold {
    font-weight: 700;
    color: var(--text-primary);
}

.value-table-row.header-row .value-cell {
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
}

.value-cell.checked {
    color: var(--brand-primary);
    font-weight: 600;
    gap: 8px;
}

.val-check {
    width: 16px;
    height: 16px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.value-cell.empty {
    color: var(--text-muted);
    justify-content: center;
    font-size: 1rem;
}

.value-cell.badge-cell {
    justify-content: flex-start;
}

.v-badge {
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.v-badge.gray {
    background: #f1f5f9;
    color: var(--text-secondary);
}

.v-badge.blue {
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-text-accent);
}

.v-badge.green {
    background: #ecfdf5;
    color: var(--green-success);
}

.value-graph-illustrator {
    width: 100%;
}

.value-graph-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

/* ==========================================================================
   SEÇÃO 10 — CTA FINAL & FORM
   ========================================================================== */
.cta-section {
    padding: 100px 0;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.cta-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.cta-info {
    text-align: left;
}

.cta-title {
    font-size: 2.35rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.6;
}

.cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item-simple {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-item-simple i {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
}

/* Form Wrapper */
.cta-form-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.725rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text-primary);
    background-color: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

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

.btn-submit {
    margin-top: 10px;
    width: 100%;
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    transform: translateY(105%);
    transition: transform 0.5s var(--transition-smooth);
    z-index: 10;
}

.form-success-overlay.active {
    transform: translateY(0);
}

.success-message-box {
    text-align: center;
    max-width: 320px;
}

.success-icon-box {
    width: 56px;
    height: 56px;
    background: var(--green-bg);
    color: var(--green-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.success-icon-box i {
    width: 28px;
    height: 28px;
}

.success-message-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
}

.success-message-box p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 30px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 26px;
    width: auto;
}

.brand-phrase {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-links h4 {
    font-size: 0.725rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--brand-primary);
}

.social-link i {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 0 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   DYNAMIC LIGHTBOX OVERLAY
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition-smooth);
    z-index: 9999;
    padding: 24px;
}

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

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.4s var(--transition-smooth);
}

.lightbox-overlay.active .lightbox-content-wrapper {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 16px;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    padding: 8px 16px;
    border-radius: 9999px;
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-close i {
    width: 28px;
    height: 28px;
}

/* Toast Container & Toasts */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: #ffffff;
    border-left: 4px solid var(--brand-primary);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left-color: var(--green-success);
}

.toast-error {
    border-left-color: var(--red-alert);
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-success .toast-icon {
    color: var(--green-success);
}

.toast-error .toast-icon {
    color: var(--red-alert);
}

.toast-icon i {
    width: 20px;
    height: 20px;
}

.toast-message {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.45rem;
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-title-img {
        max-width: 380px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .value-comparison-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 1.85rem !important;
    }
    
    .hero-title-img {
        max-width: 280px !important;
        width: 100%;
    }

    .navbar-container {
        padding: 16px 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .navbar-actions {
        gap: 8px;
    }
    
    .lang-selector-btn {
        padding: 6px 10px;
    }
    
    .mobile-toggle-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: auto;
        margin: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #0e0e11;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--transition-smooth);
        z-index: 450;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    }
    
    .nav-menu.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .btn-nav-cta {
        width: 100%;
        text-align: center;
    }
    
    .problem-cards-list {
        grid-template-columns: 1fr;
    }
    
    .esteira-steps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .esteira-flow-line-svg {
        display: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .timeline-progress-line {
        display: none;
    }
    
    .timeline-steps-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-left: 20px;
        border-left: 2px solid var(--border-light);
    }
    
    .timeline-item {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    
    .timeline-node {
        margin: 0;
        flex-shrink: 0;
    }
    
    .timeline-content p {
        padding: 0;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* ==========================================================================
   UPWISE BLUEPRINT HERO & ALTERNATING DARK/LIGHT SECTIONS
   ========================================================================== */

/* Blueprint Hero styles */
.blueprint-neon {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--brand-primary) !important;
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.hero-subtitle-blue {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Dark section defaults */
.section-dark {
    --text-primary: #ffffff !important;
    --text-secondary: #a1a1aa !important;
    --text-muted: #71717a !important;
    --border-light: rgba(255, 255, 255, 0.08) !important;
    background-color: #070709 !important; /* index.html background */
    color: #ffffff !important; /* pure white for maximum readability */
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.section-dark .section-title {
    color: #ffffff !important;
}

.section-dark .section-subtitle {
    color: #ffffff !important; /* pure white subtitle */
}

.section-dark .section-tag {
    background: rgba(37, 99, 235, 0.12) !important;
    color: var(--brand-primary) !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
}

.section-dark .hero-title {
    color: #ffffff !important;
}

.section-dark .esteira-step-card h3 {
    color: #ffffff !important;
}

.section-dark .timeline-content h3 {
    color: #ffffff !important;
}

.section-dark .timeline-item.active .timeline-content h3 {
    color: var(--brand-primary) !important;
}

.section-dark .btn-secondary {
    background: transparent !important;
    border: 1.5px solid var(--brand-primary) !important;
    color: var(--brand-primary) !important;
}

.section-dark .btn-secondary:hover {
    background: var(--brand-primary) !important;
    color: #070709 !important;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3) !important;
}

.section-dark .v-badge.gray {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #a1a1aa !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.section-dark .v-badge.blue {
    background: rgba(37, 99, 235, 0.12) !important;
    color: var(--brand-primary) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.section-dark .v-badge.green {
    background: rgba(16, 185, 129, 0.12) !important;
    color: var(--green-success) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.section-dark .card-badge.blue {
    background: rgba(37, 99, 235, 0.12) !important;
    color: var(--brand-primary) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
}

/* Step cards inside dark sections - PREMIUM GLASSMORPHISM */
.section-dark .esteira-step-card {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.section-dark .esteira-step-card:hover {
    border-color: var(--brand-primary) !important;
    transform: translateY(-5px) !important;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, rgba(15, 23, 42, 0.6) 100%) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 25px 50px rgba(37, 99, 235, 0.15) !important;
}

.section-dark .step-badge {
    background: var(--gradient-primary) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
}

.section-dark .step-icon-box {
    background: rgba(37, 99, 235, 0.12) !important;
    color: var(--brand-light) !important;
    border-color: rgba(37, 99, 235, 0.2) !important;
}

.section-dark .step-desc {
    color: #cbd5e1 !important; /* Soft gray for description (great contrast and hierarchy) */
}

.section-dark .outcome-label {
    color: var(--brand-light) !important; /* Tech blue accent label */
}

.section-dark .outcome-val {
    color: #f1f5f9 !important; /* High contrast off-white for the main outcome text */
}

.section-dark .step-outcome {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.section-dark .esteira-flow-line-svg path:first-child {
    stroke: rgba(255, 255, 255, 0.1) !important;
}

/* Timeline components in dark section - PREMIUM GLASSMORPHISM */
.section-dark .timeline-node {
    background: #0e0e11 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.section-dark .timeline-node.active {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #070709 !important;
}

.section-dark .timeline-node-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.section-dark .timeline-node-card:hover {
    border-color: rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-3px) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 25px 50px rgba(37, 99, 235, 0.12) !important;
}

.section-dark .timeline-node-card .node-time {
    color: var(--brand-primary) !important;
}

.section-dark .timeline-node-card .node-desc {
    color: #ffffff !important;
}

/* Prova de valor table inside dark section - PREMIUM GLASSMORPHISM */
.section-dark .value-table-wrapper {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03), 0 25px 50px rgba(0, 0, 0, 0.4) !important;
}

.section-dark .value-table-row.header-row {
    background-color: #101014 !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08) !important;
}

.section-dark .value-header-cell {
    color: #ffffff !important;
}

.section-dark .value-table-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.section-dark .value-table-row:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

.section-dark .value-cell {
    color: #ffffff !important;
}

.section-dark .value-row-desc {
    color: #ffffff !important;
}

.section-dark .value-cell.check-cell {
    color: var(--brand-primary) !important;
}

/* Dark default Footer style */
.site-footer {
    background-color: #070709 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #cbd5e1 !important; /* Soft gray for general text */
    padding: 60px 0 30px 0;
}

.site-footer h4 {
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
}

.site-footer .brand-phrase {
    color: #94a3b8 !important; /* Muted gray-blue with high readability */
}

.site-footer .social-link {
    color: #cbd5e1 !important; /* Readable light gray */
}

.site-footer .social-link:hover {
    color: var(--brand-light) !important; /* Bright blue highlight on hover */
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.site-footer .footer-bottom p {
    color: #71717a !important; /* Readable muted gray */
}

.site-footer .footer-logo-img {
    mix-blend-mode: screen !important;
}

/* ==========================================================================
   CHATBOT WIDGET
   ========================================================================== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

/* Floating Bubble */
.chat-widget-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
    position: relative;
}

.chat-widget-bubble:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.chat-widget-bubble.pulse {
    animation: chat-pulse 2s infinite ease-in-out;
}

@keyframes chat-pulse {
    0% { transform: scale(1); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35); }
    50% { transform: scale(1.05); box-shadow: 0 6px 30px rgba(37, 99, 235, 0.55); }
    100% { transform: scale(1); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35); }
}

.bubble-icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.bubble-icon-wrapper i {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background-color: var(--red-alert);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Chat Container */
.chat-widget-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 540px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth), visibility 0.3s var(--transition-smooth);
}

.chat-widget-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.chat-header {
    background: var(--gradient-primary);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-avatar i {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

.avatar-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: var(--green-success);
    border: 2px solid #2563eb; /* Matches gradient */
    border-radius: 50%;
}

.chat-header-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.chat-status {
    font-size: 0.725rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.chat-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.chat-close-btn:hover {
    opacity: 1;
}

.chat-close-btn i {
    width: 20px;
    height: 20px;
}

/* Messages Area */
.chat-messages-area {
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #f8fafc;
}

.chat-msg {
    max-width: 82%;
    padding: 12px 16px;
    font-size: 0.85rem;
    line-height: 1.5;
    animation: chat-msg-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes chat-msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
    background: #ffffff;
    color: var(--text-primary);
    border-radius: 14px 14px 14px 2px;
    align-self: flex-start;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.chat-msg.user {
    background: var(--brand-primary);
    color: #ffffff;
    border-radius: 14px 14px 2px 14px;
    align-self: flex-end;
    margin-left: auto;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Typing Indicator */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
}

.chat-typing span {
    width: 6px;
    height: 6px;
    background-color: #94a3b8;
    border-radius: 50%;
    display: inline-block;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}

.chat-typing span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing span:nth-child(2) { animation-delay: -0.16s; }
.chat-typing span:nth-child(3) { animation-delay: 0s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Quick Replies */
.chat-quick-replies {
    padding: 0 20px 16px 20px;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-reply-btn {
    background: #ffffff;
    border: 1.5px solid var(--brand-primary);
    color: var(--brand-primary);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.05);
}

.quick-reply-btn:hover {
    background: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

/* Input Area */
.chat-input-area {
    border-top: 1px solid var(--border-light);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
}

.chat-input-area input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: transparent;
    padding: 6px 0;
}

.chat-input-area input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.chat-send-btn {
    background: transparent;
    border: none;
    color: var(--brand-primary);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s var(--transition-smooth), opacity 0.2s ease;
}

.chat-send-btn:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.chat-send-btn:not(:disabled):hover {
    transform: scale(1.1);
    color: var(--brand-dark);
}

.chat-send-btn i {
    width: 18px;
    height: 18px;
}

/* Success Chat State styles */
.chat-whatsapp-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.chat-whatsapp-link-btn:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.chat-whatsapp-link-btn i {
    width: 18px;
    height: 18px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 20px;
        left: 20px;
        right: auto;
    }

    .chat-widget-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
        bottom: 0;
        right: 0;
        z-index: 2000;
        transform: translateY(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
    }

    .chat-widget-container.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
}
