/* css code for landing nexxopay
DEV: Luciano Zannet
SITE: Designmp.Net
DATE: 27/02/2026
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #2dd8c8;
    --teal-dim: rgba(45, 216, 180, 0.18);
    --bg: #0c0f13;
    --text: #ffffff;
    --muted: #9aa8b8;
    --primary: #0d6efd;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --card: rgba(20, 25, 32, 0.95);
    --border: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.5);
    --hover: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Sora', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── ANIMATED BACKGROUND ─── */
.scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%, #0f1820 0%, #0c0f13 100%);
}

/* Main teal blob — the hero glow */
.blob-main {
    position: absolute;
    width: 70vmax;
    height: 70vmax;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 45%,
            rgba(30, 200, 170, 0.38) 0%,
            rgba(20, 160, 140, 0.22) 35%,
            rgba(10, 100, 100, 0.10) 65%,
            transparent 80%);
    filter: blur(60px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blobDrift 18s ease-in-out infinite;
    will-change: transform, border-radius;
}

/* Secondary softer halo */
.blob-halo {
    position: absolute;
    width: 90vmax;
    height: 90vmax;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
            rgba(20, 180, 160, 0.12) 0%,
            rgba(10, 120, 110, 0.06) 50%,
            transparent 75%);
    filter: blur(90px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: haloDrift 26s ease-in-out infinite reverse;
    will-change: transform;
}

/* Accent top-left cool teal */
.blob-accent {
    position: absolute;
    width: 40vmax;
    height: 40vmax;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 40%,
            rgba(0, 230, 200, 0.20) 0%,
            transparent 70%);
    filter: blur(50px);
    top: -10%;
    left: -5%;
    animation: accentDrift 22s ease-in-out infinite;
    will-change: transform;
}

/* Accent bottom-right */
.blob-right {
    position: absolute;
    width: 50vmax;
    height: 50vmax;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 60%,
            rgba(20, 200, 180, 0.15) 0%,
            transparent 70%);
    filter: blur(70px);
    bottom: -15%;
    right: -10%;
    animation: rightDrift 30s ease-in-out infinite reverse;
    will-change: transform;
}

/* Dark vignette overlay so text stays readable */
.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(8, 10, 14, 0.70) 100%);
    pointer-events: none;
}

/* Noise grain */
.grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ─── KEYFRAMES ─── */
@keyframes blobDrift {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        border-radius: 50%;
    }

    15% {
        transform: translate(-46%, -56%) scale(1.05) rotate(8deg);
        border-radius: 55% 45% 60% 40%/50% 55% 45% 50%;
    }

    30% {
        transform: translate(-55%, -44%) scale(0.97) rotate(-6deg);
        border-radius: 45% 55% 40% 60%/55% 45% 55% 45%;
    }

    45% {
        transform: translate(-44%, -50%) scale(1.08) rotate(12deg);
        border-radius: 60% 40% 55% 45%/45% 60% 40% 55%;
    }

    60% {
        transform: translate(-52%, -58%) scale(1.02) rotate(-10deg);
        border-radius: 50% 50% 45% 55%/60% 40% 60% 40%;
    }

    75% {
        transform: translate(-48%, -42%) scale(1.06) rotate(5deg);
        border-radius: 55% 45% 50% 50%/40% 55% 45% 60%;
    }

    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        border-radius: 50%;
    }
}

@keyframes haloDrift {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }

    25% {
        transform: translate(-53%, -47%) scale(1.04) rotate(15deg);
    }

    50% {
        transform: translate(-47%, -53%) scale(0.98) rotate(-10deg);
    }

    75% {
        transform: translate(-55%, -50%) scale(1.06) rotate(20deg);
    }

    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

@keyframes accentDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(8vw, 6vh) scale(1.1);
    }

    66% {
        transform: translate(-4vw, 12vh) scale(0.95);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes rightDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    40% {
        transform: translate(-10vw, -8vh) scale(1.08);
    }

    80% {
        transform: translate(4vw, -4vh) scale(0.96);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



/* ─── NAVBAR ─── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 72px;
    background: rgba(10, 13, 18, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.5rem;
        color: #fff;
        z-index: 9999;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    user-select: none;
    flex-shrink: 0;
}



.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 36px;
    height: 36px;
}

.logo-wordmark {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.logo-wordmark span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--teal);
    letter-spacing: 0.08em;
    vertical-align: super;
    margin-left: 2px;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0 1rem;
}

.nav-links a {
    color: #c4d4e8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #fff;
}

/* CTA button */
.btn-cta {
    background: var(--teal);
    color: #0c1010;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(45, 216, 200, 0.35);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-cta:hover {
    background: #3aedda;
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(45, 216, 200, 0.55);
}

/* ─── HERO ─── */
.hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 5% 60px;
}

.hero-inner {
    width: 100%;
}

.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 1.6rem;
}

