/* Polymarket Edge Scanner */

:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-card: #1a2234;
    --bg-hover: #243044;
    --green-primary: #10b981;
    --green-light: #34d399;
    --green-dark: #059669;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #374151;
    --error: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}
.nav-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--green-light);
}

/* Buttons */
.btn-primary {
    background: var(--green-primary);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--green-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-upgrade {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 4px;
    cursor: pointer;
}

.btn-danger {
    border-color: var(--error);
    color: var(--error);
}

.btn-copy {
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.btn-trade {
    background: var(--green-primary);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--green-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-note {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.hero-preview {
    perspective: 1000px;
}

.preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transform: rotateY(-5deg) rotateX(5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--green-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.preview-edge {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edge-game {
    font-weight: 600;
}

.edge-details {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.edge-value {
    color: var(--green-primary);
    font-weight: 700;
}

.edge-hot {
    color: var(--warning) !important;
}

.preview-edge.blurred {
    opacity: 0.6;
    filter: blur(1px);
}

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.section-dark {
    background: var(--bg-secondary);
    max-width: none;
}

.section-dark > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-secondary);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.info-card h3 {
    margin-bottom: 0.75rem;
    color: var(--green-light);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pricing-grid.compact {
    /* Widened from 700px */
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--green-primary);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-primary);
    color: #ffffff;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-tier {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-features .dimmed {
    opacity: 0.5;
}

.pricing-features .coming {
    color: var(--warning);
    font-style: italic;
}

.pricing-cta {
    margin-top: auto;
    padding-top: 1.5rem;
}

.pricing-cta .btn-primary,
.pricing-cta .btn-secondary {
    width: 100%;
    text-align: center;
    display: block;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    margin-top: 2rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border-radius: 24px;
    padding: 4rem;
    margin: 4rem auto;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Auth Pages */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    max-width: 400px;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-card > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--green-primary);
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--green-light);
}

/* Flash Messages */
.flash-container {
    max-width: 800px;
    margin: 1rem auto;
    padding: 0 2rem;
}

.flash {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.flash-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid var(--error);
    color: var(--error);
}

.flash-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--success);
    color: var(--success);
}

/* Dashboard */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2rem;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.tier-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.tier-free {
    background: var(--bg-hover);
    color: var(--text-secondary);
}

.tier-premium, .tier-basic, .tier-pro, .tier-api {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: #ffffff;
}

.upgrade-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    border: 1px solid var(--green-primary);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.upgrade-text strong {
    display: block;
    margin-bottom: 0.25rem;
}

.upgrade-text p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-light);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.refresh-timer {
    font-family: monospace;
}

/* Edges Table */
.edges-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.edges-table {
    width: 100%;
    border-collapse: collapse;
}

.edges-table th {
    background: var(--bg-secondary);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
}

