/*
Theme Name:   ArabiTrader
Theme URI:    https://arabitrader.com
Template:     astra
Description:  ArabiTrader Child Theme — Professional trading signals platform
Author:       ArabiTrader
Version:      1.0.0
Text Domain:  arabitrader
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --at-gold:       #F0A500;
  --at-gold-light: #FFD166;
  --at-gold-dark:  #C8860A;
  --at-green:      #00C896;
  --at-red:        #FF4D6D;
  --at-blue:       #3B82F6;

  /* Background layers */
  --at-bg:         #080D1A;
  --at-bg-card:    #0D1526;
  --at-bg-card2:   #111D35;
  --at-bg-input:   #0A1020;
  --at-border:     rgba(255,255,255,0.06);
  --at-border2:    rgba(240,165,0,0.18);

  /* Text */
  --at-text:       #E8EDF5;
  --at-text-muted: #8A9BB8;
  --at-text-dim:   #5A6A85;

  /* Spacing */
  --at-radius:     12px;
  --at-radius-lg:  20px;
  --at-radius-xl:  28px;

  /* Shadows */
  --at-shadow:     0 4px 24px rgba(0,0,0,0.4);
  --at-shadow-lg:  0 12px 48px rgba(0,0,0,0.5);
  --at-glow-gold:  0 0 32px rgba(240,165,0,0.15);
  --at-glow-green: 0 0 24px rgba(0,200,150,0.2);

  /* Typography */
  --at-font:       'Inter', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --at-font-mono:  'JetBrains Mono', 'Fira Code', monospace;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--at-font);
  background: var(--at-bg);
  color: var(--at-text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Arabic RTL support */
body.at-lang-ar,
html[lang="ar"] body {
  font-family: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', var(--at-font);
  direction: rtl;
  text-align: right;
}

/* Remove Astra defaults that conflict */
.ast-container { max-width: 1200px !important; }
#masthead { background: transparent !important; }
.ast-primary-header-bar { background: transparent !important; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.at-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  width: 100% !important;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--at-border);
  height: 68px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.at-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.at-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.at-logo svg { display: block; }
/* legacy span support — hidden when SVG is present */
.at-logo span:first-child { color: var(--at-gold); }
.at-logo span:last-child  { color: var(--at-text); }

.at-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}
.at-nav__links a {
  color: var(--at-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.at-nav__links a:hover,
.at-nav__links a.active {
  color: var(--at-text);
  background: rgba(255,255,255,0.06);
}

.at-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.at-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.at-btn--ghost {
  background: transparent;
  color: var(--at-text-muted);
  border: 1px solid var(--at-border);
}
.at-btn--ghost:hover {
  color: var(--at-text);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}
.at-btn--gold {
  background: var(--at-gold);
  color: #000;
}
.at-btn--gold:hover {
  background: var(--at-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(240,165,0,0.35);
}
.at-btn--outline-gold {
  background: transparent;
  color: var(--at-gold);
  border: 1px solid var(--at-gold);
}
.at-btn--outline-gold:hover {
  background: rgba(240,165,0,0.1);
}
.at-btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 12px;
}
.at-btn--sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: 8px;
}

/* ============================================================
   CARDS
   ============================================================ */
.at-card {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  padding: 28px;
}
.at-card--hover {
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.at-card--hover:hover {
  border-color: var(--at-border2);
  transform: translateY(-3px);
  box-shadow: var(--at-shadow-lg);
}
.at-card--gold {
  border-color: var(--at-border2);
  background: linear-gradient(135deg, var(--at-bg-card) 0%, rgba(240,165,0,0.04) 100%);
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.at-section {
  padding: 100px 0;
  width: 100%;
  box-sizing: border-box;
}
.at-section--sm { padding: 64px 0; }
.at-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.at-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.2);
  color: var(--at-gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.at-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--at-text);
  margin: 0 0 16px;
}
.at-section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--at-gold) 0%, var(--at-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.at-section-sub {
  font-size: 1.05rem;
  color: var(--at-text-muted);
  max-width: 580px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.at-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.at-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.at-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--at-gold);
  font-variant-numeric: tabular-nums;
}
.at-stat-label {
  font-size: 0.8rem;
  color: var(--at-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   SIGNAL TICKER TAPE
   ============================================================ */
.at-ticker-wrap {
  background: var(--at-bg-card);
  border-top: 1px solid var(--at-border);
  border-bottom: 1px solid var(--at-border);
  overflow: hidden;
  padding: 14px 0;
  width: 100%;
  box-sizing: border-box;
}
.at-ticker-track {
  display: flex;
  gap: 0;
  animation: tickerScroll 35s linear infinite;
  width: max-content;
}
.at-ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.at-ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  border-right: 1px solid var(--at-border);
  white-space: nowrap;
}
.at-ticker-pair {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--at-text);
  font-family: var(--at-font-mono);
}
.at-ticker-dir {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
}
.at-ticker-dir.buy  { background: rgba(0,200,150,0.15); color: var(--at-green); }
.at-ticker-dir.sell { background: rgba(255,77,109,0.15); color: var(--at-red); }
.at-ticker-price {
  font-size: 0.85rem;
  color: var(--at-text-muted);
  font-family: var(--at-font-mono);
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.at-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.at-feature-card {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.at-feature-card:hover {
  border-color: var(--at-border2);
  transform: translateY(-3px);
}
.at-feature-icon {
  width: 48px; height: 48px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.at-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--at-text);
  margin: 0 0 8px;
}
.at-feature-desc {
  font-size: 0.9rem;
  color: var(--at-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   MARKETS GRID
   ============================================================ */
.at-markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 900px) { .at-markets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .at-markets-grid { grid-template-columns: 1fr; } }

.at-market-card {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all .2s;
}
.at-market-card:hover {
  border-color: rgba(240,165,0,0.25);
  transform: translateY(-4px);
  box-shadow: var(--at-glow-gold);
}
.at-market-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.at-market-name { font-weight: 700; font-size: 1rem; color: var(--at-text); margin: 0 0 6px; }
.at-market-pairs { font-size: 0.8rem; color: var(--at-text-muted); line-height: 1.6; margin: 0; }
.at-market-badge {
  display: inline-block;
  background: rgba(240,165,0,0.1);
  color: var(--at-gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  margin-top: 10px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.at-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
@media (max-width: 900px) { .at-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .at-steps-grid { grid-template-columns: 1fr; } }

.at-step {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
}
.at-step-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--at-gold) 0%, var(--at-gold-dark) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #000;
  margin: 0 auto 16px;
}
.at-step-title { font-weight: 700; font-size: 1rem; margin: 0 0 8px; }
.at-step-desc  { font-size: 0.88rem; color: var(--at-text-muted); margin: 0; }

/* ============================================================
   PRICING CARDS
   ============================================================ */
.at-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}
@media (max-width: 900px) { .at-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }

.at-price-card {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-xl);
  padding: 36px 28px;
  position: relative;
}
.at-price-card--featured {
  border-color: var(--at-gold);
  background: linear-gradient(160deg, var(--at-bg-card2) 0%, rgba(240,165,0,0.06) 100%);
  box-shadow: var(--at-glow-gold);
}
.at-price-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--at-gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 99px;
  white-space: nowrap;
}
.at-price-name { font-size: 1rem; font-weight: 600; color: var(--at-text-muted); margin: 0 0 12px; }
.at-price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--at-text);
  line-height: 1;
  margin: 0 0 4px;
}
.at-price-amount sup { font-size: 1.2rem; vertical-align: super; font-weight: 700; }
.at-price-per { font-size: 0.85rem; color: var(--at-text-muted); margin: 0 0 24px; }
.at-price-period { font-size: 0.82rem; color: var(--at-text-dim); margin: 0 0 28px; }
.at-price-divider { border: none; border-top: 1px solid var(--at-border); margin: 20px 0; }
.at-price-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.at-price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--at-text-muted); }
.at-price-features li::before { content: "✓"; color: var(--at-green); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.at-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) { .at-testimonials-grid { grid-template-columns: 1fr; } }

