:root {
    --bg: #050816;
    --bg-alt: #070b1f;
    --card: #0f172a;
    --accent: #22c55e;
    --accent-soft: rgba(34, 197, 94, 0.1);
    --accent-2: #38bdf8;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.3);
    --radius-xl: 1.5rem;
    --radius-lg: 1rem;
    --radius-full: 999px;
    --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.8);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #1d243a 0, #050816 45%, #020617 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.glow-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.glow-bg::before,
.glow-bg::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.65;
}

.glow-bg::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 60%);
    top: -120px;
    left: -40px;
}

.glow-bg::after {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.5), transparent 60%);
    bottom: -180px;
    right: -60px;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.7), transparent);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav {
    width: 100%;
    margin: 0;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-badge {
    width: 36px;
    height: 36px;
    border-radius: 1.1rem;
    background: radial-gradient(circle at 20% 0, #38bdf8 0, #22c55e 45%, #4f46e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.6);
}

.logo-badge span {
    font-weight: 700;
    font-size: 0.9rem;
    color: #f9fafb;
}

.logo-text-main {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 1rem;
    background: linear-gradient(to right, #3AAFFF, #00E6F6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 0.9rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.1rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent-2), var(--accent));
    transition: width 0.18s ease-out;
}

.nav-links a:hover {
    color: #e5e7eb;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.lang-switch button {
    background: transparent;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 0.2rem 0.7rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    font: inherit;
}

.lang-switch button.lang-active {
    border-color: var(--accent-2);
    color: #e5e7eb;
}

.lang-switch button:hover {
    border-color: var(--accent-2);
    color: #e5e7eb;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    border-radius: var(--radius-full);
    padding: 0.55rem 1.3rem;
    border: 1px solid transparent;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
}

.btn-outline {
    border-color: rgba(148, 163, 184, 0.4);
}

.btn-primary {
    background: radial-gradient(circle at 15% 0, #38bdf8 0, #22c55e 45%, #4f46e5 100%);
    color: #f9fafb;
    box-shadow: 0 18px 45px rgba(34, 197, 94, 0.5);
}

.btn-primary span.icon {
    font-size: 1rem;
}

.btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    transition: all 0.16s ease-out;
}

.btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

main {
    flex: 1;
}

.layout {
    width: 100%;
    margin: 0;
    padding: 2.5rem 1.5rem 3.5rem;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
    gap: 2.5rem;
    align-items: center;
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.layout::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(to bottom right, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.86)),
            url('assets/tecknus-trading-floor.jpg') center/cover no-repeat;
    z-index: -1;
}
.layout::before {
    filter: brightness(1.15) contrast(1.05);
}
@media (max-width: 900px) {
    .layout {
        width: 100%;
        min-width: 500px;
        margin: 0 auto;
        border-radius: 0;
        border: none;
        grid-template-columns: minmax(0, 1fr);
        padding: 1.5rem 1rem 2.5rem;
        gap: 2rem;
    }

    width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem 1rem 2.5rem;
    gap: 2rem;
}
.nav {
    padding-inline: 1rem;
}
.nav-links {
    display: none;
}
.hero-actions,
.hero-note,
.trust-row {
    justify-content: center;
    text-align: center;
}
.hero-right {
    max-width: 100%;
    margin: 1.5rem auto 0;
}
.card-secondary-row {
    grid-template-columns: minmax(0, 1fr);
}
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.9);
}

.eyebrow-tag {
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

h1.hero-title {
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 0.7rem;
}

.hero-gradient {
    background: linear-gradient(to right, #f9fafb, #bae6fd, #bbf7d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 34rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.8rem 0 1.3rem;
    align-items: center;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-note span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 14px rgba(74, 222, 128, 0.9);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.2rem;
    align-items: center;
}

.trust-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust-pill {
    font-size: 0.78rem;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
}

.trust-pill span.emph {
    color: #a5b4fc;
    font-weight: 500;
}

.hero-right {
    display: grid;
    gap: 1rem;
}

.card-main {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.2), transparent 55%),
    #020617;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-card);
    padding: 1.25rem 1.35rem;
    position: relative;
    overflow: hidden;
}

.card-main::before {
    content: "Live";
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    font-size: 0.7rem;
    padding: 0.14rem 0.6rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.16);
    color: #bbf7d0;
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    gap: 0.8rem;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.card-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.card-tag {
    font-size: 0.7rem;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 1.3rem;
}

