/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0d12;
    color: #eaeaea;
    overflow-x: hidden;
}

/* Фоновая градиентная сфера */
body::before {
    content: "";
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
    z-index: 0;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 80px;
    position: relative;
    z-index: 1;
}

/* Заголовки */
h1, h2 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

/* Навигация */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 13, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 100;
}

nav .logo {
    color: #D4AF37;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 24px;
}

nav a {
    color: #aaa;
    margin-left: 30px;
    text-decoration: none;
    font-size: 15px;
    transition: .3s;
}

nav a:hover {
    color: #D4AF37;
}

/* Hero-секция (улучшена для мобильных) */
.hero {
    padding: min(160px, 30vh) 20px min(20px, 5vh);
    text-align: center;
}

.hero h1 {
    font-size: clamp(32px, 8vw + 1rem, 54px);
    color: #D4AF37;
    margin-bottom: 16px;
    line-height: 1.4;
}

.hero .subtitle {
    font-size: clamp(18px, 4vw + 0.5rem, 24px);
    color: #f0d27a;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero .benefits {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 5vw, 40px);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero .benefit {
    font-size: clamp(16px, 3vw + 0.5rem, 18px);
    color: #9ca3af;
}

.hero .benefit strong {
    color: #D4AF37;
}

/* Мобильные стили для hero */
@media (max-width: 768px) {
    .hero {
        padding: min(120px, 25vh) 15px min(10px, 3vh);
    }
    .hero h1 {
        line-height: 1.3;
    }
    .hero .subtitle {
        line-height: 1.4;
    }
    .hero .benefits {
        gap: 15px;
    }
}

/* Сетка карточек */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
}

/* Карточка */
.card {
    background: linear-gradient(145deg, #111722, #0f141b);
    border-radius: 20px;
    padding: 35px 25px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    transition: all .4s;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card:hover {
    transform: translateY(-12px);
    border-color: #D4AF37;
    box-shadow: 0 25px 70px rgba(212, 175, 55, 0.25);
}

/* Блок логотипа */
.logo-wrap {
    position: relative;
    display: block;
    margin: 0 auto 25px;
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    border-radius: 16px;
    transition: all .4s;
    padding: 4px;
    background: linear-gradient(145deg, #111722, #0f141b);
}

.logo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform .5s ease;
}

.card:hover .logo-wrap {
    padding: 4px;
    background: linear-gradient(90deg, #D4AF37, #f0d27a, #D4AF37);
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.card:hover .logo-wrap img {
    transform: scale(1.06);
}

/* Sweep-эффект (внутри картинки) */
.logo-wrap::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
    transition: left .8s ease;
    opacity: 0;
    pointer-events: none;
    border-radius: 12px;
    z-index: 1;
}

.card:hover .logo-wrap::after {
    left: calc(100% - 8px);
    opacity: 1;
}

/* Badge */
.badge {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #D4AF37;
    color: #000;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 30px;
    font-weight: 700;
}

/* Текст карточки */
.card h3 {
    margin: 15px 0 12px;
    font-size: 28px;
}

.stars {
    color: #D4AF37;
    font-size: 22px;
    margin-bottom: 15px;
}

.bonus {
    font-weight: 600;
    color: #f0d27a;
    font-size: 18px;
    margin-bottom: 25px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.7;
}

.features li {
    margin-bottom: 8px;
}

/* Кнопка */
.btn {
    display: block;
    width: max-content;
    margin: 0 auto;
    padding: 14px 35px;
    border: 1px solid #D4AF37;
    color: #D4AF37;
    text-decoration: none;
    border-radius: 8px;
    transition: .3s;
    font-weight: 600;
    min-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: auto;
}

.btn:hover {
    background: #D4AF37;
    color: #000;
}

/* Секции */
.section {
    margin-top: 10px;
}

.section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: #D4AF37;
}

/* Отзывы (если добавишь) */
.testimonial {
    background: #0f141b;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.testimonial p {
    color: #9ca3af;
    font-style: italic;
}

/* Футер */
footer {
    margin-top: 100px;
    padding: 60px 20px;
    text-align: center;
    background: #0f141b;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    color: #6b7280;
    font-size: 14px;
}