:root {
    --primary: #1ab248;
    --primary-dark: #188700;
    --text-color: rgba(0, 0, 0, 0.8);
    --text-secondary: rgba(0, 0, 0, 0.6);
    --danger: #e26e63;
    --warning: #ffb330;
    --success: #68c170;
    --info: #49a2ef;
    --help: #ab77df;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

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

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

/* Шапка */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    color: var(--primary);
    font-size: 32px;
    margin-right: 10px;
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-color);
}

.logo-green {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s;
    color: var(--text-color);
}

.nav-menu a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Герой секция */
.hero {
    background: linear-gradient(to right, #188700, #1ab248);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Сервисы */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
    font-size: 36px;
    font-weight: 800;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    border-radius: 50%;
    color: white;
    font-size: 32px;
}

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

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Калькулятор */
.calculator {
    padding: 100px 0;
    background-color: white;
}

.calc-container {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.calc-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

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

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

.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

.calc-result {
    margin-top: 40px;
    padding: 25px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    text-align: center;
    display: none;
}

/* Преимущества */
.advantages {
    padding: 100px 0;
    background-color: var(--primary);
    color: white;
}

.advantages .section-title {
    color: white;
}

.advantages .section-title:after {
    background-color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: white;
}

.advantage-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Отслеживание */
.tracking {
    padding: 100px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.tracking-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.tracking-input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 16px;
}

.tracking-btn {
    padding: 18px 35px;
    background-color: var(--primary);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tracking-btn:hover {
    background-color: var(--primary-dark);
}

/* Футер */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.9;
    transition: opacity 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.8;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

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

/* Адаптивность */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .calc-form {
        grid-template-columns: 1fr;
    }
    
    .calc-container {
        padding: 30px;
    }
    
    .tracking-form {
        flex-direction: column;
    }
    
    .tracking-input {
        border-radius: 8px 8px 0 0;
    }
    
    .tracking-btn {
        border-radius: 0 0 8px 8px;
    }
    
    .services, .calculator, .advantages, .tracking {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 22px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* Тарифы */
.pricing {
    padding: 80px 0;
}

.pricing-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.pricing-filter {
    padding: 12px 25px;
    background-color: white;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s;
    margin: 5px;
}

.pricing-filter.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pricing-filter:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-header {
    background-color: var(--primary);
    color: white;
    padding: 30px;
    text-align: center;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 36px;
    font-weight: 800;
}

.pricing-period {
    font-size: 14px;
    opacity: 0.9;
}

.pricing-features {
    padding: 30px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.pricing-feature i {
    color: var(--primary);
    margin-right: 10px;
}

.pricing-action {
    padding: 0 30px 30px;
    text-align: center;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.faq-item {
    margin-bottom: 20px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

.faq-toggle {
    transition: transform 0.3s;
}

/* CTA */
.cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary);
    color: white;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Футер */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.9;
    transition: opacity 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.8;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

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

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .pricing-filters {
        flex-direction: column;
    }
    
    .pricing-filter {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 22px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Хлебные крошки */
.breadcrumbs {
    padding: 20px 0;
    background-color: var(--bg-light);
}

.breadcrumbs ul {
    display: flex;
    list-style: none;
}

.breadcrumbs li {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.breadcrumbs li:after {
    content: '/';
    margin-left: 10px;
    color: var(--text-secondary);
}

.breadcrumbs li:last-child:after {
    content: '';
    margin-left: 0;
}

.breadcrumbs a {
    color: var(--primary);
}

/* Заголовок страницы */
.page-header {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(to right, #188700, #1ab248);
    color: white;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}