
    :root {
      --bg: #050816;
      --bg-soft: #0b1024;
      --card: rgba(255, 255, 255, 0.06);
      --card-border: rgba(255, 255, 255, 0.12);
      --text: #f8fafc;
      --muted: #a7b0c0;
      --primary: #38bdf8;
      --primary-dark: #0284c7;
      --accent: #22c55e;
      --danger: #fb7185;
      --warning: #facc15;
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
      --radius: 22px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 36%),
        radial-gradient(circle at 85% 15%, rgba(34, 197, 94, 0.14), transparent 30%),
        linear-gradient(180deg, #050816 0%, #070b18 48%, #030712 100%);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      width: min(1180px, calc(100% - 36px));
      margin: 0 auto;
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(20px);
      background: rgba(5, 8, 22, 0.78);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: -0.03em;
    }

    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      display: grid;
      place-items: center;
      color: #020617;
      font-weight: 900;
      box-shadow: 0 12px 30px rgba(56, 189, 248, 0.25);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 26px;
      color: var(--muted);
      font-size: 14px;
    }

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

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: none;
      border-radius: 999px;
      padding: 13px 20px;
      font-weight: 750;
      cursor: pointer;
      transition: 0.2s ease;
      font-size: 14px;
    }

    .btn-primary {
      color: #03111d;
      background: linear-gradient(135deg, var(--primary), #7dd3fc);
      box-shadow: 0 18px 40px rgba(56, 189, 248, 0.25);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 22px 48px rgba(56, 189, 248, 0.35);
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.08);
      color: var(--text);
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.13);
    }

    .hero {
      padding: 6px 0 4px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 54px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 12px;
      border: 1px solid rgba(56, 189, 248, 0.28);
      border-radius: 999px;
      background: rgba(56, 189, 248, 0.08);
      color: #bae6fd;
      font-size: 13px;
      margin-bottom: 22px;
    }

    .pulse {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.12);
    }

    h1 {
      font-size: clamp(42px, 7vw, 78px);
      line-height: 0.94;
      letter-spacing: -0.04em;
      margin-bottom: 24px;
    }

    .gradient-text {
      background: linear-gradient(135deg, #e0f2fe, var(--primary), var(--accent));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero p {
      color: var(--muted);
      font-size: 18px;
      max-width: 650px;
      margin-bottom: 30px;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }

    .trust-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .trust-pill {
      padding: 9px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      color: var(--muted);
      border: 1px solid rgba(255, 255, 255, 0.09);
      font-size: 13px;
    }

    .terminal-card {
      position: relative;
      border: 1px solid var(--card-border);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
      border-radius: 28px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .terminal-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 18px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(3, 7, 18, 0.65);
    }

    .dots {
      display: flex;
      gap: 8px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.28);
    }

    .dot:nth-child(1) {
      background: var(--danger);
    }

    .dot:nth-child(2) {
      background: var(--warning);
    }

    .dot:nth-child(3) {
      background: var(--accent);
    }

    .terminal-body {
      padding: 22px;
    }

    .stat-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      margin-bottom: 18px;
    }

    .stat {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 18px;
      padding: 16px;
    }

    .stat span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 8px;
    }

    .stat strong {
      font-size: 24px;
      letter-spacing: -0.04em;
    }

    .module-preview {
      display: grid;
      gap: 10px;
    }

    .terminal-body {
      padding: 14px;
    }

    .stat-grid {
      margin-bottom: 10px;
    }

    .module-preview.why-us-preview {
      display: grid;
      gap: 6px;
    }

    .why-us-head {
      padding: 8px 10px;
      background: rgba(56, 189, 248, 0.08);
      border: 1px solid rgba(56, 189, 248, 0.18);
      border-radius: 14px;
    }

    .why-us-head .section-kicker {
      margin-bottom: 2px;
      font-size: 11px;
    }

    .why-us-head h3 {
      font-size: 18px;
      line-height: 1.1;
      letter-spacing: -0.04em;
      margin: 0;
    }

    .why-us-item {
      padding: 8px 10px;
      /* background: rgba(15, 23, 42, 0.72); */
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
    }

    .why-us-item strong {
      display: block;
      font-size: 16px;
      margin: 0 0 2px;
    }

    .why-us-item p {
      font-size: 15px;
      line-height: 1.3;
      margin: 0;
    }

    .module-line {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 13px 14px;
      background: rgba(15, 23, 42, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 13px;
    }

    .status {
      color: var(--accent);
      font-family: Inter, system-ui, sans-serif;
      font-weight: 700;
      font-size: 12px;
    }

    section {
      padding: 72px 0;
    }

    .section-head {
      max-width: 720px;
      margin-bottom: 34px;
    }

    .section-head.center {
      text-align: center;
      margin: 0 auto 40px;
    }

    .section-kicker {
      color: var(--primary);
      font-weight: 800;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      margin-bottom: 10px;
    }

    h2 {
      font-size: clamp(30px, 4vw, 48px);
      letter-spacing: -0.055em;
      line-height: 1.04;
      margin-bottom: 14px;
    }

    .section-head p {
      color: var(--muted);
      font-size: 17px;
    }

    .cards-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    }

    .icon {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      border-radius: 16px;
      background: rgba(56, 189, 248, 0.12);
      border: 1px solid rgba(56, 189, 248, 0.22);
      color: var(--primary);
      font-weight: 900;
      margin-bottom: 18px;
    }

    .card h3 {
      font-size: 21px;
      margin-bottom: 10px;
      letter-spacing: -0.035em;
    }

    .card p,
    .card li {
      color: var(--muted);
      font-size: 14px;
    }

    .module-builder {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 22px;
      align-items: start;
    }

    .builder-panel,
    .summary-panel {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 26px;
      padding: 24px;
    }

    .module-group {
      margin-bottom: 24px;
    }

    .module-group h3 {
      margin-bottom: 12px;
      font-size: 17px;
    }

    .check-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .check-card {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 13px;
      border-radius: 16px;
      background: rgba(15, 23, 42, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.08);
      cursor: pointer;
      transition: 0.16s ease;
    }

    .check-card {
      display: grid;
      grid-template-columns: auto 1fr auto;
      grid-template-rows: auto auto;
      column-gap: 10px;
      row-gap: 8px;
      align-items: start;
      padding: 13px;
      border-radius: 16px;
      background: rgba(15, 23, 42, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.08);
      cursor: pointer;
      transition: 0.16s ease;
    }

    .check-card:hover {
      border-color: rgba(56, 189, 248, 0.32);
      background: rgba(56, 189, 248, 0.08);
    }

    .check-card input {
      grid-column: 1;
      grid-row: 1;
      margin-top: 2px;
      accent-color: var(--primary);
    }

    .module-badge {
      grid-column: 3;
      grid-row: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 4px 8px;
      border-radius: 999px;
      font-size: 10px;
      font-style: normal;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
    }

    .module-content {
      grid-column: 1 / -1;
      grid-row: 2;
      display: block;
    }

    .module-content strong {
      display: block;
      font-size: 14px;
      margin-bottom: 2px;
    }

    .module-content span {
      display: block;
      color: var(--muted);
      font-size: 12px;
    }

    .module-badge.included {
      color: #bbf7d0;
      background: rgba(34, 197, 94, 0.14);
      border: 1px solid rgba(34, 197, 94, 0.25);
    }

    .module-badge.pro {
      color: #bae6fd;
      background: rgba(56, 189, 248, 0.14);
      border: 1px solid rgba(56, 189, 248, 0.25);
    }

    .module-badge.premium {
      color: #fde68a;
      background: rgba(250, 204, 21, 0.14);
      border: 1px solid rgba(250, 204, 21, 0.25);
    }

    .summary-panel {
      position: sticky;
      top: 96px;
    }

    .summary-box {
      background: #030712;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 18px;
      padding: 16px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 13px;
      color: #dbeafe;
      min-height: 210px;
      white-space: pre-wrap;
      margin-top: 15px;
    }

    .price {
      display: flex;
      align-items: baseline;
      gap: 8px;
      margin: 18px 0;
    }

    .price strong {
      font-size: 42px;
      letter-spacing: -0.06em;
    }

    .price span {
      color: var(--muted);
    }

    .feature-list {
      list-style: none;
      display: grid;
      gap: 10px;
      margin: 18px 0 24px;
    }

    .feature-list li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }

    .feature-list li::before {
      content: "✓";
      color: var(--accent);
      font-weight: 900;
    }

    .pricing-card.featured {
      border-color: rgba(56, 189, 248, 0.42);
      background: linear-gradient(180deg, rgba(56, 189, 248, 0.14), rgba(255, 255, 255, 0.06));
      transform: translateY(-10px);
    }

    .tag {
      display: inline-flex;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(34, 197, 94, 0.13);
      color: #bbf7d0;
      font-size: 12px;
      font-weight: 800;
      margin-bottom: 12px;
    }

    .process {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .step-num {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      background: rgba(56, 189, 248, 0.16);
      border: 1px solid rgba(56, 189, 248, 0.28);
      color: #bae6fd;
      border-radius: 50%;
      font-weight: 900;
      margin-bottom: 16px;
    }

    .strategy-form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .field {
      display: grid;
      gap: 7px;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    label {
      color: #dbeafe;
      font-size: 13px;
      font-weight: 700;
    }

    input,
    select,
    textarea {
      width: 100%;
      background: rgba(3, 7, 18, 0.76);
      color: var(--text);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 14px;
      padding: 13px 14px;
      outline: none;
      font: inherit;
    }

    textarea {
      min-height: 118px;
      resize: vertical;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: rgba(56, 189, 248, 0.6);
      box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.09);
    }

    .cta {
      padding: 80px 0 96px;
    }

    .cta-box {
      text-align: center;
      border-radius: 34px;
      padding: 56px 26px;
      background:
        radial-gradient(circle at top, rgba(56, 189, 248, 0.28), transparent 42%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
      border: 1px solid rgba(255, 255, 255, 0.13);
      box-shadow: var(--shadow);
    }

    .cta-box p {
      color: var(--muted);
      max-width: 680px;
      margin: 0 auto 26px;
      font-size: 17px;
    }

    footer {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--muted);
      padding: 28px 0;
      font-size: 14px;
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
    }

    @media (max-width: 960px) {

      .hero-grid,
      .module-builder,
      .strategy-form {
        grid-template-columns: 1fr;
      }

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

      .summary-panel {
        position: static;
      }

      .nav-links {
        display: none;
      }
    }


    @media (max-width: 640px) {

      .cards-3,
      .process,
      .check-grid,
      .stat-grid {
        grid-template-columns: 1fr;
      }

      .hero {
        padding-top: 34px;
      }

      .terminal-body,
      .builder-panel,
      .summary-panel,
      .card {
        padding: 18px;
      }

      .pricing-card.featured {
        transform: none;
      }
    }

    .strategy-builder-panel {
      position: relative;
    }

    .selected-plan-box {
      position: absolute;
      top: 2px;
      right: 2px;

      display: flex;
      align-items: center;
      gap: 8px;

      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(56, 189, 248, 0.1);
      border: 1px solid rgba(56, 189, 248, 0.25);
      text-align: right;
    }

    .selected-plan-box span {
      display: inline;
      color: var(--muted);
      font-size: 11px;
      margin-bottom: 0;
    }

    .selected-plan-box strong {
      display: inline;
      color: var(--primary);
      font-size: 13px;
    }

    @media (max-width: 640px) {
      .selected-plan-box {
        right: 18px;
        text-align: right;
      }
    }

    .ai-chat-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary), #7dd3fc);
  color: #03111d;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.35);
}

