/* shared styles for every PhishCatch website page */

* { box-sizing: border-box; }

:root {
    --bg-a: #1C0B0F; --bg-b: #0B0B0D;
    --card: #17171B; --border: #2A2A30; --border-soft: #232328;
    --text: #F2F2F4; --text-dim: #9A9AA5; --text-faint: #6E6E78;
    --red-1: #FF3B57; --red-2: #C81E3A; --red-3: #8F1428;
    --danger-text: #FF5C77;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top, var(--bg-a) 0%, var(--bg-b) 55%);
    background-attachment: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    line-height: 1.5;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid var(--red-1);
    outline-offset: 3px;
}

.hp-container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */

.hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.hp-btn-primary {
    background: linear-gradient(135deg, var(--red-1) 0%, var(--red-2) 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(200,30,58,0.38);
}

.hp-btn-primary:hover { transform: translateY(-1px); }

.hp-btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }

.hp-btn-ghost:hover { border-color: var(--red-1); }

/* ===== Page heading and sections ===== */

.hp-page-head { padding: 64px 0 24px 0; }

.hp-page-head h1 {
    margin: 0 0 12px 0;
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.1;
}

.hp-page-head p { margin: 0; color: var(--text-dim); font-size: 16px; max-width: 600px; }

.hp-section { padding: 32px 0 48px 0; }

.hp-section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--danger-text);
    font-weight: 700;
    margin: 0 0 8px 0;
}

.hp-section h2 { margin: 0 0 24px 0; font-family: var(--font-display); font-size: 26px; }

/* ===== Cards ===== */

.hp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 800px) { .hp-cards { grid-template-columns: 1fr; } }

.hp-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }

.hp-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3A151C 0%, #290F14 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.hp-card h3 { margin: 0 0 8px 0; font-family: var(--font-display); font-size: 17px; }

.hp-card p { margin: 0; font-size: 14px; color: var(--text-dim); }