.hero-title strong {
    font-weight: 800;
    display: block;
}

.hero-desc {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    color: #FFF;
    line-height: 1.7;
    max-width: 80%;
    margin: 0 auto 2.8rem;
    font-weight: 400;
}

.btn-hero {
    background: #fff;
    color: #0c0f13;
    border: none;
    padding: 0.9rem 2.8rem;
    border-radius: 50px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    background: #e8f0ff;
    transform: scale(1.02);
}

/* ─── SEÇÃO DE CONVERSÃO ─── */
.trade-section {
    padding: 100px 20px 80px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex: 1;
}

.trade-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

/* Tabs */
.trade-float-tabs {
    position: absolute;
    top: -26px;
    left: 40%;
    transform: translateX(-30%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: var(--card);
    padding: 4px;
    border-radius: 50px;
    box-shadow: 0 4px 12px var(--shadow);
}

.trade-tab {
    padding: 10px 28px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.trade-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Card de Conversão */
.trade-card {
    background: var(--card);
    border-radius: 24px;
    padding: 40px 28px 32px;
    box-shadow: 0 20px 60px var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Grupos de Input */
.trade-group {
    margin-bottom: 24px;
}

.trade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 8px;
}

.trade-input {
    display: flex;
    align-items: center;
    background: var(--bg);
    border-radius: 16px;
    padding: 16px 20px;
    border: 2px solid var(--border);
    transition: all 0.3s;
    width: 100%;
}

.trade-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.trade-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
    text-align: right;
    min-width: 0;
    width: 100%;
}

.trade-input input:focus {
    outline: none;
}

.trade-input input[readonly] {
    background: rgba(0, 0, 0, 0.05);
    color: var(--muted);
}

.currency {
    font-weight: 600;
    color: var(--text);
    font-size: 18px;
    min-width: 60px;
    text-align: left;
}

/* Seta */
.trade-arrow {
    text-align: center;
    margin: 20px 0;
    color: var(--primary);
    font-size: 24px;
}

/* Taxa */
.trade-fee {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
    margin: 20px 0;
    padding: 16px;
    background: var(--bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

/* Botões de Ação */
.trade-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-outline {
    flex: 1;
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--hover);
}

.btn-main {
    flex: 1;
    background: var(--primary);
    border: none;
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-main:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* Step 2 - Seleção de Rede */
.network-selection {
    animation: slideIn 0.3s ease;
}

.network-options {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.network-option {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.network-option:hover {
    border-color: var(--primary);
    background: var(--hover);
}

.network-option.selected {
    border-color: var(--primary);
    background: rgba(13, 110, 253, 0.1);
}

.network-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
    color: white;
}

.network-icon.onchain {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.network-icon.lightning {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.network-icon.liquid {
    background: linear-gradient(135deg, #10b981, #059669);
}

.network-info h6 {
    margin: 0;
    font-weight: 600;
}

.network-info small {
    color: var(--muted);
    font-size: 12px;
}

/* Wallet Input */
.wallet-input-group {
    margin: 25px 0;
}

.wallet-input-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--muted);
}

.wallet-input {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    width: 100%;
    color: var(--text);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 15px;
    transition: all 0.3s;
}

.wallet-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.wallet-input.valid {
    border-color: var(--success);
    background: rgba(25, 135, 84, 0.05);
}

.wallet-input.invalid {
    border-color: var(--danger);
    background: rgba(220, 53, 69, 0.05);
}

.validation-message {
    font-size: 13px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
}

.validation-message.valid {
    color: var(--success);
}

.validation-message.invalid {
    color: var(--danger);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    border: 2px solid var(--bg);
}

.step.active .step-number {
    background: var(--primary);
    color: white;
}

.step.completed .step-number {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

/* Informações da cotação */
.exchange-rate-info {
    background: var(--bg);
    padding: 12px 16px;
    border-radius: 12px;
    margin-top: 20px;
    border-left: 4px solid var(--primary);
}

.exchange-rate-info .rate-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1em;
}

/* Botão de atualização */
.refresh-rate-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s;
    margin-left: 8px;
}

.refresh-rate-btn:hover {
    background: var(--hover);
}

.refresh-rate-btn.rotating {
    animation: rotate 1s linear infinite;
}

/* Loading overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 24px;
    color: white;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-back {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0.3;
}

.btn-back:hover {
    border-color: var(--primary);
    background: var(--hover);
}

.btn-next {
    background: var(--primary);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0.7;
}

.btn-next:hover {
    background: #0b5ed7;
}

.btn-next:disabled {
    background: var(--muted);
    cursor: not-allowed;
    opacity: 0.7;
}

/* Fee highlight */
.fee-highlight {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--warning);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 20px 0;
}

.fee-highlight .fee-percentage {
    font-weight: 700;
    color: var(--warning);
    font-size: 1.2em;
}

/* ─── FOOTER ─── */
footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.4rem 5%;
    background: rgba(8, 10, 14, 0.5);
    text-align: center;
    font-size: 0.82rem;
    color: #556070;
}

/* ─── MEDIA QUERIES ─── */
@media (max-width: 768px) {
    nav {
        padding: 0 4%;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 0 3%;
    }

    .nav-links {
        display: none;
    }

    .btn-cta {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .logo-wordmark {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
    }

    .logo-icon svg {
        width: 30px;
        height: 30px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 380px) {
    .btn-cta {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .logo-wordmark {
        font-size: 1rem;
    }

    .logo-wordmark span {
        font-size: 0.6rem;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .logo-icon svg {
        width: 24px;
        height: 24px;
    }
}


.nex-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nex-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(100, 108, 255, 0.1) 0%, transparent 70%);
    animation: nexPulse 8s ease-in-out infinite;
}

.nex-hero-container {
    position: relative;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 2rem;
    z-index: 2;
}

.nex-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.nex-hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: transparent;
    background: linear-gradient(135deg, #FFFFFF 0%, #A5B4FC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.nex-hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #646CFF, #A855F7);
    border-radius: 4px;
}

.nex-hero-text-wrapper {
    margin: 2.5rem 0 3rem;
}

.nex-hero-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nex-hero-text-secondary {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #646CFF;
    padding-left: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 8px 8px 0;
}

.nex-hero-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #646CFF 0%, #A855F7 100%);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(100, 108, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.nex-hero-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nex-hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(100, 108, 255, 0.4);
}

.nex-hero-button:hover::before {
    width: 300px;
    height: 300px;
}

@keyframes nexPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .nex-hero-container {
        padding: 1.5rem;
    }

    .nex-hero-title {
        font-size: 2.5rem;
    }

    .nex-hero-text {
        font-size: 1rem;
    }

    .nex-hero-text-secondary {
        font-size: 0.95rem;
    }

    .nex-hero-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
}


/* ================================================
   TAXAS E LIMITES
   ================================================ */
.nex-taxas-hero {
    width: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-top: 50px;
}

.nex-taxas-alien {
    position: absolute;
    bottom: 0;
    width: 210px;
    z-index: 1;
}

.nex-taxas-alien--left {
    left: 0;
}

.nex-taxas-alien--right {
    right: 0;
    transform: scaleX(-1);
}

.nex-taxas-hero-content {
    max-width: 1280px;
    width: 100%;
    padding: 50px 20px;
}

.nex-taxas-body {
    padding: 40px 0 60px;
    position: relative;
    z-index: 5;
}

.nex-taxas-hero::before {
    content: '';
    inset: 0;
    background:
        radial-gradient(ellipse 55% 90% at 50% 50%, rgba(0, 210, 140, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 35% 70% at 15% 50%, rgba(0, 140, 255, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 35% 70% at 85% 50%, rgba(0, 140, 255, 0.10) 0%, transparent 60%);
    pointer-events: none;
}

.nex-taxas-alien {
    bottom: 0;
    width: 210px;
    z-index: 0;
}

.nex-taxas-alien img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 24px rgba(0, 210, 210, 0.28));
}

.nex-taxas-alien--left {
    left: 0;
}

.nex-taxas-alien--right {
    right: 0;
    transform: scaleX(-1);
}

.nex-taxas-hero-content {
    z-index: 2;
    max-width: 1280px;
    padding: 50px 20px;
    text-align: center;
}

.nex-taxas-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2de8a0;
    margin: 0 0 22px;
    letter-spacing: -0.5px;
    text-shadow: 0 0 40px rgba(45, 232, 160, 0.35);
}

.nex-taxas-hero-desc {
    font-size: 0.97rem;
    color: #c8dff5;
    line-height: 1.75;
    text-align: left !important;
    margin: 0;
    padding-left: 0px;
}

.nex-taxas-hero-bar {
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: #2de8a0;
    border-radius: 2px;
}

/* --- Body --- */
.nex-taxas-body {
    padding: 40px 0 60px;
    position: relative;
    z-index: 1;
}


.nex-taxas-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    z-index: 2;
}

