/* Institutional Charts – One-pager
   Gradient: right #3533cd → left #000000
   Simple, clear, HyroTrader-inspired layout
*/

:root {
  --bg-left: #000000;
  --bg-right: #3533cd;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.75);
  --accent: #5b59e6;
  --btn-bg: #3533cd;
  --btn-hover: #4543dd;
  --border: rgba(255, 255, 255, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: linear-gradient(to left, var(--bg-left) 0%, var(--bg-right) 100%);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-discord-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.nav-cta {
  color: var(--text);
  background: var(--btn-bg);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-cta:hover {
  background: var(--btn-hover);
}

/* Section inner width */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero – two columns: content left, platform image right (Hyro style) */
.hero {
  padding: 3rem 0 4rem;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-support {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-cta {
  margin-top: 1.5rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  color: var(--text);
  background: var(--btn-bg);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--btn-hover);
}

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Features */
.features {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.features-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
}

.features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1rem;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list strong {
  color: var(--text);
  font-weight: 600;
}

/* Affiliates */
.affiliates {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.affiliates-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.affiliate-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
  min-width: 140px;
}

.affiliate-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Download */
.download {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.download-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.download-option {
  flex: 0 1 auto;
  min-width: 280px;
}

.download-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.download-scan {
  margin-top: 1.25rem;
}

.scan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.scan-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.scan-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(134, 239, 172, 0.2);
  color: #86efac;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Planning */
.planning {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
}

.planning-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Signup */
.signup {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
}

.signup-inner {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.signup-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.signup-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.signup-input::placeholder {
  color: var(--text-muted);
}

.signup-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-message {
  margin-top: 1rem;
  font-size: 0.9375rem;
  min-height: 1.5em;
}

.form-message.success {
  color: #86efac;
}

.form-message.error {
  color: #fca5a5;
}

.signup-discord {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.discord-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.discord-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.discord-link-icon {
  width: 28px;
  height: 28px;
  display: block;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
}

.footer-tagline {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-discord {
  margin-bottom: 0.75rem;
}

.footer-discord-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-discord-link:hover {
  color: var(--text);
}

.footer-discord-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    max-width: none;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .download-buttons {
    flex-direction: column;
    gap: 2rem;
  }

  .download-option {
    min-width: 100%;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-input {
    min-width: 100%;
  }

  .btn {
    width: 100%;
  }
}
