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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0066ff;
    --dark-bg: #0a0a0a;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --form-bg: #1a1a1a;
    --input-bg: #0f0f0f;
    --border-color: rgba(0, 212, 255, 0.2);
    --error-color: #ff4444;
    --success-color: #00ff88;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Form Header */
.form-header {
    margin-top: 100px;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
}

.form-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header .subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Form Section */
.form-section {
    padding: 3rem 2rem 5rem;
}

.form-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Form Container */
.form-container {
    background: var(--form-bg);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.consultation-form {
    width: 100%;
}

/* Form Section Block */
.form-section-block {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 1.5rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.required {
    color: var(--error-color);
    margin-left: 4px;
}

/* Form Controls */
.form-control {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-control::placeholder {
    color: #666;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
}

/* Privacy Agreement */
.privacy-agreement {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.form-note {
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.info-box {
    background: var(--form-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.process-list {
    list-style: none;
    counter-reset: process-counter;
}

.process-list li {
    counter-increment: process-counter;
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-gray);
}

.process-list li::before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.consultation-examples {
    list-style: none;
}

.consultation-examples li {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.consultation-examples li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.7rem;
}

.contact-info .btn-chat-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    width: 100%;
    margin: 1.5rem 0;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contact-info .btn-chat-link:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-1px);
}

.contact-info .chat-icon {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-error {
    background: rgba(255, 68, 68, 0.1);
    border-color: var(--error-color);
    color: var(--error-color);
}

/* Error Messages */
.error {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    background: var(--dark-bg);
    color: var(--text-gray);
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .form-section .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .form-header h1 {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .btn-submit {
        width: 100%;
    }
}