/* --- Cabeçalho --- */
.nex-taxas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 4px;
}

.nex-taxas-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nex-taxas-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(45, 232, 160, 0.12);
    border: 1.5px solid rgba(45, 232, 160, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2de8a0;
    flex-shrink: 0;
}

.nex-taxas-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2de8a0;
    margin: 0;
}

.nex-taxas-badges {
    display: flex;
    gap: 10px;
}

.nex-taxas-badge {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 6px 14px;
    border-radius: 6px;
    text-transform: uppercase;
}

.nex-taxas-badge--yellow {
    border: 1.5px solid #e8c53a;
    color: #e8c53a;
    background: transparent;
}

.nex-taxas-badge--green {
    border: 1.5px solid #2de8a0;
    color: #2de8a0;
    background: transparent;
}

/* --- Cards --- */
.nex-taxas-card {
    background: #16212e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.25s ease;
}

.nex-taxas-card:hover {
    border-color: rgba(45, 232, 160, 0.22);
}

.nex-taxas-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2de8a0;
}

.nex-taxas-card-row {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nex-taxas-pill {
    background: #2de8a0;
    color: #071018;
    font-size: 1.55rem;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 10px;
    letter-spacing: -0.5px;
    min-width: 108px;
    text-align: center;
    flex-shrink: 0;
}

.nex-taxas-card-desc {
    font-size: 0.93rem;
    color: #7a9ab8;
}

/* --- Responsivo --- */
@media (max-width: 768px) {
    .nex-taxas-alien {
        width: 130px;
        opacity: 0.45;
    }

    .nex-taxas-hero-title {
        font-size: 2rem;
    }

    .nex-taxas-hero-content {
        padding: 40px 16px;
        margin-top: 50px !important;
    }

    .nex-taxas-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nex-taxas-pill {
        font-size: 1.25rem;
        min-width: 88px;
        padding: 8px 16px;
    }
}

/* CSS Suporte  */
.nex-section {
    padding: 60px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.nex-taxas-hero {
    width: 100%;
    min-height: 260px;
    z-index: 0;
    margin-top: 50px;
}

.nex-taxas-alien {
    position: absolute;
    bottom: 0;
    width: 210px;
    z-index: 1;
}

.nex-taxas-alien--left {
    left: 0;
}

.nex-taxas-alien--right {
    right: 0;
    transform: scaleX(-1);
}

.nex-taxas-hero-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    z-index: 2;
}

/* Título da seção */
.nex-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
}

