:root {
    --primary-color: #0d9488;
    --primary-light: #ccfbf1;
    --primary-dark: #0f766e;
    --secondary-color: #1e293b;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background elements for modern look */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: -1;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary-light);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: #e0f2fe;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    padding: 24px 0;
    margin-bottom: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.logo svg {
    color: var(--primary-color);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid rgba(30, 41, 59, 0.2);
    border-radius: 50px;
    padding: 0.45rem 0.9rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.25s ease;
}

.lang-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-chevron {
    transition: transform 0.55s ease;
}

.lang-switcher.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    min-width: 160px;
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
    z-index: 2000;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0.75rem 1.2rem;
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-option:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.lang-option.active {
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(13, 148, 136, 0.06);
}

.lang-flag {
    font-size: 1.2rem;
}

/* RTL support */
[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}
[dir="rtl"] .lang-option {
    text-align: right;
}


/* Main Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding-bottom: 64px;
}

/* Text Section */
.text-section .badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.text-section h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.text-section p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.125rem;
}

.benefits li svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

/* Form Section & Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.glass-card h2 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.glass-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: white;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* File Upload Zone */
.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.upload-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--primary-color);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

.upload-icon svg {
    width: 24px;
    height: 24px;
}

.upload-zone h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
    color: var(--secondary-color);
}

.upload-zone .browse-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
}

.upload-zone .file-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.hidden-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* File List */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.file-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--secondary-color);
    font-weight: 500;
}

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

.remove-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.remove-btn:hover {
    background: #fee2e2;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Success Message */
.success-message {
    margin-top: 24px;
    padding: 20px;
    background-color: #d1fae5;
    border-radius: 12px;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: fadeIn 0.5s ease;
}

.success-message svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Phone Input */
.phone-input-group {
    display: flex;
    gap: 12px;
}

.country-select {
    width: auto;
    max-width: 130px;
    padding: 14px 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: white;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
    cursor: pointer;
}

.country-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Voice Button */
.voice-input-wrapper {
    position: relative;
}

.voice-btn {
    position: absolute;
    right: 12px;
    bottom: 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.voice-btn svg {
    width: 20px;
    height: 20px;
}

/* Mobile View Upload Buttons */
.mobile-view {
    display: none;
}

.mobile-upload-options {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 20px 0;
}

.mobile-circle-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mobile-circle-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.mobile-circle-btn svg {
    width: 32px;
    height: 32px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .text-section h1 {
        font-size: 2.5rem;
    }
    
    .glass-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .desktop-view {
        display: none;
    }
    .mobile-view {
        display: block;
    }
}

