:root {
    /* Color Palette - Figma inspired */
    --bg-main: #000000;
    --bg-secondary: #020408;
    --bg-tertiary: #040810;
    --bg-surface: #03060c;
    --bg-card: #040810;
    --bg-elevated: #060a12;

    --brand-primary: #0083BB;
    --brand-light: #2EA8D3;
    --brand-lighter: #99D5EF;
    --brand-dark: #00567a;
    --brand-glow: rgba(0, 131, 187, 0.3);

    --text-primary: #F0F4F8;
    --text-secondary: #8A9BB0;
    --text-tertiary: #64748B;
    --text-muted: #475569;

    --border-color: rgba(30, 58, 92, 0.35);
    --border-hover: rgba(255, 255, 255, 0.12);

    --glass-bg: rgba(11, 17, 32, 0.8);
    --glass-border: rgba(30, 58, 92, 0.5);

    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;

    /* Typography - ALL Inter, Mono only for code/data */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

/* Backgrounds */
.bg-glow {
    position: absolute;
    top: -10vh;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(0, 131, 187, 0.12) 0%, rgba(9, 13, 22, 0) 70%);
    z-index: -2;
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(0, 131, 187, 0.04) 1px, transparent 1px),
        linear-gradient(to right, rgba(0, 131, 187, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -3;
    pointer-events: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Subsection heading size used in split layouts */
.section-title-md {
    font-size: 32px !important;
}

/* Composed image for PnL/position overlay effect */
.showcase-img-composed {
    position: relative;
}

.showcase-img-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
    gap: 8px;
}

.btn-large {
    padding: 14px 32px;
    font-size: 15px;
    border-radius: 100px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-light));
    color: #040810;
    box-shadow: 0 0 20px rgba(0, 131, 187, 0.3);
    position: relative;
    z-index: 0;
    overflow: hidden;
    font-weight: 500;
}

/* Inner fill to cover the rotating gradient except at the border */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: 
        linear-gradient(60deg, transparent 20%, rgba(255, 255, 255, 0.25) 35%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.25) 65%, transparent 80%),
        linear-gradient(135deg, var(--brand-primary), var(--brand-light));
    background-size: 200% 100%, 100% 100%;
    animation: shine-btn-fill 3.5s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes shine-btn-fill {
    0% { background-position: 200% 0, 0 0; }
    100% { background-position: -100% 0, 0 0; }
}

.btn-primary:hover {
    box-shadow: 0 0 35px rgba(0, 131, 187, 0.5);
    transform: translateY(-1px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    background: rgba(0, 131, 187, 0.08);
    color: var(--text-primary);
}

/* ============================================
   NAVBAR - sem pill arredondado
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-medium);
    padding: 0 24px;
    background: rgba(9, 13, 22, 0.6);
    backdrop-filter: blur(12px);
}

.navbar.scrolled {
    background: rgba(9, 13, 22, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--brand-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link-login {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color var(--transition-fast);
}

.nav-link-login:hover {
    color: var(--text-primary);
}

/* ============================================
   HERO - Centered (Aegis-style)
   ============================================ */
.hero {
    padding: 140px 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Stars particle background */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 15% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 12%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 35%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 45%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 60%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 8%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 5% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 70%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 55%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 30% 90%, rgba(255,255,255,0.3) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    margin-bottom: 60px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 131, 187, 0.1);
    border: 1px solid rgba(0, 131, 187, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-lighter);
    margin-bottom: 36px;
    backdrop-filter: blur(8px);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    background: rgba(0, 131, 187, 0.07);
    border: 1px solid rgba(0, 131, 187, 0.35);
    border-radius: 100px;
    color: var(--brand-lighter);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* Glowing top stroke line — same as .interactive-item.active::before */
.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 200, 255, 0.9) 30%,
        rgba(220, 245, 255, 1) 50%,
        rgba(100, 200, 255, 0.9) 70%,
        transparent
    );
    border-radius: 1px;
}

/* Subtle top light bleed — same as .interactive-item.active::after */
.section-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(0, 131, 187, 0.16) 0%,
        transparent 70%);
    pointer-events: none;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.hero-title {
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    color: #ffffff;
}