/* FAQ Section */
.nex-faq-section {
    margin-bottom: 80px;
    margin-top: 80px;
}

.nex-faq-grid {
    margin: 0 auto;
}

.nex-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.nex-faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.nex-faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
}

.nex-faq-icon {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
}

.nex-faq-answer {
    max-height: 0;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.3);
    color: #ccc;
    line-height: 1.6;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.nex-faq-answer.active {
    max-height: 200px;
    padding: 20px;
}

/* Cards duplos */
.nex-dual-cards {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.nex-card {
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nex-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
}

.nex-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nex-card-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.nex-card-title {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.nex-card-text {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 25px;
}

.nex-card-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
}

.nex-telegram-btn {
    background: #0088cc;
    color: white;
}

.nex-telegram-btn:hover {
    background: #006699;
    transform: scale(1.05);
}

.nex-submit-btn {
    background: #ffd700;
    color: #0a0c0f;
    font-size: 1rem;
}

.nex-submit-btn:hover {
    background: #ffed4a;
    transform: scale(1.02);
}

/* Formulário */
.nex-contact-form {
    width: 100%;
}

.nex-form-group {
    margin-bottom: 20px;
    width: 100%;
}

.nex-form-input,
.nex-form-select,
.nex-form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    color: #fff !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nex-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.nex-form-input:focus,
.nex-form-select:focus,
.nex-form-textarea:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    color: #FFF;
}

.nex-form-select option {
    background: #1a1e24;
    color: #fff;
}

