/* ========================================
   EZCale Landing Page - Design System
   ======================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - EZCale Brand (BOLD USAGE) */
    --primary: #3A42FE;           /* Blue Electric - Hero, CTAs, Accents */
    --primary-dark: #0A2540;      /* Black */
    --lime: #A8EA99;              /* Lime Green - Success, Secondary */
    --sky: #8FCEEE;               /* Sky Blue - Tertiary, Highlights */
    --warning: #FFB84D;
    --error: #FF5252;

    /* Neutrals */
    --gray-900: #0A2540;
    --gray-800: #1A1F36;
    --gray-700: #2D3648;
    --gray-600: #425466;
    --gray-500: #697386;
    --gray-400: #A3ACB9;
    --gray-300: #C7CCD6;
    --gray-200: #E3E8EE;
    --gray-100: #F6F9FC;
    --white: #FFFFFF;
    --black: #000000;

    /* Gradients - OUSADOS */
    --gradient-hero: linear-gradient(135deg, #3A42FE 0%, #8FCEEE 50%, #A8EA99 100%);
    --gradient-primary: linear-gradient(135deg, #3A42FE 0%, #8FCEEE 100%);
    --gradient-lime: linear-gradient(135deg, #A8EA99 0%, #8FCEEE 100%);
    --gradient-dark: linear-gradient(180deg, #0A2540 0%, #1A1F36 100%);
    --gradient-light: linear-gradient(180deg, rgba(58, 66, 254, 0.05) 0%, rgba(143, 206, 238, 0.05) 100%);

    /* Background fills */
    --bg-lime: #A8EA99;
    --bg-sky: #8FCEEE;
    --bg-primary: #3A42FE;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography - EZCale Brand */
    --font-primary: 'JUST Sans Medium', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Bricolage Grotesque', Georgia, serif;
    --font-family: var(--font-primary); /* Fallback compatibility */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.1);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.1);
    --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.15);
    --shadow-xl: 0 20px 60px rgba(10, 37, 64, 0.2);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */

.feature-card,
.use-case,
.tech-stat-item,
.use-case {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card.animate-in,
.use-case.animate-in,
.tech-stat-item.animate-in,
.use-case.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delay for grid items */
.feature-card:nth-child(1) { transition-delay: 0ms; }
.feature-card:nth-child(2) { transition-delay: 100ms; }
.feature-card:nth-child(3) { transition-delay: 200ms; }
.feature-card:nth-child(4) { transition-delay: 300ms; }
.feature-card:nth-child(5) { transition-delay: 400ms; }
.feature-card:nth-child(6) { transition-delay: 500ms; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ========================================
   Navigation
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
    border-bottom-color: transparent;
}

.nav.scrolled .nav-container {
    height: 68px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    transition: height var(--transition-base);
}

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

.logo-img {
    height: 48px;
    width: auto;
    transition: all var(--transition-base);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav.scrolled .logo-img {
    height: 42px;
}

.logo-text {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    transition: color var(--transition-fast);
}

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

.nav-login {
    color: var(--gray-600) !important;
}

.nav .btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(58, 66, 254, 0.3);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

.nav .btn-primary:hover {
    background: #2A32E5;
    box-shadow: 0 4px 16px rgba(58, 66, 254, 0.5);
    transform: translateY(-2px);
}

/* Sticky CTA that appears on scroll */
.nav.scrolled .btn-primary {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

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

    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 8px 32px rgba(10, 37, 64, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: var(--spacing-sm);
        font-size: 16px;
    }

    .nav .btn-primary {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(58, 66, 254, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(58, 66, 254, 0.6);
    }
}

.nav .btn-primary:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary,
.btn-secondary,
.btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: 15px;
    text-decoration: none;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(58, 66, 254, 0.4);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #2A32E5;
    transform: translateY(-3px) translateZ(10px);
    box-shadow: 0 12px 32px rgba(58, 66, 254, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 16px rgba(58, 66, 254, 0.4);
}

/* Botão Success (verde lima) */
.btn-success {
    background: var(--lime);
    color: var(--black);
    box-shadow: 0 4px 16px rgba(168, 234, 153, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-success::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-success:hover::after {
    width: 300px;
    height: 300px;
}

.btn-success:hover {
    background: #98DA89;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(168, 234, 153, 0.6);
}

.btn-success:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(58, 66, 254, 0.05);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: radial-gradient(ellipse at top right, rgba(58, 66, 254, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(168, 234, 153, 0.08) 0%, transparent 50%),
                linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: rgba(58, 66, 254, 0.1);
    border: 1px solid rgba(58, 66, 254, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.hero-tagline {
    font-size: 28px;
    font-weight: var(--font-weight-black);
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    text-transform: lowercase;
    letter-spacing: -0.02em;
    font-family: var(--font-secondary);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-primary);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-black);
    line-height: 1.15;
    color: var(--black);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
    font-family: var(--font-secondary); /* Bricolage Grotesque para títulos */
}

.gradient-text {
    background: linear-gradient(135deg, #3A42FE 0%, #8FCEEE 50%, #A8EA99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    font-weight: var(--font-weight-black);
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-200);
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: var(--font-weight-medium);
}

/* ========================================
   Hero Visual - Transaction Flow
   ======================================== */

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 500px;
}

.transaction-flow {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    position: relative;
}

.flow-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(58, 66, 254, 0.02) 100%);
    border: 2px solid rgba(58, 66, 254, 0.15);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    animation: slideInDown 0.6s ease-out;
    box-shadow:
        0 4px 20px rgba(58, 66, 254, 0.08),
        0 12px 40px rgba(10, 37, 64, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.flow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.flow-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 30px rgba(58, 66, 254, 0.12),
        0 16px 60px rgba(10, 37, 64, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flow-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.flow-icon {
    font-size: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(58, 66, 254, 0.12) 0%, rgba(143, 206, 238, 0.12) 100%);
    border-radius: 12px;
    border: 1px solid rgba(58, 66, 254, 0.2);
    box-shadow: 0 2px 8px rgba(58, 66, 254, 0.1);
}

.flow-icon i {
    display: inline-block;
}

.flow-status {
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all var(--transition-base);
}

.status-success {
    background: linear-gradient(135deg, rgba(168, 234, 153, 0.2) 0%, rgba(0, 217, 36, 0.15) 100%);
    color: #00C853;
    border: 1px solid rgba(0, 200, 83, 0.25);
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.15);
}

.flow-amount {
    font-size: 32px;
    font-weight: var(--font-weight-black);
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.flow-meta {
    font-size: 14px;
    color: var(--gray-500);
}

.split-arrows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: var(--spacing-lg);
    padding-left: 40px;
}

.arrow-line {
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    position: relative;
    animation: expandWidth 0.8s ease-out forwards;
    opacity: 0;
}

.arrow-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.arrow-delay-1 {
    animation-delay: 0.2s;
}

.arrow-delay-2 {
    animation-delay: 0.4s;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

.split-recipients {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.recipient-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideInRight 0.6s ease-out forwards;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
    transition: all var(--transition-base);
    cursor: pointer;
}

.recipient-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.08);
    border-color: rgba(58, 66, 254, 0.3);
}

.card-delay-1 {
    animation-delay: 0.3s;
}

.card-delay-2 {
    animation-delay: 0.6s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.recipient-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.recipient-icon {
    font-size: 18px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(58, 66, 254, 0.1) 0%, rgba(143, 206, 238, 0.1) 100%);
    border-radius: 10px;
    border: 1px solid rgba(58, 66, 254, 0.15);
    transition: all var(--transition-base);
}

.recipient-card:hover .recipient-icon {
    background: linear-gradient(135deg, rgba(58, 66, 254, 0.15) 0%, rgba(143, 206, 238, 0.15) 100%);
    transform: scale(1.05);
}

.recipient-icon i {
    display: inline-block;
}

.recipient-name {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-800);
}

.recipient-amount {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
}

.recipient-percent {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 2px;
}

.flow-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.flow-time {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: var(--font-weight-medium);
}

.flow-check {
    font-size: 20px;
    color: var(--success);
}

/* ========================================
   Code Preview
   ======================================== */

.code-preview {
    background: var(--gray-900);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    font-size: 12px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.code-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.code-title {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: var(--font-weight-medium);
}

.code-content {
    padding: var(--spacing-md);
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.5;
    color: #E3E8EE;
    overflow-x: auto;
}

.code-content code {
    color: #A3ACB9;
}

/* ========================================
   Background Effects
   ======================================== */

.hero-bg-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(58, 66, 254, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

/* ========================================
   Trust Bar
   ======================================== */

.trust-bar {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trust-text {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-lg);
}

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

.trust-logo {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-400);
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.trust-logo:hover {
    opacity: 1;
}

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: var(--spacing-3xl) 0;
    background: radial-gradient(ellipse at center, rgba(143, 206, 238, 0.05) 0%, transparent 70%),
                var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(58, 66, 254, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: var(--font-weight-black);
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    font-family: var(--font-secondary); /* Bricolage Grotesque para títulos de seção */
}

.section-description {
    font-size: 20px;
    color: var(--gray-600);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.06);
}

.feature-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    border-color: rgba(58, 66, 254, 0.3);
    box-shadow: 0 16px 48px rgba(58, 66, 254, 0.12);
    background: rgba(255, 255, 255, 0.9);
    transition: all 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Variações de cor para cards */
.feature-card:nth-child(3n+1) {
    border-color: rgba(58, 66, 254, 0.2);
}

.feature-card:nth-child(3n+1):hover {
    background: rgba(58, 66, 254, 0.02);
    border-color: var(--primary);
}

.feature-card:nth-child(3n+2) {
    border-color: rgba(168, 234, 153, 0.3);
}

.feature-card:nth-child(3n+2):hover {
    background: rgba(168, 234, 153, 0.05);
    border-color: var(--lime);
}

.feature-card:nth-child(3n+2)::before {
    background: var(--gradient-lime);
}

.feature-card:nth-child(3n) {
    border-color: rgba(143, 206, 238, 0.3);
}

.feature-card:nth-child(3n):hover {
    background: rgba(143, 206, 238, 0.05);
    border-color: var(--sky);
}

.feature-card:nth-child(3n)::before {
    background: linear-gradient(135deg, var(--sky) 0%, var(--primary) 100%);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: all 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(58, 66, 254, 0.3));
}

.feature-icon i {
    display: inline-block;
}

.feature-title {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-secondary); /* Bricolage para títulos de features */
}

.feature-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.feature-list li {
    font-size: 14px;
    color: var(--gray-600);
    padding-left: var(--spacing-md);
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: var(--font-weight-bold);
}

/* ========================================
   Interactive Payment Flow Animation
   ======================================== */

.payment-flow-section {
    padding: var(--spacing-xl) 0;
    padding-bottom: var(--spacing-3xl);
    background: linear-gradient(180deg, var(--black) 0%, #1A1F36 100%);
    position: relative;
    overflow: visible;
}

.payment-flow-section .section-badge {
    color: var(--lime);
    background: rgba(168, 234, 153, 0.1);
}

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

.payment-flow-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.interactive-flow-container {
    margin-top: var(--spacing-xl);
}

/* Flow Controls */
.flow-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
}

.flow-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
}

