/* ===== ReconOSINT — Global Stylesheet ===== */

:root {
    --bg-primary: #0d1117;
    --bg-card: #161b22;
    --bg-hover: #1c2128;
    --border: #30363d;
    --border-subtle: #21262d;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --text-bright: #f0f6fc;
    --cyan: #00d4ff;
    --purple: #7c3aed;
    --green: #10b981;
    --amber: #d29922;
    --red: #f85149;
    --orange: #fb8500;
    --blue: #58a6ff;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.text-cyan { color: var(--cyan) !important; }
.font-mono { font-family: 'Courier New', Courier, monospace; font-size: 13px; }

/* ── Navbar ── */
.navbar {
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
}

.navbar-brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand img { height: 44px; width: 44px; }

.brand-recon { color: #f0f6fc; }
.brand-osint { color: var(--cyan); }
.footer-brand img { height: 28px; width: 28px; vertical-align: middle; margin-right: 8px; }

.nav-link-plain {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}
.nav-link-plain:hover { color: var(--cyan); }

/* ── Hero ── */
.hero-section {
    min-height: 100vh;
    background: radial-gradient(ellipse at 60% 40%, rgba(0,212,255,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(124,58,237,0.07) 0%, transparent 50%),
                var(--bg-primary);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.25);
    color: var(--cyan);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--text-bright);
    line-height: 1.15;
    margin: 12px 0;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.4rem; }
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
}

.trust-badge {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 4px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
}

/* ── Scan Form Card ── */
.scan-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 0 40px rgba(0,212,255,0.06);
}

.scan-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.scan-form-header h4 {
    color: var(--text-bright);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.price-tag {
    font-size: 28px;
    font-weight: 800;
    color: var(--cyan);
}

.form-label { color: var(--text-secondary); font-size: 13px; margin-bottom: 6px; }

.form-control-dark {
    background: #0d1117;
    border: 1px solid var(--border);
    color: var(--text-bright);
    border-radius: 8px;
    transition: border-color .2s, box-shadow .2s;
}

.form-control-dark:focus {
    background: #0d1117;
    border-color: var(--cyan);
    color: var(--text-bright);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}

.form-control-dark::placeholder { color: var(--text-secondary); }

.form-check-input {
    background-color: var(--bg-primary);
    border-color: var(--border);
}

.form-check-input:checked {
    background-color: var(--cyan);
    border-color: var(--cyan);
}

.form-check-label { color: var(--text-secondary); font-size: 13px; }
.form-text { color: var(--text-secondary); font-size: 12px; }

.domain-counter { font-family: monospace; }
.domain-counter.over-limit { color: var(--red); }

.btn-scan {
    background: linear-gradient(135deg, #0098b7, var(--purple));
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 24px;
    transition: opacity .2s, transform .1s;
}

.btn-scan:hover { opacity: 0.9; color: #fff; transform: translateY(-1px); }
.btn-scan:active { transform: translateY(0); }

.alert-sm { font-size: 13px; padding: 10px 14px; }
.alert-danger { background: rgba(248,81,73,0.1); border: 1px solid rgba(248,81,73,0.3); color: #f85149; border-radius: 8px; }

/* ── Features Section ── */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0a0d14 100%);
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.section-subtitle { color: var(--text-secondary); font-size: 16px; max-width: 560px; }

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    transition: border-color .2s, transform .2s;
}

.feature-card:hover {
    border-color: rgba(0,212,255,0.3);
    transform: translateY(-3px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(0,212,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--cyan);
    margin-bottom: 14px;
}

.feature-card h5 { font-size: 15px; font-weight: 600; color: var(--text-bright); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }

.feature-tag {
    font-size: 11px;
    background: rgba(124,58,237,0.15);
    border: 1px solid rgba(124,58,237,0.3);
    color: #a78bfa;
    border-radius: 100px;
    padding: 2px 10px;
    display: inline-block;
}

/* ── How It Works ── */
.how-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
}

.step-num {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(124,58,237,0.2));
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--cyan);
    margin: 0 auto 16px;
}

.step-card h5 { color: var(--text-bright); font-weight: 600; margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 14px; }

/* ── Pricing ── */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0d14 0%, var(--bg-primary) 100%);
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid rgba(0,212,255,0.3);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 60px rgba(0,212,255,0.08);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 20px;
    border-radius: 100px;
}

.pricing-name { font-size: 18px; font-weight: 600; color: var(--text-bright); margin-bottom: 16px; }

.pricing-amount {
    font-size: 52px;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 24px;
}

.pricing-amount span { font-size: 16px; font-weight: 400; color: var(--text-secondary); }

.pricing-features { list-style: none; padding: 0; text-align: left; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid var(--border-subtle); font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { width: 16px; flex-shrink: 0; }

/* ── Terms of Service ── */
.tos-section { padding: 60px 0; background: var(--bg-primary); }

.tos-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 32px;
}

.tos-box h4 { font-size: 16px; color: var(--text-bright); margin-bottom: 16px; }
.tos-content { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.tos-content ul { padding-left: 20px; margin-top: 8px; }
.tos-content li { margin-bottom: 6px; }
.tos-content strong { color: var(--text-primary); }

/* ── Footer ── */
.site-footer {
    background: #080c10;
    border-top: 1px solid var(--border-subtle);
    padding: 32px 0;
}

.footer-brand { font-size: 20px; font-weight: 700; }

/* ── Simple Pages (success, status, error) ── */
.simple-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
    background: var(--bg-primary);
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
}

.success-icon {
    font-size: 4rem;
    color: var(--green);
}

.detail-box {
    background: #0d1117;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
}

.detail-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 14px;
}

.detail-row:last-child { border-bottom: none; }

.detail-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    min-width: 80px;
    flex-shrink: 0;
}

.alert-info-box {
    background: rgba(88,166,255,0.08);
    border: 1px solid rgba(88,166,255,0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.alert-warn-box {
    background: rgba(210,153,34,0.08);
    border: 1px solid rgba(210,153,34,0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--amber);
}

.alert-success-box {
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--green);
}

.alert-error-box {
    background: rgba(248,81,73,0.08);
    border: 1px solid rgba(248,81,73,0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--red);
}

/* ── Status badges ── */
.status-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 100px;
    flex-shrink: 0;
}

.status-badge.PENDING_PAYMENT { background: rgba(210,153,34,0.15); color: var(--amber); border: 1px solid rgba(210,153,34,0.3); }
.status-badge.PAID { background: rgba(16,185,129,0.15); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }
.status-badge.SCANNING { background: rgba(0,212,255,0.15); color: var(--cyan); border: 1px solid rgba(0,212,255,0.3); }
.status-badge.COMPLETE { background: rgba(16,185,129,0.15); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }
.status-badge.FAILED { background: rgba(248,81,73,0.15); color: var(--red); border: 1px solid rgba(248,81,73,0.3); }

/* ── Progress bar override ── */
.progress { border-radius: 100px !important; }
.progress-bar { border-radius: 100px !important; }