/* Responsividade */
@media (max-width: 768px) {
    .nex-dual-cards {
        grid-template-columns: 1fr;
    }

    .trade-wrapper {
        padding-top: 0px;
    }

    .trade-section {
        min-height: auto;
        display: block;
        margin-top: 40px;
    }

    .trade-float-tabs {
        position: relative;
        left: auto;
        transform: none;
        width: 100%;
        display: flex;
        gap: 8px;
        margin-bottom: 0px !important;
    }

    .trade-tab {
        flex: 1;
        padding: 12px 0;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .nex-section {
        padding: 50px 0;
    }

    .nex-section-title {
        font-size: 2rem;
    }

    .nex-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .nex-card-title {
        font-size: 1.3rem;
    }
}

/* ============================
   ESTILOS PARA O SISTEMA DE TROCA - VERSÃO FINTECH
   ============================ */

.trade-section {
    padding: 40px 20px;
    background: var(--bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trade-wrapper {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-top: 20px;
}

/* Tabs flutuantes */
.trade-float-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.trade-tab {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--card);
    color: var(--muted);
    border: 1px solid var(--border);
}

.trade-tab.active {
    background: var(--teal);
    color: var(--bg);
    border-color: var(--teal);
    box-shadow: 0 4px 15px rgba(45, 216, 200, 0.3);
}

.trade-tab i {
    font-size: 1rem;
}

/* Card principal - FUNDO SÓLIDO */
.trade-card {
    background: var(--card);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px var(--shadow);
    border: 1px solid var(--border);
    backdrop-filter: none;
    /* Remover qualquer blur/transparência */
    transition: all 0.3s ease;
}

/* Controle de visibilidade dos steps */
.step-content {
    display: block;
}

.step-hidden {
    display: none !important;
}

.form-hidden {
    display: none !important;
}

/* Grupos de input */
.trade-group {
    margin-bottom: 20px;
}

.trade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.trade-header span i {
    color: var(--teal);
}

.trade-header small {
    color: var(--muted);
    opacity: 0.8;
}

/* Input group com select e input - FUNDO SÓLIDO */
.trade-input-group {
    display: flex;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.trade-input-group:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(45, 216, 200, 0.1);
}

.currency-select {
    background: transparent;
    border: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    padding: 0 10px 0 0;
    cursor: pointer;
    outline: none;
    min-width: 100px;
    border-right: 1px solid var(--border);
    margin-right: 10px;
}

.currency-select option {
    background: var(--card) !important;
    color: var(--text);
    padding: 10px;
}

.trade-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    text-align: right;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    padding: 0;
}

.trade-input-group input:focus {
    outline: none;
}

.trade-input-group input[readonly] {
    color: var(--muted);
    font-weight: 500;
}

/* Seta de conversão */
.trade-arrow {
    text-align: center;
    margin: 5px 0;
    color: var(--teal);
    font-size: 1.8rem;
    opacity: 0.7;
}

/* Informação de taxa - FUNDO SÓLIDO */
.trade-fee {
    background: var(--teal-dim);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text);
    margin: 20px 0;
    border-left: 3px solid var(--teal);
}

.trade-fee i {
    color: var(--teal);
}

/* Botões de ação */
.trade-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-outline {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-dim);
}

.btn-main {
    flex: 2;
    padding: 14px;
    border: none;
    background: var(--teal);
    border-radius: 14px;
    color: var(--bg);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(45, 216, 200, 0.3);
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 216, 200, 0.4);
}

.btn-main:active {
    transform: translateY(0);
}

/* Seletores de rede/método - FUNDO SÓLIDO */
.network-selector,
.payment-method-selector {
    margin: 15px 0;
    padding: 15px;
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.network-selector label,
.payment-method-selector label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(45, 216, 200, 0.1);
}

.form-select option {
    background: var(--card);
    color: var(--text);
}

/* Opções de rede (Step 2) - FUNDO SÓLIDO */
.network-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.network-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.network-option:hover {
    border-color: var(--teal);
    background: var(--teal-dim);
    transform: translateX(5px);
}

.network-option.selected {
    border-color: var(--teal);
    background: var(--teal-dim);
}

.network-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--card);
    color: var(--teal);
}