.hero-title span {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-light) 60%, var(--brand-lighter) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-trust {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

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

.trust-item svg {
    color: var(--brand-primary);
}

/* Light beam from bottom */
.hero-beam {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}

.hero-beam-light {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 500px;
    background: radial-gradient(ellipse 50% 70% at 50% 100%,
        rgba(0, 131, 187, 0.55) 0%,
        rgba(0, 131, 187, 0.2) 35%,
        rgba(0, 131, 187, 0.05) 65%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
    filter: blur(2px);
}

.hero-beam-core {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 400px;
    background: radial-gradient(ellipse 40% 80% at 50% 100%,
        rgba(150, 220, 255, 0.7) 0%,
        rgba(0, 131, 187, 0.3) 40%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
    filter: blur(1px);
}

/* ============================================
   HERO BEAM - Spotlight from top of beam
   ============================================ */

/* Wide atmospheric base glow at TOP of hero-beam (above screenshot) */
.hero-beam-base {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: 400px;
    background: radial-gradient(ellipse 55% 70% at 50% 0%,
        rgba(0, 131, 187, 0.3) 0%,
        rgba(0, 80, 150, 0.12) 50%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
    filter: blur(24px);
}

/* Wide medium cone */
.hero-beam-light {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 500px;
    background: radial-gradient(ellipse 45% 65% at 50% 0%,
        rgba(0, 160, 220, 0.55) 0%,
        rgba(0, 100, 180, 0.2) 40%,
        rgba(0, 60, 130, 0.06) 70%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
    filter: blur(4px);
}

/* Bright central cone — conic-gradient spotbeam */
.hero-beam-core {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 480px;
    background: conic-gradient(
        from 268deg at 50% 0%,
        transparent 0deg,
        rgba(200, 240, 255, 0.85) 6deg,
        rgba(160, 220, 255, 0.65) 10deg,
        rgba(100, 200, 255, 0.35) 16deg,
        transparent 32deg
    );
    pointer-events: none;
    z-index: 1;
    filter: blur(1px);
    mix-blend-mode: screen;
}

/* Aurora glow layers — originate from TOP of hero-beam */
@keyframes aurora-pulse {
    0%   { opacity: 0.65; transform: translateX(-50%) scaleX(1); }
    50%  { opacity: 1;   transform: translateX(-50%) scaleX(1.12); }
    100% { opacity: 0.65; transform: translateX(-50%) scaleX(1); }
}

@keyframes aurora-drift {
    0%   { opacity: 0.45; transform: translateX(-52%) scaleX(0.93); }
    50%  { opacity: 0.8;  transform: translateX(-48%) scaleX(1.07); }
    100% { opacity: 0.45; transform: translateX(-52%) scaleX(0.93); }
}

.hero-aurora {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 380px;
    pointer-events: none;
    z-index: 0;
}

.hero-aurora-layer {
    position: absolute;
    top: 0;
    left: 50%;
    border-radius: 50%;
}

/* Wide cyan aurora — spreads from top */
.hero-aurora-layer:nth-child(1) {
    width: 1000px;
    height: 320px;
    background: radial-gradient(ellipse at 50% 0%,
        rgba(0, 150, 210, 0.42) 0%,
        rgba(0, 100, 170, 0.18) 45%,
        transparent 80%);
    filter: blur(40px);
    animation: aurora-pulse 7s ease-in-out infinite alternate;
}

/* Teal accent — slightly offset */
.hero-aurora-layer:nth-child(2) {
    width: 650px;
    height: 260px;
    background: radial-gradient(ellipse at 50% 0%,
        rgba(60, 190, 230, 0.52) 0%,
        rgba(0, 131, 187, 0.18) 50%,
        transparent 80%);
    filter: blur(22px);
    animation: aurora-drift 10s ease-in-out infinite alternate;
    top: 0;
}

/* Hot white center — tight beam */
.hero-aurora-layer:nth-child(3) {
    width: 320px;
    height: 180px;
    background: radial-gradient(ellipse at 50% 0%,
        rgba(200, 240, 255, 0.72) 0%,
        rgba(100, 200, 255, 0.38) 40%,
        transparent 80%);
    filter: blur(10px);
    animation: aurora-pulse 5s ease-in-out infinite alternate-reverse;
    top: 0;
}

.hero-screenshot {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    padding: 0 40px;
}

.app-mockup {
    position: relative;
    background: rgba(4, 8, 16, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(150, 200, 255, 0.15);
    border-bottom: none;
    box-shadow:
        0 -20px 80px rgba(0, 131, 187, 0.12),
        0 40px 120px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.app-mockup-header {
    height: 40px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
}

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

.mac-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mac-dots span:nth-child(1) { background: #FF5F57; }
.mac-dots span:nth-child(2) { background: #FEBC2E; }
.mac-dots span:nth-child(3) { background: #28C840; }

.mac-title {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}

.app-mockup-body {
    padding: 0;
    line-height: 0;
    height: 520px;
    overflow: hidden;
    background: transparent;
}

.app-mockup-body img {
    width: 100%;
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

.app-mockup-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}

/* ============================================
   PILARES — Feature Strip (full-width band)
   ============================================ */
.pilares-section {
    position: relative;
    background: transparent;
    padding: 0;
}

/* Centered eyebrow label above the strip */
.pilares-strip-label {
    text-align: center;
    padding: 28px 0 20px;
}

.pilares-strip-label span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* The strip itself — full viewport width via negative margin trick */
.pilares-strip {
    display: flex;
    align-items: stretch;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(
        180deg,
        rgba(4, 8, 16, 0.6) 0%,
        rgba(3, 6, 12, 0.4) 100%
    );
    /* subtle inner glow from top */
    box-shadow: inset 0 1px 0 rgba(0, 131, 187, 0.12);
    position: relative;
    overflow: hidden;
}

/* Wide ambient glow behind the middle item */
.pilares-strip::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 131, 187, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

/* Each pilar item */
.pilar-strip-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 32px 24px;
    transition: background 0.3s ease;
    position: relative;
}

.pilar-strip-item:hover {
    background: rgba(0, 131, 187, 0.04);
}


/* Icon */
.pilar-strip-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 131, 187, 0.1);
    border: 1px solid rgba(0, 131, 187, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-light);
    flex-shrink: 0;
    box-shadow:
        0 0 0 3px rgba(0, 131, 187, 0.06),
        0 0 16px rgba(0, 131, 187, 0.15);
    transition: box-shadow 0.3s ease;
}

.pilar-strip-item:hover .pilar-strip-icon {
    box-shadow:
        0 0 0 4px rgba(0, 131, 187, 0.1),
        0 0 24px rgba(0, 131, 187, 0.3);
}

/* Text */
.pilar-strip-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 5px;
    line-height: 1.3;
}

.pilar-strip-text p {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Vertical divider between items */
.pilar-strip-divider {
    width: 1px;
    background: var(--border-color);
    flex-shrink: 0;
    align-self: stretch;
    margin: 0;
}



/* ============================================
   STATS - Glassmorphism floating cards
   ============================================ */
.stats-section {
    padding: 64px 0;
    background: transparent;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    min-width: 0;
    z-index: 1;
}

/* Ambient Glow from Bottom (Normal State) */
.stat-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 70%;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 131, 187, 0.2) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(25px);
    transition: all 0.5s ease;
    opacity: 0.6;
}

/* Glowing top stroke line — hidden by default, shown on hover */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 200, 255, 0.9) 30%,
        rgba(220, 245, 255, 1) 50%,
        rgba(100, 200, 255, 0.9) 70%,
        transparent
    );
    border-radius: 1px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    background: rgba(0, 131, 187, 0.07);
    border-color: rgba(0, 131, 187, 0.35);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 131, 187, 0.1);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover::after {
    opacity: 1;
    bottom: -10%;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 131, 187, 0.4) 0%, transparent 70%);
}

