/* ═══════════════════════════════════════════════
   Tickerio — Stock Analyst Bot Landing Page
   Modern dark theme, RTL Hebrew support
   ═══════════════════════════════════════════════ */

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2234;
  --bg-card-hover: #222d42;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.3);
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.2);
  --red: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.2);
  --yellow: #f59e0b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --radius: 12px;
  --radius-lg: 20px;
  --font-he: 'Heebo', sans-serif;
  --font-en: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-he);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="ltr"] { direction: ltr; text-align: left; }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
nav .container {
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px;
  color: var(--accent-light);
}
.nav-logo span { color: var(--green); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-lang {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); padding: 6px 14px;
  border-radius: 8px; cursor: pointer; font-size: 0.85rem;
  transition: all 0.2s;
}
.nav-lang:hover { border-color: var(--accent); color: var(--accent-light); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: white; padding: 10px 24px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: all 0.3s; border: none; cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 25px var(--accent-glow); }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; position: relative;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(59,130,246,0.08), transparent),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(16,185,129,0.05), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 24px; }
.hero h1 .highlight { color: var(--accent-light); }
.hero p.subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: white; padding: 14px 32px; border-radius: 12px;
  text-decoration: none; font-weight: 700; font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-secondary {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); padding: 14px 32px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--accent); background: var(--bg-card-hover); }

/* Hero Demo Card */
.hero-demo {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative; overflow: hidden;
}
.hero-demo::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.demo-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.demo-ticker { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; }
.demo-ticker .green { color: var(--green); }
.demo-price { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; color: var(--green); }
.demo-change { font-size: 0.9rem; color: var(--green); }
.demo-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.demo-metric {
  background: var(--bg-secondary); border-radius: 10px; padding: 12px 16px;
}
.demo-metric-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.demo-metric-value { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 600; margin-top: 2px; }
.demo-chart {
  height: 120px; margin-top: 16px;
  background: linear-gradient(180deg, rgba(16,185,129,0.1) 0%, transparent 100%);
  border-radius: 10px; position: relative; overflow: hidden;
}
.demo-chart svg { width: 100%; height: 100%; }
.demo-badge {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 600; margin-top: 12px;
}
.badge-buy { background: var(--green-glow); color: var(--green); }
.badge-risk { background: rgba(245,158,11,0.15); color: var(--yellow); }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 32px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--accent-light); }
.stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

/* ── Features ── */
.features { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.feature-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.icon-blue { background: rgba(59,130,246,0.15); }
.icon-green { background: var(--green-glow); }
.icon-yellow { background: rgba(245,158,11,0.15); }
.icon-purple { background: rgba(139,92,246,0.15); }
.icon-red { background: var(--red-glow); }
.icon-teal { background: rgba(20,184,166,0.15); }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }
.feature-tag {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 600; margin-top: 16px;
  background: var(--accent-glow); color: var(--accent-light);
}

/* ── Report Preview ── */
.report-preview { padding: 100px 0; background: var(--bg-secondary); }
.report-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); max-width: 700px; margin: 0 auto;
  padding: 36px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.report-section { margin-bottom: 24px; }
.report-section h4 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.report-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid rgba(30,41,59,0.5);
}
.report-row:last-child { border-bottom: none; }
.report-label { color: var(--text-secondary); font-size: 0.9rem; }
.report-value { font-family: var(--font-mono); font-weight: 600; font-size: 0.95rem; }
.report-value.green { color: var(--green); }
.report-value.red { color: var(--red); }
.report-value.yellow { color: var(--yellow); }

/* ── Pricing ── */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; text-align: center;
  transition: all 0.3s; position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: scale(1.03);
}
.price-card.featured .price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: white; padding: 6px 20px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 700;
}
.price-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.price-amount { font-size: 2.8rem; font-weight: 800; margin-bottom: 4px; }
.price-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
  padding: 8px 0; color: var(--text-secondary); font-size: 0.9rem;
  display: flex; align-items: center; gap: 10px;
}
[dir="rtl"] .price-features li { justify-content: flex-start; }
.price-features li::before { content: '✓'; color: var(--green); font-weight: 700; }
.price-features li.disabled { opacity: 0.4; }
.price-features li.disabled::before { content: '✗'; color: var(--text-muted); }

/* ── API Section ── */
.api-section { padding: 100px 0; background: var(--bg-secondary); }
.api-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; max-width: 800px; margin: 40px auto 0;
}
.api-code {
  background: var(--bg-primary); border-radius: 10px; padding: 20px;
  font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.8;
  overflow-x: auto; color: var(--text-secondary);
  border: 1px solid var(--border);
}
.api-code .keyword { color: var(--accent-light); }
.api-code .string { color: var(--green); }
.api-code .comment { color: var(--text-muted); }
.api-code .url { color: var(--yellow); }

/* ── CTA ── */
.cta-section {
  padding: 100px 0; text-align: center;
  position: relative;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, var(--accent-glow), transparent);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2.6rem; font-weight: 800; margin-bottom: 20px; }
.cta-section p { color: var(--text-secondary); font-size: 1.15rem; margin-bottom: 36px; max-width: 550px; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 40px 0; text-align: center; color: var(--text-muted); font-size: 0.85rem;
}
footer a { color: var(--text-secondary); text-decoration: none; }
footer a:hover { color: var(--accent-light); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.4rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
