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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== ПРИЛИПАЮЩЕЕ МЕНЮ ==================== */
.sticky-header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    position: relative;
}

.sticky-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: #ff9729;
}

.sticky-header .logo img {
    height: 40px;
}

.nav-desktop a,
.nav-mobile a {
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.nav-desktop a:hover,
.nav-mobile a:hover {
    border-color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

.nav-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.nav-mobile a {
    display: block;
    padding: 16px 20px;
    margin: 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ==================== ГЛАВНЫЙ БАННЕР ==================== */
.hero-bg {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1)), url('/images/background.jpg') center/cover no-repeat;
    text-align: center;
    padding: 140px 20px;
    color: #fff;
}

.hero-bg h1 {
    font-size: 52px;
    margin-bottom: 16px;
}

.hero-bg .subtitle {
    font-size: 24px;
    margin: 16px 0;
    opacity: 0.95;
}

.hero-bg .rating {
    margin: 24px 0;
    font-size: 18px;
    opacity: 0.9;
}

.hero-bg .desc {
    font-size: 19px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.btn-large {
    background: #0066ff;
    padding: 18px 48px;
    border-radius: 14px;
    font-size: 19px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.4);
    background: #0055dd;
}

/* ==================== ВОЗМОЖНОСТИ ==================== */
#features {
    padding: 100px 0;
    background: #000000;
}

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

.feature {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 240px;
    padding: 40px 30px;
    color: #fff;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), center/cover no-repeat;
    transition: transform 0.3s;
}

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

.feature-music   { background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.5)), url('/images/music1.jpeg'); }
.feature-video   { background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.5)), url('/images/video.jpeg'); }
.feature-image   { background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.5)), url('/images/photo.jpeg'); }
.feature-text    { background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.5)), url('/images/write.jpeg'); }
.feature-assistent    { background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.5)), url('/images/assist.jpeg'); }

/* ==================== ГАЛЕРЕЯ ==================== */
.gallery {
    padding: 10px 0;
    background: #000000;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
   	justify-content: center;
}

.gallery img {
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* ==================== ТАРИФЫ ==================== */
.pricing {
    padding: 120px 0;
    background: #000;
}

.pricing h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 70px;
    color: #fff;
}

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

.plan {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)), center/cover no-repeat;
    transition: transform 0.4s;
}

.plan:hover {
    transform: translateY(-15px);
}

.plan-mini   { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1.7)), url('/images/tarif1.jpeg'); }
.plan-opti   { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1.7)), url('/images/tarif2.jpeg'); }
.plan-plus   { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1.7)), url('/images/tarif3.jpeg'); }
.plan-pro    { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1.7)), url('/images/tarif4.jpeg'); }
.plan-pro1    { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1.7)), url('/images/tarif5.jpeg'); }
.plan-pro2    { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1.7)), url('/images/tarif6.jpeg'); }

.plan.popular {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4757;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    z-index: 2;
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin: 20px 0;
}

.price span {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
}

.plan ul {
    flex-grow: 1;
    padding: 20px 0;
    text-align: left;
    list-style: none;
}

.plan ul li {
    padding: 10px 0 10px 30px;
    position: relative;
}

.plan ul li::before {
    padding-left: 10px;
    content: "•";
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
}

.btn-plan {
    margin: 20px;
    margin-top: auto;
    padding: 18px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background: #0066ff;
    transition: all 0.3s;
}

.btn-plan.primary {
    background: #ff4757;
}

.btn-plan:hover {
    transform: scale(1.05);
}

/* ВСЁ ДО ЭТОГО БЛОКА ОСТАЁТСЯ БЕЗ ИЗМЕНЕНИЙ — фон hero, возможности, тарифы и т.д. */
/* (просто скопируй с предыдущего моего сообщения до строки /* ==================== FAQ ==================== */) 

/* ==================== FAQ ==================== */
.faq {
    padding: 100px 0;
    background: #111;
}

.faq h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 60px;
    color: #fff;
}

