/* ─── ROOT VARIABLES ──────────────────────────────────────────────── */
:root {
    --bg:           #0a0805;
    --bg-2:         #0f0c08;
    --gold:         #c9a84c;
    --gold-light:   #e8c97b;
    --gold-dim:     #7a6025;
    --gold-glow:    rgba(201, 168, 76, 0.18);
    --gold-border:  rgba(201, 168, 76, 0.28);
    --card-bg:      rgba(20, 16, 8, 0.82);
    --text:         #f5f0e8;
    --text-muted:   #a09070;
    --font-serif:   'Cormorant Garamond', Georgia, serif;
    --font-sans:    'Montserrat', sans-serif;
}

/* ─── RESET ───────────────────────────────────────────────────────── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

/* ─── BODY ────────────────────────────────────────────────────────── */
body {
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(180, 140, 40, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-sans);
    min-height: 100vh;
}

/* ─── APP CONTAINER ───────────────────────────────────────────────── */
.app-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* ─── SCREENS ─────────────────────────────────────────────────────── */
.screen {
    display: none;
    padding: 28px 18px 48px;
    animation: fadeIn 0.4s ease;
}

.screen.active {
    display: block;
}

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

/* ─── HEADER ──────────────────────────────────────────────────────── */
.header {
    text-align: center;
    padding-bottom: 24px;
}

.header--compact {
    padding-bottom: 16px;
    position: relative;
}

.crown-icon {
    font-size: 36px;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.5);
    display: block;
    margin-bottom: 10px;
    animation: pulse-gold 3s ease-in-out infinite;
}

.crown-icon--sm {
    font-size: 24px;
    margin-bottom: 6px;
}

@keyframes pulse-gold {
    0%, 100% { text-shadow: 0 0 20px rgba(201, 168, 76, 0.5); }
    50%       { text-shadow: 0 0 40px rgba(201, 168, 76, 0.9); }
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: 1px;
}

.brand-tagline {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.85;
}

.form-screen-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

.form-screen-sub {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ─── BACK BUTTON ─────────────────────────────────────────────────── */
.back-btn {
    position: absolute;
    left: 0;
    top: 0;
    background: transparent;
    border: none;
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 2px 0;
    letter-spacing: 0.5px;
}

.back-btn:hover {
    color: var(--gold-light);
}

/* ─── GOLD DIVIDER ────────────────────────────────────────────────── */
.gold-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-bottom: 22px;
    opacity: 0.5;
}

/* ─── INFO CARD ───────────────────────────────────────────────────── */
.info-card {
    background: var(--card-bg);
    border: 1px solid var(--gold-border);
    border-radius: 18px;
    padding: 22px 20px;
    margin-bottom: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(201, 168, 76, 0.1);
}

.card-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.card-text {
    font-size: 14px;
    line-height: 1.65;
    color: #d4c9b8;
    margin-bottom: 10px;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-text strong {
    color: var(--text);
    font-weight: 600;
}

/* ─── PERKS GRID ──────────────────────────────────────────────────── */
.perks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.perk-item {
    background: var(--card-bg);
    border: 1px solid var(--gold-border);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    backdrop-filter: blur(12px);
}

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

.perk-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.perk-desc {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ─── SALARY CARD ─────────────────────────────────────────────────── */
.salary-card {
    background: linear-gradient(145deg, rgba(30, 22, 6, 0.95), rgba(18, 14, 4, 0.98));
    border: 1px solid var(--gold);
    border-radius: 20px;
    padding: 24px 20px;
    margin-bottom: 24px;
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.12), 0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.salary-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.1), transparent 70%);
    pointer-events: none;
}

.salary-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.salary-main {
    font-family: var(--font-serif);
    font-size: 46px;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 4px;
}

.salary-main span {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 400;
}

.salary-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.salary-sub strong {
    color: var(--text);
}

.salary-examples {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.salary-example {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
}

.salary-example.highlight {
    background: rgba(201, 168, 76, 0.12);
    border-color: rgba(201, 168, 76, 0.3);
}

.example-check {
    color: var(--text-muted);
    font-size: 12px;
}

.example-arrow {
    color: var(--gold-dim);
    font-size: 14px;
}

.example-earn {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 14px;
}

.example-earn span {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
}

.salary-note {
    font-size: 11px;
    color: var(--gold-dim);
    text-align: center;
    letter-spacing: 0.5px;
}

/* ─── GLASS FORM ──────────────────────────────────────────────────── */
.glass-form {
    background: var(--card-bg);
    border: 1px solid var(--gold-border);
    border-radius: 20px;
    padding: 24px 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ─── FORM FIELDS ─────────────────────────────────────────────────── */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #c8b99a;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.4px;
}

.field-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    font-size: 9px;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
    letter-spacing: 0;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    background: rgba(5, 4, 2, 0.8);
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: 12px;
    padding: 13px 15px;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
    background: rgba(10, 8, 4, 0.95);
}

input::placeholder {
    color: rgba(160, 144, 112, 0.5);
    font-size: 13px;
}

select option {
    background-color: #100d07;
    color: #f5f0e8;
}

/* ─── CTA BUTTON ──────────────────────────────────────────────────── */
.cta-btn {
    position: relative;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #a07828 0%, #c9a84c 40%, #e8c97b 60%, #c9a84c 100%);
    border: none;
    border-radius: 14px;
    color: #0a0805;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.35);
    margin-top: 6px;
}

.cta-btn:hover,
.cta-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.5);
}

.cta-btn:disabled {
    opacity: 0.6;
    transform: none;
    cursor: default;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    animation: shine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shine {
    0%   { left: -120%; }
    40%  { left: 140%; }
    100% { left: 140%; }
}

/* ─── FOOTER NOTE ─────────────────────────────────────────────────── */
.footer-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 14px;
    opacity: 0.7;
}

/* ─── SUCCESS SCREEN ──────────────────────────────────────────────── */
.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 24px 0;
}

.success-icon {
    font-size: 52px;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(201, 168, 76, 0.6);
    margin-bottom: 20px;
    animation: pulse-gold 2s ease-in-out infinite;
}

.success-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.success-text {
    font-size: 14px;
    color: #c8b99a;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.success-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ─── SCROLLBAR ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 4px; }
