﻿:root {
  --bg: #07080b;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f7f8;
  --muted: #b9bec8;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #8fd7ff;
  --accent-strong: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --header-bg: rgba(7, 8, 11, 0.76);
}

[data-theme="light"] {
  --bg: #f5f6f8;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #111318;
  --muted: #5f6673;
  --line: rgba(17, 19, 24, 0.13);
  --accent: #006fc9;
  --accent-strong: #111318;
  --shadow: 0 24px 60px rgba(22, 28, 45, 0.12);
  --header-bg: rgba(245, 246, 248, 0.8);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 10%, rgba(143, 215, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 85% 24%, rgba(255, 255, 255, 0.09), transparent 24rem),
    linear-gradient(135deg, var(--bg), var(--bg));
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: -10vh -10vw;
  z-index: 0;
  pointer-events: none;
  background: url("assets/max-traderz-logo.jpg") center center / min(170vw, 1500px) auto no-repeat;
  filter: blur(22px) grayscale(1) contrast(1.12);
  opacity: 0.14;
  transform: scale(1.12);
}

[data-theme="light"] body::before {
  opacity: 0.07;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  position: relative;
  width: 72px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #030303;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 26px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  display: block;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.12) brightness(1.08);
}

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

.nav-links a {
  transition: color 180ms ease;
}

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

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.theme-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
}

.theme-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 99px;
}

.section-pad {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 46px;
  overflow: hidden;
}

.glow {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.glow-one {
  top: 14%;
  left: -90px;
  background: rgba(143, 215, 255, 0.35);
}

.glow-two {
  right: 4%;
  bottom: 15%;
  background: rgba(255, 255, 255, 0.16);
}

.hero-content,
.hero-visual,
.section-heading,
.search-wrap,
.bot-card,
.step-card,
.social-card,
.disclaimer {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.8rem, 10vw, 8.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
}

.tagline {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.16;
  color: var(--accent-strong);
  font-weight: 700;
}

.hero-copy,
.section-heading p,
.step-card p,
.bot-description,
.disclaimer,
.footer {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 640px;
  font-size: 1.08rem;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 22px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(143, 215, 255, 0.55);
}

.btn.primary {
  color: var(--bg);
  background: var(--text);
}

.btn.secondary {
  background: var(--surface);
  color: var(--text);
}

.hero-visual {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal-top {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.terminal-top strong {
  margin-left: auto;
  color: var(--text);
  font-size: 0.8rem;
}

.chart-grid {
  position: relative;
  height: 372px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
}

.price-line {
  position: absolute;
  inset: 72px 38px 86px;
  clip-path: polygon(0 70%, 12% 62%, 24% 68%, 36% 40%, 48% 48%, 60% 24%, 72% 32%, 84% 16%, 100% 26%, 100% 34%, 84% 24%, 72% 40%, 60% 32%, 48% 56%, 36% 48%, 24% 76%, 12% 70%, 0 78%);
  background: linear-gradient(90deg, var(--accent), var(--text));
  filter: drop-shadow(0 0 18px rgba(143, 215, 255, 0.34));
  animation: floatLine 4.5s ease-in-out infinite;
}

.signal,
.metric-card {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .signal,
[data-theme="light"] .metric-card {
  background: rgba(255, 255, 255, 0.62);
}

.signal {
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 900;
}

.signal-one {
  top: 28%;
  left: 18%;
}

.signal-two {
  top: 49%;
  right: 12%;
}

.metric-card {
  width: 150px;
  padding: 16px;
}

.metric-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.metric-card strong {
  font-size: 1.35rem;
}

.metric-one {
  left: 32px;
  bottom: 34px;
}

.metric-two {
  right: 32px;
  bottom: 34px;
}

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

.search-wrap {
  max-width: 620px;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 700;
}

.search-wrap input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  padding: 0 16px;
  background: var(--surface);
  color: var(--text);
}

.search-wrap input:focus {
  border-color: rgba(143, 215, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(143, 215, 255, 0.12);
}

.bot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bot-card,
.step-card,
.social-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
}

.bot-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.featured-bot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 8px 34px;
  padding: 34px;
  border-color: rgba(143, 215, 255, 0.34);
}

.featured-bot .bot-top,
.featured-bot .bot-description,
.featured-bot .bot-meta,
.featured-bot .featured-details {
  grid-column: 1;
}

.featured-bot .feature-list,
.featured-bot .btn {
  grid-column: 2;
}

.featured-bot h3 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1;
}

.featured-label {
  display: inline-flex;
  margin-bottom: 12px;
  border: 1px solid rgba(143, 215, 255, 0.36);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-details {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
}

.featured-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.bot-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 215, 255, 0.42);
}

.bot-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.price {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
}

.bot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

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

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(143, 215, 255, 0.4);
}

.bot-card .btn {
  width: 100%;
  margin-top: auto;
}

.steps-grid,
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.social-card {
  border-radius: var(--radius);
  padding: 22px;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-weight: 900;
}

.social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 215, 255, 0.42);
}

.social-card strong {
  display: block;
  margin-bottom: 5px;
}

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

.social-card .social-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #d9d9d9 48%, #8f8f8f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 14px 28px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.social-card .social-icon img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  filter: grayscale(1) contrast(1.3) brightness(0.72);
}

.social-card:hover .social-icon img {
  filter: grayscale(1) contrast(1.5) brightness(0.54);
}

.disclaimer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 54px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.disclaimer strong {
  color: var(--text);
}

.footer {
  padding: 28px 16px 40px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(380px, calc(100vw - 36px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.empty-state {
  margin: 20px 0 0;
  color: var(--muted);
}

@keyframes floatLine {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .chart-grid {
    height: 302px;
  }

  .bot-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-bot {
    grid-template-columns: 1fr;
  }

  .featured-bot .bot-top,
  .featured-bot .bot-description,
  .featured-bot .bot-meta,
  .featured-bot .featured-details,
  .featured-bot .feature-list,
  .featured-bot .btn {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--header-bg);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a,
  .theme-toggle {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  .section-pad {
    width: min(100% - 24px, 1180px);
    padding: 66px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .bot-grid,
  .steps-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .featured-bot {
    padding: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 320px;
  }

  .chart-grid {
    height: 262px;
  }

  .metric-card {
    width: 132px;
    padding: 13px;
  }

  .metric-card strong {
    font-size: 1.05rem;
  }

  .disclaimer {
    width: min(100% - 24px, 1180px);
  }
}




