/* =============================================================
   HAMMERSPEAK — UNIFIED DESIGN SYSTEM
   Dark industrial theme • Barlow fonts • Mobile-first
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500;600&display=swap');

/* =============================================================
   CSS VARIABLES
   ============================================================= */

:root {
    /* Brand */
    --brand:         #FF9433;
    --brand-dark:    #e57f1d;
    --brand-glow:    rgba(255, 148, 51, 0.18);

    /* Backgrounds */
    --bg:            #0a0a0a;
    --bg-soft:       #111111;
    --bg-card:       #161616;

    /* Text */
    --text:          #f0f0f0;
    --text-mid:      #b7b7b7;
    --text-light:    #555;

    /* Borders & Effects */
    --border:        #242424;
    --border-soft:   #1e1e1e;
    --shadow:        0 4px 12px rgba(0, 0, 0, 0.55);

    /* Shape */
    --radius:        10px;
    --radius-sm:     6px;
    --radius-lg:     16px;

    /* Typography */
    --font-head:     'Barlow Condensed', sans-serif;
    --font-body:     'Barlow', sans-serif;
}

/* =============================================================
   RESET & BASE
   ============================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Noise texture overlay — applied globally */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-dark);
}

img {
    max-width: 100%;
    display: block;
}

/* =============================================================
   LAYOUT
   ============================================================= */

/* Full-width page wrapper with max-width and centering */
.wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Tighter wrapper for app pages (quiz, dashboard, etc.) */
.app-wrapper {
    max-width: 650px;
    margin: 0 auto;
    padding: 18px 20px;
    position: relative;
    z-index: 1;
}

/* Divider line */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* =============================================================
   TYPOGRAPHY
   ============================================================= */

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

h1 { font-size: clamp(32px, 6vw, 52px); margin-bottom: 20px; }
h2 { font-size: clamp(24px, 4vw, 36px); margin: 10px 0 20px; }
h3 { font-size: 20px; margin-bottom: 12px; }

p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.7;
}

/* Section labeling */
.section-label {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--text);
}

.section-body {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 40px;
}

/* =============================================================
   TOPBAR / NAVIGATION
   ============================================================= */

.topbar {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    height: 36px;
    width: 36px;
    display: block;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--brand);
}

.pfp-default {
    background: #fff;
    padding: 4px;
    object-fit: contain;
    border-radius: 50%;
}

.topbar-login {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mid);
    text-decoration: none;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: border-color 0.2s, color 0.2s;
}

.topbar-login:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* App-style bottom nav */
.nav {
    display: flex;
    justify-content: space-around;
    background: #1b1b1b;
    padding: 12px 8px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    border: 1px solid #2a2a2a;
}

.nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    opacity: 0.9;
}

.nav a:hover,
.nav a.nav-active {
    opacity: 1;
    color: var(--brand);
}

.nav-logout {
    opacity: 0.6;
}

.nav-logout:hover {
    opacity: 1;
    color: #ef4444 !important;
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icon {
    font-size: 22px;
    margin-bottom: 4px;
}

/* =============================================================
   BUTTONS
   ============================================================= */

.btn-primary,
.button {
    background: var(--brand);
    color: #000;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
    line-height: 1;
}

.btn-primary:hover,
.button:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    color: #000;
}

.btn-full {
    width: 100%;
    text-align: center;
    display: block;
    padding: 16px;
}

.btn-secondary,
.button-secondary {
    background: #1e1e1e;
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    display: inline-block;
}

.btn-secondary:hover,
.button-secondary:hover {
    border-color: var(--brand);
    background: #252525;
    color: var(--text);
}

/* =============================================================
   FORMS
   ============================================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea {
    width: 100%;
    padding: 13px 16px;
    background: #0f0f0f;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Radio options */
.radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-option {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0f0f0f;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 13px 16px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-mid);
}

.radio-option:hover {
    border-color: var(--brand);
    color: var(--text);
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    accent-color: var(--brand);
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + span {
    color: var(--text);
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--brand);
    background: rgba(255, 148, 51, 0.06);
    color: var(--text);
}

/* Plan selection cards */
.plan-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-option {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #0f0f0f;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.plan-option:hover {
    border-color: var(--brand);
}

.plan-option:has(input[type="radio"]:checked) {
    border-color: var(--brand);
    background: rgba(255, 148, 51, 0.06);
}

.plan-option input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    accent-color: var(--brand);
}

.plan-label {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text);
    flex: 1;
}

.plan-price {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

/* =============================================================
   ALERTS & MESSAGES
   ============================================================= */

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.alert ul {
    margin: 0;
    padding-left: 18px;
}

.alert-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.alert-info {
    background: var(--brand-glow);
    border: 1px solid rgba(255, 148, 51, 0.3);
    color: var(--brand);
}

/* =============================================================
   CARDS
   ============================================================= */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.card:hover {
    border-color: rgba(255, 148, 51, 0.3);
}

/* Auth card — centered single-column form layout */
.auth-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    position: relative;
    z-index: 1;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    height: 48px;
    width: auto;
    margin: 0 auto 16px;
}

.auth-header h1 {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: var(--brand);
}

/* Success page variant */
.auth-container--success {
    text-align: center;
    padding-top: 60px;
}

.success-icon {
    font-size: 56px;
    color: var(--brand);
    margin-bottom: 16px;
}

/* =============================================================
   DASHBOARD CARDS
   ============================================================= */

.dash-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: border-color 0.2s, transform 0.2s;
}

.dash-card:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
    color: var(--text);
}