.network-icon.onchain {
    background: linear-gradient(135deg, #F7931A, #FFB347);
    color: white;
}

.network-icon.lightning {
    background: linear-gradient(135deg, #792EE5, #B77CFF);
    color: white;
}

.network-icon.liquid {
    background: linear-gradient(135deg, #00B5D9, #4ECDC4);
    color: white;
}

.network-icon.BEP20 {
    background: linear-gradient(135deg, #F0B90B, #FFD700);
    color: black;
}

.network-icon.ERC20 {
    background: linear-gradient(135deg, #627EEA, #8A9FF0);
    color: white;
}

.network-icon.TRC20 {
    background: linear-gradient(135deg, #FF4B4B, #FF8080);
    color: white;
}

.network-info h6 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: var(--text);
}

.network-info small {
    color: var(--muted);
    font-size: 0.85rem;
}

/* Input de wallet - FUNDO SÓLIDO */
.wallet-input-group {
    margin: 20px 0;
}

.wallet-input-label {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.wallet-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.wallet-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(45, 216, 200, 0.1);
}

.wallet-input.valid {
    border-color: var(--teal);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232dd8c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

.wallet-input.invalid {
    border-color: var(--danger);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23dc3545' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

/* Mensagens de validação - FUNDO SÓLIDO */
.validation-message {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
}

.validation-message.valid {
    background: rgba(45, 216, 200, 0.1);
    color: var(--teal);
    border-color: var(--teal);
}

.validation-message.invalid {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    border-color: var(--danger);
}

.validation-message i {
    font-size: 1rem;
}

/* Navegação entre steps */
.step-navigation {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn-back {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-dim);
}

.btn-next {
    flex: 2;
    padding: 14px;
    border: none;
    background: var(--teal);
    border-radius: 14px;
    color: var(--bg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 216, 200, 0.3);
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--muted);
}

/* Detalhes de confirmação - FUNDO SÓLIDO */
.confirmation-details {
    background: var(--bg);
    padding: 20px;
    border-radius: 16px;
    margin: 20px 0;
    border: 1px solid var(--border);
}

.detail-row {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: var(--muted);
}

.detail-row .fw-bold {
    color: var(--text);
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 15, 19, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(45, 216, 200, 0.1);
    border-radius: 50%;
    border-top-color: var(--teal);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: var(--text);
    font-size: 1.1rem;
    margin: 0;
}

/* Badges */
.badge {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.bg-secondary {
    background: var(--bg);
    color: var(--muted);
    border: 1px solid var(--border);
}

/* Alertas - FUNDO SÓLIDO */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin: 15px 0;
    border: 1px solid var(--border);
}

.alert-info {
    background: rgba(45, 216, 200, 0.1);
    border-left: 3px solid var(--teal);
    color: var(--text);
}

.alert-info i {
    color: var(--teal);
}

/* Resumo da transação - FUNDO SÓLIDO */
.transaction-summary {
    background: var(--bg);
    border-radius: 8px;
    font-size: 0.95rem;
    padding: 15px;
    border: 1px solid var(--border);
}

.transaction-summary .fw-bold {
    color: var(--teal);
}

/* Ajustes para inputs number - remover setas */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Responsividade */
@media (max-width: 768px) {
    .trade-card {
        padding: 20px;
    }

    .trade-actions {
        flex-direction: column;
    }

    .btn-outline,
    .btn-main {
        width: 100%;
    }

    .trade-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .currency-select {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 0 0 10px 0;
        margin-right: 0;
        width: 100%;
    }

    .network-option {
        padding: 12px;
    }

    .network-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}


/* ── Nav Actions ─────────────────────────────── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Botão Entrar ────────────────────────────── */
.btn-login {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* ── Seletor de Idiomas ──────────────────────── */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.lang-btn img {
    border-radius: 3px;
    display: block;
}

.lang-chevron {
    width: 10px;
    height: 10px;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s;
}

.lang-selector.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #0f1117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 6px;
    min-width: 140px;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lang-selector.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 7px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.83rem;
    font-family: 'Sora', sans-serif;
    transition: background 0.15s;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.lang-option img {
    border-radius: 3px;
}

/* ── Mobile: esconde nav-actions redistribuído ── */
@media (max-width: 768px) {
    .nav-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.5rem;
        color: #fff;
        z-index: 9999;
    }

    /* Esconde os itens por padrão no mobile */
    .nav-links,
    .nav-actions {
        display: none;
    }

    /* Quando o menu estiver aberto */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        position: fixed;
        top: 72px;
        /* altura da navbar */
        left: 0;
        width: 100%;
        background: rgba(10, 13, 18, 0.97);
        padding: 2rem 0;
        z-index: 9998;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-actions.open {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        position: fixed;
        top: calc(72px + 220px);
        left: 0;
        width: 100%;
        background: rgba(10, 13, 18, 0.97);
        padding: 1.5rem 0 2rem;
        z-index: 9998;
    }
}

.nex-taxas-card--highlight {
    border: 2px solid #00ff88;
    background: rgba(0, 255, 136, 0.05);
}

.nex-taxas-card-label--discount {
    color: #00ff88;
    font-weight: 700;
}

.nex-taxas-discount {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.nex-taxas-discount-percent {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ff88;
}

.nex-taxas-discount-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.nex-taxas-card-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.nex-taxas-limites {
    margin-top: 50px;
}

.nex-taxas-limites-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.nex-taxas-limites-header svg {
    color: #00ff88;
}

.nex-taxas-limites-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nex-taxas-limites-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.nex-taxas-limites-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nex-taxas-limites-card--highlight {
    background: rgba(0, 255, 136, 0.08);
    border-color: #00ff88;
}

.nex-taxas-limites-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.nex-taxas-limites-badge {
    width: 24px;
    height: 24px;
    background: #00ff88;
    color: #0B1120;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.nex-taxas-limites-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nex-taxas-limites-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nex-taxas-limites-list li:last-child {
    border-bottom: none;
}

.nex-taxas-limites-method {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.nex-taxas-limites-value {
    color: white;
    font-weight: 600;
}

.nex-taxas-limites-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.nex-taxas-limites-footer svg {
    color: #00ff88;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nex-taxas-limites-grid {
        grid-template-columns: 1fr;
    }
}

/* Novos estilos para os seletores */
.trade-input-group {
    display: flex;
    gap: 10px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
}

.currency-select {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0 5px;
    cursor: pointer;
    outline: none;
    min-width: 80px;
}

.currency-select option {
    background: var(--bg-primary);
}

.trade-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    text-align: right;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.trade-input-group input:focus {
    outline: none;
}

.network-selector,
.payment-method-selector {
    margin-top: 15px;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.network-selector label,
.payment-method-selector label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--input-bg);
    color: var(--text-primary);
}

.transaction-summary {
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 0.95rem;
}

.transaction-summary .fw-bold {
    color: var(--text-primary);
}

/* Ajustes para tema escuro */
.theme-dark .transaction-summary {
    background: rgba(255, 255, 255, 0.05);
}

.theme-dark .network-selector,
.theme-dark .payment-method-selector {
    background: rgba(0, 0, 0, 0.2);
}

/* Estilos para listas dentro do nex-hero-content */
.nex-hero-content ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.nex-hero-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 16px;
    color: rgba(133, 223, 160, 0.8);
}

/* Marcadores personalizados */
.nex-hero-content li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #54d188;
    font-size: 18px;
    font-weight: bold;
}

/* Estilos para níveis aninhados */
.nex-hero-content ul ul li {
    padding-left: 35px;
    font-size: 15px;
}

.nex-hero-content ul ul li::before {
    content: "◦";
    left: 18px;
    font-size: 16px;
}

.nex-hero-content ul ul ul li::before {
    content: "▪";
}

/* Espaçamento entre parágrafos e listas */
.nex-hero-content p+ul,
.nex-hero-content ul+p {
    margin-top: 15px;
}

/* Responsividade */
@media (max-width: 768px) {
    .nex-hero-content li {
        font-size: 15px;
        padding-left: 22px;
    }

    .nex-hero-content li::before {
        left: 6px;
        font-size: 16px;
    }
}

/* Layout com duas colunas */
.nex-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Conteúdo da esquerda */
.nex-hero-content {
    color: white;
    max-width: 600px;
}

.nex-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
}

.nex-hero-title span {
    color: #00ff88;
    display: block;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 10px;
}

.nex-hero-text-wrapper {
    margin-bottom: 40px;
}

.nex-hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.verde {
    color: #00ff88;
    font-weight: 600;
}

.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background: #00ff88;
    color: #0B1120;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    border: 2px solid #00ff88;
}

.btn-hero:hover {
    background: transparent;
    color: #00ff88;
}

/* Container da imagem (lado direito) */
.nex-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nex-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Letras decorativas grandes ao fundo (estilo BOAT PAY) */
.nex-letters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.1;
}

.nex-letter {
    position: absolute;
    font-size: 12rem;
    font-weight: 900;
    color: #00ff88;
    text-transform: uppercase;
    font-family: 'Arial Black', sans-serif;
    white-space: nowrap;
}

.nex-letter-1 {
    top: 5%;
    left: 5%;
}

.nex-letter-2 {
    bottom: 5%;
    right: 5%;
}

.nex-letter-3 {
    top: 30%;
    right: 10%;
}

.nex-letter-4 {
    bottom: 30%;
    left: 10%;
}

/* Responsividade */
@media (max-width: 1024px) {
    .nex-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px 20px;
    }

    .nex-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .nex-hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .nex-hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nex-hero-title {
        font-size: 2.2rem;
    }

    .nex-hero-title span {
        font-size: 1.5rem;
    }

    .nex-hero-text {
        font-size: 1rem;
    }

    .nex-letter {
        font-size: 6rem;
    }
}