.flow-btn i {
    font-size: 20px;
}

.flow-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-2px);
}

.flow-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Flow Canvas */
.flow-canvas {
    position: relative;
    width: 100%;
    height: 600px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
}

/* Flow Nodes */
.flow-node {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
    transition: all var(--transition-base);
    animation: nodeEntrance 0.6s ease-out backwards;
    z-index: 10;
}

@keyframes nodeEntrance {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.flow-node:hover {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(58, 66, 254, 0.4);
}

/* Node Input */
.flow-node-input {
    top: 50%;
    left: 10%;
    transform: translateY(-50%) scale(1.0);
    animation-delay: 0.2s;
    min-width: 155px;
    background: rgba(255, 255, 255, 0.08);
    border: 3px solid rgba(255, 165, 0, 0.7);
    box-shadow:
        0 8px 32px rgba(255, 165, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.flow-node-input:hover {
    border-color: rgba(255, 165, 0, 1);
    box-shadow:
        0 12px 48px rgba(255, 165, 0, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.15);
}

.node-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(58, 66, 254, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

/* Node Center */
.flow-node-center {
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%) scale(1.25);
    animation-delay: 0.6s;
    min-width: 210px;
    max-width: 210px;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(168, 234, 153, 0.2) 0%, rgba(143, 206, 238, 0.2) 100%);
    border: 4px solid rgba(168, 234, 153, 0.8);
    box-shadow:
        0 0 50px rgba(168, 234, 153, 0.6),
        0 0 100px rgba(168, 234, 153, 0.3),
        0 0 150px rgba(168, 234, 153, 0.2),
        inset 0 0 30px rgba(168, 234, 153, 0.15);
    animation: centerPulse 1.5s ease-in-out infinite;
    z-index: 50;
}

@keyframes centerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow:
            0 0 50px rgba(168, 234, 153, 0.6),
            0 0 100px rgba(168, 234, 153, 0.3),
            0 0 150px rgba(168, 234, 153, 0.2),
            inset 0 0 30px rgba(168, 234, 153, 0.15);
        border-color: rgba(168, 234, 153, 0.8);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        box-shadow:
            0 0 70px rgba(168, 234, 153, 0.8),
            0 0 140px rgba(168, 234, 153, 0.5),
            0 0 200px rgba(168, 234, 153, 0.3),
            inset 0 0 40px rgba(168, 234, 153, 0.25);
        border-color: rgba(168, 234, 153, 1);
    }
}

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    border: 3px solid var(--lime);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 1.5s ease-out infinite;
    opacity: 0;
    box-shadow: 0 0 20px var(--lime);
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.node-icon-large {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-xs);
    color: var(--primary);
}

