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

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 20px;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background: #ffffff;
    padding: 30px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    z-index: 1000;
    max-width: 150px;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-bottom: 10px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lang-btn svg {
    transition: transform 0.2s ease;
}

.language-selector.active .lang-btn svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.625rem 1rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: background 0.2s ease;
}

.lang-option:first-child {
    border-radius: 10px 10px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 10px 10px;
}

.lang-option:hover {
    background: var(--bg-secondary);
}

.instagram-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    width: auto;
    max-width: 100%;
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(225, 48, 108, 0.2);
}

.instagram-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.instagram-link svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
}

.instagram-link:hover .instagram-icon {
    transform: scale(1.1);
}

.social-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    border: 2px solid var(--border-color);
}

.title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.form {
    padding: 40px 30px;
}

.form-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.5;
}

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

.form-input,
.form-textarea,
select {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    background: var(--bg-color);
    color: var(--text-primary);
}

.form-input:focus,
.form-textarea:focus,
select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

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

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.15s ease;
    background: var(--bg-color);
    user-select: none;
}

.radio-label:hover,
.checkbox-label:hover {
    border-color: #d1d5db;
    background: var(--bg-secondary);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #000000;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked + span,
.checkbox-label input[type="checkbox"]:checked + span {
    font-weight: 500;
    color: var(--text-primary);
}

.radio-label:has(input[type="radio"]:checked),
.checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: #000000;
    background: var(--bg-color);
}

.divider {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin: 40px 0;
    letter-spacing: 2px;
}

.form-actions {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.submit-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    justify-content: center;
    font-family: inherit;
}

.submit-btn:hover {
    background: #1a1a1a;
}

.btn-arrow {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.submit-btn:active {
    background: #000000;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #666666;
}

.submit-btn:disabled:hover {
    background: #666666;
}

.success-message {
    text-align: center;
    padding: 60px 30px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin: 30px;
}

.success-message h2 {
    color: var(--success-color);
    font-size: 28px;
    margin-bottom: 15px;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
        background: #ffffff;
    }

    .container {
        box-shadow: none;
        border-radius: 0;
    }

    .header {
        padding: 20px;
        background: #ffffff;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .social-links {
        position: fixed;
        top: 15px;
        right: 15px;
        gap: 8px;
        max-width: 120px;
    }

    .instagram-link {
        padding: 5px 8px;
        gap: 6px;
    }

    .instagram-icon {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px;
        min-height: 16px;
        max-width: 16px;
        max-height: 16px;
    }

    .instagram-link svg {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px;
        min-height: 16px;
        max-width: 16px;
        max-height: 16px;
    }

    .social-label {
        font-size: 10px;
    }

    .instagram-icon {
        width: 18px;
        height: 18px;
    }

    .social-label {
        font-size: 11px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .title {
        font-size: 20px;
    }

    .form {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .radio-group,
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }

    .radio-label,
    .checkbox-label {
        width: 100%;
    }

    .submit-btn {
        width: 100%;
        padding: 14px 32px;
    }
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-loader {
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

