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

:root {
    --primary-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    --container-bg: #121212;
    --accent-cyan: #00ffff;
    --accent-magenta: #ff00ff;
    --accent-blue: #0080ff;
    --accent-pink: #ff0080;
    --text-primary: #e0e0e0;
    --text-secondary: #7f8c8d;
    --text-muted: #888;
    --card-bg: rgba(13, 27, 42, 0.8);
    --shadow-glow: 0 0 30px rgba(0, 255, 255, 0.1);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 35px rgba(0, 255, 255, 0.2);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-bg);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ===== СЕМАНТИЧЕСКИЕ ЭЛЕМЕНТЫ ===== */
main, article, section, header, footer, nav {
    display: block;
}

address {
    font-style: normal;
}

time {
    display: inline;
}

/* ===== ОСНОВНАЯ СТРУКТУРА ===== */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--container-bg);
    min-height: 100vh;
    box-shadow: var(--shadow-glow);
}

/* ===== ШАПКА ===== */
.header {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    color: var(--accent-cyan);
    text-align: center;
    padding: 30px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 300;
    letter-spacing: 2px;
}

/* ===== НАВИГАЦИЯ ===== */
.nav {
    background: #0d1b2a;
    padding: 20px 0;
}

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

.nav-link {
    color: var(--accent-cyan);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

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

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

.profile-title {
    font-size: 2em;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.profile-photo {
    width: 220px;
    height: 280px;
    border-radius: var(--border-radius);
    object-fit: cover;
    margin: 20px auto;
    border: 4px solid var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
}

.profile-name {
    font-size: 1.5em;
    color: var(--accent-cyan);
    margin: 10px 0;
    font-weight: 500;
}

.profile-group {
    font-size: 1.125em;
    color: var(--text-secondary);
    margin: 5px 0;
}

.about-me {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.8) 0%, rgba(27, 38, 59, 0.8) 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    border-left: 5px solid var(--accent-cyan);
    line-height: 1.8;
}

.about-me h2 {
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

/* ===== НАВЫКИ ===== */
.skills-section {
    margin: 40px 0;
}

.section-title {
    font-size: 1.75em;
    color: var(--accent-cyan);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.skill-tag {
    background: linear-gradient(135deg, var(--accent-magenta) 0%, var(--accent-cyan) 100%);
    color: #000;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875em;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
    transition: var(--transition);
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.5);
}

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

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--accent-magenta);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.2);
}