/* Apenas dimensões e estrutura */
.pagina-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 100px 5% 60px;
}


.pagina {
    width: 100%;
}

.pagina-conteudo {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Mobile */
@media (max-width: 768px) {
    .pagina-container {
        padding: 15px;
    }

    .pagina-conteudo {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .pagina-container {
        padding: 10px;
    }
}


.footer-menu-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-social-horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social-horizontal .social-i {
    color: #ffffff !important;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
}

.footer-social-horizontal .social-i:hover {
    background: #e4d804;
    color: #032b43;
    transform: translateY(-3px);
}

.footer-links-horizontal {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links-horizontal .footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-links-horizontal .footer-link:hover {
    color: #e4d804;
    opacity: 1;
    text-decoration: none;
}

.footer-copyright-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 25px;
}

/* Responsividade */
@media (max-width: 991px) {
    .footer-menu-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links-horizontal {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-links-horizontal {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-copyright-text {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 15px;
        margin-top: 5px;
        width: 100%;
        text-align: center;
    }
}

.site-footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-menu-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social-label {
    color: #6c757d;
    font-size: 14px;
}

.footer-social-icon {
    color: #495057;
    font-size: 18px;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icon:hover {
    color: #007bff;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #007bff;
    text-decoration: none;
}

.footer-copyright {
    color: #adb5bd;
    font-size: 14px;
    border-left: 1px solid #dee2e6;
    padding-left: 20px;
}

/* Responsividade para telas pequenas */
@media (max-width: 768px) {
    .footer-menu-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-links {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-copyright {
        border-left: none;
        padding-left: 0;
        width: 100%;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


.steps-guide {
    padding: 10px 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
}

.step-text h6 {
    margin-bottom: 4px;
    font-weight: 600;
}

.step-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.trade-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

@media (max-width: 576px) {
    .trade-actions {
        flex-direction: column;
        padding: 0 15px;
    }

    .trade-actions button {
        width: 100%;
    }
}

/* ── OVERLAY ── */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1999;
    backdrop-filter: blur(2px);
}

.mobile-overlay.active {
    display: block;
}

/* ── DRAWER ── */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    background-color: #032b43;
    backdrop-filter: blur(12px);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    color: #FFF;

    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 2rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-drawer a {
    color: #FFF !important;
}

.mobile-drawer.active {
    right: 0;
}

/* ── HEADER DO DRAWER ── */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #fdfdfd;
    padding: 0.25rem;
    line-height: 1;
}

/* ── LINKS ── */
.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-links li a {
    display: block;
    padding: 0.75rem 0.5rem;
    color: #222;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.2s;
}

.mobile-nav-links li a:hover {
    color: var(--primary, #6c63ff);
}

/* ── ACTIONS ── */
.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

/* ── LANG DROPDOWN NO DRAWER ── */
#mobileLangDropdown {
    display: none;
    position: static;
    /* não é absolute aqui */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
    overflow: hidden;
}

#mobileLangDropdown.open {
    display: block;
}

/* ── ESCONDE menu-toggle no desktop ── */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 1.4rem;
        cursor: pointer;
        color: inherit;
    }

    /* Esconde nav-links e actions do desktop no mobile */
    .nav-links,
    .nav-actions {
        display: none !important;
    }
}

/* CORREÇÃO LANG DROPDOWN */
.lang-selector {
    position: relative;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    min-height: 50px;
    /* força altura mínima */
    background: #0f1117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 6px;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nex-card-form {
    position: relative;
    z-index: 10;
}

.nex-contact-form {
    position: relative;
    z-index: 20;
}

.nex-form-input,
.nex-form-select,
.nex-form-textarea,
.nex-submit-btn {
    position: relative;
    z-index: 30;
    pointer-events: auto !important;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group .btn {
    position: relative;
    z-index: 2;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.toggle-password {
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: var(--teal) !important;
    border-color: var(--teal) !important;
}

.toggle-password:focus {
    outline: none;
    box-shadow: none;
}