:root {
  --bg: #ffffff;
  --bg-elev: #f8fafc;
  --panel: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --accent-from: #7c3aed;
  --accent-to: #06b6d4;
  --accent: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: 
    radial-gradient(ellipse 800px 600px at 50% 0%, rgba(124,58,237,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 600px 400px at 80% 100%, rgba(6,182,212,0.06) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 25%, #ffffff 50%, #f8fafc 75%, #ffffff 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(10px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand.small { font-size: 14px; }
.brand-text { font-family: "Space Grotesk", Inter, system-ui; letter-spacing: 0.2px; }
.brand-mark { width: 18px; height: 18px; border-radius: 6px; background: var(--accent); box-shadow: 0 0 24px rgba(124,58,237,0.2), 0 0 24px rgba(6,182,212,0.15); }

.primary-nav { display: flex; align-items: center; gap: 18px; }
.primary-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.primary-nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid transparent; text-decoration: none; color: var(--text); font-weight: 600; cursor: pointer; transition: transform 0.08s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; -webkit-tap-highlight-color: transparent; -webkit-appearance: none; appearance: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: clamp(14px, 2.5vw, 1.125rem);
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  min-height: 56px;
  line-height: 1.4;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: #cbd5e1; }
.btn-ghost:hover { border-color: #94a3b8; background: rgba(0,0,0,0.02); }
.btn-block { width: 100%; }

/* Hero */
.hero { position: relative; padding: 56px 0 32px; }
.bg-orb { position: absolute; pointer-events: none; filter: blur(60px); opacity: 0.15; }
.orb-a { width: 540px; height: 540px; background: radial-gradient(closest-side, rgba(124,58,237,0.2), transparent); top: -120px; right: -120px; }
.orb-b { width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(6,182,212,0.15), transparent); bottom: -120px; left: -120px; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
.hero-copy h1 { font-family: "Space Grotesk", Inter, system-ui; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin: 6px 0 14px; letter-spacing: -0.02em; }
.hero-subtitle {
  font-family: "Space Grotesk", Inter, system-ui;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 16px 0;
  letter-spacing: 0.1px;
}
.changing-word { 
  background: var(--accent); 
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent;
  transition: all 0.3s ease;
}
.cursor {
  color: var(--accent-from);
  animation: blink 1s infinite;
  font-weight: 700;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.accent { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 18px; max-width: 58ch; }
.key-points { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 18px 0 18px; padding: 0; list-style: none; }
.key-points li { display: flex; align-items: center; gap: 10px; color: #334155; }
.key-points .icon { 
  width: 48px; 
  height: 48px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border-radius: 10px; 
  background: rgba(124,58,237,0.08); 
  border: 1px solid #e2e8f0; 
  padding: 0;
}
.key-points .icon svg {
  width: 24px;
  height: 24px;
  color: #7c3aed;
}
.cta-inline { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-form { background: white; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: relative; }
.hero-form::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
.form-title { 
  font-weight: 700; 
  font-family: "Space Grotesk", Inter, system-ui; 
  letter-spacing: 0.2px; 
  color: var(--text); 
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.08));
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 8px;
  display: inline-block;
  border: 1px solid rgba(124,58,237,0.2);
  position: relative;
}
.form-row { display: grid; gap: 8px; margin-top: 12px; }
.form-row.grid-2 { grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.checkbox { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.form-row label { color: #475569; font-size: 14px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select {
  height: 44px; border-radius: 12px; border: 1px solid #cbd5e1; background: white; color: var(--text); padding: 0 12px; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input::placeholder { color: #94a3b8; font-size: 16px; }
input:focus, select:focus { border-color: #7c3aed; box-shadow: 0 0 0 4px rgba(124,58,237,0.1); }
.form-footnote { color: #64748b; font-size: 12px; text-align: center; margin-top: 10px; }
.form-status { margin-top: 8px; font-size: 14px; text-align: center; min-height: 20px; }

/* intl-tel-input overrides (light theme fit) */
.iti { width: 100%; }
.iti__country-list { background: white; border: 1px solid #cbd5e1; box-shadow: var(--shadow); }
.iti__country-list .iti__country { color: var(--text); }
.iti__country-list .iti__dial-code { color: #64748b; background: transparent; }
.iti__flag-container:hover { background: rgba(0,0,0,0.02); }
.iti--separate-dial-code .iti__selected-flag { background: transparent !important; }
.iti input[type="tel"] { width: 100%; background: white; border: 1px solid #cbd5e1; color: var(--text); border-radius: 12px; height: 44px; }
.iti input[type="tel"]:focus { border-color: #7c3aed; box-shadow: 0 0 0 4px rgba(124,58,237,0.1); }

/* TOS checkbox and links styling */
.form-row.checkbox label { color: #475569; font-size: 13.5px; }
.form-row.checkbox a {
  color: #7c3aed;
  font-family: "Space Grotesk", Inter, system-ui;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}
.form-row.checkbox a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: var(--accent);
  opacity: 0.5;
  transform: scaleX(0.15);
  transform-origin: left;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.form-row.checkbox a:hover { color: #6d28d9; }
.form-row.checkbox a:hover::after { transform: scaleX(1); opacity: 1; }

.form-row.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: white;
  display: inline-grid;
  place-content: center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.form-row.checkbox input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transform: scale(0);
  transition: transform 0.1s ease;
  background: var(--accent);
}
.form-row.checkbox input[type="checkbox"]:checked {
  border-color: #7c3aed;
}
.form-row.checkbox input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.form-row.checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
}

/* Sections */
.section { padding: 56px 0; }
.section-header { text-align: center; margin-bottom: 28px; }
.section-header h2 { font-family: "Space Grotesk", Inter, system-ui; font-size: clamp(26px, 3.2vw, 40px); margin: 0 0 8px; }
.section-header p { color: var(--muted); margin: 0 auto; max-width: 62ch; }

/* Reviews section - reduce bottom padding to minimize space before FAQ */
.reviews { padding-bottom: 0px; }

/* Security Section */
.security-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124,58,237,0.02), rgba(6,182,212,0.02));
}

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.security-text p {
  margin: 0 0 20px;
  color: #334155;
  line-height: 1.7;
  font-size: 16px;
}

.security-text p:last-child {
  margin-bottom: 0;
}

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

.lottie-container {
  width: 300px;
  height: 300px;
  position: relative;
}

.security-animation {
  width: 100%;
  height: 100%;
}

/* Security background animations */
.security-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.security-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.security-orb-1 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(124,58,237,0.3), transparent);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.security-orb-2 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(6,182,212,0.3), transparent);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.security-orb-3 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(34,197,94,0.3), transparent);
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.security-shield {
  position: absolute;
  top: 50%;
  right: 10%;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(6,182,212,0.1));
  border: 2px solid rgba(124,58,237,0.2);
  border-radius: 12px;
  transform: translateY(-50%) rotate(45deg);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: translateY(-50%) rotate(45deg) scale(1); opacity: 0.6; }
  50% { transform: translateY(-50%) rotate(45deg) scale(1.1); opacity: 1; }
}

/* Responsive design for security section */
@media (max-width: 768px) {
  .security-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .lottie-container {
    width: 250px;
    height: 250px;
  }
  
  .security-text p {
    font-size: 15px;
  }
}

/* Trades CTA Section */
.trades-cta {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
}

/* Profit CTA Section */
.profit-cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  position: relative;
  z-index: 10;
}

.btn-large {
  padding: 16px 32px;
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.btn-large:active {
  transform: translateY(0);
}

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.feature-card::after { content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
.feature-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(124,58,237,0.08); border: 1px solid #e2e8f0; margin-bottom: 10px; color: #7c3aed; }
.feature-card h3 { margin: 0 0 6px; }
.feature-card p { margin: 0; color: var(--muted); }

/* Clients */
.logo-marquee { overflow: hidden; border-radius: 14px; border: 1px solid #e2e8f0; background: white; }
.marquee-track { display: flex; gap: 34px; padding: 12px 20px; white-space: nowrap; animation: marquee 24s linear infinite; }
.logo { color: #64748b; opacity: 0.9; letter-spacing: 2px; font-weight: 700; font-family: "Space Grotesk", Inter, system-ui; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.requirements { margin-top: 20px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.requirements h3 { margin: 0; }
.requirements-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 20px; }
.requirements-list li { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  background: white; 
  border: 1px solid #e2e8f0; 
  border-radius: 16px;
  padding: 20px; 
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.requirements-list li:hover {
  border-color: rgba(124,58,237,0.3);
  background: #fafafa;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.requirements-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.4), transparent);
  border-radius: 16px 16px 0 0;
}
.req-icon { 
  width: 48px; 
  height: 48px; 
  border-radius: 12px; 
  display: grid; 
  place-items: center; 
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(6,182,212,0.1)); 
  border: 1px solid rgba(124,58,237,0.2);
  flex-shrink: 0;
  font-size: 20px;
  position: relative;
  overflow: hidden;
}
.req-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  border-radius: 12px;
}
.requirements-list li span:last-child {
  color: #334155;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  margin-top: 2px;
}

/* Profit Section */
.profit-section { 
  position: relative; 
  overflow: hidden;
  background: rgba(124,58,237,0.02);
}
.profit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.profit-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.profit-card h3 {
  font-family: "Space Grotesk", Inter, system-ui;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px 0;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-icon {
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(6,182,212,0.1));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 10px;
  flex-shrink: 0;
}
.profit-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}

/* Animated Trading Candles */
.candles-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}
.candle {
  position: absolute;
  border-radius: 2px;
  opacity: 0.2;
}
.candle::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: #94a3b8;
  opacity: 0.4;
}

.candle-1 {
  height: 60px;
  width: 6px;
  left: 10%;
  top: 40%;
  animation: candleFloat 8s ease-in-out infinite;
  background: linear-gradient(to bottom, #10b981, #059669);
}
.candle-1::before { height: 20px; top: -20px; }

.candle-2 {
  height: 40px;
  width: 4px;
  left: 20%;
  top: 70%;
  animation: candleFloat 6s ease-in-out infinite reverse;
  background: linear-gradient(to bottom, #ef4444, #dc2626);
}
.candle-2::before { height: 15px; top: -15px; }

.candle-3 {
  height: 80px;
  width: 8px;
  left: 30%;
  top: 50%;
  animation: candleFloat 10s ease-in-out infinite;
  background: linear-gradient(to bottom, #10b981, #059669);
}
.candle-3::before { height: 25px; top: -25px; }

.candle-4 {
  height: 30px;
  width: 5px;
  left: 40%;
  top: 80%;
  animation: candleFloat 7s ease-in-out infinite reverse;
  background: linear-gradient(to bottom, #ef4444, #dc2626);
}
.candle-4::before { height: 12px; top: -12px; }

.candle-5 {
  height: 70px;
  width: 7px;
  left: 60%;
  top: 45%;
  animation: candleFloat 9s ease-in-out infinite;
  background: linear-gradient(to bottom, #10b981, #059669);
}
.candle-5::before { height: 22px; top: -22px; }

.candle-6 {
  height: 50px;
  width: 6px;
  left: 70%;
  top: 75%;
  animation: candleFloat 5s ease-in-out infinite reverse;
  background: linear-gradient(to bottom, #ef4444, #dc2626);
}
.candle-6::before { height: 18px; top: -18px; }

.candle-7 {
  height: 90px;
  width: 9px;
  left: 80%;
  top: 35%;
  animation: candleFloat 11s ease-in-out infinite;
  background: linear-gradient(to bottom, #10b981, #059669);
}
.candle-7::before { height: 28px; top: -28px; }

.candle-8 {
  height: 35px;
  width: 5px;
  left: 90%;
  top: 65%;
  animation: candleFloat 6.5s ease-in-out infinite reverse;
  background: linear-gradient(to bottom, #ef4444, #dc2626);
}
.candle-8::before { height: 14px; top: -14px; }

@keyframes candleFloat {
  0%, 100% { transform: translateY(0px) scaleY(1); opacity: 0.2; }
  25% { transform: translateY(-15px) scaleY(1.1); opacity: 0.3; }
  50% { transform: translateY(-25px) scaleY(1.2); opacity: 0.4; }
  75% { transform: translateY(-15px) scaleY(1.1); opacity: 0.3; }
}

/* Trades carousel */
.trades-carousel {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: white;
}
.trades-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 16px;
  padding: 10px 20px;
  animation: tradesMarquee 45s linear infinite;
}
.trade-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.trade-symbol { color: #475569; letter-spacing: 0.3px; }
.trade-price { color: #64748b; font-weight: 500; }
.trade-pct { font-weight: 700; }
.trade-pct.profit { color: #059669; }
.trade-pct.loss { color: #dc2626; }

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

/* Trades table */
.trades-table-container {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}
.trades-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.trades-table thead {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.trades-table th {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trades-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: white;
  transition: background-color 0.2s ease;
}

.trades-table tr:last-child td {
  border-bottom: none;
}

.trades-table tr:hover td {
  background: rgba(124, 58, 237, 0.02);
}

.trades-table .position-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trades-table .position-badge.long {
  background: rgba(34, 197, 94, 0.1);
  color: #059669;
}

.trades-table .position-badge.short {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}
.position-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.position-badge.long {
  background: rgba(34, 197, 94, 0.1);
  color: #059669;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.position-badge.short {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.profit {
  color: #059669;
  font-weight: 700;
}
.loss {
  color: #dc2626;
  font-weight: 700;
}

/* Reviews */
.tweets-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  height: 350px;
}
.tweet-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  opacity: 0.3;
  transform: translateY(0);
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: 1;
  box-shadow: var(--shadow);
}
.tweet-card:nth-child(2) {
  top: 20px;
  transform: translateY(0) scale(0.95);
  z-index: 2;
}
.tweet-card:nth-child(3) {
  top: 40px;
  transform: translateY(0) scale(0.9);
  z-index: 3;
}
.tweet-card:nth-child(4) {
  top: 60px;
  transform: translateY(0) scale(0.85);
  z-index: 4;
}
.tweet-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 5;
}
.tweet-card.active ~ .tweet-card {
  opacity: 0.3;
  transform: translateY(0) scale(0.95);
}
.tweet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.username {
  color: #64748b;
  font-size: 14px;
}
.handle {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}
.x-logo {
  color: #64748b;
  font-size: 18px;
  font-weight: 700;
}
.tweet-content {
  margin-bottom: 16px;
}
.tweet-content p {
  color: #334155;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.tweet-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}
.timestamp {
  color: #64748b;
  font-size: 13px;
}

/* FAQ */
.accordion { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.accordion-item { border: 1px solid #e2e8f0; border-radius: 14px; background: white; padding: 0 14px; box-shadow: var(--shadow); }
.accordion-item > summary { 
  list-style: none; 
  cursor: pointer; 
  padding: 14px 6px; 
  font-weight: 600; 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  gap: 10px; 
}
.accordion-item > summary::-webkit-details-marker { display: none; }
.accordion-item[open] > summary { color: #7c3aed; }
.accordion-item[open] > summary .arrow { 
  transform: rotate(180deg); 
  color: #7c3aed;
}
.accordion .answer { color: var(--muted); padding: 0 6px 14px; }
.arrow {
  color: #94a3b8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.1);
  margin-left: 8px;
  position: relative;
}

.arrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
}

.accordion-item:hover .arrow {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.accordion-item[open] .arrow {
  background: rgba(124, 58, 237, 0.15);
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; background: #f8fafc; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 16px; }
.footer-note { color: var(--muted); margin: 8px 0 0; }
.footer-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.copyright { grid-column: 1 / -1; color: #64748b; font-size: 12px; margin-top: -6px; }



/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .profit-cards { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  /* Hide navigation on mobile */
  .primary-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  /* Hero section mobile */
  .hero {
    padding: 40px 0 24px;
  }
  
  .hero-copy h1 {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .lede {
    font-size: 15px;
  }
  
  .key-points {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Form mobile */
  .hero-form {
    margin-top: 32px;
  }
  
  .form-title {
    font-size: 20px;
  }
  
  /* Trades table mobile */
  .trades-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
  }
  
  .trades-table {
    min-width: 600px;
    font-size: 14px;
  }
  
  .trades-table th,
  .trades-table td {
    padding: 12px 8px;
  }
  
  .trades-table th {
    font-size: 12px;
  }
  
  /* Requirements list mobile */
  .requirements-list {
    gap: 16px;
  }
  
  .requirements-list li {
    padding: 16px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .req-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  /* Security section mobile */
  .security-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .lottie-container {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }
  
  /* Tweet cards mobile */
  .tweets-container {
    height: 320px;
  }
  
  .tweet-card {
    padding: 16px;
  }
  
  .tweet-content p {
    font-size: 15px;
  }
  
  /* Accordion mobile */
  .accordion-item > summary {
    padding: 16px;
    font-size: 15px;
  }
  
  .accordion .answer {
    padding: 0 16px 16px;
    font-size: 14px;
  }
  
  /* CTA buttons mobile */
  .btn-large {
    padding: 14px 28px;
    font-size: 16px;
  }
  
  /* Footer mobile */
  .footer-nav {
    justify-content: center;
    gap: 8px;
  }
  
  .footer-nav a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  /* Very small screens */
  .hero-copy h1 {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .trades-table {
    min-width: 500px;
    font-size: 12px;
  }
  
  .legal-section {
    padding: 20px;
  }
  
  .legal-header {
    padding: 20px 0;
  }
}

/* Accessibility focus styles */
:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 4px rgba(124,58,237,0.2); border-radius: 10px; }

/* Legal Pages */
.legal-page {
  background: #f8fafc;
  min-height: 100vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 32px 0;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.legal-header h1 {
  font-family: "Space Grotesk", Inter, system-ui;
  font-size: clamp(32px, 4vw, 48px);
  color: #1e293b;
  margin: 0 0 8px;
}

.legal-subtitle {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  background: white;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.legal-section h2 {
  font-family: "Space Grotesk", Inter, system-ui;
  font-size: 24px;
  color: #7c3aed;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(124, 58, 237, 0.1);
}

.legal-section h3 {
  font-size: 18px;
  color: #1e293b;
  margin: 24px 0 12px;
  font-weight: 600;
}

.legal-section p {
  color: #334155;
  line-height: 1.7;
  margin: 0 0 16px;
}

.legal-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-section li {
  color: #334155;
  line-height: 1.6;
  margin-bottom: 8px;
}

.legal-section strong {
  color: #1e293b;
  font-weight: 600;
}

.contact-info {
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-top: 16px;
}

.contact-info p {
  margin: 0 0 12px;
}

.contact-info p:last-child {
  margin: 0;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
  .legal-section {
    padding: 24px;
    margin-bottom: 16px;
  }
  
  .legal-header {
    padding: 24px 0;
    margin-bottom: 32px;
  }
  
  .legal-section h2 {
    font-size: 20px;
  }
}

/* Popup Modal */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 500px;
  width: 90%;
  height: 520px;
  max-height: 90vh;
  overflow: hidden;
  animation: popupSlideIn 0.3s ease-out;
  box-sizing: border-box;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.popup-header h3 {
  margin: 0;
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 600;
}

.popup-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}

.popup-body {
  padding: 1.5rem 1.5rem 2rem;
}

.popup-text {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.popup-checkbox {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #374151;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  background: white;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
  position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #7c3aed;
  border-color: #7c3aed;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.checkbox-label:hover .checkmark {
  border-color: #7c3aed;
}

.popup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.popup-actions .btn {
  min-width: 120px;
}

.popup-actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #9ca3af;
}

.popup-actions .btn-primary:disabled {
  background: #9ca3af !important;
  cursor: not-allowed;
  opacity: 0.5;
}

/* Back button specific styling */
.popup-actions .btn-ghost {
  background: transparent;
  border: 2px solid #e5e7eb;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 120px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.popup-actions .btn-ghost:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #374151;
}

.popup-actions .btn-ghost:active {
  transform: translateY(1px);
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem 0;
  margin-bottom: 1rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.step.active {
  opacity: 1;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  color: white;
}

.step-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step.active .step-label {
  color: #7c3aed;
  font-weight: 600;
}

.step-line {
  width: 60px;
  height: 2px;
  background: #e5e7eb;
  margin: 0 1rem;
}

/* Step Content */
.popup-step {
  display: none;
}

.popup-step.active {
  display: block;
}

/* Desktop popup adjustments */
@media (min-width: 769px) {
  .popup-content {
    max-width: 500px;
    width: 500px;
  }
}

/* Mobile-specific popup adjustments */
@media (max-width: 768px) {
  .popup-content {
    height: auto;
    max-height: 95vh;
    margin: 20px;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }
  
  .popup-body {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
  }
  
  .popup-step {
    min-height: 200px;
  }
  
  .popup-actions {
    position: sticky;
    bottom: 0;
    background: white;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
  }
  
  /* Mobile button adjustments */
  .btn {
    font-size: clamp(14px, 3vw, 16px);
    padding: 0.75rem 1.5rem;
    min-height: 48px;
  }
  
  .btn-large {
    font-size: clamp(14px, 3vw, 16px);
    padding: 1rem 2rem;
    min-height: 52px;
  }
  
  .popup-actions .btn {
    font-size: clamp(14px, 3.5vw, 16px);
    padding: 0.75rem 1.25rem;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .popup-content {
    margin: 10px;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: 98vh;
    box-sizing: border-box;
  }
  
  .popup-body {
    padding: 1rem 1rem 1rem;
    max-height: 65vh;
    box-sizing: border-box;
  }
  
  .popup-header {
    padding: 1rem 1rem 0.75rem;
    box-sizing: border-box;
  }
  
  .step-indicator {
    padding: 0.75rem 1rem 0;
    box-sizing: border-box;
  }
  
  /* Small screen button adjustments */
  .btn {
    font-size: clamp(13px, 3.5vw, 15px);
    padding: 0.625rem 1.25rem;
    min-height: 44px;
  }
  
  .btn-large {
    font-size: clamp(13px, 3.5vw, 15px);
    padding: 0.875rem 1.75rem;
    min-height: 48px;
  }
  
  .popup-actions .btn {
    font-size: clamp(13px, 4vw, 15px);
    padding: 0.625rem 1rem;
    min-width: 90px;
  }
}

.step-title {
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Market Options */
.market-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.market-option {
  cursor: pointer;
  transition: all 0.2s ease;
}

.market-option input[type="checkbox"] {
  display: none;
}

.option-content {
  display: block;
  padding: 0.5rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  background: white;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.option-text {
  color: #374151;
  font-weight: 500;
  font-size: 0.875rem;
}

.market-option:hover .option-content {
  border-color: #7c3aed;
  background: rgba(124, 58, 237, 0.02);
}

.market-option input[type="checkbox"]:checked + .option-content {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  border-color: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.market-option input[type="checkbox"]:checked + .option-content .option-text {
  color: white;
  font-weight: 600;
}