.node-icon-large svg {
    width: 48px;
    height: 48px;
}

.circle-bg {
    opacity: 0.2;
}

.circle-progress {
    stroke: var(--lime);
    transform-origin: center;
    transform: rotate(-90deg);
    animation: progressCircle 3s ease-in-out infinite;
}

@keyframes progressCircle {
    0%, 100% {
        stroke-dashoffset: 283;
    }
    50% {
        stroke-dashoffset: 0;
    }
}

.processing-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: var(--lime);
    animation: iconPulse 0.8s ease-in-out infinite;
    filter: drop-shadow(0 0 15px var(--lime)) drop-shadow(0 0 5px rgba(168, 234, 153, 1));
}

@keyframes iconPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Processing Steps */
.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: var(--spacing-xs);
    text-align: left;
    z-index: 11;
    position: relative;
}

.processing-steps .step {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--lime);
    font-size: 10px;
    opacity: 0.5;
}

.processing-steps .step.active {
    opacity: 1;
    color: var(--white);
}

/* Recipients */
.flow-recipients {
    position: absolute;
    right: 120px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 40px 32px;
    width: 420px;
}

.flow-node-output {
    position: relative;
    min-width: 130px;
    animation-delay: 1s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Vendedor ocupa toda a largura no topo */
.flow-node-output.output-large {
    grid-column: 1 / -1;
    justify-self: center;
    transform: scale(1);
    border: 3px solid rgba(168, 234, 153, 0.6);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(168, 234, 153, 0.4);
    z-index: 11;
    max-width: 200px;
}

.flow-node-output.output-large .node-amount {
    font-size: 26px;
}

.flow-node-output.output-medium {
    transform: scale(0.9);
}

.flow-node-output.output-small {
    transform: scale(0.75);
    opacity: 0.85;
    min-height: 100px;
}

.flow-node-output.output-small .node-amount {
    font-size: 18px;
}

.flow-node-output.output-small .node-amount.yellow {
    color: #f59e0b;
}

.flow-node-output:hover {
    box-shadow: 0 8px 32px rgba(168, 234, 153, 0.4);
}

.flow-node-output:nth-child(1) {
    animation-delay: 1s;
}

.flow-node-output:nth-child(2) {
    animation-delay: 1.15s;
}

.flow-node-output:nth-child(3) {
    animation-delay: 1.3s;
}

.flow-node-output:nth-child(4) {
    animation-delay: 1.45s;
}

.particle-trail {
    position: absolute;
    left: -80px;
    top: 50%;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lime));
    transform: translateY(-50%) scaleX(0);
    transform-origin: right;
    animation: trailExpand 0.8s ease-out 1.5s forwards;
}

@keyframes trailExpand {
    to {
        transform: translateY(-50%) scaleX(1);
    }
}

/* Node Styling */
.node-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-xs);
    font-size: 20px;
    color: var(--white);
}

.node-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.node-amount {
    font-size: 22px;
    font-weight: var(--font-weight-black);
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.node-amount.green {
    color: var(--lime);
    text-shadow: 0 0 20px rgba(168, 234, 153, 0.5);
}

.flow-node-input .node-amount {
    font-size: 36px;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.node-percent {
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
    background: rgba(168, 234, 153, 0.3);
    padding: 6px 14px;
    border-radius: 14px;
    display: inline-block;
    border: 2px solid rgba(168, 234, 153, 0.6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.node-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--spacing-xs);
}

/* Particles Canvas */
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Flow Connections */
.flow-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: rgba(168, 234, 153, 1);
    stroke-opacity: 1;
    stroke-dasharray: 15 8;
    animation: flowDash 2s linear infinite;
    filter: drop-shadow(0 0 20px rgba(168, 234, 153, 1)) drop-shadow(0 0 8px rgba(168, 234, 153, 0.8));
}

@keyframes flowDash {
    to {
        stroke-dashoffset: -23;
    }
}

/* Connection dots at endpoints */
.connection-line::before,
.connection-line::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(168, 234, 153, 1);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(168, 234, 153, 1);
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.line-delay-1 {
    animation-delay: 1.2s;
}

.line-delay-2 {
    animation-delay: 1.4s;
}

.line-delay-3 {
    animation-delay: 1.6s;
}

.line-delay-4 {
    animation-delay: 1.8s;
}

/* Flow Metrics */
.flow-metrics {
    display: flex;
    justify-content: space-around;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(168, 234, 153, 0.2);
    backdrop-filter: blur(10px);
}

.metric {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    transition: all var(--transition-base);
}

.metric:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.metric-icon {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.metric-value {
    font-size: 24px;
    font-weight: var(--font-weight-black);
    color: var(--lime);
    margin-bottom: var(--spacing-xs);
}

.metric-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1200px) {
    .flow-canvas {
        transform: scale(0.8);
        transform-origin: center;
        height: 480px;
    }
}

@media (max-width: 768px) {
    .flow-canvas {
        transform: scale(0.6);
        transform-origin: center;
        height: 360px;
    }

    .flow-controls {
        flex-direction: column;
        width: 100%;
    }

    .flow-btn {
        width: 100%;
    }

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

/* ========================================
   New Clean Payment Flow Section
   ======================================== */

.payment-flow-clean {
    padding: calc(var(--spacing-3xl) * 1.5) 0 calc(var(--spacing-3xl) * 2);
    background: linear-gradient(180deg, #0a1628 0%, #162236 100%);
    position: relative;
}

.payment-flow-clean .section-badge {
    background: rgba(168, 234, 153, 0.2);
    color: var(--lime);
}

.payment-flow-clean .section-title {
    color: white;
}

.payment-flow-clean .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.flow-clean-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin: var(--spacing-3xl) 0;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(168, 234, 153, 0.15);
    backdrop-filter: blur(10px);
    min-height: 340px;
    max-width: 100%;
    overflow: visible;
}

.flow-clean-stage {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

/* Flow Cards */
.flow-clean-card {
    background: linear-gradient(135deg, rgba(22, 34, 54, 0.9) 0%, rgba(10, 22, 40, 0.9) 100%);
    border: 1px solid rgba(168, 234, 153, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-base);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    flex-shrink: 0;
}

.flow-clean-card.flow-input,
.flow-clean-card.flow-engine {
    min-width: 200px;
}

.flow-clean-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(168, 234, 153, 0.2);
    border-color: var(--lime);
}

.flow-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--sky) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(58, 66, 254, 0.4);
}

.flow-icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(168, 234, 153, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(168, 234, 153, 0.8);
    }
}

