/* Базовые сбросы и настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* Улучшение контрастности для доступности */
@media (prefers-contrast: high) {
    body {
        background-color: #000000;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Типография */
h1, h2, h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    color: #ff6b00;
}

/* Секции */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #b0b0b0;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid #222;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo span {
    color: #ff6b00;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #ff6b00;
    background-color: rgba(255, 107, 0, 0.1);
}

.nav-button {
    background-color: #ff6b00;
    color: #0a0a0a !important;
    margin-left: 10px;
    font-weight: 600;
    border: 2px solid #ff6b00;
}

.nav-button:hover {
    background-color: #ff8533;
    border-color: #ff8533;
    color: #0a0a0a !important;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

/* Главный экран */
.hero {
    background: #0a0a0a;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.5;
    filter: grayscale(15%) brightness(0.9);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.6) 0%,
        rgba(26, 26, 26, 0.4) 50%,
        rgba(10, 10, 10, 0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
}

.badge {
    display: inline-block;
    background: linear-gradient(90deg, #ff6b00, #ff8533);
    color: #0a0a0a;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3); }
    50% { box-shadow: 0 5px 25px rgba(255, 107, 0, 0.5); }
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: #ff6b00;
    color: #0a0a0a;
}

.btn-primary:hover {
    background-color: #ff8533;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ff6b00;
    border: 2px solid #ff6b00;
}

.btn-secondary:hover {
    background-color: rgba(255, 107, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    border: 1px solid #222;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    color: #ff6b00;
    font-size: 1.2rem;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ff6b00;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 10;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-down:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-15px) translateX(-50%);}
    60% {transform: translateY(-7px) translateX(-50%);}
}

/* Блок: Что вы получаете */
.benefits {
    background-color: #111111;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #222;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: #ff6b00;
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.1);
}

.benefit-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: #222;
    line-height: 1;
    z-index: 1;
}

.benefit-icon {
    font-size: 3rem;
    color: #ff6b00;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.benefit-card p {
    color: #b0b0b0;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

/* Услуги - ИСПРАВЛЕНА АДАПТИВНОСТЬ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #222;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #ff6b00;
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.1);
}

.service-card.featured {
    border: 2px solid #ff6b00;
    position: relative;
}

.service-card.featured::before {
    content: 'Популярно';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b00;
    color: #0a0a0a;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    color: #ff6b00;
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-tag {
    background-color: rgba(255, 107, 0, 0.1);
    color: #ff6b00;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block; /* Меняем с inline-block на block */
    font-weight: 700;
    font-size: 0.95rem;
    margin: 10px auto 20px; /* auto слева и справа для центрирования */
    border: 1px solid rgba(255, 107, 0, 0.3);
    text-align: center;
    max-width: fit-content; /* Ширина по контенту */
    width: auto;
    white-space: normal; /* Разрешаем перенос */
    word-break: break-word;
}

/* Для мобильных */
@media (max-width: 768px) {
    .price-tag {
        font-size: 0.9rem;
        padding: 6px 12px;
        max-width: 90%;
    }
}

.service-description {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-description > p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
    min-height: 60px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-features li {
    padding: 10px 0;
    border-bottom: 1px solid #222;
    color: #b0b0b0;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.service-features li:before {
    content: "✓";
    color: #ff6b00;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 10px;
}

.btn-small {
    padding: 12px 25px !important;
    font-size: 0.9rem !important;
    margin-top: auto;
    align-self: center;
    width: 100%;
    max-width: 200px;
}

.footnote {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 30px;
    font-style: italic;
}

/* Процесс */
.process {
    background-color: #111111;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: #ff6b00;
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
    line-height: 1;
    margin-bottom: 15px;
}

.step h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.step p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Контакты */
.contact-cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #1a1a1a;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b00;
    border: 1px solid #222;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.1);
    border-color: #ff6b00;
}

.cta-button.phone {
    border-left-color: #25D366;
}

.cta-button.telegram {
    border-left-color: #0088cc;
}

.cta-button.email {
    border-left-color: #EA4335;
}

.cta-button i {
    font-size: 2rem;
    min-width: 40px;
}