.at-testimonial {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  padding: 28px;
}
.at-testimonial-text {
  font-size: 0.95rem;
  color: var(--at-text-muted);
  line-height: 1.75;
  margin: 0 0 20px;
  font-style: italic;
}
.at-testimonial-text::before { content: '"'; color: var(--at-gold); font-size: 1.5rem; line-height: 0.5; }
.at-testimonial-author { display: flex; align-items: center; gap: 12px; }
.at-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--at-gold) 0%, var(--at-gold-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #000;
  flex-shrink: 0;
}
.at-author-name { font-weight: 600; font-size: 0.9rem; color: var(--at-text); }
.at-author-loc  { font-size: 0.8rem; color: var(--at-text-dim); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.at-faq { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.at-faq-item {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius);
  overflow: hidden;
}
.at-faq-q {
  width: 100%; text-align: left;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 0.95rem;
  color: var(--at-text);
  background: transparent; border: none; cursor: pointer;
  transition: background .15s;
}
.at-faq-q:hover { background: rgba(255,255,255,0.03); }
.at-faq-q .at-faq-arrow { color: var(--at-gold); transition: transform .2s; }
.at-faq-item.open .at-faq-arrow { transform: rotate(180deg); }
.at-faq-a {
  padding: 0 24px;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  font-size: 0.9rem; color: var(--at-text-muted); line-height: 1.7;
}
.at-faq-item.open .at-faq-a { max-height: 400px; padding: 0 24px 20px; }

/* ============================================================
   HERO CTA SECTION
   ============================================================ */
.at-cta-section {
  background: linear-gradient(135deg, var(--at-bg-card) 0%, var(--at-bg-card2) 100%);
  border: 1px solid var(--at-border2);
  border-radius: var(--at-radius-xl);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.at-cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,165,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.at-footer {
  background: var(--at-bg-card);
  border-top: 1px solid var(--at-border);
  padding: 60px 0 32px;
  width: 100%;
  box-sizing: border-box;
}
.at-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .at-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .at-footer-grid { grid-template-columns: 1fr; } }

.at-footer-brand p { font-size: 0.9rem; color: var(--at-text-muted); line-height: 1.7; margin: 12px 0 0; max-width: 280px; }
.at-footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--at-text-dim); margin: 0 0 16px; }
.at-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.at-footer-col a { font-size: 0.9rem; color: var(--at-text-muted); text-decoration: none; transition: color .15s; }
.at-footer-col a:hover { color: var(--at-gold); }
.at-footer-bottom {
  border-top: 1px solid var(--at-border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.at-footer-copy { font-size: 0.82rem; color: var(--at-text-dim); }
.at-footer-risk { font-size: 0.78rem; color: var(--at-text-dim); max-width: 600px; }

/* ============================================================
   PERFORMANCE PAGE
   ============================================================ */
.at-perf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 48px 0;
}
@media (max-width: 800px) { .at-perf-stats { grid-template-columns: repeat(2, 1fr); } }

.at-perf-stat {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  padding: 24px;
  text-align: center;
}
.at-perf-stat--gold { border-color: var(--at-border2); }
.at-perf-stat .at-stat-value { font-size: 2.2rem; display: block; margin-bottom: 4px; }
.at-perf-stat .at-stat-label { font-size: 0.82rem; color: var(--at-text-dim); }

.at-market-breakdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { .at-market-breakdown { grid-template-columns: repeat(2, 1fr); } }

.at-mb-card {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius);
  padding: 18px;
}
.at-mb-name { font-size: 0.85rem; font-weight: 600; color: var(--at-text-muted); margin-bottom: 8px; }
.at-mb-rate { font-size: 1.5rem; font-weight: 800; color: var(--at-green); }
.at-mb-count { font-size: 0.8rem; color: var(--at-text-dim); margin-top: 4px; }

