* {
  box-sizing: border-box;
}

:root {
  --bg: #04070f;
  --surface: #14292494;
  --surface-strong: #163931;
  --surface-soft: #16393194;
  --surface-deep: #14292494;
  --surface-panel: rgba(10, 20, 42, 0.95);
  --surface-panel-alt: rgba(12, 24, 53, 0.9);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #eef3ff;
  --text-muted: #b8c7ff;
  --accent: #159c7e;
  --success: #0fedbe;
  --error: #ff6f6f;
  --warning: #ffd066;
  --shadow: rgba(0, 0, 0, 0.14);
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top left, #102525 0%, #08101f 40%, var(--bg) 100%);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

@media (max-width: 425px) {
  .app-shell {
    padding: 0px;
  }
}

.brand-strip,
.live-top {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 26px;
}

.live-top {
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand-strip {
  position: relative;
}

.brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-title {
  width: 100%;
}

.brand-badge {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.brand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.8rem, 2.4vw, 3rem);
}

.brand-logo img {
  max-width: 80px;
  width: 100%;
}

@media (max-width: 920px) {
  .brand-button {
    font-size: 0.55rem;
  }

  .brand-logo img {
    max-width: 50px;
    width: 100%;
  }
}

.brand-title h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
  line-height: 1.05;
  max-width: 760px;
}

.top-label {
  color: var(--accent);
  font-size: 0.98rem;
  margin-top: 8px;
  max-width: 420px;
}

.live-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  /*margin-top: 22px;*/
}

.metric-card {
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 18px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.metric-label {
  color: var(--success);
  font-size: 0.9rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.05;
}

.metric-note {
  margin-top: 8px;
  color: var(--success);
  font-size: 0.95rem;
}

.activity-feed {
  margin-top: 24px;
}

.feed-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 0 0 0 24px;
}