.dash-icon {
    font-size: 26px;
    margin-bottom: 6px;
}

/* =============================================================
   CATEGORY CARDS
   ============================================================= */

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    transition: border-color 0.2s;
}

.category-card:hover {
    border-color: var(--brand);
}

.category-icon {
    font-size: 26px;
    margin-right: 14px;
}

.category-card a {
    color: var(--text);
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

/* =============================================================
   PHRASE ROWS
   ============================================================= */

.phrase-row {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: var(--radius);
    margin-bottom: 14px;
    box-shadow: var(--shadow);
    transition: border-color 0.2s;
}

.phrase-row:hover {
    border-color: rgba(255, 148, 51, 0.3);
}

.phrase-row a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}

/* =============================================================
   QUIZ
   ============================================================= */

.quiz-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.quiz-question {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
    text-align: center;
    color: var(--text);
}

.quiz-progress {
    font-size: 14px;
    color: var(--text-mid);
    text-align: center;
    margin-bottom: 18px;
}

.quiz-choice {
    background: #141414;
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: var(--radius);
    font-size: 18px;
    margin-bottom: 12px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
    color: var(--text);
    display: block;
    text-decoration: none;
    font-family: var(--font-body);
}

.quiz-choice:hover {
    border-color: var(--brand);
    background: #1d1d1d;
    color: var(--text);
}

.quiz-correct {
    background: #0a260a;
    border: 1px solid #145214;
    color: #99ff99;
}

.quiz-wrong {
    background: #260a0a;
    border: 1px solid #521414;
    color: #ff9999;
}

.quiz-results {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.quiz-score {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 8px;
}

.quiz-summary {
    font-size: 16px;
    color: var(--text-mid);
    margin-bottom: 20px;
}

/* =============================================================
   PROGRESS BARS
   ============================================================= */

.progress-row {
    margin-bottom: 16px;
}

.progress-row strong {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
    display: block;
    margin-bottom: 6px;
}

.progress-bar {
    background: #1e1e1e;
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 4px;
}

.progress-fill {
    height: 100%;
    background: var(--brand);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.progress-row small {
    font-size: 12px;
    color: var(--text-light);
}

/* =============================================================
   STICKY CATEGORY HEADER
   ============================================================= */

.cat-sticky-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    flex: 1;
}

.cat-back,
.cat-next {
    color: var(--text);
    font-size: 26px;
    line-height: 1;
    padding: 4px 8px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.cat-back:hover,
.cat-next:hover {
    color: var(--brand);
}

.cat-grade {
    margin-left: auto;
    text-align: right;
    font-size: 14px;
    opacity: 0.9;
}

.grade-score {
    font-weight: 600;
    color: var(--brand);
    margin-right: 4px;
}

.grade-letter {
    font-weight: 600;
    color: var(--text);
}

.grade-na {
    color: var(--text-light);
    font-style: italic;
}

/* =============================================================
   PROFILE
   ============================================================= */

.profile-box {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.pfp {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid var(--border);
}

.pfp-name {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

/* =============================================================
   FEATURE LIST (marketing pages)
   ============================================================= */

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.feature-list li {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: border-color 0.2s;
}

.feature-list li:hover {
    border-color: rgba(255, 148, 51, 0.4);
}

.feature-list .fi-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-list .fi-text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.feature-list .fi-text span {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.5;
}

/* =============================================================
   AUDIENCE GRID (marketing pages)
   ============================================================= */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.audience-card:hover {
    border-color: var(--brand);
    transform: translateY(-3px);
}

.audience-card .ac-icon {
    font-size: 34px;
    margin-bottom: 12px;
    display: block;
}

.audience-card strong {
    display: block;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
}

.audience-card p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.5;
}

/* =============================================================
   COMING SOON BLOCK
   ============================================================= */

.coming-soon {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brand);
    border-radius: var(--radius);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.coming-soon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--brand-glow) 0%, transparent 65%);
    pointer-events: none;
}

.coming-soon .cs-tag {
    display: inline-block;
    background: var(--brand);
    color: #000;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.coming-soon h2 {
    font-family: var(--font-head);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 14px;
    position: relative;
    color: var(--text);
}

.coming-soon p {
    font-size: 16px;
    color: var(--text-mid);
    max-width: 460px;
    margin: 0 auto 30px;
    line-height: 1.6;
    position: relative;
}

.coming-soon .cs-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    position: relative;
}

.cs-pill {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-mid);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 50px;
}

/* =============================================================
   FOOTER
   ============================================================= */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-mid);
}

.footer-brand span {
    color: var(--brand);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-light);
    width: 100%;
}

/* Legacy footer class */
.footer {
    text-align: center;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 40px;
}

/* =============================================================
   UTILITY CLASSES
   ============================================================= */

.content {
    padding-bottom: 20px;
}

.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 32px; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.mb-4  { margin-bottom: 32px; }

.text-center { text-align: center; }
.text-brand  { color: var(--brand); }
.text-muted  { color: var(--text-mid); }
.text-small  { font-size: 13px; }

.empty {
    opacity: 0.6;
    font-size: 14px;
    padding: 8px 0;
}

/* =============================================================
   ANIMATIONS
   ============================================================= */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.animate-up   { animation: fadeUp 0.6s ease both; }
.animate-fade { animation: fadeIn 0.4s ease both; }

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 600px) {
    .wrap        { padding: 0 16px; }
    .app-wrapper { padding: 14px 16px; }

    .dash-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-option {
        min-width: unset;
    }

    .coming-soon {
        padding: 36px 20px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-container {
        padding: 30px 16px 50px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}