/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #2F2F2F;
    overflow-x: hidden;
}

/* ===== COLOR VARIABLES ===== */
:root {
    --primary-bg: #2F2F2F;      /* Графитовый */
    --accent-lime: #C8FF00;      /* Неоновый лайм */
    --secondary-light: #E6E6E6;  /* Светло-серый */
    --heading-white: #FFFFFF;    /* Белый */
    --button-purple: #8A2BE2;    /* Ярко-фиолетовый */
    --gradient-form: linear-gradient(135deg, rgba(200, 255, 0, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    
    /* Дополнительные цвета */
    --dark-overlay: rgba(47, 47, 47, 0.95);
    --lime-glow: rgba(200, 255, 0, 0.3);
    --purple-glow: rgba(138, 43, 226, 0.3);
    --text-muted: rgba(230, 230, 230, 0.8);
}

/* ===== FLUID TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p, li { font-size: clamp(0.9rem, 2vw, 1.1rem); }

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-white);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: var(--button-purple);
    color: white;
    box-shadow: 0 4px 15px var(--purple-glow);
}

.btn-primary:hover {
    background: #9A32F2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--purple-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-lime);
    border: 2px solid var(--accent-lime);
}

.btn-secondary:hover {
    background: var(--accent-lime);
    color: var(--primary-bg);
    box-shadow: 0 4px 15px var(--lime-glow);
}

.text-accent { color: var(--accent-lime); }
.text-center { text-align: center; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 20px var(--lime-glow);
    }
    50% { 
        box-shadow: 0 0 30px var(--lime-glow), 0 0 40px var(--lime-glow);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-glow {
    animation: glow 3s infinite;
}

/* ===== HEADER ===== */
.header {
    background: var(--dark-overlay);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* ===== LOGO SECTION ===== */
.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

.company-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.company-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-white);
    text-decoration: none;
}

.company-subtitle {
    font-size: 0.75rem;
    color: var(--accent-lime);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--heading-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-lime);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-lime);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.phone-link {
    color: var(--accent-lime);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: var(--heading-white);
    text-shadow: 0 0 10px var(--lime-glow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-lime);
    transition: all 0.3s ease;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 80px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1a1a1a 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, var(--lime-glow) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--secondary-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-bg) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-lime);
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--gradient-form);
    border: 1px solid rgba(200, 255, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--lime-glow);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-lime);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-bg);
    font-weight: bold;
}

/* ===== CARD IMAGES ===== */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--gradient-form);
    border: 2px solid rgba(200, 255, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--heading-white);
    font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(200, 255, 0, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--heading-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8FF00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-select option {
    background: var(--primary-bg);
    color: var(--heading-white);
    padding: 0.5rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-lime);
    box-shadow: 0 0 15px var(--lime-glow);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-input {
    min-width: 20px;
    height: 20px;
    margin: 0;
}

.checkbox-label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--secondary-light);
}

.checkbox-label a {
    color: var(--accent-lime);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* ===== FAQ SECTION ===== */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 255, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    color: var(--heading-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(200, 255, 0, 0.1);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--secondary-light);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
    background: var(--gradient-form);
    border: 1px solid rgba(200, 255, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--secondary-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--accent-lime);
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-lime);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: var(--secondary-light);
    margin-bottom: 0.5rem;
}

.footer-links-list,
.services-list {
    list-style: none;
}

.footer-links-list a,
.contact-info a {
    color: var(--secondary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-list a:hover,
.contact-info a:hover {
    color: var(--accent-lime);
}

.footer-bottom {
    border-top: 1px solid rgba(200, 255, 0, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--dark-overlay);
    backdrop-filter: blur(15px);
    border: 2px solid var(--accent-lime);
    border-radius: 12px;
    padding: 1.5rem;
    z-index: 10000;
    max-width: 500px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup h4 {
    color: var(--accent-lime);
    margin-bottom: 0.5rem;
}

.cookie-popup p {
    color: var(--secondary-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-popup a {
    color: var(--accent-lime);
    text-decoration: none;
}

.cookie-popup a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    flex: 1;
    min-width: 120px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        gap: 1rem;
    }
    
    .logo-section {
        gap: 0.5rem;
    }
    
    .company-title {
        font-size: 1.2rem;
    }
    
    .company-subtitle {
        font-size: 0.7rem;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        padding: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
    
    .company-name {
        align-items: flex-start;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .cookie-popup,
    .hero-cta {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section {
        padding: 1rem 0;
        break-inside: avoid;
    }
} 