body {
    font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.brand-name {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem;
    font-size: 1rem;
    text-align: right;
    border-radius: 10px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.submit-btn {
    background: #00e676;
    color: #000;
    padding: 1rem 2rem;
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 10px;
    font-size: 1.1rem;
}

.submit-btn:hover {
    background: #00c853;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Radio button styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.radio-option {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.radio-label {
    display: block;
    padding: 1rem 3rem;
    width: 100%;
    cursor: pointer;
    color: white;
    font-weight: 500;
    margin: 0;
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    right: 1rem;
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + .radio-label {
    font-weight: bold;
}

.radio-option input[type="radio"]:checked + .radio-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #00e676;
    border-radius: 0 2px 2px 0;
}

/* Question styles */
.question {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.question-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Animation elements */
.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* RTL specific adjustments */
.form-control, 
.btn, 
.description,
.brand-name,
.question-text {
    direction: rtl;
    text-align: right;
}

/* Success page styles */
.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-btn {
    padding: 1rem 1rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    min-width: 200px;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #f09433 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(220, 39, 67, 0.4);
}

.telegram-btn {
    background: #0088cc;
    color: white;
    border: none;
}

.telegram-btn:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.4);
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Form animation */
.form-section {
    transition: all 0.3s ease;
}

.question {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.question.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.question.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .brand-name {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .radio-label {
        padding: 0.8rem 2.5rem;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
    }
}

/* Custom radio button appearance */
.radio-option input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    right: 1rem;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #00e676;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.radio-option input[type="radio"]:checked {
    border-color: #00e676;
}

.radio-option input[type="radio"]:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Add checkmark icon */
.radio-option input[type="radio"]:checked ~ .radio-label::after {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: #00e676;
    font-size: 1.2rem;
    animation: checkmark 0.3s ease forwards;
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}