.ai-chat-box {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 1000;
  width: min(380px, calc(100vw - 32px));
  height: 520px;
  display: none;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(5, 8, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.ai-chat-box.open {
  display: flex;
}

.ai-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(56, 189, 248, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-chat-header strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.ai-chat-header span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.ai-chat-header button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ai-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-msg {
  max-width: 85%;
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.bot-msg {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-msg {
  align-self: flex-end;
  background: rgba(56, 189, 248, 0.16);
  color: #e0f2fe;
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.ai-chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-chat-input-row input {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  padding: 12px 14px;
}

.ai-chat-input-row button {
  border: none;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--primary);
  color: #03111d;
  font-weight: 800;
  cursor: pointer;
}

.ai-chat-input-row button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .ai-chat-box {
    right: 12px;
    left: 12px;
    bottom: 78px;
    width: auto;
    height: 70vh;
  }

  .ai-chat-toggle {
    right: 12px;
    bottom: 14px;
  }
}
 
.build-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.build-confirm-overlay.open {
  display: flex;
}

.build-confirm-box {
  width: min(760px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(5, 8, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.build-confirm-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: rgba(56, 189, 248, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.build-confirm-header strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.build-confirm-header span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.build-confirm-header button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  cursor: pointer;
}

.build-confirm-body {
  padding: 16px;
}

#buildConfirmText {
  width: 100%;
  min-height: 360px;
  resize: vertical;
  border-radius: 16px;
  padding: 14px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.5;
}

.build-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .build-confirm-actions {
    flex-direction: column;
  }

  .build-confirm-actions .btn {
    width: 100%;
  }

  #buildConfirmText {
    min-height: 300px;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-user-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-message {
  color: var(--muted);
  font-size: 13px;
  min-height: 18px;
}

.auth-message.error {
  color: var(--danger);
}

.auth-message.success {
  color: var(--accent);
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 210000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.auth-overlay.open {
  display: flex;
}

.auth-box {
  width: min(460px, 100%);
  max-height: 95vh;
  overflow-y: auto;
  border-radius: 22px;
  background: rgba(5, 8, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.auth-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: rgba(56, 189, 248, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-header strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.auth-header span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.auth-header button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  cursor: pointer;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 16px 0;
}

.auth-tab {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.auth-tab.active {
  background: rgba(56, 189, 248, 0.16);
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.35);
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.auth-form.hidden {
  display: none;
}

.auth-link {
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 640px) {
  .nav-actions .btn-secondary {
    display: none;
  }
}

.verify-code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.verify-code-row .btn {
  height: 100%;
  white-space: nowrap;
  padding-left: 16px;
  padding-right: 16px;
}

@media (max-width: 480px) {
  .verify-code-row {
    grid-template-columns: 1fr;
  }

  .verify-code-row .btn {
    width: 100%;
  }
}
.custom-alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 300000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.custom-alert-overlay.open {
  display: flex;
}

.custom-alert-box {
  width: min(420px, 100%);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(5, 8, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.custom-alert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(56, 189, 248, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-alert-header strong {
  color: var(--text);
  font-size: 16px;
}

.custom-alert-header button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.custom-alert-body {
  padding: 18px;
}

.custom-alert-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.custom-alert-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 18px;
}

.dashboard-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dashboard-info-card {
  padding: 13px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-info-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.dashboard-info-card strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  word-break: break-word;
}

#dashboardTradingAccounts {
  min-height: 96px;
}

@media (max-width: 520px) {
  .dashboard-info-grid {
    grid-template-columns: 1fr;
  }
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand span {
  color:#53e5ff;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;

}

@media (max-width: 640px) {
  .nav-actions > a.btn-primary {
    display: none;
  }

  .nav-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand span:last-child {
    font-size: 14px;
    line-height: 1.1;
  }

  .auth-user-label {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .nav-actions .btn {
    padding: 11px 15px;
    font-size: 13px;
  }
   .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand span {
    font-size: 14px;
  }
}

.module-doc-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.module-doc-download h3 {
  margin: 0 0 8px;
  color: #e5eefb;
  font-size: 20px;
}

.module-doc-download p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.module-doc-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .module-doc-download {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-doc-download .btn {
    width: 100%;
    text-align: center;
  }
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #38bdf8;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 10px;
  }
}
