/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    overflow-x: hidden;
}

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

/* Header Styles */
.main-header {
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #ff6b35;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.navigation-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand .logo-image {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand .logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b35;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-register,
.btn-login {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-register {
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-register:hover {
    background: linear-gradient(45deg, #e55a2b, #d44920);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-login:hover {
    background: #fff;
    color: #1a237e;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Contact Hero Section */
.contact-hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #ff6b35 100%);
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.contact-highlights {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.highlight-icon {
    font-size: 20px;
}

/* Contact Methods Section */
.contact-methods-section {
    padding: 100px 20px;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #1a237e;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-method {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.contact-method.priority {
    border-color: #ff6b35;
    transform: scale(1.02);
}

.contact-method:hover {
    transform: translateY(-5px);
}

.method-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.method-icon {
    font-size: 2rem;
}

.method-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    flex: 1;
}

.method-badge {
    background: #ff6b35;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.method-content {
    padding: 30px;
}

.method-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.method-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.feature {
    font-size: 14px;
    color: #666;
}

.contact-action {
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.contact-btn.primary {
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.availability {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #28a745;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #28a745;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.email-address {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    font-family: monospace;
    font-weight: 600;
    color: #1a237e;
    border: 1px solid #dee2e6;
    text-align: center;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
    padding: 40px;
    text-align: center;
}

.form-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.form-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a237e;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.submit-btn,
.reset-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-btn {
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.reset-btn {
    background: #6c757d;
    color: #fff;
}

.reset-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 100px 20px;
    background: #fff;
}

.faq-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b35;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 15px;
    font-size: 1.1rem;
    cursor: pointer;
}

.faq-answer {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* Footer Styles */
.main-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: #ff6b35;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.payment-methods {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #333;
    margin-bottom: 30px;
}

.payment-methods h4 {
    color: #ff6b35;
    margin-bottom: 25px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.payment-icon {
    width: 45px;
    height: 45px;
    filter: brightness(0.8);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.payment-icon:hover {
    filter: brightness(1);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

/* Responsive Design - точно как в hacks.css */
@media (max-width: 980px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 35, 126, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
    }
    
    .auth-buttons {
        display: flex;
        gap: 10px;
    }
    
    .btn-register,
    .btn-login {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .btn-register, 
    .btn-login {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .contact-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-btn,
    .reset-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-method {
        margin: 0 10px;
    }
    
    .form-container {
        margin: 0 10px;
    }
    
    .auth-buttons {
        gap: 6px;
    }
    
    .btn-register,
    .btn-login {
        padding: 5px 10px;
        font-size: 10px;
        min-width: 60px;
    }
}

@media (max-width: 320px) {
    .navigation-container {
        padding: 10px 15px;
    }
    
    .nav-brand .logo-image {
        height: 45px;
    }
    
    .auth-buttons {
        gap: 4px;
    }
    
    .btn-register,
    .btn-login {
        padding: 4px 8px;
        font-size: 9px;
        min-width: 50px;
        border-radius: 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

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

/* Loading states */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