.experience-title {
    font-size: 1.25em;
    color: var(--accent-magenta);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.experience-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== НОВОСТИ ===== */
.news-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-main-title {
    font-size: 2em;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.news-grid {
    display: grid;
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-card-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.news-date {
    color: var(--accent-magenta);
    font-weight: bold;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.5em;
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

.news-meta {
    color: var(--text-muted);
    font-size: 0.875em;
    margin-bottom: 15px;
}

.news-author {
    margin-right: 15px;
}

.news-content {
    color: #ccc;
    line-height: 1.7;
}

.news-card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.news-read-more {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.news-read-more:hover {
    color: var(--accent-magenta);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* ===== ТОВАРЫ ===== */
.goods-header {
    text-align: center;
    margin-bottom: 40px;
}

.goods-main-title {
    font-size: 2em;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.goods-subtitle {
    color: var(--text-muted);
    font-size: 1.125em;
    text-align: center;
    margin-top: 10px;
}

.goods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 0, 255, 0.2);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 255, 0.3);
    border-color: var(--accent-cyan);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(0.8) contrast(1.1);
}

.product-card:hover .product-image {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2);
}

.product-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.product-badge {
    background: linear-gradient(135deg, var(--accent-magenta) 0%, var(--accent-cyan) 100%);
    color: #000;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(255, 0, 255, 0.4);
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.375em;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-weight: 600;
}

.product-price {
    font-size: 1.25em;
    color: var(--accent-magenta);
    font-weight: bold;
    margin: 10px 0;
}

.product-description {
    color: #ccc;
    line-height: 1.5;
    margin: 15px 0;
    font-size: 0.875em;
}

.product-btn {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 0.875em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.product-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ===== КОНТАКТЫ ===== */
.contacts-header {
    text-align: center;
    margin-bottom: 40px;
}

.contacts-main-title {
    font-size: 2em;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.contact-title {
    color: var(--accent-cyan);
    font-size: 1.25em;
    margin-bottom: 15px;
}

.contact-detail {
    color: #ccc;
    line-height: 1.6;
}

.contact-detail strong {
    color: var(--accent-cyan);
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-btn {
    border: none;
    border-radius: 15px;
    padding: 15px 30px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 200px;
}

.contact-btn.primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.contact-btn.secondary {
    background: linear-gradient(135deg, var(--accent-magenta) 0%, var(--accent-pink) 100%);
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.5);
}

/* ===== ПРАКТИКИ ===== */
.practices-header {
    text-align: center;
    margin-bottom: 40px;
}

.practices-main-title {
    font-size: 2em;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.practices-subtitle {
    color: var(--text-muted);
    font-size: 1.125em;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.practice-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 0, 255, 0.2);
    transition: var(--transition);
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 0, 255, 0.2);
}

.practice-title {
    color: var(--accent-magenta);
    font-size: 1.375em;
    margin-bottom: 15px;
}

.practice-desc {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.practice-tech {
    color: var(--accent-cyan);
    font-size: 0.875em;
    font-weight: 600;
}

/* ===== ФУТЕР ===== */
.footer {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    color: var(--accent-cyan);
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.3);
    border: 2px solid var(--accent-cyan);
    position: relative;
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.modal-title {
    color: var(--accent-cyan);
    font-size: 1.5em;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.modal-close {
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9em;
}

.modal-btn.primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: #000;
}

.modal-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Модальное окно для товаров */
.product-modal .modal {
    max-width: 600px;
}

.product-modal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid var(--accent-magenta);
}

.product-modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.product-modal-price {
    font-size: 1.5em;
    color: var(--accent-magenta);
    font-weight: bold;
    text-align: center;
    background: rgba(255, 0, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--accent-magenta);
}

.product-modal-features {
    list-style: none;
    padding: 0;
}

.product-modal-features li {
    padding: 5px 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 20px;
}

.product-modal-features li:before {
    content: "✓";
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Модальное окно для контактов */
.contact-modal .modal {
    max-width: 500px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9em;
}

.form-input,
.form-textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 1em;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Кнопки для открытия модальных окон */
.modal-trigger {
    background: linear-gradient(135deg, var(--accent-magenta) 0%, var(--accent-cyan) 100%);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin: 5px;
    font-size: 0.9em;
}

.modal-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.4);
}

.modal-trigger.outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}

.modal-trigger.outline:hover {
    background: rgba(0, 255, 255, 0.1);
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card, .product-card, .contact-card, .practice-card {
    animation: fadeInUp 0.6s ease-out;
}

.news-card:nth-child(2), .product-card:nth-child(2), .contact-card:nth-child(2), .practice-card:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card:nth-child(3), .product-card:nth-child(3), .contact-card:nth-child(3), .practice-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .content {
        padding: 20px;
    }
    
    .profile-photo {
        width: 180px;
        height: 230px;
    }
    
    .skills-container {
        flex-direction: column;
        align-items: center;
    }
    
    .skill-tag {
        width: 200px;
        text-align: center;
    }
    
    .goods-grid,
    .contacts-grid,
    .practices-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .news-card-header,
    .news-card-footer {
        padding: 10px 0;
    }
    
    .goods-subtitle {
        font-size: 1em;
        padding: 0 10px;
    }
    
    .modal {
        padding: 20px;
        margin: 20px;
    }
    
    .product-modal-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2em;
    }
    
    .profile-photo {
        width: 150px;
        height: 200px;
    }
    
    .skill-tag {
        width: 100%;
        max-width: 250px;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .modal {
        padding: 15px;
        margin: 10px;
    }
}

/* ===== МОДАЛЬНЫЕ ОКНА БЕЗ JAVASCRIPT ===== */
.modal-toggle {
    display: none;
}

.modal-toggle:checked ~ .modal-overlay {
    display: flex;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.3);
    border: 2px solid var(--accent-cyan);
    position: relative;
    animation: modalAppear 0.3s ease-out;
    cursor: auto;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.modal-title {
    color: var(--accent-cyan);
    font-size: 1.5em;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.modal-close {
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    color: var(--text-primary);
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    margin-top: 20px;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9em;
}

.modal-btn.primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: #000;
}

.modal-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Форма в модальном окне */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9em;
}

.form-input,
.form-textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 1em;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

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

/* Стили для третьей кнопки */
.contact-btn.outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-btn.outline:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.3);
}

/* Адаптивность для модальных окон */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 20px;
    }
    
    .modal {
        width: 95%;
        margin: 0;
        padding: 20px;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 15px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
}