.feed-window {
  min-height: 52px;
  border-radius: 18px;
  padding: 16px 20px;
  background: var(--surface-soft);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.feed-item {
  font-size: 1rem;
  line-height: 1.6;
  color: #dbe8ff;
  opacity: 1;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.feed-item.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.page-content {
  display: grid;
  gap: 30px;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.hero-card,
.selection-card,
.simulation-card,
.final-card {
  background: var(--surface-deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.14);
}

.chat-title {
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 18px;
}

.chat-window {
  min-height: 240px;
  max-height: 340px;
  overflow-y: auto;
  background: linear-gradient(180deg, #16393194, #060e1ef5);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-line {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  font-size: 1rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.chat-line.typing {
  opacity: 1;
  transform: translateY(0);
}

.chat-line.typing::after {
  content: "|";
  margin-left: 4px;
  color: var(--accent);
  animation: blink 0.8s steps(1) infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 18px;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  margin-top: 24px;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px #5affad4d;
}

.primary-button:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.pulse-button {
  animation: pulse 2.4s ease-in-out infinite;
}

.selection-card {
  text-align: center;
}

.selection-card h2,
.simulation-card h2,
.final-card h2 {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 2.4vw, 2.4rem);
}

.final-card h3.final-title {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: var(--accent);
  letter-spacing: 0.03em;
}

.final-card h2.final-heading {
  margin: 0 0 24px;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.08;
}

.selected-amount {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--success);
}

.amount-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.amount-buttons button {
  min-width: 120px;
  padding: 18px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ebf2ff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.amount-buttons button.active,
.amount-buttons button:hover {
  background-color: var(--success);
  border-color: rgba(255, 255, 255, 0.18);
  color: #2a0303;
}

.sim-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.sim-card-block {
  background: var(--surface-soft);
  border-radius: 20px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.sim-card-block.highlight-green {
  color: #0fedbe;
  cursor: pointer;
  background: linear-gradient(rgba(51, 198, 105, 0.1) 32.15%, rgba(51, 198, 105, 0.25) 100%);
  border-bottom: 2px solid #0fedbe;
}

.sim-card-block.highlight-blue {
  color: rgb(95, 156, 255);
  cursor: pointer;
  background: linear-gradient(rgba(95, 156, 255, 0.1) 32.15%, rgba(95, 156, 255, 0.25) 100%);
  border-bottom: 2px solid rgb(95, 156, 255);
}

.sim-card-block.highlight-orange {
  color: rgb(255, 197, 110);
  cursor: pointer;
  background: linear-gradient(rgba(255, 197, 110, 0.1) 32.15%, rgba(255, 197, 110, 0.25) 100%);
  border-bottom: 2px solid rgb(255, 197, 110);
}

.sim-card-block span {
  display: block;
  color: var(--accent);
  font-size: 0.92rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sim-card-block strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.3;
}

.sim-step {
  min-height: 92px;
  border-radius: 22px;
  background: rgba(7, 13, 29, 0.96);
  padding: 22px;
  margin-bottom: 24px;
  font-size: 1.05rem;
  color: #dfe7ff;
  line-height: 1.8;
}

.trade-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.trade-card {
  min-height: 160px;
  border-radius: 22px;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text);
  opacity: 0.45;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.trade-card.active {
  opacity: 1;
  transform: translateY(-3px);
  color: #0fedbe;
  cursor: pointer;
  background: linear-gradient(rgba(9, 135, 108, 0.1) 32.15%, rgba(15, 237, 190, 0.25) 100%);
  border-bottom: 2px solid rgb(15, 237, 190);
}

.trade-card img {
  max-width: 60px;
  width: 100%;
  margin: 0 auto;
}

.trade-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.trade-card p {
  margin: 0;
  color: #b8c5ff;
  line-height: 1.6;
}

.trade-card .trade-profit {
  margin-top: auto;
  display: block;
  font-weight: 700;
  color: var(--success);
}

.trade-card .trade-profit.negative {
  color: var(--error);
}

.trade-card .trade-profit.positive {
  color: var(--success);
}

.feed-positive {
  color: var(--success);
  font-weight: 700;
}

.feed-negative {
  color: var(--error);
  font-weight: 700;
}

.feed-percent {
  color: var(--warning);
  font-weight: 700;
}

.feed-keyword {
  color: var(--accent);
  font-weight: 400;
}

.sim-result {
  border-radius: 22px;
  background: rgba(12, 24, 53, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  min-height: 120px;
  color: #e7f1ff;
  font-size: 1rem;
  line-height: 1.75;
}

.final-card p {
  margin: 0 0 24px;
  color: #b8c7ff;
}

.final-result {
  margin-bottom: 24px;
  padding: 22px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.final-result .result-title {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.final-result .result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
}

.final-result .result-line strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--success);
}

.final-result .result-line.negative strong {
  color: var(--error);
}

.leadform {
  display: grid;
  gap: 16px;
}

.leadform input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #eef3ff;
  padding: 16px 18px;
  font-size: 1rem;
}

.leadform input::placeholder {
  color: rgba(235, 243, 255, 0.6);
}

@media (max-width: 920px) {

  .live-metrics,
  .sim-card-row,
  .trade-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .brand-row {
    gap: 12px;
  }

  .primary-button,
  .amount-buttons button {
    width: 100%;
  }

  .chart-card canvas {
    height: 200px !important;
  }
}

.chart-card {
  border-radius: 22px;
  background: var(--surface-deep);
  border: 1px solid var(--border);
  padding: 22px;
  margin-bottom: 22px;
}

.chart-card canvas {
  width: 100% !important;
  height: 260px;
}

.chart-card {
  max-width: 540px;
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  margin: 0 auto 24px;
}

.chart-card canvas {
  width: 100% !important;
  height: 260px !important;
}

.final-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 7, 20, 0.88);
  z-index: 50;
}

@media (max-width: 425px) {
  .final-modal {
    padding: 0px;
  }
}

.final-modal.active {
  display: flex;
}

.final-modal .final-card {
  width: 100%;
  max-width: 540px;
  border-radius: 28px;
  padding: 34px;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.03);
  }

  80% {
    transform: scale(0.99);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leadform {
  max-width: 608px !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.leadform-wrapper {
  padding: 0 !important;
}

.leadform button {
  background-color: var(--accent) !important;
  color: #fff !important;
}

.iti__country-list {
  background-color: var(--surface-deep) !important;
}


.iti {
  width: 100%;
}

label.error {
  position: absolute;
  top: calc(90% - 12px);
  left: 0;
  background: crimson;
  text-align: center;
  color: white;
  width: 100%;
  z-index: 1;
  font-size: 12px;
}

.phone-alert {
  position: absolute;
  top: calc(90% - 12px);
  left: 0;
  background: crimson;
  text-align: center;
  color: white;
  width: 100%;
  z-index: 1;
  font-size: 12px;
}

.phone-alert p {
  margin-bottom: 0px !important;
  line-height: normal;
  color: #fff;
  font-size: 12px !important;
}

label[for="phone"] {
  top: 85%;
}

.wpforms-field {
  position: relative;
}

.inputWrapper {
  position: relative;
  width: 100%;
}

input[name="fname"],
input[name="lname"],
input[name="email"],
input[name="phone"] {
  transition: all 0.2s ease;
}

.countryWarning {
  display: flex;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid crimson;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  p {
    margin-bottom: 0;
  }

  .flags {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;

    img {
      width: 30px;
      height: auto;
    }
  }

}

input.error {
  margin-bottom: 12px;
}

.leadform {
  position: relative;
}

.__loaderWrapper {
  position: absolute;
  left: 0;
  top: 0;
  background-color: #323232b6;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-5 {
  animation: rotate 2s infinite;
  height: 50px;
  width: 50px;
}

.loader-5:before,
.loader-5:after {
  border-radius: 50%;
  content: "";
  display: block;
  height: 20px;
  width: 20px;
}

.loader-5:before {
  animation: ball1 2s infinite;
  background-color: rgb(255 255 255 / 16%);
  box-shadow: 30px 0 0 #8f44fd;
  margin-bottom: 10px;
}

.loader-5:after {
  animation: ball2 2s infinite;
  background-color: #8f44fd;
  box-shadow: 30px 0 0 rgb(255 255 255 / 16%);
}

* {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg) scale(0.8);
  }

  50% {
    transform: rotate(360deg) scale(1.2);
  }

  100% {
    transform: rotate(720deg) scale(0.8);
  }
}

@keyframes ball1 {
  0% {
    box-shadow: 30px 0 0 #8f44fd;
  }

  50% {
    box-shadow: 0 0 0 #8f44fd;
    margin-bottom: 0;
    transform: translate(15px, 15px);
  }

  100% {
    box-shadow: 30px 0 0 #8f44fd;
    margin-bottom: 10px;
  }
}

@keyframes ball2 {
  0% {
    box-shadow: 30px 0 0 rgb(255 255 255 / 32%);
  }

  50% {
    box-shadow: 0 0 0 rgb(255 255 255 / 32%);
    margin-top: -20px;
    transform: translate(15px, 15px);
  }

  100% {
    box-shadow: 30px 0 0 rgb(255 255 255 / 32%);
    margin-top: 0;
  }
}