/*
Theme Name: АКПП Курган
Theme URI: https://akpp45.ru
Author: AKPP45 Team
Description: Технологичный кибер-дизайн для ремонта АКПП
Version: 5.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akpp45
*/

/* ================================================================== */
/* CSS VARIABLES & RESET */
/* ================================================================== */
:root {
    --bg-primary: #0a0f1c;
    --bg-secondary: #111827;
    --bg-card: rgba(26, 35, 50, 0.6);
    --accent: #00ff88;
    --accent-dark: #00cc6a;
    --accent-glow: rgba(0, 255, 136, 0.3);
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.10);
    --border-accent: rgba(0, 255, 136, 0.28);
    --accent-2: #41d2e2;
    --accent-3: #f5b544;
    --bg-elevated: #0e1524;
    --surface-1: #131b2c;
    --surface-2: #1a2438;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Unbounded', 'Inter', sans-serif;
    --glow: 0 0 20px rgba(0, 255, 136, 0.3);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Circuit Board Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* ================================================================== */
/* TYPOGRAPHY */
/* ================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-dark);
}

/* ================================================================== */
/* HERO SECTION */
/* ================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 24px;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    animation: glowPulse 3s ease-in-out infinite;
}

.hero-title .highlight {
    color: var(--accent);
    display: block;
    text-shadow: 0 0 40px rgba(0, 255, 136, 0.6);
}

.hero-description {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.badge {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================================== */
/* SECTIONS */
/* ================================================================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 42px;
    margin-bottom: 60px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* ================================================================== */
/* SERVICES SECTION */
/* ================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 24px;
    display: inline-flex;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ================================================================== */
/* PRICING SECTION */
/* ================================================================== */
.pricing-section {
    background: var(--bg-secondary);
}

.pricing-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pricing-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: rgba(0, 255, 136, 0.1);
    padding: 20px;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 2px solid var(--accent);
}

.col-service {
    color: var(--text-main);
}

.col-price {
    text-align: center;
    color: var(--accent);
}

.col-price.premium {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.col-price.vip {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row:hover {
    background: rgba(0, 255, 136, 0.05);
}

/* ================================================================== */
/* WORKFLOW SECTION */
/* ================================================================== */
.workflow-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.workflow-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.step-label {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}

.workflow-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--border) 0%, var(--accent) 50%, var(--border) 100%);
    margin: 0 10px;
    position: relative;
}

.workflow-line::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 20px;
}

/* ================================================================== */
/* CONTACTS SECTION */
/* ================================================================== */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
}

.contact-info a {
    color: var(--text-main);
}

.contact-info a:hover {
    color: var(--accent);
}

/* ================================================================== */
/* BUTTONS */
/* ================================================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: var(--glow);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    color: var(--bg-primary);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.6);
    }
}

/* ================================================================== */
/* RESPONSIVE DESIGN */
/* ================================================================== */
@media (max-width: 1024px) {
    .pricing-header,
    .pricing-row {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .pricing-header .col-price:last-child,
    .pricing-row .col-price:last-child {
        display: none;
    }
    
    .workflow-timeline {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .workflow-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-header,
    .pricing-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .pricing-header .col-price,
    .pricing-row .col-price {
        text-align: center;
    }
    
    .workflow-step {
        width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: stretch;
    }
    
    .badge {
        text-align: center;
    }
}

/* ================================================================== */
/* UTILITY CLASSES */
/* ================================================================== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
/* === SITE-REFRESH-TYPE: дисплейная типографика + базовые утилиты === */
body{ font-family: var(--font); }
.hero-title, .section-title{ font-family: var(--font-display); }
.hero-title{ line-height: 1.08; letter-spacing: -0.5px; }
.section-title{ line-height: 1.16; letter-spacing: -0.3px; }
.eyebrow{ display:inline-block; text-transform:uppercase; letter-spacing:2px; font-size:12px; font-weight:700; color:var(--accent); margin-bottom:14px; }
::selection{ background:rgba(0,255,136,.28); color:#fff; }