.at-signals-table-wrap {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  overflow: hidden;
}
.at-signals-filters {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--at-border);
  flex-wrap: wrap;
}
.at-filter-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--at-border);
  color: var(--at-text-muted);
  cursor: pointer;
  transition: all .15s;
}
.at-filter-btn.active, .at-filter-btn:hover {
  background: rgba(240,165,0,0.1);
  border-color: rgba(240,165,0,0.3);
  color: var(--at-gold);
}
.at-table { width: 100%; border-collapse: collapse; }
.at-table th {
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--at-text-dim);
  text-align: left;
  border-bottom: 1px solid var(--at-border);
  background: var(--at-bg-card);
}
.at-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--at-text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-family: var(--at-font-mono);
}
.at-table tr:hover td { background: rgba(255,255,255,0.02); }
.at-badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 700; font-family: var(--at-font);
}
.at-badge--buy    { background: rgba(0,200,150,0.12); color: var(--at-green); }
.at-badge--sell   { background: rgba(255,77,109,0.12); color: var(--at-red); }
.at-badge--tp     { background: rgba(0,200,150,0.12); color: var(--at-green); }
.at-badge--sl     { background: rgba(255,77,109,0.12); color: var(--at-red); }
.at-badge--active { background: rgba(59,130,246,0.12); color: var(--at-blue); }
.at-badge--pending{ background: rgba(240,165,0,0.12); color: var(--at-gold); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.at-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) { .at-contact-grid { grid-template-columns: 1fr; } }