.stat-card-value {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    line-height: 1.1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFFFFF 30%, var(--brand-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
    padding-right: 0.2em; /* prevents % clipping */
    max-width: 100%;
}

.stat-card-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-card-sub {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Counter animation */
.stat-card-value[data-target] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-card-value.counting {
    opacity: 1;
    transform: translateY(0);
}


.trusted-by {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-by-inner {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            #000 12%,
            #000 88%,
            transparent);
    mask-image: linear-gradient(to right,
            transparent,
            #000 12%,
            #000 88%,
            transparent);
}

.carousel-wrapper {
    position: relative;
    overflow: visible;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: carousel-scroll 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-logos {
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 0 28px;
    flex-shrink: 0;
}

.carousel-logos img {
    height: 32px;
    width: auto;
    opacity: 0.4;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.carousel-logos img:hover {
    opacity: 0.85;
    transform: scale(1.08);
}

@keyframes carousel-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .carousel-logos { gap: 40px; }
}

/* ============================================
   SECTIONS - Global
   ============================================ */
section {
    padding: 112px 0;
    position: relative;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 32px;
}


/* ============================================
   BENTO GRID - Reference-style cards
   ============================================ */
.bento-section {
    padding: 100px 0;
    background: transparent;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 56px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 400px;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Glowing top stroke line — hidden by default, shown on hover */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 200, 255, 0.9) 30%,
        rgba(220, 245, 255, 1) 50%,
        rgba(100, 200, 255, 0.9) 70%,
        transparent
    );
    border-radius: 1px;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    border-color: rgba(0, 131, 187, 0.5);
    background: rgba(4, 8, 16, 0.8);
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 131, 187, 0.1);
}

/* Both large and square are now equal-width 1 col; large spans 1 col */
.bento-large { grid-column: span 1; }
.bento-square { grid-column: span 1; }

/* Visual area — contained, not stretched full width */
.bento-visual {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Ambient Blue Glow at the BOTTOM of the card */
.bento-card::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 60%;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 131, 187, 0.35) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(30px);
    transition: all 0.6s ease;
    opacity: 0.8;
}

.bento-card:hover::after {
    opacity: 1;
    bottom: -10%;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 131, 187, 0.5) 0%, transparent 70%);
}

.bento-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 1; /* Removida opacidade para máxima nitidez */
    image-rendering: -webkit-optimize-contrast; /* Força nitidez em navegadores baseados em Chromium */
    image-rendering: crisp-edges;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.bento-no-fade img {
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.bento-card:hover .bento-visual img {
    opacity: 1;
}

/* Content — sits at the bottom, no divider line */
.bento-content {
    padding: 24px 28px 32px;
    position: relative;
    z-index: 2;
}

.bento-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.bento-content p {
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

/* ============================================
   SPLIT LAYOUT - Reutilizável
   ============================================ */
.split-container.align-center {
    align-items: center;
}
.glow-effect {
    position: relative;
}
.glow-effect::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.6;
}

/* ============================================
   INTERACTIVE FEATURES - Card-style active state
   ============================================ */
.interactive-features {
    padding: 120px 0;
    background: transparent;
}

.interactive-header {
    text-align: center;
    margin-bottom: 64px;
}

.interactive-header .section-badge { margin-bottom: 16px; }
.interactive-header .section-title { margin-bottom: 16px; }
.interactive-header .section-desc {
    margin: 0 auto;
    max-width: 480px;
    text-align: center;
}

.interactive-container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.interactive-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.interactive-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ---- Inactive item: plain text row ---- */
.interactive-item {
    padding: 12px 20px;
    cursor: pointer;
    position: relative;
    border-radius: 24px;
    transition: background 0.2s ease;
    border: 1px solid transparent;
}

.interactive-item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-tertiary);
    transition: color 0.25s ease;
    -webkit-user-select: none;
    user-select: none;
    line-height: 1.35;
}

.interactive-item:hover:not(.active) {
    background: rgba(255,255,255,0.02);
}

/* ---- Active item: full card with glow ---- */
.interactive-item.active {
    background: rgba(0, 131, 187, 0.07);
    border-color: rgba(0, 131, 187, 0.35);
    overflow: hidden;
}

/* Glowing top border line */
.interactive-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 200, 255, 0.9) 30%,
        rgba(220, 245, 255, 1) 50%,
        rgba(100, 200, 255, 0.9) 70%,
        transparent
    );
    border-radius: 1px;
}

/* Subtle top area glow */
.interactive-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55px;
    background: linear-gradient(180deg,
        rgba(0, 131, 187, 0.14) 0%,
        transparent 100%);
    pointer-events: none;
}

.interactive-item.active .interactive-item-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

/* Expand content area */
.interactive-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.interactive-item.active .interactive-expand {
    max-height: 200px;
    opacity: 1;
}

.interactive-expand-inner p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.65;
}

/* Hide the 'Saiba mais' button inside accordion cards */
.interactive-expand-inner .btn {
    display: none;
}

/* Remove old h4 and content */
.interactive-item h4 { display: none; }
.interactive-item h4::after { display: none; }
.interactive-content { display: none; }

/* RIGHT: sticky visual panel */
.interactive-visual {
    background: transparent; /* Removido para visual mais limpo */
    border-radius: 0;
    border: none;
    overflow: hidden;
    box-shadow: none; /* Removido conforme solicitado */
    min-height: 400px; /* Reduzido para diminuir espaço vazio embaixo da imagem */
    position: sticky;
    top: 100px;
}

.interactive-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interactive-image.active {
    opacity: 1;
    visibility: visible;
}

.interactive-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* Removi o padding extra para permitir que a imagem defina o espaço */
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
}


/* ============================================
   EVOLUTION VERTICAL - A Evolução
   ============================================ */
.evolution-section {
    padding: 120px 0;
    background: transparent;
}
.evolution-visual {
    position: relative;
    margin: 0 auto;
    max-width: 900px;
}

.drop-shadow-top {
    position: relative;
}
.drop-shadow-top::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 10%;
    right: 10%;
    height: 100px;
    border-radius: 50%;
    background: var(--brand-primary);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

