/* =====================================================
   style.css — Custom classes NOT in compiled output.css
   These are defined here in plain CSS to avoid needing
   a Tailwind recompile on the server.
   ===================================================== */

/* ── Layout ─────────────────────────────────────────── */
.page-container {
    max-width: 80rem; /* 1280px = max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .page-container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .page-container { padding-left: 2rem; padding-right: 2rem; }
}

.section-padding    { padding-top: 4rem; padding-bottom: 4rem; }
.section-padding-sm { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 640px) {
    .section-padding    { padding-top: 6rem; padding-bottom: 6rem; }
    .section-padding-sm { padding-top: 4rem; padding-bottom: 4rem; }
}
@media (min-width: 1024px) {
    .section-padding    { padding-top: 8rem; padding-bottom: 8rem; }
    .section-padding-sm { padding-top: 5rem; padding-bottom: 5rem; }
}

/* ── Typography ─────────────────────────────────────── */
.heading-1 {
    font-size: 2.25rem; line-height: 1.1; font-weight: 800;
    color: #0f172a; letter-spacing: -0.025em;
}
@media (min-width: 640px)  { .heading-1 { font-size: 3rem; } }
@media (min-width: 1024px) { .heading-1 { font-size: 3.75rem; } }

.heading-2 {
    font-size: 1.875rem; line-height: 1.2; font-weight: 700;
    color: #0f172a; letter-spacing: -0.02em;
}
@media (min-width: 640px)  { .heading-2 { font-size: 2.25rem; } }

.heading-3 {
    font-size: 1.25rem; line-height: 1.3; font-weight: 700; color: #0f172a;
}
@media (min-width: 640px)  { .heading-3 { font-size: 1.5rem; } }

.heading-4 { font-size: 1.125rem; font-weight: 700; color: #0f172a; }

.text-body    { color: #475569; font-size: 1rem; line-height: 1.75; font-weight: 500; }
.text-body-sm { color: #64748b; font-size: 0.875rem; line-height: 1.75; font-weight: 500; }
.text-meta    { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem; padding: 0.875rem 1.5rem; font-size: 0.875rem;
    font-weight: 800; border-radius: 0.75rem; border: none;
    cursor: pointer; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:focus { outline: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
    background-color: #e11d48; color: #fff;
    box-shadow: 0 10px 25px -5px rgba(225,29,72,0.25);
}
.btn-primary:hover {
    background-color: #be123c; box-shadow: 0 10px 25px -5px rgba(225,29,72,0.4);
    transform: translateY(-2px); color: #fff;
}

.btn-secondary {
    background-color: #fff; color: #334155;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-secondary:hover {
    background-color: #f8fafc; border-color: #cbd5e1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); color: #334155;
}

.btn-danger {
    background-color: #dc2626; color: #fff;
    box-shadow: 0 10px 25px -5px rgba(220,38,38,0.2);
}
.btn-danger:hover { background-color: #b91c1c; transform: translateY(-2px); }

/* ── Forms ──────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 700; color: #334155; margin-bottom: 0.5rem; }
.form-input {
    width: 100%; background: #f8fafc; border: 1px solid #e2e8f0;
    color: #0f172a; font-weight: 500; border-radius: 0.75rem;
    padding: 0.875rem 1rem; outline: none;
    transition: all 0.2s ease;
}
.form-input::placeholder { color: #94a3b8; }
.form-input:focus { background: #fff; border-color: #e11d48; box-shadow: 0 0 0 4px rgba(225,29,72,0.08); }
.form-error { font-size: 0.875rem; color: #f43f5e; font-weight: 700; margin-top: 0.375rem; }

/* ── Cards ──────────────────────────────────────────── */
.card {
    background: #fff; border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 25px -5px rgba(148,163,184,0.1), 0 10px 10px -5px rgba(148,163,184,0.04);
    overflow: hidden;
}
.profile-card {
    background: #fff; border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.3s ease; cursor: pointer; overflow: hidden;
}
.profile-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 20px 40px rgba(148,163,184,0.2);
    transform: translateY(-4px);
}

/* ── Animations ─────────────────────────────────────── */
.fade-in-up {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }

/* ── Design tokens ──────────────────────────────────── */
.text-content       { color: #0f172a; }
.text-content-muted { color: #64748b; }
.surface-border     { border-color: #f1f5f9; }

/* ── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