.flow-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.flow-card-label {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.flow-card-amount {
    font-size: 22px;
    font-weight: var(--font-weight-black);
    color: white;
    font-family: var(--font-secondary);
    letter-spacing: -0.02em;
}

.flow-card-amount.green {
    color: var(--lime);
}

.flow-card-amount.yellow {
    color: #fbbf24;
}

.flow-card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.flow-card-meta i {
    color: var(--sky);
}

.flow-card-percent {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.5);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.flow-card-icon.recipient {
    background: linear-gradient(135deg, var(--lime) 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(168, 234, 153, 0.4);
}

.flow-card-content {
    flex: 1;
}

.flow-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.flow-amount-large {
    font-size: 36px;
    font-weight: var(--font-weight-black);
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.flow-amount {
    font-size: 28px;
    font-weight: var(--font-weight-black);
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 6px;
    font-family: var(--font-secondary);
}

.flow-percentage {
    font-size: 13px;
    color: #059669;
    font-weight: var(--font-weight-bold);
    background: rgba(168, 234, 153, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

.flow-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 13px;
    color: var(--gray-600);
    font-weight: var(--font-weight-medium);
}

.flow-meta i {
    color: var(--primary);
    font-size: 14px;
}

/* Engine Card */
.flow-clean-card.flow-engine {
    border-color: rgba(168, 234, 153, 0.3);
    background: linear-gradient(135deg, rgba(168, 234, 153, 0.05) 0%, white 100%);
    min-width: 280px;
}

.engine-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669 0%, var(--lime) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    flex-shrink: 0;
    animation: enginePulse 2s ease-in-out infinite;
}

@keyframes enginePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(168, 234, 153, 0.7);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(168, 234, 153, 0);
    }
}

.processing-time {
    font-size: 15px;
    color: #059669;
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
}

.processing-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.process-badge {
    font-size: 12px;
    color: #059669;
    background: rgba(168, 234, 153, 0.2);
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: var(--font-weight-semibold);
}

/* Arrow Connector */
.flow-arrow {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    flex-shrink: 0;
}

.flow-arrows-dual {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    justify-content: center;
    flex-shrink: 0;
}

.flow-arrow-top {
    align-self: flex-end;
}

.flow-arrow-bottom {
    align-self: flex-end;
}

.arrow-line-clean {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--lime) 100%);
    position: relative;
    animation: flowPulse 2s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes flowPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 16px rgba(168, 234, 153, 0.8);
    }
}

.arrow-head {
    width: 0;
    height: 0;
    border-left: 16px solid var(--lime);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Outputs Grid 2x2 */
.flow-outputs-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.flow-outputs-row {
    display: flex;
    gap: var(--spacing-sm);
}

.flow-clean-card.flow-output {
    width: 160px;
    min-width: 160px;
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
    flex-shrink: 0;
    padding: var(--spacing-md);
}

.flow-output .flow-card-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin: 0 auto;
}

.flow-output .flow-card-amount {
    font-size: 18px;
}

.flow-output .flow-card-label {
    font-size: 10px;
}

.flow-output .flow-card-percent {
    font-size: 12px;
}

/* Small output cards (resellers) */
.flow-clean-card.flow-output-small {
    width: 140px;
    min-width: 140px;
    padding: var(--spacing-sm);
}

.flow-output-small .flow-card-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.flow-output-small .flow-card-amount {
    font-size: 16px;
}

.flow-output-small .flow-card-label {
    font-size: 9px;
}

/* Features Bar */
.flow-features-bar {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(58, 66, 254, 0.1) 0%, rgba(168, 234, 153, 0.1) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(168, 234, 153, 0.2);
}

.flow-feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-weight-semibold);
}

.flow-feature-item i {
    color: var(--lime);
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1200px) {
    .flow-clean-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .flow-clean-stage {
        justify-content: center;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: var(--spacing-md) 0;
    }

    .flow-outputs-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .flow-features-bar {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }

    .flow-clean-card {
        min-width: 150px;
    }
}

/* ========================================
   Use Cases Section
   ======================================== */

.use-cases {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--sky) 0%, rgba(143, 206, 238, 0.3) 100%);
}

.use-cases-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    visibility: visible !important;
}

.use-case {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.use-case:hover {
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 12px 40px rgba(58, 66, 254, 0.15);
    transform: translateY(-8px);
}

.use-case-icon {
    font-size: 40px;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.use-case-icon i {
    display: inline-block;
}

.use-case h3 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: #1a1a1a;
    margin-bottom: var(--spacing-sm);
}

.use-case p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
}

/* ========================================
   Technical Excellence Section
   ======================================== */

.tech-excellence {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-900);
    color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.tech-content .section-badge {
    background: rgba(58, 66, 254, 0.2);
}

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

.tech-description {
    font-size: 18px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.tech-stats-list {
    display: flex !important;
    flex-direction: column;
    gap: var(--spacing-lg);
    visibility: visible !important;
}

.tech-stat-item {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.tech-stat-number {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    display: block !important;
    visibility: visible !important;
}

.tech-stat-label {
    font-size: 14px;
    color: var(--gray-300);
    display: block !important;
    visibility: visible !important;
}

/* Architecture Diagram */

.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.arch-layer {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.arch-box {
    flex: 1;
    padding: var(--spacing-md);
    background: rgba(58, 66, 254, 0.2);
    border: 1px solid rgba(58, 66, 254, 0.4);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    transition: all var(--transition-base);
}

.arch-box:hover {
    background: rgba(58, 66, 254, 0.3);
    transform: scale(1.05);
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: var(--font-weight-black);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    font-family: var(--font-secondary); /* Bricolage para CTA title */
}

.cta-description {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--gray-100);
}

.cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.cta-section .btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   Trust Metrics (Counter Animation)
   ======================================== */

.trust-metrics {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-metric {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: center;
}

.counter {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    display: inline-block;
    min-width: 60px;
}

/* ========================================
   Compliance Bar
   ======================================== */

.compliance-bar {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    text-decoration: none !important;
    cursor: pointer;
}

.badge-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--primary-dark);
    text-decoration: none !important;
}

.badge-item:active,
.badge-item:visited,
.badge-item:focus {
    text-decoration: none !important;
}

.badge-item i {
    font-size: 1.25rem;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .trust-metrics {
        gap: 1.5rem;
    }

    .trust-metric {
        font-size: 0.875rem;
    }

    .counter {
        font-size: 1.75rem;
        min-width: 40px;
    }

    .compliance-badges {
        gap: 1rem;
    }

    .badge-item {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }

    .badge-item i {
        font-size: 1rem;
    }
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    background: var(--gray-900);
    color: var(--gray-400);
}

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

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.logo-img-footer {
    height: 44px;
    width: auto;
    filter: brightness(1.2);
    transition: transform var(--transition-base);
}

.logo-img-footer:hover {
    transform: scale(1.03);
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-col a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 15px;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

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

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

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

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

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

    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 68px;
    }

    .logo-img {
        height: 40px;
    }

    .nav.scrolled .logo-img {
        height: 36px;
    }

    .logo-img-footer {
        height: 38px;
    }

    .nav-links {
        display: none;
    }

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

    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-tagline {
        font-size: 20px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-cta .btn-large {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .hero-visual {
        max-width: 100%;
    }

    .transaction-flow,
    .code-preview {
        max-width: 100%;
    }

    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .feature-card {
        padding: var(--spacing-lg);
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-description {
        font-size: 16px;
    }

    .trust-logos {
        gap: var(--spacing-lg);
    }

    .trust-logo {
        font-size: 18px;
    }

    .compliance-badges {
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .divider-gradient {
        width: 90%;
    }
}


/* ========================================
   Interactive Split Playground
   ======================================== */

.split-playground {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--gray-900) 0%, #0A1428 100%);
    position: relative;
    overflow: hidden;
}

.split-playground .section-badge {
    background: rgba(168, 234, 153, 0.2);
    color: var(--lime);
}

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

.split-playground .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.playground-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-3xl);
}

/* Controls Panel */
.playground-controls {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    backdrop-filter: blur(10px);
}

.control-section {
    margin-bottom: var(--spacing-xl);
}

.control-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.amount-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.currency {
    position: absolute;
    left: var(--spacing-md);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
    pointer-events: none;
}

.amount-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    transition: all var(--transition-base);
}

