﻿:root {
            /* BlackEdge Brand Colors */
            --primary: #303030;
            --primary-light: #404040;
            --accent-blue: #648BFF;
            --accent-purple: #9A7CE6;
            --accent-peach: #FFB398;
            --background: #fafafa;
            --card-bg: #ffffff;
            --text: #303030;
            --text-light: #666666;
            --text-muted: #999999;
            --border: #e5e5e5;
            --border-focus: #648BFF;
            --error: #dc3545;
            --success: #28a745;
            --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.1);
            --radius: 16px;
            --radius-sm: 10px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        .is-hidden {
            display: none !important;
        }

        body {
            font-family: 'Heebo', sans-serif;
            background: var(--background);
            color: var(--text);
            line-height: 1.7;
            min-height: 100vh;
        }

        /* Decorative Background */
        .bg-decoration {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }

        .bg-decoration::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 80%;
            height: 100%;
            background: radial-gradient(ellipse, rgba(100, 139, 255, 0.05) 0%, transparent 70%);
        }

        .bg-decoration::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 60%;
            height: 80%;
            background: radial-gradient(ellipse, rgba(154, 124, 230, 0.04) 0%, transparent 70%);
        }

        /* Header */
        .header {
            background: var(--primary);
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-content {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo img {
            height: 56px;
            width: auto;
        }

        /* Main Content */
        .main {
            max-width: 800px;
            margin: 0 auto;
            padding: 2.5rem 1.5rem 4rem;
        }

        /* Hero Section */
        .hero {
            text-align: center;
            margin-bottom: 2.5rem;
            padding: 2rem 0;
        }

        .hero h1 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.75rem;
        }

        .hero p {
            font-size: 1.05rem;
            color: var(--text-light);
            max-width: 500px;
            margin: 0 auto;
        }

        /* Progress Bar */
        .progress-container {
            margin-bottom: 2rem;
        }

        .progress-steps {
            display: flex;
            justify-content: space-between;
            position: relative;
            margin-bottom: 0.5rem;
        }

        .progress-steps::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--border);
            transform: translateY(-50%);
            z-index: 0;
        }

        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            z-index: 1;
        }

        .step-circle {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--card-bg);
            border: 3px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--text-muted);
            transition: var(--transition);
        }

        .progress-step.active .step-circle {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
            color: white;
        }

        .progress-step.completed .step-circle {
            background: var(--success);
            border-color: var(--success);
            color: white;
        }

        .step-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-align: center;
            max-width: 80px;
        }

        .progress-step.active .step-label {
            color: var(--accent-blue);
            font-weight: 500;
        }

        /* Form Card */
        .form-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        /* Section */
        .form-section {
            padding: 2rem;
            border-bottom: 1px solid var(--border);
            display: none;
        }

        .form-section.active {
            display: block;
        }

        .form-section:last-child {
            border-bottom: none;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.75rem;
        }

        .section-icon {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .section-icon.company { background: linear-gradient(135deg, #648BFF 0%, #5a7de6 100%); }
        .section-icon.contact { background: linear-gradient(135deg, #9A7CE6 0%, #8a6cd6 100%); }
        .section-icon.address { background: linear-gradient(135deg, #FFB398 0%, #f5a388 100%); }
        .section-icon.bank { background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%); }
        .section-icon.documents { background: linear-gradient(135deg, #FF6B6B 0%, #e55555 100%); }

        .section-icon svg {
            width: 24px;
            height: 24px;
            color: white;
        }

        .section-title h2 {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.25rem;
        }

        .section-title p {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        /* Form Grid */
        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.25rem;
        }

        .form-grid.single {
            grid-template-columns: 1fr;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .form-label {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .required {
            color: var(--error);
        }

        /* Input Styles */
        .form-input,
        .form-select {
            width: 100%;
            padding: 0.875rem 1rem;
            font-family: inherit;
            font-size: 1rem;
            color: var(--text);
            background: var(--background);
            border: 2px solid var(--border);
            border-radius: var(--radius-sm);
            transition: var(--transition);
            outline: none;
        }

        .form-input:hover,
        .form-select:hover {
            border-color: #ccc;
        }

        .form-input:focus,
        .form-select:focus {
            border-color: var(--border-focus);
            background: white;
            box-shadow: 0 0 0 4px rgba(100, 139, 255, 0.1);
        }

        .form-input::placeholder {
            color: var(--text-muted);
        }

        .form-input.error,
        .form-select.error {
            border-color: var(--error);
        }

        .form-input.valid {
            border-color: var(--success);
        }

        .error-message {
            font-size: 0.8rem;
            color: var(--error);
            display: none;
        }

        .form-group.has-error .error-message {
            display: block;
        }

        /* Input with validation icon */
        .input-wrapper {
            position: relative;
        }

        .input-wrapper .validation-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            display: none;
        }

        .input-wrapper.valid .validation-icon.success {
            display: block;
            color: var(--success);
        }

        .input-wrapper.invalid .validation-icon.error-icon {
            display: block;
            color: var(--error);
        }

        .input-wrapper .form-input {
            padding-left: 40px;
        }

        /* Radio Group */
        .radio-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .radio-option {
            flex: 1;
            min-width: 120px;
        }

        .radio-option input {
            display: none;
        }

        .radio-label {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.875rem 1rem;
            background: var(--background);
            border: 2px solid var(--border);
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            font-size: 0.95rem;
            text-align: center;
        }

        .radio-label:hover {
            border-color: var(--accent-blue);
            background: rgba(100, 139, 255, 0.05);
        }

        .radio-option input:checked + .radio-label {
            border-color: var(--accent-blue);
            background: rgba(100, 139, 255, 0.1);
            color: var(--accent-blue);
            font-weight: 500;
        }

        /* File Upload */
        .file-upload-area {
            border: 2px dashed var(--border);
            border-radius: var(--radius-sm);
            padding: 1.5rem;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            background: var(--background);
        }

        .file-upload-area:hover {
            border-color: var(--accent-blue);
            background: rgba(100, 139, 255, 0.02);
        }

        .file-upload-area.dragover {
            border-color: var(--accent-blue);
            background: rgba(100, 139, 255, 0.05);
        }

        .file-upload-area.has-file {
            border-color: var(--success);
            background: rgba(40, 167, 69, 0.05);
        }

        .file-upload-area input {
            display: none;
        }

        .upload-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 0.75rem;
            color: var(--text-muted);
        }

        .file-upload-area.has-file .upload-icon {
            color: var(--success);
        }

        .upload-text {
            font-size: 0.95rem;
            color: var(--text-light);
            margin-bottom: 0.25rem;
        }

        .upload-hint {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .file-name {
            display: none;
            margin-top: 0.75rem;
            padding: 0.5rem 1rem;
            background: rgba(40, 167, 69, 0.1);
            border-radius: var(--radius-sm);
            font-size: 0.85rem;
            color: var(--success);
        }

        .file-upload-area.has-file .file-name {
            display: inline-block;
        }

        /* Navigation Buttons */
        .form-nav {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            padding: 1.5rem 2rem;
            background: var(--background);
            border-top: 1px solid var(--border);
        }

        .btn {
            padding: 0.875rem 2rem;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 500;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            border: none;
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-light);
            border: 2px solid var(--border);
        }

        .btn-secondary:hover {
            background: var(--background);
            border-color: var(--text-muted);
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-light);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(48, 48, 48, 0.3);
        }

        .btn-submit {
            background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
            color: white;
        }

        .btn-submit:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(100, 139, 255, 0.4);
        }

        .btn svg {
            width: 18px;
            height: 18px;
        }

        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }

        /* Success State */
        .success-message {
            display: none;
            text-align: center;
            padding: 4rem 2rem;
        }

        .success-message.show {
            display: block;
        }

        .success-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(135deg, var(--success) 0%, #20c997 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: scaleIn 0.5s ease;
        }

        @keyframes scaleIn {
            from { transform: scale(0); }
            to { transform: scale(1); }
        }

        .success-icon svg {
            width: 40px;
            height: 40px;
            color: white;
        }

        .success-message h2 {
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 0.75rem;
        }

        .success-message p {
            color: var(--text-light);
            max-width: 400px;
            margin: 0 auto 1.5rem;
        }

        /* Footer */
        .footer {
            text-align: center;
            padding: 1.5rem;
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .footer a {
            color: var(--accent-blue);
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }

        /* Mobile Responsive */
        @media (max-width: 640px) {
            .header {
                padding: 1rem;
            }

            .main {
                padding: 1.5rem 1rem 3rem;
            }

            .hero h1 {
                font-size: 1.5rem;
            }

            .form-section {
                padding: 1.5rem;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .section-header {
                flex-direction: column;
                text-align: center;
            }

            .progress-steps {
                overflow-x: auto;
                padding-bottom: 0.5rem;
            }

            .step-label {
                font-size: 0.7rem;
                max-width: 60px;
            }

            .form-nav {
                flex-direction: column-reverse;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }
        }

        /* Loading State */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.9);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .loading.show {
            display: flex;
        }

        .spinner {
            width: 48px;
            height: 48px;
            border: 4px solid var(--border);
            border-top-color: var(--accent-blue);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Validation hint */
        .field-hint {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }
