/* MakroMentor AutoTrade — Sales Landing Design System */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #0a0f0d;
  --ink-2: #0c1512;
  --graphite: #121a16;
  --elevation: #182019;
  --line: rgba(230, 239, 234, 0.08);
  --line-2: rgba(230, 239, 234, 0.14);
  --porcelain: #e6efea;
  --steel: #8a9a91;
  --lime: #d6fc70;
  --lime-dim: #bfe85f;
  --exchange: #00e676;
  --exchange-d: #26d07c;
  --risk: #f0556a;
  --cyan: #3fb3f0;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --max: 1180px;
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-lime: 0 20px 60px -20px rgba(214, 252, 112, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--porcelain);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 50% -8%, rgba(0, 230, 118, 0.09), transparent 65%),
    radial-gradient(700px 600px at 100% 80%, rgba(214, 252, 112, 0.06), transparent 60%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; position: relative; z-index: 1; }

/* ——— Typography ——— */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--exchange);
}
.eyebrow-pill {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 230, 118, 0.25);
  background: rgba(0, 230, 118, 0.06);
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(2.35rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.65rem); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--steel); max-width: 52ch; }
.hl { color: var(--lime); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: var(--shadow-lime);
}
.btn-primary:hover { background: var(--lime-dim); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-2);
  color: var(--porcelain);
}
.btn-ghost:hover { border-color: rgba(214, 252, 112, 0.35); background: rgba(214, 252, 112, 0.05); }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.85rem; }

/* ——— Nav ——— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}
.nav.scrolled {
  background: rgba(10, 15, 13, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.logo img { width: 32px; height: 32px; }
.logo span { color: var(--steel); font-weight: 500; }
.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.88rem;
  color: var(--steel);
}
.nav-links a:hover { color: var(--porcelain); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
}

/* ——— Hero ——— */
.hero {
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  min-height: min(100vh, 920px);
  display: grid;
  align-items: center;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 2.5rem; }
}
.hero-copy { display: flex; flex-direction: column; gap: 1.35rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--steel);
}
.hero-proof strong { color: var(--porcelain); display: block; font-size: 1.1rem; }

.hero-visual {
  position: relative;
  min-height: 320px;
}
.panel-showcase {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(214, 252, 112, 0.22);
  background: linear-gradient(165deg, rgba(24, 32, 25, 0.6), rgba(10, 15, 13, 0.95));
  overflow: hidden;
  box-shadow:
    0 40px 100px -40px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(214, 252, 112, 0.06),
    0 24px 80px -24px rgba(214, 252, 112, 0.12);
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}
.browser-dots {
  display: flex;
  gap: 0.35rem;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(138, 154, 145, 0.35);
}
.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  font-size: 0.72rem;
  color: var(--steel);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(10, 15, 13, 0.8);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-live {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--exchange-d);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.browser-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--exchange-d);
  box-shadow: 0 0 8px var(--exchange-d);
  animation: pulse 2s infinite;
}
.panel-showcase-frame {
  position: relative;
  line-height: 0;
  background: #050807;
}
.panel-showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.showcase-badge,
.showcase-plan {
  position: absolute;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgba(10, 15, 13, 0.92);
  backdrop-filter: blur(8px);
}
.showcase-badge {
  top: 3.25rem;
  left: 1rem;
  color: var(--exchange);
  border-color: rgba(0, 230, 118, 0.3);
}
.showcase-plan {
  bottom: 1rem;
  right: 1rem;
  color: var(--lime);
  border-color: rgba(214, 252, 112, 0.35);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ——— Sections ——— */
section { padding: 5rem 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

/* Flow */
.flow-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .flow-grid { grid-template-columns: repeat(4, 1fr); }
}
.flow-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(18, 26, 22, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
}
.flow-card::after {
  content: '→';
  position: absolute;
  right: -0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--steel);
  font-size: 1.2rem;
  display: none;
}
@media (min-width: 768px) {
  .flow-card:not(:last-child)::after { display: block; }
}
.flow-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--exchange);
  letter-spacing: 0.1em;
}
.flow-card h3 { font-size: 1.05rem; }
.flow-card p { font-size: 0.88rem; color: var(--steel); }

/* Feature grid */
.features {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}
.feature {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 32, 25, 0.5), transparent);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(214, 252, 112, 0.08);
  border: 1px solid rgba(214, 252, 112, 0.2);
  font-size: 1.1rem;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature p { font-size: 0.88rem; color: var(--steel); }

/* Lock model */
.lock-banner {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(214, 252, 112, 0.2);
  background: linear-gradient(135deg, rgba(214, 252, 112, 0.06), rgba(10, 15, 13, 0.9));
}
@media (min-width: 800px) {
  .lock-banner { grid-template-columns: 1fr 1fr; align-items: center; }
}
.lock-diagram {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lock-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--graphite);
  font-size: 0.88rem;
}
.lock-row .badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(0, 230, 118, 0.12);
  color: var(--exchange);
  letter-spacing: 0.06em;
}

