/* Reset e variáveis globais */
* {
    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);
}

/* 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;
    color: #fff;
    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 {
    max-width: 820px;
    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: 640px;
    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 {
    position: relative;
    z-index: 2;
    max-width: 620px;
    width: 100%;
    padding: 50px 20px;
    text-align: center;
}

.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: 620px;
    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;
    margin: 0;
    padding-left: 18px;
}

.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;
    }

    .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;
    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 {
    position: relative;
    z-index: 2;
    max-width: 620px;
    width: 100%;
    padding: 50px 20px;
    text-align: center;
}

/* 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 {
    max-width: 800px;
    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;
    grid-template-columns: 1fr 1fr;
    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;
    }

    .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;
    }
}