/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: 
        radial-gradient(ellipse at center, #0c0e2a 0%, #1a1f3a 50%, #0c0e2a 100%),
        radial-gradient(ellipse at 20% 80%, #3a1f5d 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, #1f3a5d 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, #2a1f5d 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    color: #ffffff;
    overflow-x: hidden;
}

/* Анимированные звезды */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 10% 80%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 70% 40%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4) 0%, transparent 100%);
    background-size: 200px 200px;
    animation: twinkle 4s ease-in-out infinite alternate;
    z-index: -2;
}

/* Дополнительные звезды */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 45% 75%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 65% 15%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 45%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 5% 85%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 95% 5%, rgba(255,255,255,0.3) 0%, transparent 100%);
    background-size: 300px 300px;
    animation: twinkle 6s ease-in-out infinite alternate-reverse;
    z-index: -2;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Падающие звезды */
.star {
    position: fixed;
    background: white;
    border-radius: 50%;
    animation: fall linear infinite;
    z-index: -1;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== КОНТЕЙНЕР СТРАНИЦЫ ===== */
.page-container {
    max-width: 1200px;
    margin: 20px auto;
    background: rgba(13, 19, 33, 0.85);
    backdrop-filter: blur(15px);
    min-height: calc(100vh - 40px);
    box-shadow: 
        0 0 60px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* Неоновое свечение контейнера */
.page-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #667eea, #764ba2, #f093fb, #667eea);
    border-radius: 22px;
    z-index: -1;
    animation: neonGlow 3s ease-in-out infinite alternate;
    filter: blur(10px);
    opacity: 0.5;
}

@keyframes neonGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.page-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #667eea, #764ba2, #f093fb, #667eea);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== ШАПКА ===== */
.header {
    background: linear-gradient(135deg, 
        rgba(13, 19, 33, 0.95) 0%, 
        rgba(26, 35, 58, 0.9) 50%,
        rgba(13, 19, 33, 0.85) 100%);
    color: white;
    text-align: center;
    padding: 50px 30px;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
}

/* Космическая текстура в шапке */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.05) 0%, transparent 50%);
    animation: cosmicFloat 20s ease-in-out infinite;
}

@keyframes cosmicFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.05) 50%, 
        transparent 70%);
    animation: shine 8s infinite linear;
    transform: rotate(45deg);
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.header h1 {
    position: relative;
    z-index: 2;
    text-shadow: 
        0 0 20px rgba(102, 126, 234, 0.8),
        0 0 40px rgba(102, 126, 234, 0.4),
        0 0 60px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, #8a9eff 0%, #b6a2ff 50%, #ffa9fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

/* ===== НАВИГАЦИЯ ===== */
.nav {
    background: linear-gradient(135deg, 
        rgba(26, 35, 58, 0.95) 0%, 
        rgba(38, 48, 77, 0.9) 100%);
    padding: 25px 0;
    position: relative;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.6) 50%, 
        transparent 100%);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-item {
    margin: 5px;
}

.nav-link {
    color: #b6c1ff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    display: block;
    transform: translateZ(0);
    will-change: transform;
}