.score-circle {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: conic-gradient(from 210deg, #22c55e 0 220deg, rgba(55, 65, 81, 0.7) 220deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-circle::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: inherit;
    background: radial-gradient(circle at top, #020617, #020617 50%, #020617 100%);
}

.score-value {
    position: relative;
    font-weight: 700;
    font-size: 1.4rem;
}

.score-label {
    position: relative;
    font-size: 0.7rem;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
}

.score-details {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: grid;
    gap: 0.2rem;
}

.score-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.2);
    color: #bbf7d0;
    font-size: 0.72rem;
}

.score-badge span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #4ade80;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    font-size: 0.75rem;
}

.metric-card {
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 0.65rem 0.7rem;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-bottom: 0.28rem;
}

.metric-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.metric-pill {
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    padding: 0.14rem 0.45rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.68rem;
    color: var(--text-muted);
}

.metric-pill span.dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #38bdf8;
}

.card-secondary-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 1rem;
}

.card-secondary {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
}

.card-secondary h3 {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.card-secondary p {
    color: var(--text-muted);
    line-height: 1.5;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.chip {
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 0.68rem;
    color: #e5e7eb;
}

footer {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1.4rem 1.5rem 2rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-inner {
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: #e5e7eb;
}
/* ==== MODAL: FREE SIMULATION ==== */

.modal-overlay {
    position: fixed;
    top: 72px;          /* altura aproximada do header */
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}


.modal-overlay.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
}

.modal-dialog {
    position: relative;
    max-width: 720px;
    width: 100%;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.12), transparent 55%),
    #020617;
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.9);
    padding: 1.4rem 1.6rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.modal-header h2 {
    font-size: 1.1rem;
}

.modal-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.modal-close-btn {
    border: none;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 999px;
    width: 32px;
    height: 32px;
    color: #e5e7eb;
    font-size: 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.modal-steps-indicator {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.step-dot {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.step-dot-active {
    background: linear-gradient(to right, #38bdf8, #22c55e);
    color: #f9fafb;
    border-color: transparent;
}

.modal-body {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
}

.sim-step-title {
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
}

.sim-step-text {
    font-size: 0.8rem;
    color: #e5e7eb;
    margin-bottom: 0.9rem;
}

.sim-options {
    display: grid;
    gap: 0.6rem;
}

.sim-options-inline {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    overflow-x: auto;
}

.sim-option {
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.9);
    cursor: pointer;
    display: grid;
    gap: 0.15rem;
}

.sim-option-title {
    font-size: 0.9rem;
    font-weight: 500;
    color:greenyellow;
}

.sim-option-text {
    font-size: 0.78rem;
    color: #e5e7eb;
}

.sim-option.sim-option-selected {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.sim-field {
    margin-bottom: 0.9rem;
}

.sim-label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
}

.sim-chip {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.95);
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    color: #e5e7eb;
    cursor: pointer;
    white-space: nowrap;
}

.sim-chip.sim-chip-selected {
    border-color: #38bdf8;
    background: rgba(37, 99, 235, 0.25);
}

.sim-result-card {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.9);
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
}

.sim-result-score {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.sim-score-circle {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background: conic-gradient(from 220deg, #22c55e 0 230deg, rgba(55, 65, 81, 0.7) 230deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sim-score-circle::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: inherit;
    background: #020617;
}

.sim-score-value {
    position: relative;
    font-weight: 700;
    font-size: 1.3rem;
}

.sim-score-label {
    position: relative;
    font-size: 0.7rem;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
    text-align: center;
}

.sim-score-side {
    flex: 1;
    min-width: 180px;
    display: grid;
    gap: 0.3rem;
    font-size: 0.8rem;
}

.sim-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.22);
    color: #bbf7d0;
    font-size: 0.75rem;
}

.sim-detail-line {
    color: var(--text-muted);
}

.sim-actions-title {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.sim-actions-ul {
    font-size: 0.8rem;
    color: var(--text-main);
    padding-left: 1.2rem;
    display: grid;
    gap: 0.2rem;
}

.sim-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    border-top: 1px dashed rgba(148, 163, 184, 0.35);
    padding-top: 0.5rem;
}

.modal-footer {
    margin-top: 0.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
}

@media (max-width: 640px) {
    .modal-dialog {
        padding: 1.1rem 1.2rem 1rem;
    }
    .sim-options-inline {
        grid-auto-flow: row;
        grid-auto-columns: unset;
    }
}