.amount-input:focus {
    outline: none;
    border-color: var(--lime);
    background: rgba(255, 255, 255, 0.12);
}

/* Recipients List */
.recipients-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    max-height: 400px;
    overflow-y: auto;
    padding-right: var(--spacing-xs);
}

.recipients-list::-webkit-scrollbar {
    width: 6px;
}

.recipients-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.recipients-list::-webkit-scrollbar-thumb {
    background: rgba(168, 234, 153, 0.3);
    border-radius: 3px;
}

.recipient-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
}

.recipient-control:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(168, 234, 153, 0.3);
}

.recipient-header-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.recipient-type-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
}

.recipient-type-select:hover {
    background: rgba(255, 255, 255, 0.12);
}

.recipient-type-select:focus {
    outline: none;
    border-color: var(--lime);
}

.recipient-remove {
    background: rgba(255, 82, 82, 0.2);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5252;
    cursor: pointer;
    transition: all var(--transition-base);
}

.recipient-remove:hover {
    background: rgba(255, 82, 82, 0.3);
    transform: scale(1.1);
}

/* Slider */
.slider-container {
    position: relative;
}

.split-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    margin-bottom: var(--spacing-sm);
}

.split-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--lime);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(168, 234, 153, 0.4);
    transition: all var(--transition-base);
}

.split-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 16px rgba(168, 234, 153, 0.6);
}

.split-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--lime);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(168, 234, 153, 0.4);
}

.slider-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-percent {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
}

.slider-amount {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.8);
}

/* Add Button */
.btn-add-recipient {
    width: 100%;
    padding: var(--spacing-md);
    background: rgba(168, 234, 153, 0.1);
    border: 2px dashed rgba(168, 234, 153, 0.3);
    border-radius: var(--radius-md);
    color: var(--lime);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.btn-add-recipient:hover {
    background: rgba(168, 234, 153, 0.15);
    border-color: var(--lime);
    transform: translateY(-2px);
}

/* Totals */
.control-totals {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.total-percent {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
}

.total-percent.warning {
    color: var(--warning);
}

.total-percent.error {
    color: var(--error);
}

.remaining-amount {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
}

/* Visual Canvas */
.playground-visual {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

#playground-canvas {
    max-width: 100%;
    height: auto;
}

.visual-legend {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

/* Code Preview */
.playground-code {
    grid-column: 1 / -1;
    margin-top: var(--spacing-xl);
}

.playground-code .code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.playground-code .code-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--lime);
}

.btn-copy-code {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: rgba(168, 234, 153, 0.1);
    border: 1px solid rgba(168, 234, 153, 0.3);
    border-radius: var(--radius-sm);
    color: var(--lime);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-copy-code:hover {
    background: rgba(168, 234, 153, 0.2);
    transform: translateY(-2px);
}

.playground-code .code-content {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: var(--spacing-lg);
    margin: 0;
    overflow-x: auto;
}

.playground-code .code-content code {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.8;
}

/* Responsive Playground */
@media (max-width: 1200px) {
    .playground-container {
        grid-template-columns: 1fr;
    }

    .playground-visual {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .playground-controls {
        padding: var(--spacing-md);
    }

    .playground-visual {
        min-height: 400px;
        padding: var(--spacing-md);
    }

    #playground-canvas {
        width: 100%;
    }
}

/* Playground Tree - Additional Styles */

.playground-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(143, 206, 238, 0.1);
    border: 1px solid rgba(143, 206, 238, 0.3);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.info-card i {
    color: var(--sky);
    font-size: 18px;
}

.info-card strong {
    color: var(--white);
}

.node-editor {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(168, 234, 153, 0.3);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-top: var(--spacing-xl);
    transition: all var(--transition-base);
}

.node-editor.hidden {
    display: none;
}

.node-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(168, 234, 153, 0.1);
    border-bottom: 1px solid rgba(168, 234, 153, 0.2);
}

.node-editor-header h4 {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
    margin: 0;
}

.btn-close-editor {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-close-editor:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.node-editor-body {
    padding: var(--spacing-lg);
}

.editor-current-value {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(58, 66, 254, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.editor-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.editor-amount {
    font-size: 28px;
    font-weight: var(--font-weight-black);
    color: var(--lime);
}

.editor-splits {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    max-height: 250px;
    overflow-y: auto;
}

.editor-split-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
}

.editor-split-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.editor-split-type {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    cursor: pointer;
}

.btn-remove-split {
    background: rgba(255, 82, 82, 0.2);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5252;
    cursor: pointer;
    font-size: 12px;
}

.btn-remove-split:hover {
    background: rgba(255, 82, 82, 0.3);
}

.editor-split-slider {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    margin-bottom: var(--spacing-xs);
}

.editor-split-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--lime);
    border-radius: 50%;
    cursor: pointer;
}

.editor-split-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--lime);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.editor-split-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.editor-split-percent {
    color: var(--lime);
    font-weight: var(--font-weight-bold);
}

.editor-split-amount {
    color: rgba(255, 255, 255, 0.7);
}

.btn-add-split {
    width: 100%;
    padding: var(--spacing-sm);
    background: rgba(168, 234, 153, 0.1);
    border: 2px dashed rgba(168, 234, 153, 0.3);
    border-radius: var(--radius-sm);
    color: var(--lime);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.btn-add-split:hover {
    background: rgba(168, 234, 153, 0.15);
    border-color: var(--lime);
}

.editor-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.editor-total span:last-child {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
}

.node-editor-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-delete-node {
    width: 100%;
    padding: var(--spacing-sm);
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: var(--radius-sm);
    color: #FF5252;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.btn-delete-node:hover {
    background: rgba(255, 82, 82, 0.2);
}

.canvas-hint {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--spacing-md);
    font-style: italic;
}

/* ========================================
   Global Coverage Section (Inspirado Yuno)
   ======================================== */

