﻿:root {
  --bg-main: #0e0f12;
  --bg-alt: #14171d;
  --bg-card: #16181d;
  --bg-card-soft: #1b1f27;
  --text-main: #f5f5f5;
  --text-muted: #b9b9b9;
  --line: #2e3038;
  --line-soft: #2a2d35;
  --gold: #d4af37;
  --gold-dark: #b8962e;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --gold-glow: rgba(212, 175, 55, 0.3);
  --ok: #2ecc71;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0) 65%),
    radial-gradient(800px 400px at 95% 120%, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0) 50%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-main) 40%, #0a0b0f 100%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

.tutorial-page {
  width: min(1100px, 94vw);
  margin: 0 auto;
  padding: 34px 24px;
}

.logo {
  text-align: center;
  margin-bottom: 20px;
}

.logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px var(--gold-glow));
}

.logo-caption {
  margin-top: 8px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 48px 36px;
  background: linear-gradient(135deg, #1a1d24 0%, #16181d 46%, #111319 100%);
  box-shadow: var(--shadow);
  margin-bottom: 36px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0) 70%);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0) 70%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite reverse;
}

.hero-kicker,
.hero-headline,
.hero-subheadline,
.hero-description,
.badges {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-headline {
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #f5f5f5 0%, #d4af37 50%, #f5f5f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInDown 0.8s ease-out;
}

.hero-subheadline {
  color: var(--gold);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 12px;
  animation: slideInUp 0.8s ease-out 0.08s both;
}

.hero-description {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.6;
  animation: slideInUp 0.8s ease-out 0.16s both;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
  animation: slideInUp 0.8s ease-out 0.24s both;
}

.badge {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.24);
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.83rem;
}

.section {
  margin-bottom: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(22, 24, 29, 0.5) 0%, rgba(27, 31, 39, 0.3) 100%);
  animation: fadeInUp 0.8s ease-out;
}

.section h2 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #f5f5f5 0%, var(--gold) 50%, #f5f5f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.section-subtitle,
.small-muted,
.section p,
.section li {
  color: var(--text-muted);
}

.section-subtitle {
  margin-bottom: 14px;
  line-height: 1.6;
}

.small-muted {
  margin-top: 10px;
  font-size: 0.88rem;
}

.clean {
  margin-left: 20px;
  line-height: 1.6;
}

.clean li {
  margin-bottom: 8px;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
  margin-top: 10px;
}

.fake-graph {
  width: 100%;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), transparent);
  box-shadow: inset 0 -22px 56px rgba(0,0,0,0.42);
}

.fake-graph svg {
  width: 100%;
  height: 100%;
  display: block;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.stat {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 800;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.calc-card {
  background: linear-gradient(135deg, rgba(17, 20, 27, 0.88), rgba(22, 24, 29, 0.7));
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px;
}

.field {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 9px 10px;
  margin-bottom: 8px;
}

.field strong {
  color: var(--gold);
  margin-left: 7px;
}

.split-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.field-value {
  color: var(--gold);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.28s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #e8c547 100%);
  color: #000;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 2px solid rgba(212, 175, 55, 0.5);
}

.btn-ghost:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

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

.input-like,
.notes {
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px;
  color: var(--text-main);
}

.input-like strong {
  margin-left: 6px;
  color: var(--gold);
}

.form-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.notes-wrap {
  flex: 1;
  min-width: 230px;
}

.notes {
  min-height: 84px;
  line-height: 1.45;
}

.button-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.inner-card {
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 24, 29, 0.6), rgba(27, 31, 39, 0.35));
  border: 1px solid var(--line-soft);
}

.trade-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.profit {
  color: var(--ok);
  font-weight: 800;
}

.profile-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.profile-actions {
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(22, 24, 29, 0.55), rgba(27, 31, 39, 0.3));
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.28s ease;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.feature-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.feature-link:hover {
  border-color: rgba(212, 175, 55, 0.45);
  text-shadow: 0 0 10px var(--gold-glow);
}

.feature-deep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.feature-deep-card {
  background: linear-gradient(135deg, rgba(17, 20, 27, 0.88), rgba(22, 24, 29, 0.7));
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.28s ease;
}

.feature-deep-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.14);
}

.feature-deep-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-micro {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 8px;
}

.feature-focus {
  scroll-margin-top: 18px;
}

.feature-back-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.feature-back-link:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.final-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.04));
  border: 2px solid var(--gold);
}

footer {
  text-align: center;
  padding: 18px 8px 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.72s ease forwards;
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroGlow {
  0%, 100% { filter: blur(36px) brightness(1); opacity: 0.6; }
  50% { filter: blur(36px) brightness(1.2); opacity: 0.82; }
}

@media (max-width: 1024px) {
  .tutorial-page {
    padding: 24px 20px;
  }

  .cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tutorial-page {
    padding: 18px 14px;
  }

  .hero {
    padding: 30px 18px;
    border-radius: 14px;
  }

  .hero-headline {
    font-size: 1.6rem;
  }

  .hero-subheadline,
  .hero-description {
    font-size: 0.92rem;
  }

  .section {
    padding: 18px;
    margin-bottom: 18px;
  }

  .section h2 {
    font-size: 1.28rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .btn,
  .btn {
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .profile-row {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-actions {
    min-width: 100%;
  }
}