.edges-table td {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.edge-row:hover {
    background: var(--bg-hover);
}

.edge-row.edge-hot {
    background: rgba(245, 158, 11, 0.1);
}

.edge-row.edge-hot .edge-pct {
    color: var(--warning);
}

.edge-pct {
    color: var(--green-light);
    font-weight: 700;
}

.edge-blurred {
    color: var(--text-muted);
    font-family: monospace;
}

.sport-badge {
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.locked {
    opacity: 0.5;
}

.locked-row {
    text-align: center;
    background: var(--bg-secondary);
    padding: 2rem !important;
}

.locked-row span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.locked-row a {
    color: var(--green-light);
}

.no-edges {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-edges .hint {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Payment Page */
.payment-page, .upgrade-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.payment-page h1, .upgrade-page h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.payment-subtitle, .upgrade-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.payment-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.payment-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 55px;
    height: 55px;
    background: var(--green-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.wallet-display {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.wallet-display code {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.875rem;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qr-container {
    text-align: center;
    margin: 1.5rem 0;
}

.qr-code {
    border-radius: 12px;
    border: 4px solid white;
}

.payment-details {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
}

.payment-details p {
    margin-bottom: 0.25rem;
}

.wallet-input-group, .tx-input-group {
    display: flex;
    gap: 0.5rem;
}

.wallet-input, .tx-input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-primary);
    font-family: monospace;
}

.status-text {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.status-text.success {
    color: var(--success);
}

.status-text.error {
    color: var(--error);
}

.payment-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
}

.payment-note p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.payment-info {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
}

/* Admin */
.admin-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-section {
    margin-bottom: 3rem;
}

.admin-section h2 {
    margin-bottom: 1rem;
}

.admin-table {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    border-collapse: collapse;
    overflow: hidden;
}

.admin-table th {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.admin-table td {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.wallet-cell, .tx-cell {
    font-family: monospace;
    font-size: 0.75rem;
}

.action-cell {
    display: flex;
    gap: 0.25rem;
}

.status-pending {
    color: var(--warning);
}

.status-confirmed {
    color: var(--success);
}

/* Error Pages */
.error-page {
    text-align: center;
    padding: 6rem 2rem;
}

.error-page h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
}

.error-page p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    
    .preview-card {
        transform: none;
    }
    
    .steps, .info-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid.compact {
    /* Widened from 700px */
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .edges-table {
        font-size: 0.875rem;
    }
    
    .edges-table th, .edges-table td {
        padding: 0.5rem;
    }
    
    .upgrade-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .wallet-display {
        flex-direction: column;
    }
    
    .nav-links {
        gap: 0.75rem;
    }
    
    .admin-table {
        font-size: 0.75rem;
    }
    
    .action-cell {
        flex-direction: column;
    }
}

/* Sport badge colors */
.sport-nba { background: #C9082A; }
.sport-nhl { background: #000; border: 1px solid #fff; }
.sport-ncaab { background: #0033A0; }
.sport-nfl { background: #013369; }
.sport-ufc { background: #D20A0A; }
.sport-la-liga { background: #EE8707; }
.sport-epl { background: #3D195B; }
.sport-champions-league { background: #0D1B2A; }
.sport-bundesliga { background: #D20515; }
.sport-serie-a { background: #024494; }

/* Edge value colors */
.edge-pct.edge-hot { color: #22c55e; font-weight: 700; }
.edge-pct.edge-good { color: #86efac; }

.no-link { color: var(--text-muted); }

/* Table scroll fix */
.edges-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
}

/* Sports Badges */
.sports-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sport-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
}

.stats-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-light);
}

.stat-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 55px;
    background: var(--border-color);
}

/* Section Alt Background */
.section-alt {
    background: var(--bg-secondary);
    max-width: none;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-alt > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-top: -2rem;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* Dashboard Preview */
.dashboard-preview {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.preview-table-header {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1fr 0.8fr 1fr;
    padding: 0.75rem 1.25rem;
    background: var(--bg-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.preview-table-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1fr 0.8fr 1fr;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
    align-items: center;
    font-size: 0.9rem;
}

.preview-table-row:hover {
    background: var(--bg-hover);
}

.preview-game {
    font-weight: 600;
}

.price-poly {
    color: #60a5fa;
}

.price-pin {
    color: #fbbf24;
}

.btn-trade-sm {
    background: var(--green-primary);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.locked-btn {
    background: var(--bg-hover);
    color: var(--text-muted);
}

.row-blurred {
    opacity: 0.5;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Note */
.cta-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Responsive additions */
@media (max-width: 768px) {
    .stats-bar-inner {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        min-width: 40%;
    }
    
    .preview-table-header,
    .preview-table-row {
        grid-template-columns: 2fr 1fr 1fr;
        font-size: 0.8rem;
    }
    
    .preview-table-header span:nth-child(2),
    .preview-table-header span:nth-child(4),
    .preview-table-row span:nth-child(2),
    .preview-table-row span:nth-child(4) {
        display: none;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .sports-badges {
        justify-content: center;
    }
}

/* Live pulse for last scan */
.live-pulse {
    position: relative;
}

.live-pulse::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--green-primary);
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s infinite;
    vertical-align: middle;
}

/* Sport pill states */
.sport-pill.active {
    border-color: var(--green-primary);
    color: var(--green-light);
    background: rgba(16, 185, 129, 0.1);
}

.more-badge {
    color: var(--text-muted) !important;
    font-style: italic;
    border-style: dashed !important;
}

.sports-badges {
    flex-wrap: wrap;
}

/* Ticker Bar */
.ticker-bar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 2rem;
}

.ticker-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.ticker-chip {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.25rem 0.7rem;
    font-size: 0.72rem;
}

.ticker-chip.live-chip {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--green-primary);
    color: var(--green-light);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background: var(--green-primary);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.chip-value {
    color: var(--green-light);
    font-weight: 700;
}

.chip-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Responsive ticker */
@media (max-width: 768px) {
    .ticker-bar {
        overflow: visible;
    }
    
    .ticker-inner {
        gap: 0.3rem;
        overflow: visible;
        justify-content: center;
        flex-wrap: wrap;
        padding-bottom: 0.15rem;
    }
    
    .ticker-chip {
        flex-shrink: 1;
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    .ticker-chip .chip-label {
        font-size: 0.58rem;
    }
    
    .ticker-chip .chip-value {
        font-size: 0.75rem;
    }
    
    .ticker-chip.edge-chip .chip-value {
        font-size: 0.75rem;
    }
}

/* Highlight chip for avg edge */
.ticker-chip.highlight-chip {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--green-primary);
}

.ticker-chip.highlight-chip .chip-value {
    font-size: 0.9rem;
    color: #fff;
}

/* Yellow highlight for avg edge chip */
.ticker-chip.edge-chip {
    background: var(--warning);
    border-color: var(--warning);
}

.ticker-chip.edge-chip .chip-value {
    color: #000;
    font-size: 0.9rem;
    font-weight: 800;
}

.ticker-chip.edge-chip .chip-label {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

/* Landing page fixes */
.pricing-features li {
    font-size: 0.9rem;
    line-height: 1.4;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* Tighter sections */
.section {
    padding: 4rem 2rem;
}

.section h2 {
    margin-bottom: 2rem;
}

/* Wider preview table */
.preview-table {
    width: 100%;
}

.preview-table-header,
.preview-table-row {
    font-size: 0.95rem;
}

/* Section subtitle tighter */
.section-subtitle {
    margin-top: -1rem;
    margin-bottom: 2rem;
}