.nav-link:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 25px rgba(102, 126, 234, 0.4),
        0 0 20px rgba(102, 126, 234, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.content {
    padding: 50px 40px;
    max-width: 900px;
    margin: 0 auto;
    color: #e6e9ff;
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.profile-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.profile-title {
    font-size: 36px;
    color: #8a9eff;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(138, 158, 255, 0.5);
    width: 100%;
}

.profile-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.profile-photo {
    width: 240px;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid;
    border-image: linear-gradient(135deg, #667eea, #764ba2, #f093fb) 1;
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.4),
        0 0 30px rgba(102, 126, 234, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    display: block;
    background: transparent;
}

.profile-photo:hover {
    transform: scale(1.03) rotate(2deg);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.6),
        0 0 40px rgba(102, 126, 234, 0.4);
}

.profile-info {
    text-align: center;
}

.profile-name {
    font-size: 28px;
    color: #b6a2ff;
    margin: 15px 0;
    font-weight: 600;
    background: linear-gradient(135deg, #8a9eff, #b6a2ff, #ffa9fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(182, 162, 255, 0.3);
}

.profile-group {
    font-size: 20px;
    color: #a8b1ff;
    margin: 10px 0;
    font-weight: 400;
}

.about-me {
    background: linear-gradient(135deg, 
        rgba(26, 35, 58, 0.8) 0%, 
        rgba(38, 48, 77, 0.6) 100%);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 20px;
    margin: 40px 0;
    border-left: 6px solid #667eea;
    font-size: 17px;
    line-height: 1.8;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.about-me::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: cosmicFloat 15s ease-in-out infinite;
}

/* ===== НАВЫКИ ===== */
.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}

.skill-tag {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 
        0 6px 20px rgba(79, 172, 254, 0.4),
        0 0 15px rgba(79, 172, 254, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 12px 30px rgba(79, 172, 254, 0.6),
        0 0 25px rgba(79, 172, 254, 0.5);
}

/* ===== ОПЫТ РАБОТЫ ===== */
.experience-section {
    margin-top: 60px;
}

.section-title {
    font-size: 32px;
    color: #8a9eff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
    text-shadow: 0 0 20px rgba(138, 158, 255, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.experience-card {
    background: linear-gradient(135deg, 
        rgba(26, 35, 58, 0.8) 0%, 
        rgba(38, 48, 77, 0.6) 100%);
    backdrop-filter: blur(15px);
    padding: 30px;
    margin: 25px 0;
    border-radius: 15px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(102, 126, 234, 0.2);
    border-left: 5px solid #667eea;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(102, 126, 234, 0.1), 
        transparent);
    transition: left 0.6s;
}

.experience-card:hover::before {
    left: 100%;
}

.experience-card:hover {
    transform: translateX(8px) translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(102, 126, 234, 0.3);
    border-left-color: #8a9eff;
}

.experience-title {
    font-size: 22px;
    color: #b6a2ff;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.experience-desc {
    color: #a8b1ff;
    line-height: 1.7;
    margin: 0;
    font-size: 16px;
}

/* ===== СТИЛИ ДЛЯ НОВОСТЕЙ ===== */
.news-container {
    display: grid;
    gap: 35px;
    margin-top: 40px;
}

.news-item {
    background: linear-gradient(135deg, 
        rgba(26, 35, 58, 0.8) 0%, 
        rgba(38, 48, 77, 0.6) 100%);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(231, 76, 60, 0.2);
    border-left: 6px solid #e74c3c;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.05) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.news-item:hover::before {
    opacity: 1;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(231, 76, 60, 0.3);
    border-left-color: #ff6b6b;
}

.news-title {
    font-size: 26px;
    color: #ff8a8a;
    margin: 0 0 18px 0;
    font-weight: 600;
    line-height: 1.3;
    background: linear-gradient(135deg, #ff8a8a, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-meta {
    color: #a8b1ff;
    font-size: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(168, 177, 255, 0.3);
    padding-bottom: 15px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.news-content {
    color: #e6e9ff;
    line-height: 1.8;
    font-size: 17px;
}

/* ===== СТИЛИ ДЛЯ ПРАКТИК ===== */
.practices-list {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

.practice-item {
    background: linear-gradient(135deg, 
        rgba(26, 35, 58, 0.8) 0%, 
        rgba(38, 48, 77, 0.6) 100%);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(243, 156, 18, 0.2);
    border-left: 6px solid #f39c12;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.practice-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.1) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.practice-item:hover::before {
    opacity: 1;
}

.practice-item:hover {
    transform: translateX(8px) translateY(-5px);
    border-left-color: #ffd166;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(243, 156, 18, 0.3);
}

.practice-title {
    font-size: 22px;
    color: #ffd166;
    margin: 0 0 15px 0;
    font-weight: 600;
    background: linear-gradient(135deg, #ffd166, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.practice-desc {
    color: #a8b1ff;
    line-height: 1.7;
    margin: 0;
    font-size: 16px;
}

/* ===== СТИЛИ ДЛЯ ТОВАРОВ ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.product-card {
    background: linear-gradient(135deg, 
        rgba(26, 35, 58, 0.8) 0%, 
        rgba(38, 48, 77, 0.6) 100%);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(102, 126, 234, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(102, 126, 234, 0.4);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 25px 20px;
    position: relative;
    z-index: 2;
}

.product-name {
    font-size: 20px;
    color: #b6a2ff;
    margin: 0 0 15px 0;
    font-weight: 600;
    line-height: 1.3;
}

.product-price {
    font-size: 24px;
    color: #ff6b6b;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
}

/* ===== СТИЛИ ДЛЯ КОНТАКТОВ ===== */
.contacts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.contact-item {
    background: linear-gradient(135deg, 
        rgba(26, 35, 58, 0.8) 0%, 
        rgba(38, 48, 77, 0.6) 100%);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(39, 174, 96, 0.2);
    text-align: center;
    border-left: 6px solid #27ae60;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(39, 174, 96, 0.1) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(39, 174, 96, 0.3);
}

.contact-title {
    font-size: 22px;
    color: #6bffb8;
    margin: 0 0 18px 0;
    font-weight: 600;
    background: linear-gradient(135deg, #6bffb8, #27ae60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info {
    font-size: 19px;
    color: #e6e9ff;
    margin: 0;
    line-height: 1.5;
}

.contact-button {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 6px 20px rgba(39, 174, 96, 0.4),
        0 0 15px rgba(39, 174, 96, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.contact-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 30px rgba(39, 174, 96, 0.6),
        0 0 25px rgba(39, 174, 96, 0.5);
}

/* ===== СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 14, 42, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, 
        rgba(26, 35, 58, 0.95) 0%, 
        rgba(38, 48, 77, 0.9) 100%);
    backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(102, 126, 234, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

@keyframes slideIn {
    from { 
        transform: translateY(-60px) scale(0.9); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

.close {
    color: #a8b1ff;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-shadow: 0 0 10px rgba(168, 177, 255, 0.5);
}

.close:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

.modal-content h2 {
    color: #8a9eff;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 28px;
    background: linear-gradient(135deg, #8a9eff, #b6a2ff, #ffa9fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(138, 158, 255, 0.5);
}

/* ===== СТИЛИ ДЛЯ ФОРМЫ ===== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #b6a2ff;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(182, 162, 255, 0.3);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(13, 19, 33, 0.6);
    backdrop-filter: blur(10px);
    color: #e6e9ff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(13, 19, 33, 0.8);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a8b1ff;
    opacity: 0.7;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 0 20px rgba(102, 126, 234, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.submit-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.6),
        0 0 30px rgba(102, 126, 234, 0.5);
}

/* ===== ФУТЕР ===== */
.footer {
    background: linear-gradient(135deg, 
        rgba(13, 19, 33, 0.95) 0%, 
        rgba(26, 35, 58, 0.9) 100%);
    color: #a8b1ff;
    text-align: center;
    padding: 40px 30px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(102, 126, 234, 0.3);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
}

.footer p {
    margin: 8px 0;
    font-size: 15px;
    position: relative;
    z-index: 2;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    body {
        padding: 10px;
        background: radial-gradient(ellipse at center, #0c0e2a 0%, #1a1f3a 100%);
    }
    
    .page-container {
        margin: 0;
        border-radius: 15px;
        min-height: calc(100vh - 20px);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .nav-link {
        text-align: center;
        border-radius: 12px;
    }
    
    .content {
        padding: 30px 20px;
    }
    
    .profile-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-photo {
        width: 200px;
        height: 250px;
    }
    
    .header {
        padding: 30px 20px;
        font-size: 28px;
    }
    
    .profile-title {
        font-size: 30px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .skills-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .skill-tag {
        text-align: center;
    }
    
    .news-item,
    .practice-item,
    .contact-item {
        padding: 25px 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contacts-container {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .modal-content h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 18px;
    }
    
    .submit-btn {
        padding: 16px 30px;
    }
}

@media (min-width: 769px) {
    .profile-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }
    
    .profile-info {
        text-align: left;
    }
}
