/* ===== OPEN ACCOUNT ENHANCED PAGE STYLES ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; padding: 40px 20px; position: relative; overflow-x: hidden; background: linear-gradient(135deg, #0a1f14 0%, #1a472a 40%, #0d3320 70%, #0a1a10 100%); }
/* Animated 3D floating orbs */
.auth-bg-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; animation: orbFloat 8s ease-in-out infinite; pointer-events: none; }
.auth-bg-orb:nth-child(1) { width: 500px; height: 500px; background: radial-gradient(circle, rgba(26,71,42,0.8), rgba(13,51,32,0.3)); top: -15%; left: -10%; animation-duration: 10s; }
.auth-bg-orb:nth-child(2) { width: 400px; height: 400px; background: radial-gradient(circle, rgba(212,175,55,0.5), rgba(212,175,55,0.1)); bottom: -12%; right: -8%; animation-duration: 12s; animation-delay: -3s; }
.auth-bg-orb:nth-child(3) { width: 300px; height: 300px; background: radial-gradient(circle, rgba(5,150,105,0.4), rgba(5,150,105,0.1)); top: 50%; left: 60%; animation-duration: 14s; animation-delay: -6s; }
.auth-bg-orb:nth-child(4) { width: 220px; height: 220px; background: radial-gradient(circle, rgba(212,175,55,0.35), transparent); top: 20%; right: 15%; animation-duration: 9s; animation-delay: -2s; }
.auth-bg-orb:nth-child(5) { width: 260px; height: 260px; background: radial-gradient(circle, rgba(16,185,129,0.35), transparent); bottom: 25%; left: 10%; animation-duration: 11s; animation-delay: -5s; }
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.08); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.04); }
}
/* Subtle grid overlay */
body::before { content: ''; position: fixed; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; z-index: 0; }
.signup-container { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; background: rgba(255,255,255,0.07); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-radius: 24px; padding: 50px; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05) inset; }
.signup-header { text-align: center; margin-bottom: 40px; }
.signup-logo { margin-bottom: 18px; }
.signup-logo a { display: inline-block; }
.signup-logo img { height: 192px; filter: brightness(0) invert(1); }
.signup-header h1 { color: white; font-size: 32px; margin-bottom: 10px; }
.signup-header p { color: rgba(255,255,255,0.6); }
.progress-steps { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; }
.progress-steps::before { content: ''; position: absolute; top: 20px; left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.1); z-index: 0; }
.progress-step { position: relative; z-index: 1; padding: 0 10px; text-align: center; flex: 1; }
.progress-step-circle { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-weight: bold; transition: all 0.3s; border: 2px solid transparent; }
.progress-step.active .progress-step-circle { background: linear-gradient(135deg, #d4af37, #c99c2a); color: #0f2b1a; border-color: rgba(212,175,55,0.3); box-shadow: 0 0 20px rgba(212,175,55,0.3); }
.progress-step.completed .progress-step-circle { background: rgba(16,185,129,0.3); color: #10b981; border-color: rgba(16,185,129,0.3); }
.progress-step-label { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.progress-step.active .progress-step-label { color: #d4af37; }
.progress-step.completed .progress-step-label { color: rgba(16,185,129,0.8); }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step-heading { color: white; margin-bottom: 24px; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.88rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; font-size: 1rem; font-family: inherit; background: rgba(255,255,255,0.06); color: white; transition: all 0.2s; }
.form-group input::placeholder, .form-group select::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: rgba(212,175,55,0.5); box-shadow: 0 0 0 3px rgba(212,175,55,0.1); background: rgba(255,255,255,0.1); }
.form-group select { appearance: auto; }
.form-group select option { background: #1a472a; color: white; }
.password-wrapper { position: relative; }
.password-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); cursor: pointer; color: rgba(255,255,255,0.4); }
.password-strength { height: 4px; border-radius: 2px; margin-top: 8px; background: rgba(255,255,255,0.1); overflow: hidden; }
.password-strength-fill { height: 100%; border-radius: 2px; transition: all 0.3s; width: 0%; }
.password-strength-text { font-size: 0.85rem; margin-top: 5px; color: rgba(255,255,255,0.4); }
.checkbox-group { display: flex; align-items: start; gap: 10px; margin-bottom: 20px; }
.checkbox-group input { width: auto; margin-top: 4px; accent-color: #d4af37; }
.checkbox-group label { margin: 0; font-weight: normal; font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.4; }
.checkbox-group a { color: #d4af37; font-weight: 500; }
.account-type-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 20px; }
.account-type-card { border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 20px; cursor: pointer; text-align: center; transition: all 0.3s; background: rgba(255,255,255,0.04); }
.account-type-card:hover { border-color: rgba(212,175,55,0.4); background: rgba(212,175,55,0.06); }
.account-type-card.selected { border-color: #d4af37; background: rgba(212,175,55,0.1); box-shadow: 0 0 20px rgba(212,175,55,0.15); }
.account-type-card input { display: none; }
.account-type-card i { font-size: 2rem; color: #d4af37; margin-bottom: 10px; }
.account-type-card h3 { font-size: 1.1rem; margin-bottom: 5px; color: white; }
.account-type-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.review-summary-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 20px; margin-bottom: 20px; color: rgba(255,255,255,0.8); }
.btn-row { display: flex; gap: 15px; }
.btn { padding: 16px 30px; border: none; border-radius: 12px; font-size: 1rem; cursor: pointer; font-weight: 600; font-family: inherit; transition: all 0.2s; }
.btn-primary { flex: 1; background: linear-gradient(135deg, #d4af37, #c99c2a); color: #0f2b1a; }
.btn-primary:hover { background: linear-gradient(135deg, #e0bd4a, #d4af37); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(212,175,55,0.3); }
.btn-primary:disabled { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.3); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.12); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.alert { padding: 15px; border-radius: 10px; margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: rgba(16,185,129,0.12); color: rgba(16,185,129,0.9); border: 1px solid rgba(16,185,129,0.25); }
.alert-danger { background: rgba(220,53,69,0.15); color: #ff8a8a; border: 1px solid rgba(220,53,69,0.25); }
.alert-info { background: rgba(59,130,246,0.12); color: rgba(147,197,253,0.9); border: 1px solid rgba(59,130,246,0.25); }
.required { color: #f87171; }
.help-text { font-size: 0.85rem; color: rgba(255,255,255,0.35); margin-top: 5px; }
.back-link { text-align: center; margin-top: 24px; font-size: 0.9rem; }
.back-link a { color: #d4af37; text-decoration: none; font-weight: 600; }
.back-link a:hover { text-decoration: underline; }
.back-link p { color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.signin-back-link a { color: rgba(255,255,255,0.4) !important; font-weight: 500 !important; }

@media (max-width: 768px) {
    .signup-container { padding: 30px 20px; margin: 15px auto; }
    .signup-header h1 { font-size: 24px; }
    .form-row { grid-template-columns: 1fr; gap: 12px; }
    .account-type-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
    .progress-steps { gap: 5px; flex-wrap: wrap; justify-content: center; }
    .account-type-card { padding: 15px 10px; }
    .account-type-card i { font-size: 1.5rem; }
    .account-type-card h3 { font-size: 0.95rem; }
    .auth-bg-orb { filter: blur(60px); opacity: 0.4; }
}

@media (max-width: 480px) {
    body { padding: 12px; }
    .signup-container { padding: 24px 18px; }
    .signup-header h1 { font-size: 20px; }
    .account-type-cards { grid-template-columns: 1fr; }
    .btn { padding: 14px 20px; font-size: 0.95rem; }
    .form-group input, .form-group select, .form-group textarea { padding: 12px; font-size: 0.9rem; }
}
.app-footer { background: rgba(0,0,0,0.3); padding: 20px 0; margin-top: 40px; text-align: center; position: relative; z-index: 1; }
.app-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.app-footer-links { margin-bottom: 10px; }
.app-footer-links a { color: rgba(255,255,255,0.35); text-decoration: none; margin: 0 10px; font-size: 0.8rem; }
.app-footer-links a:hover { color: #d4af37; }
.app-footer-copy { color: rgba(255,255,255,0.2); font-size: 0.75rem; margin: 0; }
