:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --gold: #f59e0b;
    --gold-light: #fef3c7;
    --success: #059669;
    --danger: #dc2626;
    --bg: #f8fafc;
    --card-bg: rgba(255,255,255,0.85);
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-card: 0 20px 50px rgba(0,0,0,0.05), 0 10px 25px rgba(0,0,0,0.03);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #fdf4ff 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background shapes */
.bg-shapes {
    position: fixed;
    top:0; left:0; width:100%; height:100%;
    z-index: -1;
    overflow: hidden;
}
.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.06);
    filter: blur(60px);
}
.shape-1 { width: 500px; height: 500px; top: -150px; left: -100px; }
.shape-2 { width: 400px; height: 400px; bottom: -120px; right: -80px; background: rgba(245, 158, 11, 0.07); }
.shape-3 { width: 300px; height: 300px; top: 40%; left: 60%; background: rgba(16, 185, 129, 0.05); }

/* HEADER */
.header {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.6);
    position: sticky;
    top:0;
    z-index: 100;
    padding: 0 20px;
}
.header-inner {
    max-width: 1200px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    height: 70px;
}
.logo {
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    font-weight:800;
    font-size:1.5rem;
    color: var(--text);
}
.logo-text {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links { display:flex; gap:24px; align-items:center; list-style:none; }
.nav-links a {
    text-decoration:none;
    color: var(--text-light);
    font-weight:500;
    font-size:0.9rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.trust-badge {
    display:flex;
    align-items:center;
    gap:8px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
    font-size:0.8rem;
    font-weight:600;
    padding:8px 14px;
    border-radius: 30px;
    border:1px solid rgba(5, 150, 105, 0.2);
}
.dot-pulse {
    width:8px; height:8px;
    background: var(--success);
    border-radius:50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.8)} }

/* HERO SECTION */
.hero-section {
    max-width: 1100px;
    margin: 40px auto 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-content { flex: 1; }
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0f172a;
}
.gold-text {
    background: linear-gradient(to right, #b45309, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 24px;
}
.hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.stat {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.9);
}
.stat-number { display:block; font-weight:800; font-size:1.5rem; color: var(--primary); }
.stat-label { font-size:0.8rem; color: var(--text-light); }
.hero-illustration {
    flex: 0.8;
    display:flex;
    justify-content:center;
}
.hero-illustration svg { width:100%; max-width:300px; height:auto; }

/* MAIN CARD */
.main-container { max-width: 750px; margin: 0 auto 60px; padding: 0 20px; }
.glass-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255,255,255,0.9);
    overflow: hidden;
}

/* PROGRESS */
.progress-section { padding: 20px 30px 10px; }
.progress-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 10px;
    transition: width 0.6s ease;
}
.progress-steps {
    display:flex;
    justify-content:space-between;
    font-size:0.8rem;
    color: var(--text-light);
}
.progress-step {
    display:flex;
    align-items:center;
    gap:4px;
    font-weight:500;
    opacity:0.5;
}
.progress-step.active { opacity:1; color: var(--primary); font-weight:700; }
.progress-step.done { opacity:1; color: var(--success); }
.step-icon { font-size:1.1rem; }

/* FUNNEL INNER */
.funnel-inner { padding: 30px 30px 40px; min-height: 450px; }
.step { display:none; animation: fadeSlide 0.5s ease; }
.step.active { display:block; }
@keyframes fadeSlide { from{opacity:0; transform:translateY(18px);} to{opacity:1; transform:translateY(0);} }
.step-title { font-size:1.8rem; font-weight:700; margin-bottom:8px; }
.step-desc { color: var(--text-light); margin-bottom:24px; }

