/* 
Все стили из оригинального SiteCAS
Этот файл можно подключить отдельно или использовать встроенные стили в header.php
*/

/* Основные переменные цветов */
:root {
    --color-primary: #FE8002;
    --color-bg: #000A19;
    --color-menu: #D6FFFF;
    --color-text: #ADADAD;
    --color-white: #FFFFFF;
    --color-card-bg: #1A2330;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text h1 .highlight {
    color: var(--color-primary);
}

.hero-text p {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #e67302;
    box-shadow: 0 4px 20px rgba(254, 128, 2, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-bg);
}

.hero-image {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, rgba(254, 128, 2, 0.1) 0%, rgba(0, 10, 25, 0.5) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(254, 128, 2, 0.2);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image span {
    font-size: 18px;
    color: var(--color-text);
    position: relative;
    z-index: 1;
}

/* Products Section */
.products {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-text);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.product-card {
    background: var(--color-card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 32px rgba(254, 128, 2, 0.2);
    transform: translateY(-4px);
}

.product-image {
    height: 280px;
    background: linear-gradient(135deg, rgba(254, 128, 2, 0.05) 0%, rgba(0, 10, 25, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 16px;
    border-bottom: 1px solid rgba(254, 128, 2, 0.1);
    flex-shrink: 0;
}

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    flex-shrink: 0;
}

.product-content p {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.6;
    flex-shrink: 0;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex-shrink: 0;
    min-height: 0;
}

.product-spec {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--color-text);
}

.product-spec::before {
    content: '✓';
    color: var(--color-primary);
    margin-right: 8px;
    font-weight: bold;
}

.product-content .btn-small,
.product-content a.btn-small {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
    display: block;
    box-sizing: border-box;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    padding: 32px 24px;
    background: var(--color-card-bg);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 24px rgba(254, 128, 2, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(254, 128, 2, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.5;
}

.features-cta {
    text-align: center;
    margin-top: 48px;
}

/* News/Cases Section */
.news {
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.news-card {
    background: var(--color-card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(254, 128, 2, 0.2);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(254, 128, 2, 0.08) 0%, rgba(0, 10, 25, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 12px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.news-content p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    margin-top: 60px;
    align-items: center;
}

.client-logo {
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    padding: 10px;
    overflow: hidden;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
}

/* Service Section */
.service {
    padding: 100px 0;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

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

.service-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--color-card-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(254, 128, 2, 0.05);
    border-left: 3px solid var(--color-primary);
}

.service-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(254, 128, 2, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-item-icon img {
    width: 24px;
    height: 24px;
}

.service-item-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
}

.service-item-text p {
    font-size: 14px;
    color: var(--color-text);
}

.service-image {
    height: 400px;
    background: linear-gradient(135deg, rgba(254, 128, 2, 0.1) 0%, rgba(0, 10, 25, 0.5) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(254, 128, 2, 0.2);
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image span {
    position: relative;
    z-index: 1;
}

/* Contact Form Section */
.contact {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-card-bg);
    border-radius: 12px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(254, 128, 2, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon img {
    width: 24px;
    height: 24px;
}

.contact-item-text {
    flex: 1;
}

.contact-item-text h4 {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 4px;
}

.contact-item-text p {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
}

.contact-form {
    background: var(--color-card-bg);
    padding: 40px;
    border-radius: 16px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    background: var(--color-bg);
    border: 1px solid rgba(173, 173, 173, 0.2);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.form-checkbox label {
    font-size: 12px;
    color: var(--color-text);
    line-height: 1.5;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
    max-height: 60px;
    object-fit: contain;
}

.footer-logo p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(173, 173, 173, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-text);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(254, 128, 2, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-primary);
}

.social-links img {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-image {
        height: 300px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

