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

:root {
    --purple: #5B4EFA;
    --purple-light: #7B6FFF;
    --purple-glow: rgba(91, 78, 250, 0.20);
    --dark: #1A1B2E;
    --text: #2D2F4A;
    --muted: #7A7C99;
    --white: #FFFFFF;
    --bg: var(--purple);
    --surface: rgba(255, 255, 255, 0.88);
    --surface-border: rgba(255, 255, 255, 0.30);
    --footer-text: rgba(255, 255, 255, 0.82);
}

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
}

/* ── animated gradient background ── */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-canvas::before {
    content: '';
    position: absolute;
    width: 900px;
    height: 900px;
    top: -300px;
    right: -200px;
    background: radial-gradient(circle, rgba(255,255,255,0.20) 0%, transparent 70%);
    animation: drift1 12s ease-in-out infinite alternate;
}

.bg-canvas::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    bottom: -200px;
    left: -150px;
    background: radial-gradient(circle, rgba(18,15,72,0.34) 0%, transparent 70%);
    animation: drift2 15s ease-in-out infinite alternate;
}

@keyframes drift1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-60px, 80px) scale(1.15); }
}
@keyframes drift2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(80px, -60px) scale(1.1); }
}

/* subtle grid */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
            linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ── main layout ── */
.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 80px;
}

/* ── logo ── */
.logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 52px;
    animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) both;
}

.logo-icon {
    filter: drop-shadow(0 8px 28px rgba(91,78,250,0.35));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.logo-wordmark {
    display: flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
}

.logo-pro {
    font-size: 30px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-hire {
    font-size: 30px;
    font-weight: 300;
    color: var(--dark);
    letter-spacing: -0.3px;
}

/* ── card ── */
.card {
    background: var(--surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 56px 60px 48px;
    max-width: 540px;
    width: 100%;
    text-align: center;
    box-shadow:
            0 2px 0 rgba(255,255,255,0.8) inset,
            0 24px 80px rgba(91,78,250,0.10),
            0 4px 16px rgba(0,0,0,0.04);
    animation: fadeUp 1s cubic-bezier(.22,1,.36,1) 0.15s both;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(91,78,250,0.14);
    border: 1px solid rgba(91,78,250,0.18);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--purple);
    animation: pulse 2s ease-in-out infinite;
}

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

h1 {
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.subtitle {
    font-size: 16px;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

/* ── progress bar ── */
.progress-wrap {
    margin-bottom: 40px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.progress-track {
    height: 6px;
    background: rgba(91,78,250,0.16);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--purple), var(--purple-light));
    border-radius: 999px;
    transition: width 2s cubic-bezier(.22,1,.36,1);
}

/* ── instagram button ── */
.ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 14px;
    letter-spacing: -0.2px;
    box-shadow: 0 6px 28px rgba(91,78,250,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ig-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(91,78,250,0.45);
}

.ig-btn:active {
    transform: translateY(0);
}

/* instagram icon SVG inline */
.ig-icon { flex-shrink: 0; }

/* ── footer ── */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 24px;
    text-align: center;
    font-size: 12.5px;
    color: var(--footer-text);
    font-weight: 400;
    z-index: 2;
    animation: fadeUp 1s cubic-bezier(.22,1,.36,1) 0.3s both;
}

/* ── responsive ── */
@media (max-width: 520px) {
    .card { padding: 40px 28px 36px; }
}
