:root {
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-panel: #162033;
  --text: #e8eef8;
  --muted: #8b9bb8;
  --accent: #2ee6a6;
  --accent-2: #3de0ff;
  --danger: #ff5c7a;
  --border: rgba(61, 224, 255, 0.18);
  --font-display: "Merriweather", Georgia, serif;
  --font-mono: "Roboto", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(61, 224, 255, 0.12), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(46, 230, 166, 0.1), transparent 55%),
    linear-gradient(180deg, #070b14 0%, var(--bg) 40%, #0a101c 100%);
  color: var(--text);
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.45s ease;
}

body.is-ready { opacity: 1; }

.brand-lockup {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

.site-header {
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.82);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.notice-bar {
  background: linear-gradient(90deg, rgba(46, 230, 166, 0.15), rgba(61, 224, 255, 0.12));
  border-bottom: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.hero-plane {
  position: relative;
  width: 100%;
  min-height: 32vh;
  overflow: hidden;
}

.hero-plane img {
  width: 100%;
  height: 32vh;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 1.2s ease;
}

body.is-ready .hero-plane img { transform: scale(1); }

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.15) 0%, rgba(7, 11, 20, 0.92) 100%);
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.1rem 1rem 1.35rem;
}

.hero-caption h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  max-width: 18ch;
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.meta-row {
  color: var(--muted);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.stars { color: #f5c542; letter-spacing: 0.05em; }

.layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    align-items: start;
  }
}

.article-panel {
  background: rgba(18, 26, 43, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem 1.25rem 2rem;
}

@media (min-width: 768px) {
  .article-panel { padding: 2rem 2.25rem 2.5rem; }
}

.article-panel h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 2rem 0 0.85rem;
  color: var(--accent-2);
}

.article-panel p,
.article-panel li {
  color: #c9d5ea;
  line-height: 1.7;
  font-size: 1.05rem;
}

.benefits-section {
  margin: 2rem 0 1.5rem;
}

.benefits-section > h2 {
  margin-bottom: 1.15rem;
}

.benefits-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

.benefit-card {
  position: relative;
  background: linear-gradient(160deg, rgba(22, 32, 51, 0.95), rgba(12, 20, 34, 0.98));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1.1rem 1.25rem;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.benefit-card:hover {
  border-color: rgba(46, 230, 166, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.benefit-num {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 0.55rem;
}

.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}

.benefit-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #c9d5ea;
}

.proof-grid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
  align-items: stretch;
}

@media (min-width: 640px) {
  .proof-grid { grid-template-columns: 3fr 2fr; }
}

.proof-grid > img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}

.tx-list {
  background: #0c1422;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 0.8rem;
  height: 100%;
}

.tx-list .tx-head {
  background: rgba(61, 224, 255, 0.12);
  padding: 0.65rem 0.75rem;
  font-weight: 700;
}

.tx-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem;
  padding: 0.55rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tx-row .gain { color: var(--accent); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), #1ecf92);
  color: #04140f;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 230, 166, 0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
  width: 100%;
}

.cta-inline .btn-primary {
  width: 100%;
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--accent-2);
  padding-left: 0.85rem;
}

.comments {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.comment-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.comment-item.reply { margin-left: 2.5rem; }

.comment-item img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.comment-body { min-width: 0; flex: 1; }

.comment-meta {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.comment-meta strong { font-size: 0.875rem; }
.comment-meta span { font-size: 0.75rem; color: var(--muted); }

.comment-body p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #c9d5ea;
}

.comment-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.4rem;
}

.comment-actions button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
}

.comment-actions button.liked { color: var(--accent); }

.comment-composer {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.comment-composer .avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #243049;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.comment-composer input,
.comment-composer textarea {
  width: 100%;
  background: #0c1422;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.5rem;
  font: inherit;
}

.sidebar { display: none; }

@media (min-width: 1024px) {
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 5.5rem;
  }
}

.widget {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
}

.widget-terminal .term-bar {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.widget h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.widget .sub {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

#calc-amount-display {
  font-family: var(--font-body);
  font-size: 1.85rem;
  text-align: center;
  margin: 0.5rem 0 0.75rem;
  color: var(--accent);
}

.calc-slider {
  width: 100%;
  accent-color: var(--accent);
  margin-bottom: 0.35rem;
}

.calc-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.calc-output {
  background: rgba(46, 230, 166, 0.08);
  border: 1px solid rgba(46, 230, 166, 0.25);
  border-radius: 10px;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

.calc-output .label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.calc-output .value {
  font-family: var(--font-body);
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 700;
}

.range-band {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.live-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 1.4s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.live-today {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.live-today strong { color: var(--accent); }

.live-viewport {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.desk-feed-reel { will-change: transform; }

.desk-feed-row {
  height: 56px;
  padding: 0.35rem 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feed-row-top,
.feed-row-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feed-user {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.feed-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
}

.feed-name { font-size: 0.8rem; font-weight: 600; }
.feed-profit { font-size: 0.8rem; font-weight: 700; color: var(--accent); font-family: var(--font-body); }
.feed-pair { font-family: var(--font-body); font-size: 0.7rem; color: var(--muted); }
.feed-ai { font-size: 0.65rem; color: var(--muted); }
.feed-type {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}
.feed-type-buy { background: rgba(46, 230, 166, 0.15); color: var(--accent); }
.feed-type-sell { background: rgba(255, 92, 122, 0.15); color: var(--danger); }

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(12, 20, 34, 0.96);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .mobile-bar { display: none; }
}

.site-footer {
  background: #070b14;
  border-top: 1px solid var(--border);
  padding: 2.5rem 1rem 6rem;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (min-width: 1024px) {
  .site-footer { padding-bottom: 2.5rem; }
}

.site-footer h5 {
  color: #f5c542;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.site-footer a:hover { color: var(--text); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.brand-logo-max {
  max-height: 48px;
  background: #fff;
  padding: 4px;
  border-radius: 6px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100020;
  background: rgba(0, 0, 0, 0.72);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.modal-open { display: flex; }

.modal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content.wide { max-width: 640px; }

.modal .close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

.modal-header {
  background: linear-gradient(135deg, #123047, #0f2a3a);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.modal-header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
}

.modal form { padding: 1.25rem 1.35rem 1.5rem; }

.modal form input {
  width: 100%;
  background: #0c1422;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.25rem;
  font: inherit;
}

.form-error {
  color: var(--danger);
  font-size: 0.75rem;
  min-height: 1rem;
  margin-bottom: 0.5rem;
}

.modal form button[type="submit"] {
  width: 100%;
  margin-top: 0.5rem;
}

.legal-body {
  padding: 1.5rem;
  color: #c9d5ea;
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal-body h3 { margin-top: 0; color: var(--text); }

.iti { width: 100% !important; }
.iti__selected-dial-code { color: var(--text); }
.iti__country-name { color: #111; }

.overflow-hidden { overflow: hidden; }

.max-w-6xl { max-width: 1320px; }