.at-contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.at-info-card {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius);
  padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.at-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.at-info-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--at-text-dim); margin-bottom: 4px; }
.at-info-value { font-size: 0.95rem; font-weight: 600; color: var(--at-text); }
.at-info-sub   { font-size: 0.82rem; color: var(--at-text-muted); margin-top: 2px; }

/* ============================================================
   FORMS
   ============================================================ */
.at-form { display: flex; flex-direction: column; gap: 16px; }
.at-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .at-form-row { grid-template-columns: 1fr; } }

.at-field { display: flex; flex-direction: column; gap: 6px; }
.at-label { font-size: 0.82rem; font-weight: 600; color: var(--at-text-muted); }
.at-input, .at-select, .at-textarea {
  background: var(--at-bg-input);
  border: 1px solid var(--at-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--at-text);
  font-family: var(--at-font);
  transition: border-color .15s;
  width: 100%;
}
.at-input:focus, .at-select:focus, .at-textarea:focus {
  outline: none;
  border-color: rgba(240,165,0,0.4);
  box-shadow: 0 0 0 3px rgba(240,165,0,0.08);
}
.at-textarea { min-height: 130px; resize: vertical; }
.at-select option { background: var(--at-bg-card); }
.at-form-note { font-size: 0.8rem; color: var(--at-text-dim); }
.at-form-note a { color: var(--at-gold); text-decoration: none; }

/* ============================================================
   ACCOUNT / AUTH PAGE
   ============================================================ */
