/* General Styling */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #6366f1;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --light-bg: #f8fafc;
    --lighter-bg: #ffffff;
    --dark-text: #1e293b;
    --light-text: #ffffff;
    --gray-text: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--dark-text);
    line-height: 1.7;
    font-size: 16px;
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

h1, h2, h3, h4 {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    line-height: 1.4;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--light-text);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.btn:active {
    transform: translateY(0);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 4px 0;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(0);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.logo:hover .logo-icon::before {
    left: 100%;
}

.logo span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    letter-spacing: -0.025em;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
}

nav ul li a {
    color: var(--dark-text);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.language-selector select {
    padding: 4px 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--lighter-bg);
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.language-selector select:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.95) 0%,
        rgba(99, 102, 241, 0.9) 50%,
        rgba(6, 182, 212, 0.95) 100%);
    color: var(--light-text);
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

/* Анимированные элементы на фоне */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255,255,255,0.05) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: backgroundMove 30s linear infinite;
    pointer-events: none;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-20px, -20px); }
    50% { transform: translate(20px, -10px); }
    75% { transform: translate(-10px, 20px); }
    100% { transform: translate(0, 0); }
}

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

/* Плавающие фигуры */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.8;
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    top: 15%;
    left: 8%;
    animation: floatShape1 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4834d4, #686de0);
    top: 55%;
    right: 12%;
    animation: floatShape2 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
    top: 35%;
    left: 75%;
    animation: floatShape3 22s ease-in-out infinite;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #ff9ff3, #f368e0);
    top: 8%;
    right: 25%;
    animation: floatShape4 30s ease-in-out infinite;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #feca57, #ff9f43);
    bottom: 25%;
    left: 15%;
    animation: floatShape5 18s ease-in-out infinite;
}

.shape-6 {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
    top: 65%;
    right: 8%;
    animation: floatShape6 28s ease-in-out infinite;
}

.shape-7 {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #fd79a8, #e84393);
    top: 25%;
    left: 3%;
    animation: floatShape7 24s ease-in-out infinite;
}

.shape-8 {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    bottom: 35%;
    right: 20%;
    animation: floatShape8 35s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(60px, -40px) scale(1.1) rotate(90deg); }
    50% { transform: translate(-40px, -80px) scale(0.9) rotate(180deg); }
    75% { transform: translate(-80px, 40px) scale(1.05) rotate(270deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    20% { transform: translate(-60px, 60px) scale(1.2) rotate(72deg); }
    40% { transform: translate(80px, -40px) scale(0.8) rotate(144deg); }
    60% { transform: translate(-40px, -60px) scale(1.1) rotate(216deg); }
    80% { transform: translate(60px, 20px) scale(0.9) rotate(288deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-100px, 60px) scale(1.15) rotate(120deg); }
    66% { transform: translate(80px, -40px) scale(0.85) rotate(240deg); }
}

@keyframes floatShape4 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    16% { transform: translate(40px, 80px) scale(1.25) rotate(60deg); }
    32% { transform: translate(-60px, 40px) scale(0.75) rotate(120deg); }
    48% { transform: translate(-60px, -80px) scale(1.1) rotate(180deg); }
    64% { transform: translate(70px, -60px) scale(0.9) rotate(240deg); }
    80% { transform: translate(20px, -60px) scale(1.05) rotate(300deg); }
}

@keyframes floatShape5 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(120px, -80px) scale(1.2) rotate(90deg); }
    50% { transform: translate(-60px, -40px) scale(0.8) rotate(180deg); }
    75% { transform: translate(-80px, 60px) scale(1.1) rotate(270deg); }
}

@keyframes floatShape6 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    14% { transform: translate(-80px, 40px) scale(1.15) rotate(50deg); }
    28% { transform: translate(60px, -60px) scale(0.85) rotate(100deg); }
    42% { transform: translate(-40px, -80px) scale(1.25) rotate(150deg); }
    56% { transform: translate(100px, 20px) scale(0.75) rotate(200deg); }
    70% { transform: translate(-60px, 80px) scale(1.05) rotate(250deg); }
    84% { transform: translate(40px, -40px) scale(0.95) rotate(300deg); }
}

@keyframes floatShape7 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    20% { transform: translate(80px, 60px) scale(1.3) rotate(72deg); }
    40% { transform: translate(-60px, -40px) scale(0.7) rotate(144deg); }
    60% { transform: translate(-80px, 80px) scale(1.15) rotate(216deg); }
    80% { transform: translate(40px, -80px) scale(0.9) rotate(288deg); }
}

