@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.wrapper {
    background: linear-gradient(135deg, #4a3a00 0%, #3a2a00 15%, #1a1a2e 50%, #0f0f1e 100%);
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: radial-gradient(ellipse at 50% 100%, rgba(224, 206, 45, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.container {
    max-width: 1280px;
    width: 92%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav {
    width: auto;
    flex-shrink: 0;
}

header .logo {
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(224, 206, 45, 0.6),
        0 0 60px rgba(224, 206, 45, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, #fff 50%, #f5e663 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

header .logo::before {
    content: 'БЕЛАЯ ШИНА';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    z-index: -1;
}

header .logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e0ce2d, #f5e663, transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(224, 206, 45, 0.5);
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

header nav ul li {
    list-style: none;
    flex-shrink: 0;
}

header nav ul li a {
    color: #fff;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

header nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 500ms;
}

header nav ul li a:hover::before {
    left: 100%;
}

header nav ul li a:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(224, 206, 45, 0.5);
}

header nav ul li.btn a {
    background: linear-gradient(135deg, #e0ce2d 0%, #c4b520 100%);
    color: #1a1a2e;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(224, 206, 45, 0.3);
}

header nav ul li.btn a:hover {
    background: linear-gradient(135deg, #f5e663 0%, #e0ce2d 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(224, 206, 45, 0.4);
}

header nav ul li.active a {
    background: rgba(224, 206, 45, 0.2);
    border-color: rgba(224, 206, 45, 0.6);
    color: #f5e663;
}

.hero {
    padding: 60px 0 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    min-height: 70vh;
}

.hero--info {
    width: 550px;
    padding-top: 20px;
}

.hero--info h2 {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero--info h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #e0ce2d, transparent);
}

.hero--info h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, #f5e663 50%, #e0ce2d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.hero--info p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 480px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero--info button.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e0ce2d 0%, #c4b520 100%);
    color: #1a1a2e;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(224, 206, 45, 0.35);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.hero--info button.btn::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 300ms;
}

.hero--info button.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(224, 206, 45, 0.5);
}

.hero--info button.btn:hover::after {
    transform: translateX(5px);
}

.hero img {
    max-width: 480px;
    width: 42%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
    position: relative;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(2deg);
    }
}

.features {
    padding: 100px 0 80px;
    position: relative;
    z-index: 1;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.features-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 70px;
    background: linear-gradient(135deg, #fff 0%, #f5e663 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e0ce2d, #f5e663, #e0ce2d);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e0ce2d, #f5e663, #e0ce2d);
    transform: scaleX(0);
    transition: transform 400ms;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(224, 206, 45, 0.3);
    background: rgba(0, 0, 0, 0.35);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.feature-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(15, 15, 30, 0.8), transparent);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-image img {
    transform: scale(1.15);
}

.feature-content {
    padding: 30px;
    position: relative;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f5e663;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature-link {
    color: #f5e663;
    text-decoration: none;
    transition: all 300ms;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feature-link::after {
    content: '↓';
    font-size: 0.8rem;
    opacity: 0.7;
    transition: transform 300ms;
}

.feature-link:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(245, 230, 99, 0.5);
}

.feature-link:hover::after {
    transform: translateY(3px);
}

.feature-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.discounts {
    padding: 80px 0 140px;
    position: relative;
    z-index: 1;
}

.discounts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.discounts-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 70px;
    background: linear-gradient(135deg, #f5e663 0%, #fff 50%, #f5e663 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.discounts-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #e0ce2d, #fff, #e0ce2d);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(224, 206, 45, 0.5);
}

.discounts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.discount-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.discount-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e0ce2d, #f5e663, #e0ce2d);
    transform: scaleX(0);
    transition: transform 400ms;
}

.discount-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(224, 206, 45, 0.4);
    background: rgba(0, 0, 0, 0.4);
}

.discount-card:hover::before {
    transform: scaleX(1);
}

.discount-card.highlight {
    background: linear-gradient(135deg, rgba(224, 206, 45, 0.2) 0%, rgba(245, 230, 99, 0.15) 100%);
    border-color: rgba(224, 206, 45, 0.5);
    transform: scale(1.05);
}

.discount-card.highlight:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 30px 60px rgba(224, 206, 45, 0.3);
}

.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e0ce2d 0%, #c4b520 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a2e;
    box-shadow: 0 5px 20px rgba(224, 206, 45, 0.4);
}

.discount-badge.big {
    width: 80px;
    height: 80px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
    box-shadow: 0 5px 25px rgba(238, 90, 90, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.discount-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    padding-right: 70px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.discount-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.discount-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.discount-card ul li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.discount-card ul li:last-child {
    border-bottom: none;
}

.discount-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e0ce2d;
    font-weight: 700;
}

.discount-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #e0ce2d 0%, #c4b520 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 300ms;
    font-family: 'Poppins', sans-serif;
}

.discount-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(224, 206, 45, 0.4);
}

.pricing {
    padding: 80px 0 100px;
    position: relative;
    z-index: 1;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.pricing-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #f5e663 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.pricing-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e0ce2d, #f5e663, #e0ce2d);
    border-radius: 2px;
}

.pricing-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 50px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pricing-table {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 25px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    transition: all 300ms;
}

.pricing-table:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(224, 206, 45, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pricing-table-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #f5e663;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(224, 206, 45, 0.3);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th {
    text-align: left;
    padding: 10px 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table td {
    padding: 10px 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table td:last-child,
.pricing-table th:last-child {
    text-align: right;
    color: #f5e663;
    font-weight: 600;
}

.pricing-table td:first-child {
    font-weight: 500;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 300ms ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    border: 1px solid rgba(224, 206, 45, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: all 300ms ease;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: all 200ms;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #f5e663 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 5px;
}

.form-group input {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 200ms;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
    border-color: #e0ce2d;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 20px rgba(224, 206, 45, 0.15);
}

.modal-submit {
    margin-top: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #e0ce2d 0%, #c4b520 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 300ms;
    font-family: 'Poppins', sans-serif;
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(224, 206, 45, 0.4);
}

@media (max-width: 1024px) {
    .features-grid,
    .discounts-grid,
    .pricing-tables {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .discount-card.highlight {
        transform: scale(1);
        grid-column: 1 / -1;
    }
    
    .pricing-table:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero {
        gap: 40px;
    }
    
    .hero--info h1 {
        font-size: 2.8rem;
    }
    
    header nav ul li a {
        padding: 9px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .discounts-grid,
    .pricing-tables {
        grid-template-columns: 1fr;
    }
    
    .discount-card.highlight {
        transform: scale(1);
        order: -1;
    }
    
    .pricing-table:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero--info {
        width: 100%;
        order: 2;
    }
    
    .hero--info h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero--info h1 {
        font-size: 2.3rem;
    }
    
    .hero--info p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero img {
        width: 70%;
        max-width: 350px;
        order: 1;
        margin-top: 0;
        margin-bottom: 30px;
    }
    
    header nav ul {
        gap: 6px;
    }
    
    header nav ul li a {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .features-title,
    .discounts-title,
    .pricing-title {
        font-size: 1.8rem;
    }
    
    .discount-card,
    .pricing-table {
        padding: 30px 20px;
    }
    
    .modal-content {
        padding: 30px 25px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        gap: 25px;
        padding: 30px 0;
    }
    
    header nav {
        width: 100%;
    }
    
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    header .logo {
        font-size: 26px;
    }
    
    .hero--info h1 {
        font-size: 1.9rem;
    }
    
    .hero--info button.btn {
        padding: 16px 28px;
        font-size: 0.95rem;
    }
    
    .discount-badge {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
    
    .discount-badge.big {
        width: 65px;
        height: 65px;
        font-size: 1.1rem;
    }
    
    .form-group input {
        padding: 12px 15px;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e0ce2d 0%, #c4b520 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(224, 206, 45, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-shadow: 0 0 0 #1a1a2e;
    -webkit-text-stroke: 1px #1a1a2e;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(224, 206, 45, 0.6);
    background: linear-gradient(135deg, #f5e663 0%, #e0ce2d 100%);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 24px;
        -webkit-text-stroke: 0.8px #1a1a2e;
    }
}