/* PRIZE GRID */
.prize-grid { display:flex; gap:16px; margin-bottom:28px; flex-wrap:wrap; }
.prize-card {
    flex:1 1 120px;
    background: linear-gradient(145deg, #fff, #fef9c3);
    border: 2px solid #fde68a;
    border-radius: var(--radius-sm);
    padding: 20px 10px;
    text-align:center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.prize-medal { font-size:2.2rem; }
.prize-value { font-weight:900; font-size:1.5rem; color:#b45309; }
.prize-name { font-size:0.8rem; color: #92400e; font-weight:600; }

/* BUTTONS */
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 32px;
    font-weight:700;
    border:none;
    border-radius: 50px;
    cursor:pointer;
    transition: var(--transition);
    width:100%;
    font-size:1.05rem;
    position:relative;
    overflow: hidden;
}
.btn-primary { background: var(--primary); color:#fff; box-shadow: 0 6px 20px rgba(79,70,229,0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(79,70,229,0.4); }
.btn-gold { background: linear-gradient(135deg, #f59e0b, #fbbf24); color:#78350f; box-shadow:0 6px 20px rgba(245,158,11,0.4); font-size:1.2rem; padding:16px 40px; }
.btn-gold:hover { transform: translateY(-2px); box-shadow:0 10px 28px rgba(245,158,11,0.5); }
.btn-outline { background: transparent; border:2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: rgba(79,70,229,0.05); }
.btn .spinner { display:none; width:22px; height:22px; border:3px solid rgba(255,255,255,0.3); border-top-color:#fff; border-radius:50%; animation: spin 0.8s linear infinite; }
.btn.loading .spinner { display:block; }
.btn.loading .btn-text { display:none; }
@keyframes spin { to{transform:rotate(360deg);} }

/* FORMS */
.form-card { margin-top: 8px; }
.floating-label {
    position: relative;
    margin-bottom: 18px;
}
.floating-label input,
.floating-label select {
    width:100%;
    padding:16px 14px 8px;
    border:2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size:1rem;
    background: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.floating-label label {
    position: absolute;
    left: 14px;
    top: 14px;
    font-size:1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: 0.2s ease;
}
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label select:focus + label,
.floating-label select:valid + label {
    top: -8px;
    left: 10px;
    font-size:0.75rem;
    background: #fff;
    padding:0 6px;
    color: var(--primary);
    font-weight:600;
}
.floating-label input:focus,
.floating-label select:focus {
    border-color: var(--primary);
    outline:none;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.2);
}
.error-msg { font-size:0.75rem; color: var(--danger); display:none; margin-top:4px; }
.error-msg.show { display:block; }
.checkbox-group { display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; font-size:0.85rem; }
.checkbox-group a { color: var(--primary); text-decoration:underline; }

/* SUCCESS */
.success-icon { font-size:5rem; text-align:center; animation: bounceIn 0.6s; }
@keyframes bounceIn { 0%{transform:scale(0);opacity:0} 50%{transform:scale(1.3)} 100%{transform:scale(1);opacity:1} }
.confirmation-box {
    background: #ecfdf5;
    border: 2px dashed var(--success);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align:center;
    font-weight:700;
    font-size:1.2rem;
    color: var(--success);
    letter-spacing: 2px;
    margin: 20px 0;
}

/* FOOTER */
.site-footer {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    color: var(--text-light);
    font-size:0.85rem;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
}
.footer-brand { font-weight:700; font-size:1rem; color:var(--text); }
.footer-col a { display:block; margin-bottom:6px; color: var(--text-light); text-decoration:none; }
.footer-col a:hover { color: var(--primary); }
.fine-print { font-size:0.7rem; text-align:center; }

/* MODALS */
.modal-overlay {
    position:fixed; inset:0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index:200;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.glass-modal {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    max-width:600px;
    width:100%;
    padding:30px;
    max-height:80vh;
    overflow-y:auto;
    border:1px solid rgba(255,255,255,0.8);
}
.modal-close {
    position:sticky; top:0; float:right;
    background: #f1f5f9; border:none;
    width:32px; height:32px; border-radius:50%;
    font-size:1.3rem; cursor:pointer;
}

/* TOAST */
.toast {
    position:fixed; bottom:30px; left:50%;
    transform:translateX(-50%);
    background: #1e293b; color:#fff;
    padding:12px 28px; border-radius:50px;
    font-weight:600; z-index:300;
    opacity:0; pointer-events:none;
    transition: opacity 0.3s;
}
.toast.show { opacity:1; }
.toast.error { background: var(--danger); }

/* RESPONSIVE */
@media (max-width: 700px) {
    .hero-section { flex-direction:column; text-align:center; }
    .hero-illustration { max-width:200px; }
    .hero-title { font-size:2rem; }
    .hero-stats { justify-content:center; }
    .funnel-inner { padding: 20px 16px; }
    .progress-section { padding: 16px 16px 10px; }
    .form-row { flex-direction:column; gap:0; }
    .floating-label input, .floating-label select { padding: 14px 12px 8px; }
}