.at-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 48px;
  position: relative;
}
.at-auth-wrap::before {
  content: '';
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(240,165,0,0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(0,200,150,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.at-auth-card {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}
.at-auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--at-bg-input);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 28px;
}
.at-auth-tab {
  flex: 1;
  padding: 9px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--at-text-muted);
  transition: all .15s;
}
.at-auth-tab.active {
  background: var(--at-bg-card);
  color: var(--at-text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.at-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 800px) { .at-team-grid { grid-template-columns: 1fr; } }

.at-team-card {
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.at-team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--at-gold) 0%, var(--at-gold-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; color: #000;
  margin: 0 auto 16px;
}
.at-team-name  { font-weight: 700; font-size: 1rem; color: var(--at-text); margin: 0 0 4px; }
.at-team-role  { font-size: 0.82rem; color: var(--at-gold); font-weight: 600; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.at-team-desc  { font-size: 0.88rem; color: var(--at-text-muted); line-height: 1.65; margin: 0; }

/* ============================================================
   VALUES GRID
   ============================================================ */
.at-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 800px) { .at-values-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.at-legal-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 32px;
}
@media (max-width: 800px) { .at-legal-wrap { grid-template-columns: 1fr; } }

.at-legal-nav { position: sticky; top: 88px; }
.at-legal-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--at-text-muted);
  text-decoration: none;
  transition: all .15s;
  border-left: 2px solid transparent;
}
.at-legal-nav a:hover, .at-legal-nav a.active {
  color: var(--at-gold);
  border-left-color: var(--at-gold);
  background: rgba(240,165,0,0.05);
}
.at-legal-tabs { display: flex; gap: 8px; margin-bottom: 32px; }
.at-legal-tab {
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--at-bg-card);
  border: 1px solid var(--at-border);
  color: var(--at-text-muted);
  transition: all .15s;
}
.at-legal-tab.active {
  background: rgba(240,165,0,0.1);
  border-color: rgba(240,165,0,0.3);
  color: var(--at-gold);
}
.at-legal-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--at-text); margin: 32px 0 12px; border-bottom: 1px solid var(--at-border); padding-bottom: 10px; }
.at-legal-content h2:first-child { margin-top: 0; }
.at-legal-content h3 { font-size: 1rem; font-weight: 600; color: var(--at-text); margin: 20px 0 8px; }
.at-legal-content p  { font-size: 0.92rem; color: var(--at-text-muted); line-height: 1.75; margin: 0 0 16px; }
.at-legal-content ul { padding-left: 20px; margin: 0 0 16px; }
.at-legal-content li { font-size: 0.92rem; color: var(--at-text-muted); line-height: 1.7; margin-bottom: 6px; }
.at-legal-content a  { color: var(--at-gold); }
.at-risk-banner {
  background: rgba(255,77,109,0.08);
  border: 1px solid rgba(255,77,109,0.2);
  border-radius: var(--at-radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #FF8FA3;
  margin-bottom: 28px;
  display: flex; gap: 10px; align-items: flex-start;
}

/* ============================================================
   RESELLER PROGRAM
   ============================================================ */
.at-reseller-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 800px) { .at-reseller-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LANG SWITCHER
   ============================================================ */
.at-lang-switch {
  display: flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--at-border);
  border-radius: 8px;
  overflow: hidden;
}
.at-lang-switch button {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--at-text-muted);
  cursor: pointer;
  transition: all .15s;
}
.at-lang-switch button.active {
  background: var(--at-gold);
  color: #000;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.at-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.at-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 40%, rgba(240,165,0,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(0,200,150,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.at-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
}
.at-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,150,0.1);
  border: 1px solid rgba(0,200,150,0.2);
  color: var(--at-green);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.at-hero-kicker::before {
  content: ''; width: 7px; height: 7px;
  background: var(--at-green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}
.at-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--at-text);
  margin: 0 0 20px;
}
.at-hero h1 span {
  background: linear-gradient(135deg, var(--at-gold) 0%, var(--at-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.at-hero-sub {
  font-size: 1.1rem;
  color: var(--at-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 36px;
}
.at-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.at-hero-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.at-hero-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--at-text-muted);
}
.at-hero-check::before {
  content: '✓';
  color: var(--at-green);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ============================================================
   ALERT / NOTICE MESSAGES
   ============================================================ */
.at-notice {
  padding: 14px 18px;
  border-radius: var(--at-radius);
  font-size: 0.88rem;
  line-height: 1.5;
  display: none;
}
.at-notice--success {
  background: rgba(0,200,150,0.1);
  border: 1px solid rgba(0,200,150,0.25);
  color: var(--at-green);
}
.at-notice--error {
  background: rgba(255,77,109,0.1);
  border: 1px solid rgba(255,77,109,0.25);
  color: var(--at-red);
}
.at-notice.visible { display: block; }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.at-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--at-border);
  border-top-color: var(--at-gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 48px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */
.at-mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--at-border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--at-text);
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .at-nav__links, .at-nav__actions { display: none; }
  .at-nav__links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--at-bg-card); padding: 16px; border-bottom: 1px solid var(--at-border); }
  .at-mobile-menu-btn { display: block; }
  .at-hero h1 { font-size: 2.2rem; }
  .at-section { padding: 64px 0; }
  .at-pricing-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STRIPE PAYMENT SECTION
   ============================================================ */