.global-coverage {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.global-coverage .section-header {
    position: relative;
    z-index: 2;
}

.global-coverage .section-badge {
    background: rgba(168, 234, 153, 0.2);
    color: var(--lime);
    border: 1px solid rgba(168, 234, 153, 0.3);
    font-weight: var(--font-weight-bold);
}

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

.global-coverage .section-description {
    color: var(--gray-300);
}

.coverage-visual {
    position: relative;
    margin: var(--spacing-2xl) 0;
}

.coverage-map {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(58, 66, 254, 0.15) 0%, rgba(143, 206, 238, 0.1) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 2px solid rgba(58, 66, 254, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.map-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Animations for map elements */
@keyframes pulseHub {
    0%, 100% {
        r: 80;
        opacity: 0.3;
    }
    50% {
        r: 95;
        opacity: 0.1;
    }
}

.hub-main {
    animation: pulseHub 3s ease-in-out infinite;
}

@keyframes flowLine {
    0% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 0;
    }
}

.connection-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: flowLine 3s ease-in-out infinite;
}

.line-1 {
    animation-delay: 0s;
}

.line-2 {
    animation-delay: 0.5s;
}

.line-3 {
    animation-delay: 1s;
}

@keyframes nodeGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.region-node {
    animation: nodeGlow 2s ease-in-out infinite;
}

.node-1 {
    animation-delay: 0.2s;
}

.node-2 {
    animation-delay: 0.4s;
}

.node-3 {
    animation-delay: 0.6s;
}

.hub-core,
.region-core {
    filter: drop-shadow(0 0 8px currentColor);
}

/* Map labels */
.map-label {
    position: absolute;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(58, 66, 254, 0.4);
    pointer-events: none;
    animation: fadeInUp 0.6s ease-out backwards;
    backdrop-filter: blur(8px);
}

.label-main {
    border-color: var(--lime);
    background: rgba(168, 234, 153, 0.95);
    animation-delay: 0.2s;
    box-shadow: 0 4px 20px rgba(168, 234, 153, 0.5);
}

.label-node {
    animation-delay: 0.4s;
}

.label-title {
    font-size: 15px;
    font-weight: var(--font-weight-black);
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 3px;
}

.label-subtitle {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1;
    font-weight: var(--font-weight-semibold);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Coverage stats */
.coverage-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    min-width: 190px;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.stat-card.stat-highlight {
    background: rgba(168, 234, 153, 0.15);
    border: 2px solid var(--lime);
    box-shadow: 0 4px 20px rgba(168, 234, 153, 0.3);
}

.stat-number {
    font-size: 64px;
    font-weight: var(--font-weight-black);
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-highlight .stat-number {
    color: var(--lime);
    text-shadow: 0 0 20px rgba(168, 234, 153, 0.6);
}

.stat-unit {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-300);
    margin-top: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: var(--font-weight-semibold);
}

/* Coverage features */
.coverage-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    transition: all var(--transition-base);
    backdrop-filter: blur(8px);
}

.feature-pill:hover {
    border-color: var(--lime);
    background: rgba(168, 234, 153, 0.15);
}

.feature-pill i {
    color: var(--lime);
    font-size: 16px;
}

/* ========================================
   Platform Dashboard Section (Inspirado Stripe)
   ======================================== */

.platform-dashboard {
    padding: calc(var(--spacing-3xl) * 1.5) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
}

.platform-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, var(--gray-900) 0%, transparent 100%);
    opacity: 0.03;
    pointer-events: none;
}

.dashboard-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-3xl);
    align-items: start;
}

/* Dashboard frame mockup */
.dashboard-frame {
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 37, 64, 0.25);
    border: 1px solid var(--gray-800);
    animation: floatDashboard 6s ease-in-out infinite;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

@keyframes floatDashboard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.dash-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gray-800);
    border-bottom: 1px solid var(--gray-700);
}

.dash-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
}

.dash-logo-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 6px;
}

.dash-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gray-700);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--gray-400);
}

.dash-search i {
    font-size: 12px;
}

.dash-user {
    display: flex;
    align-items: center;
}

.dash-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-lime);
    border-radius: 50%;
}

/* Dashboard content */
.dash-content {
    padding: var(--spacing-xl);
    padding-bottom: var(--spacing-2xl);
    flex: 1;
}

.dash-section {
    margin-bottom: var(--spacing-xl);
}

.dash-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.dash-section-title span {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: var(--lime);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--lime);
    border-radius: 50%;
    animation: pulseLive 2s ease-in-out infinite;
}

@keyframes pulseLive {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--lime);
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 0 0 var(--lime);
    }
}

/* Transaction list */
.transaction-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gray-800);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-700);
    animation: slideInTransaction 0.4s ease-out backwards;
}

.tx-1 {
    animation-delay: 0.1s;
}

.tx-2 {
    animation-delay: 0.2s;
}

.tx-3 {
    animation-delay: 0.3s;
}

@keyframes slideInTransaction {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tx-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.tx-icon.success {
    background: rgba(168, 234, 153, 0.2);
    color: var(--lime);
}

.tx-icon.processing {
    background: rgba(58, 66, 254, 0.2);
    color: var(--primary);
}

.tx-info {
    flex: 1;
}

.tx-desc {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    margin-bottom: 2px;
}

.tx-time {
    font-size: 12px;
    color: var(--gray-400);
}

.tx-amount {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
}

/* Dashboard metrics */
.dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.metric-mini {
    padding: var(--spacing-md);
    background: var(--gray-800);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-700);
}

.metric-mini-label {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.metric-mini-value {
    font-size: 24px;
    font-weight: var(--font-weight-black);
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.metric-mini-change {
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
}

.metric-mini-change.positive {
    color: var(--lime);
}

.metric-mini-change.neutral {
    color: var(--gray-500);
}

/* Dashboard info sidebar */
.dashboard-info h3 {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl) 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-700);
}

.info-list li strong {
    color: var(--gray-900);
    font-weight: var(--font-weight-bold);
}

.info-list i {
    color: var(--lime);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    text-decoration: none;
    background: var(--primary);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(58, 66, 254, 0.3);
    transition: all var(--transition-base);
}

.info-cta:hover {
    gap: var(--spacing-md);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58, 66, 254, 0.4);
    background: #2A32EE;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .coverage-stats {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .coverage-map {
        padding: var(--spacing-lg);
    }

    .map-label {
        display: none;
    }

    .dash-metrics {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 40px;
    }
}
/* ========================================
   Split Rules Builder
   ======================================== */

.split-builder-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--gray-900) 0%, #0A1428 100%);
}

.split-builder-section .section-badge {
    background: rgba(168, 234, 153, 0.2);
    color: var(--lime);
}

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

.split-builder-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.builder-container {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-3xl);
}

/* Builder Steps */
.builder-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

.step-card.active {
    border-color: var(--lime);
    background: rgba(168, 234, 153, 0.05);
}

.step-card .step-number {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-md);
    font-size: 18px;
}

.step-card.active .step-number {
    background: var(--lime);
    color: var(--black);
}

