/* 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;
}

/* About Hero Section */
.about-hero-section {
    min-height: 80vh;
    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: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

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

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Our Story Section */
.our-story-section {
    padding: 100px 20px;
    background: #fff;
}

.story-content-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    color: #1a237e;
    margin-bottom: 40px;
    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;
}

.story-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
    text-align: left;
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.highlight-card {
    background: #f8f9fa;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border-left: 4px solid #ff6b35;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.highlight-card h4 {
    color: #1a237e;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.highlight-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.story-cta {
    margin-top: 50px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

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

.mission-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.mission-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #ff6b35;
}

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

.mission-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.mission-card h3 {
    font-size: 1.5rem;
    color: #1a237e;
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* Why Choose Section */
.why-choose-section {
    padding: 100px 20px;
    background: #fff;
}

.why-choose-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b35;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: #ff6b35;
    margin-top: 5px;
    flex-shrink: 0;
}

.feature-content h4 {
    color: #1a237e;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* Commitment Section */
.commitment-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
}

.commitment-section .section-title {
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.commitment-section .section-title::after {
    background: linear-gradient(45deg, #fff, #f0f0f0);
}

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

.commitment-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.commitment-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.commitment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.commitment-icon {
    font-size: 2rem;
    color: #ff6b35;
}

.commitment-card h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.commitment-card p {
    margin-bottom: 25px;
    line-height: 1.7;
    opacity: 0.9;
    font-size: 15px;
}

.commitment-card ul {
    list-style: none;
    padding: 0;
}

.commitment-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    opacity: 0.8;
    font-size: 14px;
}

.commitment-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 25px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(45deg, #ff6b35, #e55a2b);
    color: #fff;
}

.cta-button.secondary {
    background: transparent;
    color: #1a237e;
    border: 2px solid #1a237e;
}

.cta-button.secondary:hover {
    background: #1a237e;
    color: #fff;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-weight: 600;
}

.trust-icon {
    font-size: 1.2rem;
    color: #28a745;
}

/* 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.8rem;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .mission-grid,
    .commitment-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .story-highlights {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .btn-register, 
    .btn-login {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .commitment-header {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mission-card,
    .commitment-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .highlight-card {
        padding: 25px 20px;
    }
    
    .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;
    }
}
