/* ==========================================
   JWZ FINZ - Design System
   ========================================== */

:root {
    --brand-navy: #003366;
    --brand-blue: #0066cc;
    --brand-black: #1a1a1a;
}

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

body {
    font-family: 'General Sans', sans-serif;
    color: var(--brand-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif { font-family: 'Gambetta', serif; }
.bg-navy { background-color: var(--brand-navy); }
.text-brand-blue { color: var(--brand-blue); }
.bg-brand-blue { background-color: var(--brand-blue); }
.opacity-20 { opacity: 0.20; }

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: var(--brand-navy);
}
.logo-icon iconify-icon { color: white; font-size: 1.5rem; }
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--brand-navy);
}
.logo-text span { color: var(--brand-blue); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
    position: relative;
    font-weight: 500;
    text-decoration: none;
    color: var(--brand-black);
    transition: opacity 0.3s;
}
.nav-links a:hover { opacity: 0.8; }
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--brand-blue);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--brand-blue); }
.nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding-right: 1rem;
    border-right: 1px solid #e5e7eb;
    cursor: default;
}
.lang-switch a {
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: #9ca3af;
    transition: color 0.2s;
}
.lang-switch a.active, .lang-switch a:hover { color: var(--brand-blue); }
.lang-switch .sep { color: #d1d5db; font-size: 0.75rem; }

.btn-primary {
    display: inline-block;
    background: var(--brand-navy);
    color: white !important;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,51,102,0.3);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,51,102,0.4);
}
.btn-primary-light {
    background: var(--brand-blue);
}
.btn-primary-light:hover {
    background: white;
    color: var(--brand-navy) !important;
}

.btn-outline {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.2); }
.btn-outline-dark {
    background: white;
    border-color: #e5e7eb;
    color: var(--brand-black);
}
.btn-outline-dark:hover { background: #f9fafb; }

/* ===== STEPPER ===== */
.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 36rem;
    margin: 0 auto 3rem;
    position: relative;
}
.stepper-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
    transform: translateY(-50%);
}
.stepper-progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: var(--brand-blue);
    z-index: 1;
    transform: translateY(-50%);
    transition: width 0.5s ease;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}
.step-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s;
}
.step-circle.completed { background: #22c55e; color: white; }
.step-circle.active {
    background: var(--brand-blue);
    color: white;
    box-shadow: 0 0 0 4px rgba(0,102,204,0.2);
}
.step-circle.pending { background: white; border: 2px solid #e5e7eb; color: #9ca3af; }
.step-label { font-size: 0.75rem; font-weight: 600; }
.step-label.active { color: var(--brand-blue); }
.step-label.pending { color: #9ca3af; }

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #374151;
    margin-bottom: 0.5rem;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

/* ===== DROP ZONE ===== */
.drop-zone {
    border: 2px dashed #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.drop-zone:hover {
    border-color: var(--brand-blue);
    background: #f0f7ff;
}
.drop-zone.has-error { border-color: #ef4444; background: #fef2f2; }
.drop-zone.has-file { border-color: #22c55e; background: #f0fdf4; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--brand-navy);
    color: white;
    padding: 5rem 0 2rem;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.5s ease-out both; }
.slide-up { animation: slideUp 0.5s ease-out both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== HAMBURGER ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand-navy);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 5rem;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 1rem;
    }
    .nav-links.open { display: flex; }
    .nav-links a::after { display: none; }
    .nav-actions .btn-primary { display: none; }
}
