/* public_html/assets/css/style.css */
/* ГСК Управление - Основные стили */

:root {
    --primary: #2c7da0;
    --primary-dark: #1f5e7a;
    --secondary: #1e3c72;
    --dark: #1e293b;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border: #e2e8f0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: justify;
    margin: 22px auto 23px;
    font-size: 1.1rem;
    max-width: 1000px;
    font-weight: 700;
}
/* Стили для ролей */
.role-card {
    transition: all 0.2s;
}

.role-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.role-card h4 i {
    font-size: 1.3rem;
    width: 32px;
    color: #2c7da0;
}

/* Если нужно убрать корону полностью */
.role-card h4 i.fa-crown {
    display: none;
}
/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 10px 23px;
    border-radius: 9px;
    font-size: 20px;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 125, 160, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
    background: none;
}

.nav-links {
    display: flex;
    gap: 13px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 16px 0 40px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e9eef3 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-image {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
}

.hero-image i {
    font-size: 4rem;
    color: var(--primary);
    margin: 0 10px;
}

/* Cards */
/* В CSS уже есть .cards-grid с auto-fit, он автоматически подстроится */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
    transition: all 0.25s;
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* Feature Table */
.feature-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.feature-table th,
.feature-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.feature-table th {
    background: var(--light);
    font-weight: 600;
}

/* Roles */
.roles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.role-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.role-card h4 {
    font-size: 27px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.role-card ul {
    list-style: none;
}

.role-card li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
        font-size: 19px;
}

.role-card li i {
    color: var(--primary);
    width: 20px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-card ul {
    list-style: none;
    margin: 24px 0;
}

.pricing-card li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-card li i {
    color: var(--success);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.2s;
}

.faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--gray);
    border-top: 1px solid var(--border);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--white);
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    background: var(--white);
    padding: 32px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 10001;
    animation: slideIn 0.3s ease;
    display: none;
}

.toast.success {
    background: var(--success);
    color: white;
}

.toast.error {
    background: var(--danger);
    color: white;
}

/* Footer */
footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
        border-bottom: solid 2px;
    padding-bottom: 20px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Логотип */
.logo img {
    display: block;
    max-height: 35px;
    width: auto;
}

.logo a {
    text-decoration: none;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .logo img {
        max-height: 32px;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .nav {
        flex-direction: column;
        gap: 5px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-table th,
    .feature-table td {
        padding: 12px;
        font-size: 18px;
    }
}