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

body {
    font-family: 'Tahoma', 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.main-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #4CAF50, #45a049, #667eea, #764ba2);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    z-index: -1;
}

.logo {
    margin-bottom: 20px;
    text-align: center;
}

.drone-image {
    width: 150px;
    height: 150px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 15px;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    animation: float 3s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

.drone-image:hover {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border: 3px solid #4CAF50;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8em;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.cta-button {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.contact-info {
    margin-top: 25px;
    text-align: center;
}

.contact-info p {
    margin: 8px 0;
    font-size: 1em;
    color: #666;
}

.contact-info a {
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #4CAF50 !important;
    text-decoration: underline !important;
}

/* واتر مارک لوگو */
.watermark-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 1;
    opacity: 0.25;
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watermark-logo img {
    width: 400px;
    height: auto;
    max-width: none;
}

/* استایل پاپ‌آپ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: white;
    border-radius: 15px;
    padding: 35px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 10px;
    text-align: right;
    position: relative;
    z-index: 10;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
}

.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* استایل پیام قفل شدن فرم */
.form-locked-message {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 2px solid #dee2e6;
    position: relative;
    z-index: 10;
}

.lock-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #6c757d;
}

.form-locked-message h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.form-locked-message p {
    color: #6c757d;
    margin-bottom: 10px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .main-container {
        padding: 20px;
    }

    .popup-content {
        padding: 20px;
    }

    .drone-image {
        width: 120px;
        height: 120px;
    }

    .drone-image:hover {
        transform: scale(1.05) rotate(-2deg);
    }
}