.step-content h3 {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.step-hint {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Amount Input */
.amount-builder-input {
    position: relative;
    margin-top: var(--spacing-md);
}

.currency-symbol {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
    pointer-events: none;
}

.amount-builder-input input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 55px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(168, 234, 153, 0.3);
    border-radius: var(--radius-md);
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    transition: all var(--transition-base);
}

.amount-builder-input input:focus {
    outline: none;
    border-color: var(--lime);
    background: rgba(255, 255, 255, 0.12);
}

/* Recipient Cards */
.recipient-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.recipient-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.recipient-card:hover {
    background: rgba(168, 234, 153, 0.1);
    border-color: var(--lime);
    transform: translateY(-2px);
}

.recipient-card:active {
    transform: translateY(0) scale(0.98);
}

.recipient-icon {
    font-size: 28px;
    line-height: 1;
}

.recipient-name {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
}

/* Builder Recipients List */
.builder-recipients {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.4);
}

.empty-state i {
    font-size: 32px;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.empty-state p {
    font-size: 14px;
}

.builder-recipient-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.recipient-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.recipient-item-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.recipient-item-icon {
    font-size: 24px;
}

.recipient-item-name {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
}

.btn-remove-recipient {
    background: rgba(255, 82, 82, 0.2);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5252;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-remove-recipient:hover {
    background: rgba(255, 82, 82, 0.3);
    transform: scale(1.1);
}

.recipient-slider-container {
    margin-bottom: var(--spacing-sm);
}

.recipient-slider {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}

.recipient-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--lime);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(168, 234, 153, 0.4);
    transition: all var(--transition-base);
}

.recipient-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(168, 234, 153, 0.6);
}

.recipient-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--lime);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(168, 234, 153, 0.4);
}

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

.recipient-item-percent {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
}

.recipient-item-amount {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.8);
}