@keyframes floatShape8 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    12% { transform: translate(50px, -70px) scale(1.1) rotate(43deg); }
    24% { transform: translate(-80px, -40px) scale(0.9) rotate(86deg); }
    36% { transform: translate(-60px, 80px) scale(1.2) rotate(129deg); }
    48% { transform: translate(70px, 60px) scale(0.8) rotate(172deg); }
    60% { transform: translate(90px, -50px) scale(1.05) rotate(215deg); }
    72% { transform: translate(-70px, -60px) scale(0.95) rotate(258deg); }
    84% { transform: translate(40px, -50px) scale(1.1) rotate(301deg); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.hero-section h1 {
    color: var(--light-text);
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    opacity: 0.95;
    line-height: 1.8;
    animation: slideInUp 1s ease-out 0.2s both;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-section .btn {
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.btn-primary,
.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-primary:hover,
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Анимация волны для кнопок */
.hero-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-section .btn:hover::before {
    left: 100%;
}



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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* Benefits Section */
.benefits-section {
    background: var(--lighter-bg);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.benefits-section h2 {
    margin-bottom: 16px;
    position: relative;
}

.benefits-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.benefits-section h3 {
    color: var(--gray-text);
    margin-bottom: 60px;
    font-weight: 500;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.benefit-card {
    background: var(--lighter-bg);
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px auto;
    display: block;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    color: var(--primary-light);
    transform: scale(1.1);
}

.benefit-card h4 {
    margin-bottom: 16px;
    color: var(--dark-text);
}

.benefit-card p {
    color: var(--gray-text);
    line-height: 1.7;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg,
        rgba(79, 70, 229, 0.05) 0%,
        rgba(99, 102, 241, 0.03) 50%,
        rgba(6, 182, 212, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: faqBackground 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes faqBackground {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    border: 2px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    background: var(--lighter-bg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.faq-question {
    padding: 24px 28px;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--gray-text);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 28px 24px 28px;
    max-height: 300px;
}

/* Resume Submission Form */
.submit-resume-section {
    background: var(--lighter-bg);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.submit-resume-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
}

.submit-resume-section h2 {
    margin-bottom: 60px;
    position: relative;
}

.submit-resume-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

#resume-form {
    background: var(--lighter-bg);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--lighter-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

.form-group input[type="file"] {
    padding: 12px;
    cursor: pointer;
}

/* Form Progress Bar */
.form-progress {
    margin-bottom: 32px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 0.9rem;
    color: var(--gray-text);
    font-weight: 500;
}

#resume-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 8px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-text) 0%, #0f172a 100%);
    color: var(--light-text);
    padding: 60px 0 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="footerGrid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23footerGrid)"/></svg>');
    opacity: 0.5;
}

footer .container {
    position: relative;
    z-index: 2;
}

.social-icons {
    margin: 32px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.social-icons i {
    font-size: 1.25rem;
    color: var(--light-text);
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .benefit-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 6px 0;
    }

    header.scrolled {
        padding: 3px 0;
    }

    header .container {
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    /* Скрываем навигацию на мобильных */
    nav {
        display: none;
    }

    .logo {
        gap: 5px;
    }

    .logo-icon {
        padding: 3px 6px;
        font-size: 0.8rem;
    }

    .logo span {
        font-size: 0.9rem;
    }

    .language-selector select {
        padding: 3px 8px;
        font-size: 0.75rem;
    }



    /* Упрощаем анимации на мобильных */
    .shape {
        opacity: 0.6;
        filter: blur(2px);
    }

    .shape-1, .shape-2, .shape-4, .shape-8 {
        width: 100px;
        height: 100px;
    }

    .shape-3, .shape-5, .shape-6, .shape-7 {
        width: 80px;
        height: 80px;
    }

    .hero-section {
        padding: 60px 20px;
        min-height: 100vh;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero-section .btn {
        min-width: 250px;
        font-size: 1rem;
        padding: 14px 28px;
    }

    .about-section .container,
    .benefits-section .container {
        padding: 20px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #resume-form {
        padding: 32px 24px;
        margin: 0 20px;
    }

    .social-icons {
        flex-wrap: wrap;
    }
}

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

    .hero-section {
        padding: 60px 16px;
    }

    .about-section,
    .benefits-section,
    .faq-section,
    .submit-resume-section {
        padding: 60px 0;
    }

    .faq-question,
    .benefit-card {
        padding: 20px;
    }

    #resume-form {
        padding: 24px 16px;
        margin: 0 16px;
    }


}



/* Utility Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Enhanced hover effects for benefit cards */
.benefit-card {
    cursor: pointer;
}

.benefit-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(even) {
    animation-delay: 0.2s;
}

/* Improved form validation styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: var(--warning-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    will-change: transform;
}

.hero-section,
.benefit-card,
.faq-item {
    contain: layout style paint;
}

/* Print styles */
@media print {
    .scroll-to-top,
    .loading-overlay,
    .social-icons {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 40px 20px;
    }

    .benefit-card,
    .faq-item {
        break-inside: avoid;
    }
}

/* Enhanced Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-color);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

.notification-success {
    border-left-color: var(--success-color);
}

.notification-error {
    border-left-color: var(--warning-color);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    color: var(--success-color);
}

.notification-error .notification-icon {
    color: var(--warning-color);
}

.notification-message {
    flex: 1;
    font-weight: 500;
    color: var(--dark-text);
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: var(--lighter-bg);
    color: var(--dark-text);
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }

    .notification.show {
        transform: translateY(0);
    }

    .notification.hide {
        transform: translateY(-100%);
    }

    .notification-content {
        padding: 14px 16px;
        gap: 10px;
    }
}