.at-stripe-box {
  background: var(--at-bg-card2);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  padding: 32px;
  max-width: 480px;
  margin: 40px auto 0;
}
.at-stripe-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--at-text-dim);
  justify-content: center; margin-top: 14px;
}
#card-element {
  background: var(--at-bg-input);
  border: 1px solid var(--at-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 6px;
}

/* ============================================================
   SECURITY: Disable text selection on sensitive elements
   ============================================================ */
.at-signal-price,
.at-signal-entry,
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* ============================================================
   PAGE WRAPPER — push content below fixed nav
   ============================================================ */
.at-page-wrap { padding-top: 68px; }

/* ============================================================
   ASTRA OVERRIDES — force full width on all pages
   ============================================================ */

/* Step 1: html and body must be full width with no overflow clipping */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Step 2: WordPress #page / #content wrappers — full width, no padding */
#page,
#content,
.site,
.site-content,
.hfeed {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Step 3: ALL Astra containers — full width, zero padding */
.ast-container,
.ast-page-builder-template .ast-container,
#content .ast-container,
.ast-wide-layout .ast-container,
.ast-full-width-layout .ast-container,
.ast-row,
.ast-grid-right-sidebar,
.ast-grid-left-sidebar,
.ast-no-sidebar,
.ast-primary-content-wrap,
.ast-article-post,
.ast-article-single {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

/* Step 4: Kill #primary / #main / .entry-content constraints */
#primary,
#main,
.site-main,
.content-area,
.entry-content,
.post-content,
.page-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Step 5: Hide everything Astra adds that we don't want */
/* Header */
#masthead,
.site-header,
.ast-site-header,
.ast-primary-header,
.ast-header-wrap,
.ast-above-header-wrap,
.ast-below-header-wrap {
  display: none !important;
}
/* Footer */
#colophon,
.site-footer,
.ast-site-footer,
.footer-bar,
.ast-builder-grid-row,
.ast-footer-overlay,
.ast-above-footer,
.ast-below-footer,
.footer-widget-area {
  display: none !important;
}
/* Sidebar */
#secondary,
.widget-area,
.sidebar-area,
.ast-left-sidebar,
.ast-right-sidebar {
  display: none !important;
}
/* Page titles / entry headers / breadcrumbs */
.ast-page-header-content,
.ast-single-post-order,
.page-header,
.entry-header,
.ast-above-post-thumbnail,
.ast-archive-description,
.ast-breadcrumbs,
.ast-breadcrumbs-wrapper,
.entry-title {
  display: none !important;
}

/* Step 6: Ensure body has no extra padding from Astra */
body {
  padding: 0 !important;
  margin: 0 !important;
}

/* The WordPress admin bar shifts content — account for it */
.admin-bar .at-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .at-nav { top: 46px; }
}
.admin-bar .at-page-wrap {
  padding-top: calc(68px + 32px);
}
@media screen and (max-width: 782px) {
  .admin-bar .at-page-wrap { padding-top: calc(68px + 46px); }
}

/* ============================================================
   FOOTER BOTTOM — white text only, no decorative elements
   ============================================================ */
.at-footer-bottom {
  border-top: 1px solid var(--at-border);
  padding-top: 24px;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.at-footer-copy {
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 400;
}
.at-footer-copy a {
  color: #ffffff;
  text-decoration: none;
}
.at-footer-copy a:hover {
  text-decoration: underline;
}
.at-footer-risk {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