/* Integrations */
.broker-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 600px) {
  .broker-grid { grid-template-columns: repeat(2, 1fr); }
}
.broker-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.broker-card img { height: 36px; width: auto; object-fit: contain; object-position: left; }
.broker-card h3 { font-size: 1.1rem; }
.broker-card p { font-size: 0.88rem; color: var(--steel); }
.broker-tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(63, 179, 240, 0.12);
  color: var(--cyan);
}

/* Telegram carousel */
.tg-carousel {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.tg-phone {
  border-radius: 20px;
  border: 1px solid var(--line-2);
  overflow: hidden;
  background: #0e1621;
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.65);
}
.tg-slides {
  position: relative;
  aspect-ratio: 390 / 720;
  max-height: min(72vh, 640px);
}
.tg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.tg-slide.active { opacity: 1; }
.tg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.1rem;
}
.tg-tab {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--steel);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.tg-tab:hover { color: var(--porcelain); border-color: rgba(214, 252, 112, 0.25); }
.tg-tab.active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}
.tg-caption {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--steel);
  font-family: var(--mono);
  line-height: 1.5;
}

/* legacy tg-preview (removed from HTML) */
.tg-preview {
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #17212b;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.tg-head {
  padding: 0.75rem 1rem;
  background: #232e3c;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tg-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.65rem; }
.tg-bubble {
  max-width: 92%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px 12px 12px 4px;
  background: #2b5278;
  font-size: 0.82rem;
  line-height: 1.45;
}
.tg-bubble strong { color: var(--lime); }
.tg-bubble .levels {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #b8c5d0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 800px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
}
.price-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--graphite);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.price-card.featured {
  border-color: rgba(214, 252, 112, 0.45);
  background: linear-gradient(180deg, rgba(214, 252, 112, 0.08), var(--graphite));
  box-shadow: var(--shadow-lime);
  position: relative;
}
.price-card .tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
}
.price-card h3 { font-size: 1.05rem; }
.price-card .amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price-card .amount small { font-size: 0.85rem; font-weight: 500; color: var(--steel); }
.price-card ul {
  list-style: none;
  font-size: 0.82rem;
  color: var(--steel);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  line-height: 1.45;
}
.price-card li::before { content: '✓ '; color: var(--exchange-d); }
.price-card li strong { color: var(--porcelain); font-weight: 600; }
.price-card .btn { width: 100%; margin-top: auto; }

.pricing-callout {
  margin-top: 1.75rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(214, 252, 112, 0.2);
  background: rgba(214, 252, 112, 0.05);
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.55;
  text-align: center;
}
.pricing-callout strong { color: var(--porcelain); }

.compare-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(18, 26, 22, 0.5);
}
.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.compare-table thead th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  background: rgba(0, 0, 0, 0.2);
}
.compare-table tbody th[scope="row"] {
  text-align: left;
  color: var(--porcelain);
  font-weight: 600;
  white-space: nowrap;
}
.compare-table td { color: var(--steel); }
.compare-table .col-featured {
  background: rgba(214, 252, 112, 0.06);
  color: var(--porcelain);
}
.compare-table thead .col-featured { color: var(--lime); }
.compare-table .row-highlight td,
.compare-table .row-highlight th[scope="row"] {
  background: rgba(0, 230, 118, 0.04);
}
.compare-table .row-highlight strong { color: var(--lime); }
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(18, 26, 22, 0.5);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.15rem;
  background: none;
  border: none;
  color: var(--porcelain);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after { content: '+'; color: var(--steel); font-size: 1.2rem; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a-inner {
  padding: 0 1.15rem 1rem;
  font-size: 0.88rem;
  color: var(--steel);
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 280px; }

/* Risk */
.risk-block {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 85, 106, 0.25);
  background: rgba(240, 85, 106, 0.04);
}
.risk-block h3 { color: #ff8a9a; margin-bottom: 0.75rem; font-size: 1rem; }
.risk-block ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--steel);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.risk-block li::before { content: '· '; color: var(--risk); }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(24, 32, 25, 0.8), rgba(10, 15, 13, 0.95));
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}
.trial-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  width: min(100%, 420px);
}
.trial-form input {
  flex: 1 1 200px;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.35);
  color: var(--porcelain);
  outline: none;
}
.trial-form input:focus { border-color: rgba(214, 252, 112, 0.4); }
.trial-form input::placeholder { color: var(--steel); }

/* Footer */
footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--steel);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a:hover { color: var(--porcelain); }
.compliance {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(138, 154, 145, 0.85);
}

/* Sticky CTA mobile */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(10, 15, 13, 0.95);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  display: none;
}
.sticky-cta .btn { width: 100%; }
@media (max-width: 599px) {
  .browser-live { display: none; }
  .showcase-badge,
  .showcase-plan {
    font-size: 0.58rem;
    padding: 0.3rem 0.5rem;
  }
  .showcase-badge { top: 2.75rem; left: 0.5rem; }
  .showcase-plan { bottom: 0.5rem; right: 0.5rem; }
}

@media (max-width: 899px) {
  .sticky-cta.visible { display: block; }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
