/* TrickTrade.ai — Main Stylesheet */
:root {
  --orange: #f97316;
  --orange-dark: #ea6c0a;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --slate: #475569;
  --slate-light: #94a3b8;
  --white: #ffffff;
  --off-white: #f8fafc;
  --border: #e2e8f0;
  --green: #10b981;
  --font: -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { color: var(--slate); }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ===== NAV ===== */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1100px; margin: 0 auto;
}
.nav-logo {
  font-size: 1.2rem; font-weight: 900; color: var(--white);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--slate-light); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-cta {
  background: var(--orange); color: var(--white) !important;
  padding: 8px 18px; border-radius: 6px; font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--white); font-size: 1.5rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 14px 28px;
  border-radius: 8px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none; transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,0.3); text-decoration: none; color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.05); text-decoration: none; color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); text-decoration: none; color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at right center, rgba(249,115,22,0.08) 0%, transparent 70%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.3);
  color: var(--orange); padding: 6px 14px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.15rem; color: var(--slate-light); margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof {
  margin-top: 36px; display: flex; align-items: center; gap: 12px;
  color: var(--slate-light); font-size: 0.875rem;
}
.hero-proof-dots { display: flex; gap: -4px; }
.hero-proof-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy-light); border: 2px solid var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-left: -8px;
}
.hero-card {
  background: var(--navy-light); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px; position: relative;
}
.hero-card-tag {
  position: absolute; top: -12px; left: 24px;
  background: var(--orange); color: var(--white);
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 1px;
}
.hero-card h3 { color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.prompt-block {
  background: var(--navy); border-left: 3px solid var(--orange);
  border-radius: 6px; padding: 14px 16px; margin: 16px 0;
  font-family: 'Courier New', monospace; font-size: 0.8rem;
  color: var(--slate-light); line-height: 1.5;
}
.hero-card-result {
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
  border-radius: 8px; padding: 12px 16px; margin-top: 16px;
}
.hero-card-result p { color: var(--green); font-size: 0.875rem; font-weight: 600; }

/* ===== TRADE BADGES ===== */
.trades-bar {
  background: var(--off-white); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 16px 0;
}
.trades-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.trades-label { font-size: 0.8rem; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: 1px; margin-right: 8px; }
.trade-badge {
  background: var(--white); border: 1px solid var(--border);
  color: var(--slate); padding: 6px 16px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
}

/* ===== PAIN SECTION ===== */
.pain { background: var(--white); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.pain-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
}
.pain-icon { font-size: 2rem; margin-bottom: 12px; }
.pain-card h3 { color: var(--navy); margin-bottom: 8px; }
.pain-card p { font-size: 0.9rem; }

/* ===== HOW IT WORKS ===== */
.how { background: var(--navy); color: var(--white); }
.how h2 { color: var(--white); }
.how .section-sub { color: var(--slate-light); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-size: 1.5rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { color: var(--white); margin-bottom: 8px; }
.step p { color: var(--slate-light); font-size: 0.9rem; }

/* ===== PRODUCTS ===== */
.products { background: var(--off-white); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.product-card.featured { border: 2px solid var(--orange); }
.product-badge {
  background: var(--navy); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 4px 12px;
  text-transform: uppercase; letter-spacing: 1px;
}
.product-badge.hot { background: var(--orange); }
.product-body { padding: 24px; }
.product-price { font-size: 2rem; font-weight: 900; color: var(--navy); margin: 8px 0; }
.product-price span { font-size: 1rem; font-weight: 400; color: var(--slate); }
.product-body h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.product-body p { font-size: 0.875rem; margin-bottom: 16px; }
.product-features { list-style: none; margin-bottom: 20px; }
.product-features li { font-size: 0.85rem; color: var(--slate); padding: 4px 0; }
.product-features li::before { content: '✅ '; }
.product-card .btn { width: 100%; text-align: center; }

/* ===== LEAD MAGNET ===== */
.lead-magnet {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.lead-magnet::before {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
}
.lm-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.lm-content h2 { color: var(--white); margin-bottom: 12px; }
.lm-content p { color: var(--slate-light); margin-bottom: 24px; font-size: 1.05rem; }
.lm-list { list-style: none; margin-bottom: 32px; }
.lm-list li { color: var(--slate-light); padding: 6px 0; font-size: 0.95rem; }
.lm-list li::before { content: '→ '; color: var(--orange); font-weight: 700; }
.lm-form { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 32px; }
.lm-form h3 { color: var(--white); margin-bottom: 6px; }
.lm-form p { color: var(--slate-light); font-size: 0.875rem; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group input {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; color: var(--white); font-size: 1rem; font-family: var(--font);
}
.form-group input::placeholder { color: var(--slate); }
.form-group input:focus { outline: none; border-color: var(--orange); }
.form-note { font-size: 0.75rem; color: var(--slate); margin-top: 10px; }

/* ===== SOCIAL PROOF ===== */
.proof { background: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.proof-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
}
.proof-stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 12px; }
.proof-text { font-size: 0.95rem; color: var(--navy); margin-bottom: 16px; line-height: 1.6; font-style: italic; }
.proof-author { display: flex; align-items: center; gap: 12px; }
.proof-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.proof-name { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.proof-role { font-size: 0.8rem; color: var(--slate); }

/* ===== STATS BAR ===== */
.stats { background: var(--orange); }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center; padding: 40px 24px;
  max-width: 1100px; margin: 0 auto;
}
.stat-item { padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* ===== BLOG ===== */
.blog { background: var(--off-white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.blog-card-tag {
  display: inline-block; background: rgba(249,115,22,0.1);
  color: var(--orange); font-size: 0.75rem; font-weight: 700;
  padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px;
}
.blog-card-body { padding: 24px; }
.blog-card h3 { color: var(--navy); font-size: 1rem; margin: 10px 0 8px; line-height: 1.4; }
.blog-card p { font-size: 0.875rem; }
.blog-card-meta { font-size: 0.8rem; color: var(--slate-light); margin-top: 16px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--navy); text-align: center; padding: 100px 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: var(--slate-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  background: #080e1a; color: var(--slate-light);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1100px; margin: 0 auto; padding: 0 24px;
  margin-bottom: 40px;
}
.footer-brand h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.footer-brand h3 span { color: var(--orange); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 16px; }
.footer-col h4 { color: var(--white); font-size: 0.875rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; color: var(--slate-light); font-size: 0.875rem; margin-bottom: 8px; text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; text-align: center; font-size: 0.8rem;
  max-width: 1100px; margin: 0 auto; padding: 24px 24px 0;
}

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 16px; }
.section-header h2 { margin-bottom: 12px; }
.section-sub { color: var(--slate); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-tag {
  display: inline-block; background: rgba(249,115,22,0.1);
  color: var(--orange); font-size: 0.75rem; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .pain-grid, .steps, .products-grid, .proof-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 16px; }
  .stat-item:nth-child(even) { border-right: none; }
  .lm-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 16px 24px; gap: 16px;
    border-bottom: 3px solid var(--orange);
  }
}
