/* ─────────────────────────────────────────────
   Signal Hunter — Marketing Website
   Light, clean, modern theme
   ───────────────────────────────────────────── */

:root {
    --bg: #ffffff;
    --bg-alt: #f8f9fb;
    --bg-card: #ffffff;
    --text: #1a1a2e;
    --text-muted: #5a6378;
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --success: #16a34a;
    --danger: #dc2626;
    --border: #e5e7eb;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
    --max-width: 1080px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ── Header ── */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-img {
    height: 36px;
    width: auto;
    display: block;
}
.logo-icon { font-size: 1.2em; }
.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 12px;
    display: block;
}

.site-nav { display: flex; gap: 28px; }
.site-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}
.site-nav a:hover { color: var(--primary); text-decoration: none; }
.site-nav a.active { color: var(--primary); }

/* ── Hero ── */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto 20px;
}
.hero h1 .highlight { color: var(--primary); }
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary:hover { background: var(--primary-light); }
.btn-large { padding: 16px 36px; font-size: 1.1rem; }

/* ── Stats bar ── */
.stats-bar {
    padding: 40px 0;
    background: var(--bg-alt);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-card {
    background: var(--bg-card);
    padding: 28px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stats-updated {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ── Value props ── */
.value-props { padding: 70px 0; }
.value-props h2, .recent-signals h2, .cta-section h2 {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.props-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.prop-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: box-shadow 0.2s;
}
.prop-card:hover { box-shadow: var(--shadow-lg); }
.prop-icon { font-size: 2rem; margin-bottom: 12px; }
.prop-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.prop-card p { color: var(--text-muted); }

/* ── Recent signals ── */
.recent-signals { padding: 60px 0; background: var(--bg-alt); }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 32px; }
.signals-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.signals-table th, .signals-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.signals-table th {
    background: var(--bg-alt);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.signal-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    background: var(--primary-light);
    color: var(--primary-dark);
}
.score-delta.positive { color: var(--success); font-weight: 600; }
.score-delta.negative { color: var(--danger); font-weight: 600; }
.signals-note { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 16px; }

/* ── Page header ── */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--bg-alt);
}
.page-header h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.page-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── Pricing ── */
.pricing-section { padding: 60px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.popular {
    border-color: var(--primary);
    border-width: 2px;
    transform: scale(1.03);
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.price { margin-bottom: 12px; }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--text); }
.price-period { font-size: 1.1rem; color: var(--text-muted); }
.tier-description { color: var(--text-muted); margin-bottom: 20px; }
.tier-features { list-style: none; margin-bottom: 24px; }
.tier-features li {
    padding: 8px 0;
    color: var(--text);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}
.tier-features li:last-child { border-bottom: none; }
.tier-cta { display: block; width: 100%; text-align: center; }
.pricing-faq { margin-top: 60px; }
.pricing-faq h3 { text-align: center; margin-bottom: 24px; }
.pricing-faq-item {
    max-width: 600px;
    margin: 0 auto 16px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}
.pricing-faq-item h4 { margin-bottom: 4px; }
.pricing-faq-item p { color: var(--text-muted); }

/* ── Content sections ── */
.content-section { padding: 60px 0; }
.content-section.alt-bg { background: var(--bg-alt); }
.content-section h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 24px;
}

/* ── Pipeline steps ── */
.pipeline-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pipeline-step {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.pipeline-step h3 { margin-bottom: 8px; }
.pipeline-step p { color: var(--text-muted); }

/* ── Data tables ── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.data-table th, .data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.data-table th {
    background: var(--bg-alt);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.data-table code {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
}
.positive { color: var(--success); font-weight: 600; }
.negative { color: var(--danger); font-weight: 600; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    float: right;
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 18px; color: var(--text-muted); }

/* ── About ── */
.about-content { max-width: 760px; margin: 0 auto; }
.about-content h2 { margin-top: 32px; margin-bottom: 12px; }
.about-content p { margin-bottom: 16px; color: var(--text-muted); }
.about-values { list-style: none; margin: 16px 0; }
.about-values li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.about-values li:last-child { border-bottom: none; }

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon { font-size: 1.8rem; }
.contact-item h4 { margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); }
.contact-form {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.contact-form h2 { margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* ── CTA section ── */
.cta-section {
    padding: 60px 0;
    text-align: center;
    background: var(--primary);
    color: white;
}
.cta-section h2 { color: white; }
.cta-section p { font-size: 1.1rem; margin-bottom: 24px; opacity: 0.9; }
.cta-section .btn-primary {
    background: white;
    color: var(--primary);
}
.cta-section .btn-primary:hover { background: var(--bg-alt); color: var(--primary); }

/* ── Footer ── */
.site-footer {
    background: #111827;
    color: #9ca3af;
    padding: 50px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.footer-grid h4 { color: white; font-size: 1.1rem; margin-bottom: 8px; }
.footer-grid h5 { color: white; font-size: 1rem; margin-bottom: 12px; }
.footer-grid p { font-size: 0.9rem; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { padding: 4px 0; }
.footer-grid ul li a { color: #9ca3af; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .site-header .container { flex-direction: column; gap: 12px; }
    .site-nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 1.8rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .props-grid, .pipeline-steps, .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}