.cta-button.phone i { color: #25D366; }
.cta-button.telegram i { color: #0088cc; }
.cta-button.email i { color: #EA4335; }

.cta-button div {
    display: flex;
    flex-direction: column;
}

.cta-button span {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.cta-button strong {
    font-size: 1.2rem;
    margin-top: 5px;
    color: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    background-color: rgba(255, 107, 0, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ff6b00;
    border: 1px solid rgba(255, 107, 0, 0.3);
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #ffffff;
}

.contact-item a, .contact-item p {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.contact-item a:hover {
    color: #ff6b00;
}

.contact-form {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #222;
}

.contact-form h3 {
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-form > p {
    color: #b0b0b0;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #333;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #222;
    color: #ffffff;
    appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    background-color: #1a1a1a;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ff6b00' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    padding-right: 50px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-group label {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #ff6b00;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 17px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Футер */
.footer {
    background-color: #050505;
    color: #666;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #222;
}

.footer p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b00;
}

/* Анимации для появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeInUp 0.6s ease forwards;
}

/* Кастомный курсор - только для десктопов */
@media (pointer: fine) {
    .cursor-dot,
    .cursor-outline {
        pointer-events: none;
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50%;
        opacity: 0;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: #ff6b00;
        z-index: 10000;
    }

    .cursor-outline {
        width: 40px;
        height: 40px;
        background-color: rgba(255, 107, 0, 0.1);
        border: 2px solid rgba(255, 107, 0, 0.3);
        box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
    }

    body, a, button, .btn, input, textarea {
        cursor: none !important;
    }
}

/* На сенсорных устройствах скрываем кастомный курсор */
@media (pointer: coarse) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
    
    body, a, button, .btn, input, textarea {
        cursor: auto !important;
    }
}

/* Фоны для секций */
.contacts {
    position: relative;
}

.contacts-bg,
.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contacts-bg img,
.services-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(15%) brightness(0.9);
}

.contacts-overlay,
.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.6);
    z-index: 2;
}

.contacts .container,
.services .container {
    position: relative;
    z-index: 3;
}

/* АДАПТИВНОСТЬ - ИСПРАВЛЕНА ПРОБЛЕМА С ПЛАНШЕТАМИ */

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.4rem;
    }
    
    .hero-title {
        font-size: 2.7rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .benefit-number {
        font-size: 3rem;
    }
    
    .contact-cta {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Мобильные и планшеты (до 768px) */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
        min-height: auto;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Навигация */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        max-width: 320px;
        height: calc(100vh - 70px);
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        padding: 40px 30px 30px;
        transition: right 0.4s ease;
        align-items: stretch;
        border-left: 1px solid #222;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #333;
        text-align: left;
        font-size: 1.1rem;
    }
    
    .nav-button {
        margin: 20px 0 0 0;
        text-align: center;
        padding: 15px;
        width: 100%;
    }
    
    .hamburger {
        display: block;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 6px 15px;
        margin-top: 20px !important;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 25px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }
    
    .feature {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 10px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-cta {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-button {
        padding: 20px;
    }
    
    .cta-button strong {
        font-size: 1.1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .service-card,
    .benefit-card,
    .step {
        padding: 30px 20px;
    }
    
    .scroll-down {
        bottom: 20px;
        font-size: 1.3rem;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        min-height: auto;
    }
    
    .price-tag {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .contact-info {
        gap: 25px;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .footer {
        padding: 25px 0;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .service-features li {
        font-size: 0.9rem;
    }
}

/* СТРАНИЦА СПАСИБО */
.thanks-page {
    background-color: #0a0a0a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.thanks-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px - 100px); /* Высота экрана минус навбар и футер */
    padding: 40px 0;
    position: relative;
}

.thanks-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.thanks-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(30%) brightness(0.7);
}

.thanks-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(26,26,26,0.8) 100%);
    z-index: 2;
}

.thanks-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin: 0 auto;
}

.thanks-card {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 107, 0, 0.2);
    animation: fadeInUp 0.6s ease forwards;
}

.thanks-icon {
    font-size: 5rem;
    color: #ff6b00;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease 0.2s both;
}

.thanks-card h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #ff6b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thanks-message {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.thanks-details {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
    border: 1px solid #333;
}

.thanks-details p {
    margin-bottom: 15px;
    color: #b0b0b0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.thanks-details p:last-child {
    margin-bottom: 0;
}

.thanks-details i {
    color: #ff6b00;
    width: 24px;
    font-size: 1.1rem;
}

.thanks-details a {
    color: #ff6b00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.thanks-details a:hover {
    color: #ff8533;
    text-decoration: underline;
}

.thanks-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.thanks-autoredirect {
    color: #666;
    font-size: 0.9rem;
    margin-top: 15px;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Адаптивность для страницы "Спасибо" */
@media (max-width: 768px) {
    .thanks-card {
        padding: 30px 20px;
    }
    
    .thanks-icon {
        font-size: 4rem;
    }
    
    .thanks-card h1 {
        font-size: 2rem;
    }
    
    .thanks-message {
        font-size: 1.1rem;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .thanks-card h1 {
        font-size: 1.8rem;
    }
    
    .thanks-message {
        font-size: 1rem;
    }
    
    .thanks-details {
        padding: 15px;
    }
}

/* Для красивой анимации появления */
.thanks-section .thanks-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.thanks-footer {
    margin-top: auto;
}

/* Убираем кастомный курсор на сенсорных устройствах */
@media (pointer: coarse) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* ИСПРАВЛЕНИЕ ДЛЯ ГОРИЗОНТАЛЬНОЙ ОРИЕНТАЦИИ НА ТЕЛЕФОНАХ */
@media (max-width: 896px) and (orientation: landscape) {
    /* Уменьшаем отступы */
    .nav-container {
        padding: 0 10px;
    }
    
    /* Уменьшаем логотип */
    .logo {
        font-size: 1.4rem;
    }
    
    /* Исправляем кнопку в меню */
    .nav-button {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
        white-space: nowrap; /* Запрещаем перенос текста */
        display: inline-flex;
        align-items: center;
        gap: 5px;
        min-width: auto;
    }
    
    .nav-button i {
        margin-right: 3px;
        font-size: 0.9rem;
    }
    
    /* Уменьшаем пункты меню */
    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    /* Сдвигаем меню чуть левее */
    .nav-menu {
        gap: 5px;
    }
    
    /* Для мобильного меню в горизонтальном режиме */
    .nav-menu.active {
        max-width: 280px;
        padding: 30px 20px;
    }
    
    .nav-menu.active .nav-link {
        padding: 12px 0;
        font-size: 1rem;
    }
    
    .nav-menu.active .nav-button {
        white-space: normal; /* В открытом меню можно переносить */
        justify-content: center;
        padding: 12px !important;
    }
}

/* ДОПОЛНИТЕЛЬНО: Для очень узких экранов */
@media (max-width: 480px) {
    .nav-button span {
        display: none; /* Прячем текст на очень маленьких */
    }
    
    .nav-button i {
        margin-right: 0;
        font-size: 1.2rem;
    }
    
    .nav-button {
        padding: 8px 12px !important;
    }
}

/* ДЛЯ ПЛАНШЕТОВ (вертикальных и горизонтальных) */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.95rem;
    }
    
    /* Кнопка в планшетном меню */
    .nav-button {
        padding: 8px 15px !important;
        font-size: 0.9rem !important;
        white-space: nowrap;
    }
}

/* ДЛЯ ПЛАНШЕТОВ В ГОРИЗОНТАЛЬНОЙ ОРИЕНТАЦИИ */
@media (min-width: 1024px) and (max-width: 1280px) and (orientation: landscape) {
    .nav-link {
        padding: 8px 15px;
    }
    
    .nav-button {
        padding: 8px 18px !important;
    }
}

/* УНИВЕРСАЛЬНОЕ РЕШЕНИЕ ДЛЯ КНОПКИ */
.nav-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    white-space: nowrap;
    min-width: 130px; /* Фиксируем минимальную ширину */
}

.nav-button i {
    flex-shrink: 0; /* Запрещаем иконке сжиматься */
}

/* АЛЬТЕРНАТИВНЫЙ ВАРИАНТ: Если хочешь совсем убрать текст на телефонах */
@media (max-width: 600px) {
    .nav-button .text {
        display: none; /* Прячем текст */
    }
    
    .nav-button i {
        font-size: 1.3rem;
        margin: 0;
    }
    
    .nav-button {
        min-width: auto;
        padding: 10px 15px !important;
        border-radius: 50px;
    }
}

/* ИСПРАВЛЕНИЕ КНОПОК НА СТРАНИЦЕ THANKS ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .thanks-actions {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .thanks-actions .btn {
        width: 100% !important;
        max-width: 280px !important; /* Ограничиваем максимальную ширину */
        padding: 12px 20px !important; /* Уменьшаем padding */
        font-size: 0.95rem !important; /* Чуть меньше шрифт */
        margin: 0 auto !important;
        white-space: nowrap !important; /* Запрещаем перенос текста */
    }
    
    /* Для очень маленьких экранов */
    @media (max-width: 480px) {
        .thanks-actions .btn {
            max-width: 240px !important;
            padding: 10px 15px !important;
            font-size: 0.9rem !important;
        }
        
        /* Если кнопки все еще большие, можно уменьшить иконки */
        .thanks-actions .btn i {
            font-size: 1rem !important;
            margin-right: 5px !important;
        }
    }
}

/* Для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .thanks-actions .btn {
        padding: 12px 25px !important;
        font-size: 1rem !important;
    }
}

/* Улучшаем саму карточку на мобильных */
@media (max-width: 768px) {
    .thanks-card {
        padding: 30px 20px !important;
        margin: 0 15px !important;
    }
    
    .thanks-card h1 {
        font-size: 2rem !important;
    }
    
    .thanks-message {
        font-size: 1rem !important;
    }
    
    .thanks-details {
        padding: 15px !important;
    }
    
    .thanks-details p {
        font-size: 0.9rem !important;
        flex-wrap: wrap !important; /* Если совсем узко - переносим */
    }
    
    .thanks-details i {
        width: 20px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .thanks-card {
        padding: 25px 15px !important;
    }
    
    .thanks-card h1 {
        font-size: 1.8rem !important;
    }
    
    .thanks-details p {
        font-size: 0.85rem !important;
    }
    
    .thanks-autoredirect {
        font-size: 0.8rem !important;
    }
}

/* Если навигация на странице thanks тоже большая */
.thanks-page .navbar .btn {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
}

@media (max-width: 768px) {
    .thanks-page .navbar .btn {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
    }
    
    .thanks-page .logo {
        font-size: 1.4rem !important;
    }
}