/* ══════════════════════════════════════════════
   algoequity — Index Page Styles (page-specific)
   (load AFTER styles.css)
   ══════════════════════════════════════════════ */

/* ── Hero Section ─────────────────────────────── */
.hero { padding-top: 160px; padding-bottom: 100px; text-align: center; position: relative; }
.hero::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: radial-gradient(ellipse at center, rgba(94, 106, 210, 0.12) 0%, transparent 70%); pointer-events: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 6px; border-radius: 9999px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle); font-size: 0.875rem; color: var(--text-muted); margin-bottom: 32px; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: pulse-green 2s ease-in-out infinite; }
@keyframes pulse-green { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { margin-bottom: 20px; position: relative; }
.hero-subtitle { max-width: 600px; margin: 0 auto 40px; font-size: 1.125rem; line-height: 1.6; color: var(--text-muted); }

/* ── Buttons ──────────────────────────────────── */
.btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 10px 20px; font-size: 0.9375rem; border-radius: 6px; font-weight: 500; cursor: pointer; transition: all 0.15s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-accent { background: var(--accent); color: #fff; border: 1px solid transparent; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { background: rgba(255, 255, 255, 0.02); color: var(--text-secondary); border: 1px solid rgba(36, 40, 44, 0.8); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.04); color: var(--text-primary); border-color: rgba(255, 255, 255, 0.12); }

/* ── Sections ─────────────────────────────────── */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* ── Feature Cards ───────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 32px 24px; transition: all 0.2s ease; position: relative; overflow: hidden; }
.feature-card:hover { background: var(--bg-elevated); border-color: var(--border); transform: translateY(-2px); }
.feature-icon { width: 32px; height: 32px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.feature-card h3 { font-size: 1.25rem; font-weight: 400; line-height: 1.33; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--text-primary); }
.feature-card p { font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); }

/* ── Strategy Section ─────────────────────────── */
.strategy-section { background: var(--bg-panel); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.strategy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.strategy-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 32px; transition: all 0.2s ease; }
.strategy-card:hover { background: var(--bg-elevated); border-color: var(--border); }
.strategy-label { font-size: 0.75rem; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.strategy-card h3 { font-size: 1.25rem; font-weight: 400; line-height: 1.33; margin-bottom: 8px; color: var(--text-primary); letter-spacing: -0.01em; }
.strategy-card p { font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); }

/* ── Metrics ──────────────────────────────────── */
.metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; text-align: center; }
.metric-item h3 { font-size: 2.5rem; font-weight: 400; line-height: 1.0; letter-spacing: -0.025em; color: var(--accent); margin-bottom: 8px; }
.metric-item p { font-size: 0.9375rem; color: var(--text-muted); }

/* ── Philosophy ───────────────────────────────── */
.philosophy-content { max-width: 640px; margin: 0 auto; text-align: center; }
.philosophy-quote { font-size: 1.5rem; font-weight: 300; line-height: 1.6; color: var(--text-secondary); margin-bottom: 24px; letter-spacing: -0.01em; font-style: italic; }
.philosophy-body p { margin-bottom: 16px; color: var(--text-muted); }

/* ── CTA Section ─────────────────────────────── */
.cta-section { text-align: center; padding: 100px 0; position: relative; }
.cta-section::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse at center, rgba(94, 106, 210, 0.08) 0%, transparent 70%); pointer-events: none; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { max-width: 480px; margin: 0 auto 32px; font-size: 1.0625rem; color: var(--text-muted); }

/* ── Responsive (index-specific) ──────────────── */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .strategy-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
