/* ==========================================================================
   ARGTrade — style.css
   Dark theme · electric purple accent (#9333EA)
   ========================================================================== */

:root {
  --bg: #0D0B14;
  --bg-2: #14101F;
  --bg-3: #1B1526;
  --bg-4: #221A31;
  --line: #2A2138;
  --text: #EDEAF2;
  --muted: #A99FC4;
  --accent: #9333EA;
  --accent-deep: #7E22CE;
  --accent-light: #C084FC;
  --green: #22C55E;
  --red: #EF4444;
  --radius: 14px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   NAV — BROWSER-BAR
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-nav.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.18);
}

.brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

/* address-bar pill in the middle */
.nav-address {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background-color: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.site-nav-links a {
  display: block;
  padding: 7px 16px;
  font-size: 0.92rem;
  color: var(--muted);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav-links a:hover {
  color: var(--text);
  background-color: var(--bg-4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-block;
  padding: 9px 18px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--accent-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background-color: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background-color: var(--text);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   HERO — candlestick chart
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 72px 0 56px;
  background:
    radial-gradient(800px 400px at 80% -10%, var(--bg-3), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  background-color: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.btn-light {
  background-color: #ffffff;
  color: var(--bg);
}

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

.btn-block {
  width: 100%;
}

/* Chart */
.hero-chart {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chart-frame {
  background-color: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.chart-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg-3);
}

.chart-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--green);
}

.chart-label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.chart-body {
  position: relative;
  height: 280px;
  padding: 18px 18px 0;
}

.chart-grid {
  position: absolute;
  inset: 18px 18px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.grid-line {
  display: block;
  height: 1px;
  background-color: var(--line);
}

.chart-candles {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 26px;
}

.candle {
  position: relative;
  width: 16px;
  height: 100%;
}

.candle::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: var(--wick);
  border-radius: 1px;
}

.candle .body {
  position: absolute;
  bottom: calc((var(--wick) - var(--h)) / 2);
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: var(--h);
  border-radius: 2px;
}

.candle.up::before {
  background-color: var(--green);
}

.candle.up .body {
  background-color: var(--green);
}

.candle.down::before {
  background-color: var(--red);
}

.candle.down .body {
  background-color: var(--bg-2);
  border: 2px solid var(--red);
}

.chart-baseline {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 25px;
  height: 1px;
  background-color: var(--line);
}

.chart-caption {
  font-size: 0.85rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Ticker strip
   -------------------------------------------------------------------------- */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: var(--bg-2);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  padding: 14px 0;
  animation: ticker-scroll 32s linear infinite;
}

.ticker-track span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-track i {
  font-style: normal;
  color: var(--accent);
  font-size: 0.7rem;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Statement
   -------------------------------------------------------------------------- */
.statement-section {
  padding: 84px 0;
  background-color: var(--bg);
}

.statement-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 22px;
}

.statement-body {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 800px;
}

/* --------------------------------------------------------------------------
   Section header helpers
   -------------------------------------------------------------------------- */
.section-head {
  margin-bottom: 44px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Services — numbered list
   -------------------------------------------------------------------------- */
.services-section {
  padding: 84px 0;
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-item:last-child {
  border-bottom: none;
}

.service-num {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.service-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-content p {
  color: var(--muted);
  max-width: 760px;
}

/* --------------------------------------------------------------------------
   Approach — comparison table
   -------------------------------------------------------------------------- */
.approach-section {
  padding: 84px 0;
  background-color: var(--bg);
}

.compare-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.4fr;
}

.compare-row:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.compare-cell {
  padding: 18px 20px;
  font-size: 0.98rem;
}

.compare-cell:not(:last-child) {
  border-right: 1px solid var(--line);
}

.compare-head .compare-cell {
  background-color: var(--bg-3);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.compare-label {
  font-weight: 600;
  color: var(--accent-light);
}

.compare-legacy {
  color: var(--muted);
}

.compare-arg {
  color: var(--text);
  background-color: var(--bg-2);
}

/* --------------------------------------------------------------------------
   Results — counters
   -------------------------------------------------------------------------- */
.results-section {
  padding: 84px 0;
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  padding: 28px 24px;
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-light);
  line-height: 1.1;
}

.stat-plus {
  font-size: 1.8rem;
  vertical-align: top;
  margin-left: 2px;
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process-section {
  padding: 84px 0;
  background-color: var(--bg);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-step {
  padding: 24px 20px;
  background-color: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}

.process-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Insights — sectors + testimonials
   -------------------------------------------------------------------------- */
.insights-section {
  padding: 84px 0;
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sector-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.sector-chip {
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  background-color: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sector-chip:hover {
  border-color: var(--accent);
  background-color: var(--bg-4);
}

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

.testimonial {
  padding: 26px;
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.testimonial p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 18px;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 84px 0;
  background-color: var(--bg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent-light);
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 22px 22px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 84px 0;
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
}

.contact-details a {
  color: var(--text);
}

.contact-details a:hover {
  color: var(--accent-light);
}

.contact-form-wrap {
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  padding: 12px 14px;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--text);
  background-color: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-status {
  font-size: 0.9rem;
  color: var(--accent-light);
  min-height: 0;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
}

.cta-inner {
  text-align: center;
}

.cta-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 1.05rem;
  color: #f3e8ff;
  margin-bottom: 26px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: 56px;
}

.newsletter {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background-color: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 48px;
}

.newsletter-copy h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.newsletter-copy p {
  color: var(--muted);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background-color: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 48px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: var(--text);
}

.footer-col li {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-brand-col p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-url {
  color: var(--accent-light) !important;
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-cell {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
  }

  .compare-cell:last-child {
    border-bottom: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .nav-address {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .site-nav-links.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background-color: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .site-nav-links.open a {
    padding: 12px 16px;
    text-align: center;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-num {
    font-size: 1.8rem;
  }

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

  .process-row {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
