/* Application Page Styles - Clean Version */

/* Reset и базовые стили */
* {
    box-sizing: border-box;
}

.application-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #ffffff;
}

/* Hero Section */
.application-hero {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(15, 52, 96, 0.9));
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    filter: blur(60px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.gradient-orb.orb-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.gradient-orb.orb-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: 2s;
}

.gradient-orb.orb-3 {
    width: 250px;
    height: 250px;
    bottom: -125px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.glitch-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Application Content */
.application-content {
    padding: 4rem 0;
    position: relative;
}

/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-success {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.4);
    color: #e8f5e8;
}

.alert-error {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.4);
    color: #ffebee;
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.alert h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.alert p {
    margin: 0;
    line-height: 1.5;
}

/* Tabs Container */
.tabs-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tab-btn {
    flex: 1;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
}

.tab-icon {
    font-size: 1.2rem;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 3rem;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

/* Rules Section */
.rules-section {
    margin-bottom: 2rem;
}

.rules-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rules-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rules-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rule-icon {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Pricing Card */
.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
}

.pricing-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 1rem;
}

.price-period {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-features li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Future Plans */
.future-plans {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    text-align: center;
}

.future-plans h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.future-plans p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.future-plans ul {
    list-style: none;
    opacity: 0.8;
    margin-bottom: 1rem;
    padding: 0;
}

.future-plans li {
    margin-bottom: 0.5rem;
}

.future-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Form Styles */
.application-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

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

.form-input option {
    background: #2d2d2d;
    color: #ffffff;
}

.form-label-float {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    z-index: 1;
}

.form-input:focus + .form-label-float,
.form-input:not(:placeholder-shown) + .form-label-float,
.form-input:valid + .form-label-float,
.form-textarea:focus + .form-label-float,
.form-textarea:not(:placeholder-shown) + .form-label-float {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: #ffd700;
    background: rgba(26, 26, 46, 0.9);
    padding: 0 0.5rem;
    border-radius: 4px;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.form-input:focus ~ .input-highlight,
.form-textarea:focus ~ .input-highlight {
    width: 100%;
}

.required {
    color: #ff6b6b;
}

/* Upload Instructions */
.upload-instructions {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.upload-instructions h4 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.instruction-steps {
    margin-bottom: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text {
    opacity: 0.9;
    line-height: 1.4;
}

kbd {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-family: monospace;
    font-size: 0.9rem;
    color: #ffd700;
}

.upload-tip {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid #ffd700;
    padding: 0.8rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.section-description {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

.document-examples {
    margin-top: 1rem;
}

.document-examples h4 {
    margin-bottom: 0.8rem;
    color: #ffd700;
    font-size: 1rem;
}

.document-examples ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-examples li {
    padding: 0.3rem 0;
    opacity: 0.9;
    line-height: 1.4;
}

.document-upload {
    border-color: rgba(75, 192, 192, 0.5);
    background: rgba(75, 192, 192, 0.1);
}

.document-upload:hover {
    border-color: #4bc0c0;
    background: rgba(75, 192, 192, 0.2);
}

.document-upload .file-upload-icon {
    color: #4bc0c0;
}

.file-names {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
    word-break: break-word;
    max-height: 100px;
    overflow-y: auto;
}
.file-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
}

.file-upload-area:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.file-upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.file-upload-info {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

.file-input {
    display: none;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 1rem 0;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ffd700;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border: none;
    border-radius: 16px;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 250px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

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

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.submit-btn:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.contact-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ffd700;
}

.contact-desc {
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Recommendations */
.recommendations {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
}

.recommendations h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.recommendations ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recommendations li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.recommendations li::before {
    content: '• ';
    color: #ffd700;
    margin-right: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: #ffd700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffd700;
}

.faq-answer {
    opacity: 0.9;
    line-height: 1.6;
}

/* Tags */
.tags {
    padding: 2rem 0;
    text-align: center;
}

.tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    margin: 0.25rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    color: #ffd700;
}

/* File display styles */
.uploaded-files {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.file-name {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.field-error {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    animation: slideInError 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .glitch-title {
        font-size: 2.5rem;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .tab-content {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .file-upload-area {
        padding: 2rem 1rem;
    }

    .submit-btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.5rem;
    }

    .glitch-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .tab-content {
        padding: 1.5rem 1rem;
    }

    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
    }

    .alert {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}
.grecaptcha-badge {
    z-index: -1 !important;
}