.faq-list details {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.faq-list summary {
    font-weight: 600;
    font-size: 18px;
    padding: 22px 50px 22px 24px;
    cursor: pointer;
    position: relative;
    list-style: none;
    color: #fff;
    user-select: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-list details[open] summary::after {
    content: "−";
    transform: translateY(-50%) rotate(0deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-list details[open] .faq-content {
    max-height: 500px;
    padding: 0 24px 28px 24px;
}

.faq-content p {
    color: #ddd;
    line-height: 1.7;
}

/* ==================== ОТЗЫВЫ ==================== */
.testimonials {
    padding: 100px 0;
    background: #000000;
}

.testimonials h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 60px;
    color: #fff;
}

.testimonial {
    background: rgba(255, 255, 255, 0.08);
    padding: 32px 28px;
    border-left: 5px solid #0066ff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
    color: #fff;
    backdrop-filter: blur(5px);
}

.testimonial p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.testimonial strong {
    color: #00ccff;
    font-weight: 600;
}

/* ==================== ФУТЕР ==================== */
footer {
    background: #000;
    color: #aaa;
    padding: 80px 20px;
    text-align: center;
}

footer p, footer a { color: #ccc; }
footer a:hover { color: #fff; }

/* ==================== КНОПКА НАВЕРХ ==================== */
#toTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #0066ff;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,102,255,0.4);
}

#toTop.show { opacity: 1; visibility: visible; }
#toTop:hover { background: #0055cc; transform: scale(1.15); }

/* ========================== АДАПТИВ ========================== */

/* --- Большие ноутбуки (до 1440px) --- */
@media (max-width: 1440px) {
    .hero-bg h1 { font-size: 46px; }
    .pricing h2 { font-size: 38px; }
}

/* --- Стандартные ноутбуки (до 1200px) --- */
@media (max-width: 1200px) {
    .container { max-width: 1000px; }
    .hero-bg h1 { font-size: 42px; }
}

/* --- Планшеты (до 1024px) --- */
@media (max-width: 1024px) {
    .container { padding: 0 18px; }
    .hero-bg h1 { font-size: 38px; }
    .hero-bg .subtitle { font-size: 20px; }
    .plans {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

/* --- Малые планшеты (до 768px) --- */
@media (max-width: 768px) {

    /* Меню */
    .nav-desktop { display: none; }
    .nav-toggle { display: block; }

    /* Hero */
    .hero-bg { padding: 90px 16px; }
    .hero-bg h1 { font-size: 32px; line-height: 1.25; }
    .hero-bg .subtitle { font-size: 18px; }
    .hero-bg .desc { font-size: 17px; }

    /* Features */
    .feature { padding: 30px 20px; }

    /* Pricing */
    .pricing { padding: 80px 0; }
    .pricing h2 { font-size: 32px; margin-bottom: 40px; }
    .plans { grid-template-columns: 1fr; }
    .plan {
        min-height: auto;
        padding-bottom: 20px;
    }
    .plan.popular { transform: none; }
    .price { font-size: 38px; }

    /* FAQ */
    .faq h2 { font-size: 32px; }
    .faq-list summary { font-size: 17px; padding: 18px 40px 18px 20px; }
}

/* --- Смартфоны (до 480px) — iPhone 11/12/13/14/XS --- */
@media (max-width: 480px) {

    /* Контейнер */
    .container { padding: 0 14px; }

    /* Хедер */
    .sticky-header .logo span { font-size: 16px; }
    .sticky-header .logo img { height: 34px; }

    /* HERO */
    .hero-bg { padding: 70px 14px; }
    .hero-bg h1 { font-size: 26px; }
    .hero-bg .subtitle { font-size: 16px; }
    .hero-bg .rating { font-size: 14px; }
    .hero-bg .desc { font-size: 16px; }

    .btn-large {
        padding: 16px 26px;
        font-size: 17px;
    }

    /* Features */
    .feature {
        padding: 26px 18px;
        min-height: 160px;
    }
    .feature h3 { font-size: 18px; }
    .feature p { font-size: 15px; }

    /* Pricing */
    .pricing h2 { font-size: 30px; }
    .price { font-size: 32px; }
    .plan ul li { padding: 8px 0 8px 22px; }

    /* FAQ */
    .faq-list summary {
        font-size: 16px;
        padding: 16px 34px 16px 18px;
    }

    /* Reviews */
    .testimonial p { font-size: 16px; }

    /* Button Up */
    #toTop {
        width: 48px;
        height: 48px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

/* --- Маленькие смартфоны (до 360px) --- */
@media (max-width: 360px) {
    .hero-bg h1 { font-size: 22px; }
    .btn-large { font-size: 15px; padding: 14px 22px; }
    .price { font-size: 28px; }
}

.pricing h3 {
    padding: 10px;
}