/* Counter animation */
.stat-card-value[data-target] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-card-value.counting {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TAPE READING - Claude interactivity + Figma checks
   ============================================ */
.tape-section {
    padding: 60px 0;
    background: transparent;
    border: none;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-text .section-desc {
    margin-bottom: 32px;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.checklist li::before {
    content: '';
    width: 16px;
    height: 16px;
    background: rgba(0, 131, 187, 0.1);
    border: 1px solid rgba(0, 131, 187, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%232EA8D3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.split-visual {
    position: relative;
}

.tape-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.tape-header {
    background: var(--bg-surface);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.tape-header-title {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.tape-live-badge {
    font-size: 9px;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 4px;
    padding: 2px 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tape-body {
    padding: 16px;
}

.big-tape {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.big-tape-row {
    display: grid;
    grid-template-columns: 50px 1fr 70px 60px;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    transition: background 0.15s;
}

.big-tape-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.big-tape-row.buy {
    border-left: 2px solid var(--success);
    background: rgba(16, 185, 129, 0.05);
}

.big-tape-row.sell {
    border-left: 2px solid var(--danger);
    background: rgba(239, 68, 68, 0.05);
}

.big-tape-row.big {
    border-left: 2px solid var(--brand-primary);
    background: rgba(0, 131, 187, 0.08);
}

.tape-time {
    color: var(--text-muted);
    font-size: 10px;
}

.tape-price {
    color: var(--text-primary);
    font-weight: 500;
}

.tape-qty {
    text-align: right;
}

.tape-qty.up {
    color: var(--success);
}

.tape-qty.dn {
    color: var(--danger);
}

.tape-qty.big {
    color: var(--brand-lighter);
    font-weight: 600;
}

.tape-agg {
    text-align: right;
    color: var(--text-muted);
    font-size: 10px;
}

.tape-bar-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.tape-bar-label {
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tape-balance {
    display: flex;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    gap: 2px;
    margin-bottom: 6px;
}

.tape-balance-buy {
    background: var(--success);
    border-radius: 3px 0 0 3px;
}

.tape-balance-sell {
    background: var(--danger);
    border-radius: 0 3px 3px 0;
}

.tape-balance-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
}

.tape-balance-labels span:first-child {
    color: var(--success);
}

.tape-balance-labels span:last-child {
    color: var(--danger);
}

/* ============================================
   DOM WIDGET ANIMATED
   ============================================ */
.dom-widget {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: linear-gradient(180deg, #151820 0%, #0c0e12 100%);
}

.dom-widget img {
    width: 100%;
    display: block;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.dom-top-ui {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: 'Inter', sans-serif;
}
.dom-titlebar {
    background: #2a2d35;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 4px 0 8px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dom-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    height: 22px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #c2c2c2;
    background: transparent;
}
.dom-tab.active {
    background: linear-gradient(to bottom, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    font-weight: 600;
}
.tab-flag {
    width: 14px;
    height: 10px;
    border-radius: 1px;
    background: green;
}
.dom-summary {
    background: rgba(0,0,0,0.2);
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dom-summary-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}
.dom-summary-lbl {
    font-size: 10px;
    color: #888;
}
.dom-summary-val {
    font-size: 11.5px;
    color: #eee;
    font-weight: 600;
}
.val-up { color: #00e000; }
.val-dn { color: #f04040; }
.dom-theader {
    display: flex;
    height: 20px;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dom-th {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: #a5a5a5;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.dom-th:last-child {
    border-right: none;
}
.dom-th-icon {
    font-size: 14px;
    color: #a5a5a5;
    line-height: 1;
}

.dom-bottom-ui {
    display: flex;
    padding: 10px 12px;
    background: rgba(20,24,30,0.95);
    border-top: 1px solid rgba(255,255,255,0.06);
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.dom-bottom-btn {
    flex: 1;
    max-width: 150px;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #040810;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dom-bottom-btn.buy {
    background: linear-gradient(160deg, #1c70c8 0%, #3991f3 60%, #5ba8ff 100%);
    box-shadow: 0 4px 15px rgba(57,145,243,0.3);
}
.dom-bottom-btn.sell {
    background: linear-gradient(160deg, #ca3232 0%, #fa4e3e 60%, #ff6b5b 100%);
    box-shadow: 0 4px 15px rgba(237,95,89,0.3);
}
.dom-bottom-btn:hover {
    transform: translateY(-1px) scale(1.02);
}

.dom-animation-container {
    background: radial-gradient(ellipse at center 40%, rgba(0, 131, 187, 0.12) 0%, transparent 65%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 11px;
}

.dom-row {
    display: flex;
    justify-content: space-between;
    height: 22px;
    align-items: stretch;
    transition: background 0.15s ease;
    cursor: default;
}

.dom-row:hover {
    background: rgba(255, 255, 255, 0.08); /* Efeito hover igual da plataforma */
}

.dom-buy, .dom-sell {
    width: 40%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 8px;
}

.dom-buy {
    justify-content: flex-end;
}

.dom-sell {
    justify-content: flex-start;
}

.dom-price {
    width: 20%;
    text-align: center;
    background: #7a1f22; /* Default price background */
    color: white;
    font-weight: 600;
    font-size: 11.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(0,0,0,0.4);
    border-right: 1px solid rgba(0,0,0,0.4);
}

.dom-price.highlight {
    background: #b56c00;
}

.dom-price.highlight2 {
    background: #505c6a; /* Grey background */
}

/* Buy side */
.dom-buy-bar {
    position: absolute;
    right: 0;
    top: 1px;
    bottom: 1px;
    background: #1a4980;
    z-index: 1;
    transform-origin: right center;
    will-change: transform, filter;
}

.dom-buy-bar.grey {
    background: #505c6a;
}

.dom-buy-text {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

/* Sell side */
.dom-sell-bar {
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 1px;
    background: #8a1f1f;
    z-index: 1;
    transform-origin: left center;
    will-change: transform, filter;
}
.dom-sell-bar.grey {
    background: #505c6a;
}

.dom-sell-text {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    width: 65px;
    flex-shrink: 0;
}

/* Extra numbers in sell side */
.dom-sell-extra {
    position: relative;
    margin-left: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    z-index: 2;
}

/* Real-time Animations */
@keyframes dom-pulse-bar1 {
    0%, 10% { transform: scaleX(1); }
    15%, 25% { transform: scaleX(1.15); filter: brightness(1.1); }
    30%, 45% { transform: scaleX(0.85); filter: brightness(1); }
    50%, 65% { transform: scaleX(1.05); }
    70%, 85% { transform: scaleX(0.95); }
    90%, 100% { transform: scaleX(1); }
}

@keyframes dom-pulse-bar2 {
    0%, 15% { transform: scaleX(1); }
    20%, 35% { transform: scaleX(0.8); }
    40%, 55% { transform: scaleX(1.2); filter: brightness(1.2); }
    60%, 75% { transform: scaleX(0.9); }
    80%, 100% { transform: scaleX(1); }
}

.dom-row.animate-1 .dom-buy-bar,
.dom-row.animate-1 .dom-sell-bar {
    animation: dom-pulse-bar1 3.2s infinite ease-in-out;
}

.dom-row.animate-2 .dom-buy-bar,
.dom-row.animate-2 .dom-sell-bar {
    animation: dom-pulse-bar2 4s infinite ease-in-out;
    animation-delay: 0.5s;
}

/* ============================================
   MINI TERMINAL WIDGET (Chart + Boleta)
   ============================================ */
.mini-terminal {
    background: #20252b; /* Tryd dark */
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.5);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    width: 100%;
    height: 380px;
    font-family: var(--font-menu), 'Inter', sans-serif;
    display: flex;
}

/* Left part: Chart */
.mini-terminal-chart {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #393e43; /* Chart background from image */
}

/* Chart horizontal gridlines */
.chart-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(#4a4e54 1px, transparent 1px);
    background-size: 100% 30px;
}

/* Simulated Right Price Axis */
.price-axis {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: #2b2f34;
    border-left: 1px solid #111;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: 9px;
    color: #aaa;
    align-items: center;
    padding: 10px 0;
    z-index: 5;
}

.active-price {
    background: white;
    color: black;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 2px;
    position: absolute;
    top: 48%;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 5px rgba(255,255,255,0.4);
}

/* Track moves horizontally */
.candle-track {
    display: flex;
    align-items: flex-end;
    gap: 8px; /* space between candles */
    height: 100%;
    padding: 0 50px 20px 20px;
    width: 200%;
    position: absolute;
    left: 0;
    bottom: 0;
    animation: chart-scroll 15s linear infinite;
}

@keyframes chart-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-250px); }
}

.mini-candle {
    width: 10px;
    position: relative;
}

.mini-candle .mini-candle-body {
    background: #009cf9;
    border-radius: 1px;
    width: 100%;
    position: absolute;
    bottom: 0;
    box-shadow: 0 0 5px rgba(0, 156, 249, 0.4);
}

/* Candlestick colors */
.mini-candle.up .mini-candle-body { background: #019dfd; box-shadow: 0 0 5px rgba(1, 157, 253, 0.4); }
.mini-candle.dn .mini-candle-body { background: #fd3c3c; box-shadow: 0 0 5px rgba(253, 60, 60, 0.4); }

.mini-candle::before {
    content: '';
    position: absolute;
    top: -20px;
    bottom: -15px;
    left: 4px;
    width: 2px;
    background: inherit;
    z-index: -1;
}
.mini-candle.up::before { background: #019dfd; }
.mini-candle.dn::before { background: #fd3c3c; }

/* Animated Chart Orders (Purchases/Sales visually landing) */
.chart-floating-order {
    position: absolute;
    left: 40px;
    right: -200px;
    height: 1px;
    border-top: 1px dashed #019dfd;
    z-index: 10;
    opacity: 0;
}

.chart-floating-order.buy {
    top: 60%;
    border-color: #019dfd;
    animation: pop-order 6s infinite;
}
.chart-floating-order.sell {
    top: 35%;
    border-color: #fd3c3c;
    animation: pop-order 6s infinite reverse;
    animation-delay: 3s;
}

.chart-floating-order span {
    position: absolute;
    left: 5px;
    top: -8px;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}
.chart-floating-order.buy span { background: #019dfd; }
.chart-floating-order.sell span { background: #fd3c3c; }

@keyframes pop-order {
    0%, 20% { opacity: 0; transform: translateY(10px) translateX(-20px); }
    30% { opacity: 1; transform: translateY(0) translateX(0); }
    80% { opacity: 1; filter: brightness(1.2); }
    90%, 100% { opacity: 0; transform: translateY(-10px); }
}

/* Sidebar Boleta */
.mini-boleta {
    width: 170px;
    background: #20252b;
    border-left: 1px solid #14171a;
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    gap: 12px;
    z-index: 10;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
}

.boleta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #949ca4;
}

.boleta-qtd-input {
    background: #2d333b;
    border: 1px solid #14171a;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    width: 70px;
    text-align: right;
    font-family: var(--font-mono);
}

.boleta-grid {
    display: flex;
    gap: 6px;
}

.boleta-btn {
    flex: 1;
    background: #4a5460;
    color: #c9d1d9;
    border: none;
    border-radius: 4px;
    padding: 6px 0;
    font-size: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.boleta-btn:hover {
    background: #6e7987;
    color: white;
}

.btn-compra {
    background: #3991f3;
    color: white;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 700;
}
.btn-compra:hover {
    background: #5aa6fa;
    box-shadow: 0 0 15px rgba(57, 145, 243, 0.4);
    transform: translateY(-1px);
}

.btn-venda {
    background: #ed5f59;
    color: white;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 700;
}
.btn-venda:hover {
    background: #fc746d;
    box-shadow: 0 0 15px rgba(237, 95, 89, 0.4);
    transform: translateY(-1px);
}

.btn-stop {
    background: transparent;
    border: 1px solid #4a5460;
    color: #949ca4;
    width: 100%;
    margin-top: auto; /* Push to bottom naturally */
    padding: 8px 0;
}
.btn-stop:hover {
    background: #2d333b;
    color: white;
    border-color: #6e7987;
}

/* ============================================
   PLATFORM SHOWCASE
   ============================================ */
.showcase-section {
    overflow: hidden;
    padding: 60px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-visual {
    position: relative;
}

.showcase-img {
    border-radius: 32px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.showcase-img img {
    width: 100%;
    display: block;
}

/* ============================================
   INFRASTRUCTURE - Figma style cards
   ============================================ */
.infrastructure-section {
    background: var(--bg-secondary);
    padding: 112px 0;
}

.infrastructure-header {
    text-align: center;
    margin-bottom: 64px;
}

.infrastructure-header .section-badge {
    justify-content: center;
}

.infrastructure-header .section-desc {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.infra-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 32px;
    transition: all 0.3s;
}

.infra-card:hover {
    border-color: rgba(0, 131, 187, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.infra-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.infra-icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.infra-icon-blue {
    background: rgba(0, 131, 187, 0.1);
    color: var(--brand-primary);
}

.infra-icon-cyan {
    background: rgba(46, 168, 211, 0.1);
    color: var(--brand-light);
}

.infra-icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #A78BFA;
}

.infra-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.infra-card p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS - Masonry marquee layout
   ============================================ */
.testimonials-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

/* Two-column layout: headline left + marquee right */
.testimonials-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.testimonials-headline {
    position: sticky;
    top: 120px;
    padding: 0;
}

.testimonials-headline .section-badge {
    margin-bottom: 20px;
}

.testimonials-headline .section-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.testimonials-headline .section-desc {
    margin-bottom: 36px;
    max-width: 360px;
}

/* Marquee container: 3 columns with overflow hidden and top/bottom fade */
.testimonials-marquee {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    height: 560px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom,
        transparent 0%,
        #000 16%,
        #000 84%,
        transparent 100%);
    mask-image: linear-gradient(to bottom,
        transparent 0%,
        #000 16%,
        #000 84%,
        transparent 100%);
}

.testimonials-marquee:hover .testimonials-col-track {
    animation-play-state: paused;
}

.testimonials-marquee:active .testimonials-col-track {
    animation-play-state: paused;
}

.testimonials-col {
    display: flex;
    flex-direction: column;
}

/* Scrolling tracks - duplicate cards for seamless loop */
.testimonials-col-track {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: scroll-up 22s linear infinite;
}

.testimonials-col:nth-child(2) .testimonials-col-track {
    animation-duration: 28s;
    animation-direction: reverse;
}

.testimonials-col:nth-child(3) .testimonials-col-track {
    animation-duration: 18s;
}

@keyframes scroll-up {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Individual testimonial card in marquee */
.t-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 20px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Glowing top stroke line — hidden by default, shown on hover */
.t-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 200, 255, 0.9) 30%,
        rgba(220, 245, 255, 1) 50%,
        rgba(100, 200, 255, 0.9) 70%,
        transparent
    );
    border-radius: 1px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.t-card:hover::before {
    opacity: 1;
}

.t-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 70%;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 131, 187, 0.25) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(20px);
    transition: all 0.6s ease;
    opacity: 0.6;
}

.t-card:hover {
    border-color: rgba(0, 131, 187, 0.45);
    background: rgba(4, 8, 16, 0.9);
}

.t-card:hover::after {
    opacity: 1;
    bottom: -10%;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 131, 187, 0.45) 0%, transparent 70%);
}

.t-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.t-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.t-avatar svg {
    width: 100%;
    height: 100%;
}

.t-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.t-role {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}

.t-quote {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
    font-style: italic;
}

/* Legacy classes kept for zero breaking changes */
.testimonials-header { display: none; }
.testimonials-grid { display: none; }
.testimonial-card { display: none; }


/* ============================================
   PLANS - Simple 2-tier design
   ============================================ */
.plans-section {
    background: var(--bg-secondary);
    padding: 112px 0;
}

.plans-header {
    text-align: center;
    margin-bottom: 64px;
}

.plans-header .section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.plans-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.plan-card-simple {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Glowing top stroke line — hidden by default, shown on hover */
.plan-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 200, 255, 0.9) 30%,
        rgba(220, 245, 255, 1) 50%,
        rgba(100, 200, 255, 0.9) 70%,
        transparent
    );
    border-radius: 1px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.plan-card-simple:hover::before {
    opacity: 1;
}

.plan-card-simple::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 50%;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 131, 187, 0.2) 0%, transparent 75%);
    z-index: -1;
    pointer-events: none;
    filter: blur(30px);
    transition: all 0.6s ease;
    opacity: 0.5;
}

.plan-card-simple:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.plan-card-simple:hover::after {
    opacity: 1;
    bottom: -5%;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 131, 187, 0.4) 0%, transparent 70%);
}

.plan-card-pro {
    border-color: rgba(0, 131, 187, 0.3);
}

.plan-card-pro:hover {
    border-color: var(--brand-primary);
}

.plan-card-top {
    margin-bottom: 32px;
}

.plan-card-top .plan-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.plan-price-simple {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.plan-price-simple span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.plan-desc-simple {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.plan-features-simple {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    flex: 1;
}

.plan-features-simple li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.plan-features-simple li svg {
    flex-shrink: 0;
}

.plan-card-bottom {
    margin-top: auto;
}

.plan-btn-simple {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
}

.plan-btn-simple:hover {
    border-color: var(--brand-primary);
    background: rgba(0, 131, 187, 0.08);
}

.plan-btn-pro {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-light));
    color: #040810;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 131, 187, 0.3);
}

.plan-btn-pro:hover {
    box-shadow: 0 0 35px rgba(0, 131, 187, 0.5);
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--brand-light), var(--brand-lighter));
}

/* ============================================
   FINAL CTA - Premium aurora from bottom
   ============================================ */
.cta-final-section {
    position: relative;
    padding: 160px 0 180px;
    overflow: hidden;
    background: #000000;
    text-align: center;
    isolation: isolate;
}

/* Wide atmospheric glow across entire bottom half */
.cta-aurora-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cta-aurora-base {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 180%;
    height: 70%;
    background: radial-gradient(ellipse 70% 80% at 50% 100%,
        rgba(0, 100, 170, 0.65) 0%,
        rgba(0, 80, 140, 0.35) 35%,
        rgba(0, 60, 110, 0.12) 65%,
        transparent 100%);
    filter: blur(60px);
    animation: cta-base-sway 10s ease-in-out infinite alternate;
}

.cta-aurora-mid {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 60%;
    background: radial-gradient(ellipse 55% 75% at 50% 100%,
        rgba(0, 160, 220, 0.75) 0%,
        rgba(0, 131, 187, 0.40) 40%,
        rgba(0, 80, 150, 0.10) 72%,
        transparent 100%);
    filter: blur(32px);
    animation: cta-aurora-drift 8s ease-in-out infinite alternate-reverse;
}

.cta-aurora-core {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 55%;
    background: radial-gradient(ellipse 45% 80% at 50% 100%,
        rgba(80, 200, 255, 0.85) 0%,
        rgba(0, 160, 230, 0.50) 35%,
        rgba(0, 100, 180, 0.18) 65%,
        transparent 100%);
    filter: blur(18px);
    mix-blend-mode: screen;
    animation: cta-aurora-breathe 7s ease-in-out infinite alternate;
}

/* Beam: replaced with pure radial — no sharp edges */
.cta-aurora-beam {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    height: 40%;
    background: radial-gradient(ellipse 50% 90% at 50% 100%,
        rgba(150, 220, 255, 0.80) 0%,
        rgba(60, 170, 230, 0.45) 35%,
        rgba(0, 120, 200, 0.15) 65%,
        transparent 100%);
    filter: blur(28px);
    mix-blend-mode: screen;
    animation: cta-beam-float 6s ease-in-out infinite alternate;
}

/* Floating movement animations — each layer has its own rhythm */
@keyframes cta-aurora-breathe {
    0%   { opacity: 0.45; transform: translateX(-50%) scaleX(0.85) translateY(0px); }
    33%  { opacity: 1.00; transform: translateX(-50%) scaleX(1.20) translateY(-40px); }
    66%  { opacity: 0.80; transform: translateX(-51%) scaleX(1.05) translateY(-20px); }
    100% { opacity: 0.45; transform: translateX(-50%) scaleX(0.85) translateY(0px); }
}

@keyframes cta-aurora-drift {
    0%   { opacity: 0.35; transform: translateX(-56%) scaleX(0.80) translateY(0px); }
    40%  { opacity: 1.00; transform: translateX(-44%) scaleX(1.25) translateY(-50px); }
    70%  { opacity: 0.65; transform: translateX(-50%) scaleX(0.95) translateY(-25px); }
    100% { opacity: 0.35; transform: translateX(-56%) scaleX(0.80) translateY(0px); }
}

@keyframes cta-beam-float {
    0%   { opacity: 0.40; transform: translateX(-50%) scaleX(0.80) translateY(0px); }
    50%  { opacity: 1.00; transform: translateX(-50%) scaleX(1.30) translateY(-45px); }
    100% { opacity: 0.40; transform: translateX(-50%) scaleX(0.80) translateY(0px); }
}

@keyframes cta-base-sway {
    0%   { opacity: 0.50; transform: translateX(-50%) scaleX(0.90) scaleY(0.95); }
    50%  { opacity: 1.00; transform: translateX(-50%) scaleX(1.18) scaleY(1.10); }
    100% { opacity: 0.50; transform: translateX(-50%) scaleX(0.90) scaleY(0.95); }
}

/* Star particles */
.cta-stars {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 22% 40%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 35% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 48% 10%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 62% 30%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 75% 18%, rgba(255,255,255,0.45) 0%, transparent 100%),
        radial-gradient(1px 1px at 88% 42%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 5%  60%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 55%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 92% 25%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 68% 65%, rgba(255,255,255,0.25) 0%, transparent 100%);
}

/* Content */
.cta-final-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-final-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 24px;
}

.cta-final-sub {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

.cta-final-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 28px;
}

.cta-trust-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    justify-content: center;
}

.cta-trust-line svg {
    color: var(--brand-primary);
    flex-shrink: 0;
}

/* Legacy fallback classes */
.cta-section { padding: 112px 0; }
.cta-container {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(0,131,187,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}
.cta-subtext {
    font-size: 13px !important;
    margin-bottom: 0 !important;
    color: var(--text-muted) !important;
}

/* ============================================
   FOOTER - Qwen structure
   ============================================ */
.footer {
    border-top: 1px solid var(--border-color);
    background: #060A10;
    padding: 64px 0 0;
}

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

.footer-brand {
    grid-column: 1 / 2;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.6;
    max-width: 260px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(30, 58, 92, 0.4);
    color: var(--text-tertiary);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: rgba(0, 131, 187, 0.2);
    color: var(--brand-light);
}

.footer-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

.footer-col h4 {
    display: none;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .app-mockup {
        transform: none;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-item {
        border-right: none;
        padding: 0;
    }

    .split-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .plans-grid-2 {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer-top {
        justify-content: space-between;
    }
}

/* Mobile menu base styling */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 1000;
}
.mobile-menu-btn svg {
    stroke: var(--text-primary);
}

@media (max-width: 768px) {
    /* Mobile core constraints */
    html, body {
        overflow-x: clip !important;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    .container {
        padding: 0 16px !important;
    }
    
    .navbar {
        padding: 0 16px !important;
    }
    
    .hero-screenshot, .app-mockup {
        max-width: 100vw !important;
    }

    .hero-beam-core {
        display: none !important;
    }

    .app-mockup {
        transform: translateZ(0); /* Safari clipping fix */
        -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari clipping fix */
    }

    /* Standardized Section Spacing for Mobile */
    section, .hero, .cta-final-section, .plans-section, .testimonials-section {
        padding: 64px 0 !important;
    }

    .features-grid,
    .bento-grid, .split-container, .infra-grid, 
    .testimonials-grid, .plans-grid-2, 
    .plans-page-grid, .faq-grid, .testimonials-marquee {
        grid-template-columns: 1fr !important;
    }

    /* Pilares strip — stack vertically on mobile */
    .pilares-strip {
        flex-direction: column;
    }

    .pilar-strip-item {
        padding: 24px 20px;
    }

    .pilar-strip-divider {
        width: auto;
        height: 1px;
        align-self: auto;
    }

    .orbit-container {
        width: 100%;
        max-width: 320px;
        height: 320px;
        margin: 0 auto 0 auto !important;
        transform: scale(0.85);
    }

    .app-mockup-body {
        height: 380px !important;
    }

    .app-mockup-body iframe {
        -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent 100%) !important;
        mask-image: linear-gradient(to bottom, #000 85%, transparent 100%) !important;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links, .nav-actions {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 50%;
        width: 100%;
        max-width: 320px;
        z-index: 95;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, -20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-links {
        top: 100px;
        gap: 24px; /* Reduced from 28px */
        font-size: 18px;
        font-weight: 500;
        text-align: center;
    }
    
    .nav-actions {
        top: 340px; /* Adjusted up from 360px */
        gap: 16px;
    }
    
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Modern glassmorphic panel drop-down */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 450px; /* Reduced from 520px */
        background: rgba(12, 14, 18, 0.7);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 90;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom-left-radius: 32px;
        border-bottom-right-radius: 32px;
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    body.menu-open::before {
        display: none !important; /* Hide old black full-screen overlay if any */
    }
    
    body.menu-open::after {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    body.menu-open .nav-links, 
    body.menu-open .nav-actions {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    /* Standardized Section Spacing for Mobile */
    section, .hero, .cta-final-section, .plans-section, .testimonials-section {
        padding: 64px 0 !important;
    }

    /* Corretoras Section Overlaps */
    #corretoras .split-container {
        gap: 0 !important;
    }

    .orbit-container {
        width: 100%;
        max-width: 320px;
        height: 350px; /* Increased to avoid clipping */
        margin: 0 auto -80px auto !important; /* Adjusted slightly back */
        transform: scale(0.85);
    }

    .split-container {
        display: flex !important;
        flex-direction: column;
        gap: 24px;
        align-items: flex-start !important;
    }

    .split-visual {
        order: -1;
        width: 100%;
        max-width: 100%;
        overflow: visible !important; /* Allowed overflow to see full orbits */
    }

    .split-visual iframe, .split-visual img, .glow-effect {
        max-width: 100%;
    }

    .split-text {
        order: 1;
    }
    
    .evolution-resources .container {
        display: flex !important;
        flex-direction: column;
    }

    .evolution-resources .evolution-visual {
        order: -1;
        margin-bottom: 32px;
    }

    .evolution-resources .animate-on-scroll:first-child {
        order: 1;
    }

    .dom-summary {
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-col {
        flex-direction: column;
        gap: 12px;
    }

    .footer-col h4 {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: var(--text-secondary);
        letter-spacing: 0.06em;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

    .footer-col a {
        margin-bottom: 12px;
    }
    
    .footer-brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
    }

    .section-header-mobile-left {
        text-align: left !important;
    }
    .section-header-mobile-left .section-desc {
        margin: 0 !important;
    }
    .section-header-mobile-left .section-badge {
        margin: 0 0 16px 0 !important;
    }

    .system-card-center {
        text-align: center;
    }
    .system-card-center .system-icon {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-title, .section-title {
        font-size: clamp(32px, 8vw, 42px) !important;
        line-height: 1.1;
    }

    .hero-inner {
        margin-bottom: 20px !important;
    }

    .hero-subtitle, .section-desc {
        font-size: 16px !important;
    }

    .split-text {
        margin-top: 40px !important;
    }
    
    .split-visual {
        margin-bottom: 16px !important;
    }
    
    .dom-widget {
        max-width: 100%;
    }
    
    .dom-theader, .dom-animation-container {
        width: 100%;
    }
    
    /* Make all CTA buttons large and centered on mobile by default */
    .btn:not(.nav-actions .btn):not(.mobile-menu-btn) {
        width: 100% !important;
        max-width: none !important;
        display: flex;
        justify-content: center;
        align-items: center; /* keep inner text centered */
        margin-left: auto;
        margin-right: auto;
    }

    .testimonials-layout {
        display: flex !important;
        flex-direction: column-reverse;
        gap: 40px;
        align-items: center;
        text-align: center;
    }
    
    .testimonials-marquee {
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden;
        gap: 16px;
        padding: 0;
        height: auto !important;
        width: 100vw;
        margin-left: -16px;
        mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%) !important;
    }

    .testimonials-col {
        display: flex;
        flex-direction: row;
        width: 100%;
        overflow: hidden;
    }

    .testimonials-col-track {
        display: flex;
        flex-direction: row;
        gap: 16px;
        width: max-content;
        animation: scroll-left-mob 20s linear infinite !important;
    }

    .testimonials-col:nth-child(2) .testimonials-col-track {
        animation-duration: 25s !important;
        animation-direction: reverse !important;
    }

    .testimonials-marquee:hover .testimonials-col-track,
    .testimonials-marquee:active .testimonials-col-track {
        animation-play-state: paused !important;
    }

    .t-card {
        width: 280px !important;
        flex: 0 0 auto;
        text-align: left;
    }

    @keyframes scroll-left-mob {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    .testimonials-headline .section-desc {
        margin: 0 auto 32px auto;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch !important;
        gap: 16px;
        margin-bottom: 12px !important;
        width: 100%;
        padding: 0 10px;
    }

    .faq-item summary {
        padding: 16px 20px !important;
        font-size: 15px !important;
    }

    .faq-item p {
        padding: 0 20px 16px !important;
        font-size: 14px !important;
        padding-top: 12px !important;
    }

    .hero-beam {
        margin-top: 20px !important;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}/* Corretoras Orbit Animation */
.orbit-container {
    position: relative;
    width: 460px;
    height: 460px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-logo {
    position: absolute;
    z-index: 10;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.center-logo img {
    height: 56px;
    width: auto;
}

.orbit-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    animation: spin linear infinite;
}

.orbit-circle img {
    position: absolute;
    width: 64px;
    height: 64px;
    object-fit: contain;
    /* Pure white logos */
    filter: brightness(0) invert(1);
    animation: counter-spin linear infinite;
    mix-blend-mode: screen;
}

.orbit-inner {
    width: 220px;
    height: 220px;
    animation-duration: 20s;
}

.orbit-inner img {
    animation-duration: 20s;
}

.orbit-inner img:nth-child(1) { top: -32px; left: calc(50% - 32px); }
.orbit-inner img:nth-child(2) { bottom: 15px; right: -10px; }
.orbit-inner img:nth-child(3) { bottom: 15px; left: -10px; }

.orbit-outer {
    width: 380px;
    height: 380px;
    animation-duration: 35s;
    animation-direction: reverse;
}

.orbit-outer img {
    animation-duration: 35s;
    animation-direction: reverse;
}

.orbit-outer img:nth-child(1) { top: -32px; left: calc(50% - 32px); }
.orbit-outer img:nth-child(2) { top: 25%; right: -20px; }
.orbit-outer img:nth-child(3) { bottom: -15px; right: 25%; }
.orbit-outer img:nth-child(4) { bottom: -15px; left: 25%; }
.orbit-outer img:nth-child(5) { top: 25%; left: -20px; }

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counter-spin {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* ── FAQ Section ─────────────────────────────── */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(0, 131, 187, 0.3);
}

.faq-item[open] {
    border-color: rgba(0, 131, 187, 0.4);
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    gap: 16px;
    user-select: none;
    -webkit-user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232EA8D3' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