/* Builder Totals */
.builder-totals {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.total-item:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.total-value {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
}

.total-value.warning {
    color: var(--warning);
}

.total-value.error {
    color: var(--error);
}

.remaining-value {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
}

/* Preview Panel */
.builder-preview {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-header h4 {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin: 0;
}

.btn-reset {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.preview-visual {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
}

.preview-amount {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(58, 66, 254, 0.1);
    border: 2px solid rgba(58, 66, 254, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.preview-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.preview-value {
    font-size: 36px;
    font-weight: var(--font-weight-black);
    color: var(--white);
}

.split-arrow {
    text-align: center;
    margin: var(--spacing-md) 0;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.split-arrow i {
    font-size: 24px;
}

.split-arrow span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-recipients {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.preview-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.preview-recipient {
    background: rgba(168, 234, 153, 0.1);
    border: 2px solid rgba(168, 234, 153, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.preview-recipient-icon {
    font-size: 36px;
    margin-bottom: var(--spacing-sm);
}

.preview-recipient-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
}

.preview-recipient-amount {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
    margin-bottom: 4px;
}

.preview-recipient-percent {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.preview-validation {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(58, 66, 254, 0.1);
    border: 1px solid rgba(58, 66, 254, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.preview-validation.success {
    background: rgba(168, 234, 153, 0.1);
    border-color: rgba(168, 234, 153, 0.3);
    color: var(--lime);
}

.preview-validation.warning {
    background: rgba(255, 184, 77, 0.1);
    border-color: rgba(255, 184, 77, 0.3);
    color: var(--warning);
}

.preview-validation.error {
    background: rgba(255, 82, 82, 0.1);
    border-color: rgba(255, 82, 82, 0.3);
    color: var(--error);
}

.preview-code {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.code-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header-mini span {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--lime);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.btn-copy-mini {
    background: rgba(168, 234, 153, 0.1);
    border: 1px solid rgba(168, 234, 153, 0.3);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    color: var(--lime);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-copy-mini:hover {
    background: rgba(168, 234, 153, 0.2);
}

.preview-code pre {
    margin: 0;
    padding: var(--spacing-md);
    overflow-x: auto;
}

.preview-code code {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    line-height: 1.6;
    font-family: 'SF Mono', Monaco, monospace;
}

/* Responsive */
@media (max-width: 1200px) {
    .builder-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .recipient-cards {
        grid-template-columns: 1fr;
    }

    .preview-recipients {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   Split Rules Builder
   ======================================== */

.split-builder-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, var(--gray-900) 0%, #0A1428 100%);
}

.split-builder-section .section-badge {
    background: rgba(168, 234, 153, 0.2);
    color: var(--lime);
}

.split-builder-section .section-title {
    color: var(--white);
    font-size: 36px;
    margin-bottom: var(--spacing-sm);
}

.split-builder-section .section-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.builder-container {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* Builder Steps */
.builder-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
}

.step-card.active {
    border-color: var(--lime);
    background: rgba(168, 234, 153, 0.05);
}

.step-card .step-number {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-sm);
    font-size: 14px;
}

.step-card.active .step-number {
    background: var(--lime);
    color: var(--black);
}

.step-content h3 {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.step-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Amount Input */
.amount-builder-input {
    position: relative;
    margin-top: var(--spacing-sm);
}

.currency-symbol {
    position: absolute;
    left: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
    pointer-events: none;
}

.amount-builder-input input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-sm) 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(168, 234, 153, 0.3);
    border-radius: var(--radius-sm);
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    transition: all var(--transition-base);
}

.amount-builder-input input:focus {
    outline: none;
    border-color: var(--lime);
    background: rgba(255, 255, 255, 0.12);
}

/* Recipient Cards */
.recipient-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: var(--spacing-sm);
}

.recipient-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.recipient-card:hover {
    background: rgba(168, 234, 153, 0.1);
    border-color: var(--lime);
    transform: translateY(-2px);
}

.recipient-card:active {
    transform: translateY(0) scale(0.98);
}

.recipient-icon {
    font-size: 24px;
    line-height: 1;
}

.recipient-name {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
}

/* Builder Recipients List */
.builder-recipients {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.empty-state {
    text-align: center;
    padding: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.4);
}

.empty-state i {
    font-size: 24px;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.empty-state p {
    font-size: 13px;
}

.builder-recipient-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.recipient-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.recipient-item-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.recipient-item-icon {
    font-size: 20px;
}

.recipient-item-name {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
}

.btn-remove-recipient {
    background: rgba(255, 82, 82, 0.2);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5252;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-remove-recipient:hover {
    background: rgba(255, 82, 82, 0.3);
    transform: scale(1.1);
}

.recipient-slider-container {
    margin-bottom: 6px;
}

.recipient-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.recipient-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--lime);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(168, 234, 153, 0.4);
    transition: all var(--transition-base);
}

.recipient-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(168, 234, 153, 0.6);
}

.recipient-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--lime);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(168, 234, 153, 0.4);
}

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

.recipient-item-percent {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
}

.recipient-item-amount {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.8);
}

/* Builder Totals */
.builder-totals {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.total-item:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-sm);
    margin-bottom: 6px;
}

.total-value {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
}

.total-value.warning {
    color: var(--warning);
}

.total-value.error {
    color: var(--error);
}

.remaining-value {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
}

/* Preview Panel */
.builder-preview {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-header h4 {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin: 0;
}

.btn-reset {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.preview-visual {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
}

.preview-amount {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(58, 66, 254, 0.1);
    border: 2px solid rgba(58, 66, 254, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.preview-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.preview-value {
    font-size: 36px;
    font-weight: var(--font-weight-black);
    color: var(--white);
}

.split-arrow {
    text-align: center;
    margin: var(--spacing-md) 0;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.split-arrow i {
    font-size: 24px;
}

.split-arrow span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-recipients {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.preview-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.preview-recipient {
    background: rgba(168, 234, 153, 0.1);
    border: 2px solid rgba(168, 234, 153, 0.3);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.preview-recipient-icon {
    font-size: 36px;
    margin-bottom: var(--spacing-sm);
}

.preview-recipient-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
}

.preview-recipient-amount {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--lime);
    margin-bottom: 4px;
}

.preview-recipient-percent {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.preview-validation {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(58, 66, 254, 0.1);
    border: 1px solid rgba(58, 66, 254, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.preview-validation.success {
    background: rgba(168, 234, 153, 0.1);
    border-color: rgba(168, 234, 153, 0.3);
    color: var(--lime);
}

.preview-validation.warning {
    background: rgba(255, 184, 77, 0.1);
    border-color: rgba(255, 184, 77, 0.3);
    color: var(--warning);
}

.preview-validation.error {
    background: rgba(255, 82, 82, 0.1);
    border-color: rgba(255, 82, 82, 0.3);
    color: var(--error);
}

.preview-code {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.code-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header-mini span {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--lime);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.btn-copy-mini {
    background: rgba(168, 234, 153, 0.1);
    border: 1px solid rgba(168, 234, 153, 0.3);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    color: var(--lime);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-copy-mini:hover {
    background: rgba(168, 234, 153, 0.2);
}

.preview-code pre {
    margin: 0;
    padding: var(--spacing-md);
    overflow-x: auto;
}

.preview-code code {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    line-height: 1.6;
    font-family: 'SF Mono', Monaco, monospace;
}

/* Responsive */
@media (max-width: 1200px) {
    .builder-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .recipient-cards {
        grid-template-columns: 1fr;
    }

    .preview-recipients {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Custom Classes for Product Pages
   ======================================== */

/* Breadcrumb Navigation */
.breadcrumb-wrapper {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    margin-top: 76px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    color: var(--gray-600);
}

.breadcrumb a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.breadcrumb-separator {
    color: var(--gray-400);
}

.breadcrumb-current {
    color: var(--gray-800);
    font-weight: var(--font-weight-medium);
}

/* Step Badge */
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    margin-right: 0.5rem;
}

/* Inline Code */
.inline-code {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 4px 8px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 13px;
    color: var(--primary);
}

/* Code Highlighting */
.code-key { color: #0066CC; }
.code-string { color: #0AA344; }
.code-number { color: #C18401; }
.code-boolean { color: #C18401; }
.code-punctuation { color: var(--gray-700); }

/* Use Case Subtitle */
.use-case-subtitle {
    font-size: 14px;
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
}

/* Case Stats */
.case-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.stat-mini {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-mini strong {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-800);
}

.stat-mini span {
    font-size: 13px;
    color: var(--gray-600);
}

/* Inline CTA */
.cta-inline {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #2A32E5 100%);
}

.cta-inline-content {
    text-align: center;
    color: var(--white);
}

.cta-inline-content h3 {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
}

.cta-inline-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cta-inline .btn-large {
    background: var(--white);
    color: var(--primary);
}

.cta-inline .btn-large:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Background Utility */
.bg-gray-light {
    background: var(--gray-100);
}

/* FAQ Container */
.faq-section {
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-base);
}

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

.faq-chevron {
    color: var(--primary);
    font-size: 14px;
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-collapsible .faq-question {
    margin-bottom: 0;
}

.faq-collapsible .faq-answer {
    margin-top: 0.75rem;
}

.faq-answer {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
}

.faq-answer code {
    padding: 2px 6px;
    background: var(--gray-100);
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
    color: var(--primary);
}

/* Dashboard Preview Styles */
.dashboard-preview {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.reconciliation-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.summary-label {
    font-size: 13px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-800);
}

.summary-trend {
    font-size: 13px;
    margin-top: 0.25rem;
}

.trend-positive {
    color: #0AA344;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
}

.status-success {
    background: rgba(10, 163, 68, 0.1);
    color: #0AA344;
}

.status-warning {
    background: rgba(255, 184, 77, 0.1);
    color: #C18401;
}

.status-error {
    background: rgba(255, 82, 82, 0.1);
    color: #FF5252;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.comparison-card {
    padding: 2rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
    background: white;
}

.comparison-card.before {
    border-color: var(--error);
    background: white;
}

.comparison-card.after {
    border-color: var(--lime);
    background: white;
}

.comparison-label {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.comparison-card.before .comparison-label {
    color: var(--error);
}

.comparison-card.after .comparison-label {
    color: #0AA344;
}

.comparison-value {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
}

.comparison-description {
    font-size: 15px;
    color: var(--gray-600);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

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

.timeline-item {
    position: relative;
    padding: 1.5rem 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 2rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    z-index: 1;
}

.timeline-time {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .comparison-value {
        font-size: 36px;
    }

    .case-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Hero Simple (Split Page) */
.hero-simple {
    padding: 4rem 0 3rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
}

.hero-simple-content {
    text-align: center;
    margin-bottom: 3rem;
}

.split-simple-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto 2rem;
}

.split-input {
    text-align: center;
    padding: 1.5rem;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    min-width: 150px;
}

.split-amount {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
}

.split-label {
    font-size: 13px;
    opacity: 0.9;
}

.split-arrow {
    font-size: 32px;
    color: var(--gray-400);
    font-weight: var(--font-weight-bold);
}

.split-outputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.split-output {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    min-width: 280px;
}

.output-value {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-800);
}

.output-label {
    font-size: 14px;
    color: var(--gray-600);
}

.split-footer-simple {
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    font-size: 13px;
    color: var(--gray-600);
    white-space: nowrap;
}

.split-simple-visual {
    position: relative;
    padding-bottom: 3rem;
}

.stats-inline {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-inline {
    font-size: 15px;
    color: var(--gray-700);
}

.stat-inline strong {
    color: var(--primary);
    font-weight: var(--font-weight-bold);
    margin-right: 0.25rem;
}

@media (max-width: 768px) {
    .split-simple-visual {
        flex-direction: column;
        gap: 1.5rem;
    }

    .split-arrow {
        transform: rotate(90deg);
    }

    .split-output {
        min-width: 100%;
    }

    .stats-inline {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* Override payment-flow-section dark background */
.payment-flow-section.bg-gray-light {
    background: var(--gray-100) !important;
}

.payment-flow-section.bg-gray-light .section-badge {
    color: var(--primary);
    background: rgba(58, 66, 254, 0.1);
}

.payment-flow-section.bg-gray-light .section-title {
    color: var(--gray-800);
}

.payment-flow-section.bg-gray-light .section-description {
    color: var(--gray-600);
}
