/* guard.css - строгий стиль для страницы REIGN GUARD */

:root {
    --guard-gold: #fadb0a;
    --guard-dark: #0a0a0a;
    --guard-darker: #000000;
    --guard-steel: #1a1a1a;
    --guard-light: #e0e0e0;
    --guard-border: #333333;
    --guard-text: #cccccc;
}

/* Герой-секция */
.guard-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -60px;
    padding-top: 60px;
    border-bottom: 1px solid var(--guard-border);
}

.guard-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.guard-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.guard-hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
}

.guard-hero-content {
    padding: 40px 0;
    width: 100%;
}

.hero-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-logo-block {
    flex-shrink: 0;
}

.guard-logo-image {
    max-width: 180px;
    height: auto;
    display: block;
}

.hero-title-block {
    flex: 1;
}

.guard-title {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--guard-gold);
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.guard-subtitle {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0;
}

.guard-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--guard-text);
    border-left: 3px solid var(--guard-gold);
    padding-left: 20px;
    width: 100%;
}

/* Основной контент */
.guard-content {
    padding: 60px 0;
    background: var(--guard-darker);
}

/* Общие заголовки секций */
.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    color: var(--guard-gold);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Информационная секция */
.info-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--guard-border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--guard-steel);
    border: 1px solid var(--guard-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.2s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--guard-gold);
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-card h3 {
    color: var(--guard-gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.info-card p {
    color: var(--guard-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.capabilities-title {
    color: var(--guard-gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.capabilities-list li {
    color: var(--guard-text);
    font-size: 1rem;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.capabilities-list li::before {
    content: '•';
    color: var(--guard-gold);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Секция с тарифами */
.pricing-section {
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--guard-border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--guard-steel);
    border: 1px solid var(--guard-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--guard-gold);
}

.pricing-card.featured::before {
    content: '★';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--guard-gold);
    color: var(--guard-darker);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
}

.pricing-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--guard-border);
}

.pricing-tag {
    display: inline-block;
    background: rgba(250, 219, 10, 0.1);
    color: var(--guard-gold);
    padding: 4px 12px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border: 1px solid var(--guard-gold);
    border-radius: 4px;
}

.pricing-header h3 {
    color: #fff;
    font-size: 1.4rem;
    margin: 0;
}

.pricing-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 25px;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--guard-gold);
    line-height: 1;
}

.price-label {
    color: var(--guard-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-equals {
    color: var(--guard-text);
    font-size: 1.5rem;
    margin: 5px 0;
}

.pricing-footer p {
    color: var(--guard-text);
    font-size: 0.9rem;
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid var(--guard-border);
}

/* Секция подключения - центрированная одна колонка */
.setup-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--guard-border);
}

.setup-card.centered {
    max-width: 800px;
    margin: 0 auto;
    background: var(--guard-steel);
    border: 1px solid var(--guard-border);
    border-radius: 20px;
    padding: 30px;
}

.setup-card.centered h3 {
    color: var(--guard-gold);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.setup-card.centered p {
    color: var(--guard-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Пошаговая инструкция */
.steps-block {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.step-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    width: 30px;
    height: 30px;
    background: rgba(250, 219, 10, 0.1);
    border: 1px solid var(--guard-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--guard-gold);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.step-description {
    color: var(--guard-text);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.code-example {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--guard-border);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--guard-gold);
    font-family: monospace;
    font-size: 0.9rem;
    margin-bottom: 10px;
    word-break: break-all;
}

.code-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.hint-label {
    color: #fff;
    font-weight: 500;
    min-width: 90px;
}

.code-hint:last-child {
    margin-bottom: 0;
}

.command-line {
    background: rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--guard-gold);
    padding: 8px 12px;
    color: var(--guard-gold);
    font-family: monospace;
    font-size: 0.9rem;
    margin-bottom: 8px;
    border-radius: 0 4px 4px 0;
}

.command-line:last-child {
    margin-bottom: 0;
}

/* Блок с примечанием */
.note-block {
    display: flex;
    gap: 12px;
    background: rgba(250, 219, 10, 0.05);
    border: 1px solid rgba(250, 219, 10, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-top: 30px;
}

.note-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.note-text {
    color: var(--guard-text);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.note-text strong {
    color: var(--guard-gold);
    font-weight: 600;
}

/* Секция покупки */
.purchase-section {
    text-align: center;
}

.purchase-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    color: var(--guard-gold) !important;
    padding: 15px 40px;
    border: 2px solid var(--guard-gold);
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.purchase-button:hover {
    background: var(--guard-gold);
    color: var(--guard-darker) !important;
}

.purchase-note {
    color: var(--guard-text);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .info-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .capabilities-list {
        grid-template-columns: 1fr;
    }
    
    .hero-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .guard-logo-image {
        max-width: 150px;
    }
    
    .guard-title {
        font-size: 3rem;
    }
    
    .guard-subtitle {
        font-size: 1.4rem;
    }
    
    .setup-card.centered {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .guard-hero-content {
        padding: 30px 0;
    }
    
    .guard-title {
        font-size: 2.5rem;
    }
    
    .guard-subtitle {
        font-size: 1.2rem;
    }
    
    .guard-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .info-card,
    .pricing-card,
    .setup-card.centered {
        padding: 20px;
    }
    
    .card-icon {
        width: 80px;
        height: 80px;
    }
    
    .step-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
    
    .code-hint {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .hint-label {
        min-width: auto;
    }
    
    .purchase-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}