:root {
    --color-primary: #9DC62D;
    /* Lime Green */
    --color-primary-dark: #7da01f;
    --color-accent: #FF8500;
    /* Orange CTA */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg-light: #F5F7FA;
    --color-white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
.btn {
    font-family: 'Raleway', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

.section {
    padding: 60px 0;
}

.section--gray {
    background-color: var(--color-bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.text-accent {
    color: var(--color-primary);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 133, 0, 0.4);
}

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

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

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

.btn--block {
    display: block;
    width: 100%;
}

.btn--lg {
    padding: 18px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Header */
.header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo img {
    height: 80px;
}

.header__nav {
    display: flex;
    gap: 30px;
}

.header__link {
    font-weight: 500;
}

.header__link:hover {
    color: var(--color-primary);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__phone {
    font-weight: 700;
    font-size: 1.1rem;
}

.header__burger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.header__burger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
}

/* Hero */
.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #fdfdfd 0%, #f0f8e0 100%);
}

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

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.hero__features ul li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

/* Calculator */
.calculator {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #e0e0e0;
}

.calculator__title {
    margin-bottom: 30px;
}

.calculator__input-group {
    margin-bottom: 30px;
}

.calculator__input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

input[type=range] {
    width: 100%;
    margin: 15px 0;
    accent-color: var(--color-primary);
}

.calculator__limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.calculator__summary {
    background: var(--color-bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.calculator__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.calculator__row.total {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
}

.calc-val {
    font-weight: 700;
}

.calculator__integrations {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.calculator__socials {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.btn-social {
    background: #eee;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    color: #555;
    font-weight: 600;
    cursor: pointer;
}

/* Features */
.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Steps */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-item__num {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

/* Footer */
.footer {
    background: #222;
    color: #ccc;
    padding: 60px 0;
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer__logo {
    height: 90px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.footer__col h3 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col p {
    margin-bottom: 10px;
}

/* SEO Links Grid */
.section--light-gray {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.seo-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    font-size: 0.9rem;
}

.seo-links__col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
}

.seo-links__col ul li {
    margin-bottom: 10px;
}

.seo-links__col ul li a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: 0.2s;
}

.seo-links__col ul li a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Info Section */
.info__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info__block {
    background: #fdfdfd;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.info__block h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--color-text);
}

.info__block p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.info__block ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.info__block.full-width {
    grid-column: span 2;
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 80px;
    /* Header height */
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    /* Full height minus header */
    background: white;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 20px;
    border-top: 1px solid #eee;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-menu__link {
    font-size: 1.2rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu__phone {
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

/* Update Burger to animate */
.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

body.no-scroll {
    overflow: hidden;
}

/* Offers Grid */
.offers {
    padding-bottom: 20px;
}

.offers__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.offer-card {
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.offer-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    color: #333;
}

.offer-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.4;
}

.offer-card__bg-icon {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 8rem;
    opacity: 0.15;
    transform: rotate(-10deg);
    pointer-events: none;
}

.btn--dark {
    background: #333;
    color: white;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 6px;
}

/* Card Specifics */
.offer-card--auto {
    grid-column: span 3;
    background: linear-gradient(135deg, #e3f5e3 0%, #c4e8c4 100%);
}

.offer-card--telegram {
    grid-column: span 3;
    background: linear-gradient(135deg, #e0f2fe 0%, #bce6fd 100%);
}

.offer-card--friend {
    grid-column: span 2;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.offer-card--promo {
    grid-column: span 2;
    background: linear-gradient(135deg, #ecfccb 0%, #d9f99d 100%);
}

.offer-card--app {
    grid-column: span 2;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}

.tag--orange {
    display: inline-block;
    background: #FF8500;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.app-badges {
    display: flex;
    gap: 8px;
}

.app-badges span {
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .offers__grid {
        grid-template-columns: 1fr;
    }

    .offer-card--auto,
    .offer-card--telegram,
    .offer-card--friend,
    .offer-card--promo,
    .offer-card--app {
        grid-column: span 1;
        min-height: 160px;
    }

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

    .info__block.full-width {
        grid-column: span 1;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__features {
        display: inline-block;
        text-align: left;
    }

    .features__grid,
    .steps__grid,
    .footer__container {
        grid-template-columns: 1fr;
    }

    .header__nav,
    .header__actions {
        display: none;
    }

    .header__burger {
        display: flex;
    }
}