/* [file name]: style.css - ОБНОВЛЕННАЯ ВЕРСИЯ */
:root {
    --primary-blue: #0066FF;
    --primary-blue-dark: #0052CC;
    --primary-blue-light: #3391FF;
    --accent-orange: #FF6B35;
    --accent-green: #00C853;
    
    --background-dark: #0A0F1E;
    --background-card: #141A2D;
    --background-light: #1D2438;
    
    --text-white: #FFFFFF;
    --text-light: #E0E0FF;
    --text-gray: #94A3B8;
    
    --gradient-blue: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
    --gradient-dark: linear-gradient(135deg, #141A2D 0%, #0A0F1E 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #FF9E3D 100%);
    
    --shadow-primary: 0 10px 40px rgba(0, 102, 255, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
    --border-radius-lg: 24px;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    z-index: 1;
}

/* --- ANIMATIONS --- */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-fade-up { animation: fadeInUp 0.8s ease-out forwards; }

/* --- HEADER (Горизонтальный) --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 0;
    background: rgba(10, 15, 30, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.logo-icon i {
    font-size: 24px;
    color: white;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--primary-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-white);
}

.nav-cta {
    margin-left: 30px;
}

.btn-nav {
    padding: 12px 28px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: var(--shadow-primary);
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: space-around;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    color: var(--primary-blue-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--primary-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}

.btn-primary {
    padding: 18px 40px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    padding: 18px 40px;
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-5px);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    padding: 40px;
    background: rgba(20, 26, 45, 0.6);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- SERVICES SECTION --- */
.services {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50px;
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--background-card);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 102, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-card h3 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
}

/* --- ABOUT SECTION --- */
.about {
    padding: 120px 0;
    background: var(--background-card);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.2), rgba(255, 107, 53, 0.1));
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-blue);
    color: white;
    padding: 20px 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.experience-years {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.experience-label {
    font-size: 14px;
    opacity: 0.9;
}

.about-text h2 {
    font-size: 48px;
    color: var(--text-white);
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary-blue-light);
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 18px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.about-stat {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}

.about-stat-label {
    color: var(--text-gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FOUNDER SECTION --- */
.founder {
    padding: 120px 0;
}

.founder-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
    background: var(--background-card);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-photo {
    position: relative;
}

.founder-photo img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.founder-photo:hover img {
    filter: grayscale(0%);
}

.founder-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
}

.founder-info h3 {
    font-size: 32px;
    color: var(--text-white);
    margin-bottom: 16px;
}

.founder-title {
    color: var(--primary-blue-light);
    font-size: 18px;
    margin-bottom: 30px;
    display: block;
}

.founder-bio {
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 3px solid var(--background-card);
}

.timeline-year {
    color: var(--primary-blue-light);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.timeline-title {
    color: var(--text-white);
    font-size: 20px;
    margin-bottom: 8px;
}

.timeline-description {
    color: var(--text-gray);
}

/* --- CONTACT SECTION --- */
.contact {
    padding: 120px 0;
    background: var(--background-card);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 48px;
    color: var(--text-white);
    margin-bottom: 24px;
}

.contact-description {
    color: var(--text-gray);
    margin-bottom: 50px;
    font-size: 18px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: var(--primary-blue);
}

.contact-text h4 {
    color: var(--text-white);
    margin-bottom: 8px;
    font-size: 18px;
}

.contact-text p {
    color: var(--text-gray);
}

.contact-form-container {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    color: var(--text-white);
    font-size: 32px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.05);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

/* --- FOOTER --- */
footer {
    background: var(--background-dark);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    text-decoration: none;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--primary-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-blue);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 12px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
}

/* --- MODAL --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    opacity: 1;
}

.modal-content {
    background: var(--background-card);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modal-backdrop.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.modal-content h3 {
    color: var(--text-white);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.success-icon i {
    font-size: 40px;
    color: white;
}

.success-message h3 {
    color: var(--accent-green);
    margin-bottom: 16px;
}

.success-message p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (max-width: 992px) {
    /* Мобильное меню */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--background-card);
        flex-direction: column;
        gap: 0;
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 20px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-cta {
        margin: 30px 0 0;
        width: 100%;
    }
    
    .btn-nav {
        width: 100%;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Контент */
    .hero-title {
        font-size: 48px;
    }
    
    .about-content,
    .contact-grid,
    .founder-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-card,
    .contact-form-container {
        padding: 30px;
    }
    
    .founder-content {
        padding: 30px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
        width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-badge,
    .section-label {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .about-stat-number {
        font-size: 32px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
}
/* Добавить в начало или к прелоадеру */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 102, 255, 0.1);
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Исправление отображения модалки */
.modal-backdrop {
    display: none; /* По умолчанию скрыто */
    opacity: 0;
    pointer-events: none;
}

.modal-backdrop.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

/* Для эффекта печати */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary-blue-light);
    margin-left: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ИСПРАВЛЕНИЯ И АНИМАЦИИ */

/* Состояния для появления */
.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-active {
    opacity: 1;
    transform: translateY(0);
}

/* Фикс прелоадера */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--background-dark);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 102, 255, 0.1);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Фикс модального окна */
.modal-backdrop {
    display: none; /* Прячем изначально */
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 35px;
    cursor: pointer;
    line-height: 1;
}

/* Фикс мобильного меню */
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

@keyframes blink { 50% { opacity: 0; } }

/* --- КРИТИЧЕСКИЕ ИСПРАВЛЕНИЯ АНИМАЦИЙ --- */

/* Элементы скрыты по умолчанию */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Элементы становятся видимыми при появлении в области видимости */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Задержки для карточек, чтобы они вылетали по очереди */
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.4s; }

/* Фикс прелоадера */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--background-dark);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Фикс модалки (переписываем ваш .modal-backdrop) */
.modal-backdrop {
    display: none; /* Скрыто до вызова JS */
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 15, 30, 0.9);
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

.modal-backdrop.active {
    opacity: 1;
}

/* Кнопка закрытия модалки */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 40px;
    cursor: pointer;
    z-index: 2100;
}

.modal-close:hover { color: #fff; }

/* Эффект печати курсор */
.hero-title::after {
    content: '|';
    animation: blink 0.8s infinite;
    color: var(--primary-blue);
}
@keyframes blink { 50% { opacity: 0; } }