:root {
    --primary: #1a2b49;
    --accent: #00d2c4;
    --accent-hover: #00bfa5;
    --bg-light: #f6f8f9;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --warning: #ff6b6b;
    --shadow: 0 10px 30px rgba(26, 43, 73, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeInUp 0.9s ease forwards;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(0, 210, 196, 0.4), 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    animation: btnGlow 3s infinite alternate;
}

@keyframes btnGlow {
    from {
        box-shadow: 0 0 10px rgba(0, 210, 196, 0.3), 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    to {
        box-shadow: 0 0 25px rgba(0, 210, 196, 0.7), 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 210, 196, 0.6);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #101c33 0%, var(--primary) 100%);
    color: var(--text-light);
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 700px;
}

.hero-triggers {
    margin-top: 25px;
    font-size: 0.95rem;
    opacity: 0.9;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    font-weight: 300;
}

.hero-content-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 350px;
}

.hero-avatar-wrap {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    background: #fff;
}

/* PAIN POINT */
.pain-point {
    background: linear-gradient(180deg, #fff 0%, #fbfcfc 100%);
}

.pain-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 6px solid var(--warning);
}

/* BENEFITS */
.benefits {
    background-color: #eef2f3;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

/* RULES */
.rules {
    background: #fff;
}

.rules-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.rules-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #d9383a;
    font-weight: 800;
}

.rule-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid rgba(217, 56, 58, 0.08);
}

.rule-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--warning);
    border-radius: 15px 15px 0 0;
}

/* FAQ */
.faq {
    background: #f9fbfb;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

details[open] {
    padding-bottom: 25px;
}

summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    margin-top: 15px;
    opacity: 0;
    animation: fadeInFAQ 0.4s ease forwards;
}

@keyframes fadeInFAQ {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER */
.footer-cta {
    background: var(--primary);
    color: #fff;
    text-align: center;
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding-top: 40px;
        padding-bottom: 40px;
        min-height: 100dvh;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 45px 0;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .hero-content-badge {
        margin-bottom: 15px;
        padding: 5px 12px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }

    .hero-triggers {
        margin-top: 15px;
        gap: 15px;
    }

    .hero-card {
        padding: 20px;
        margin-top: 20px;
    }

    .hero-avatar-wrap {
        width: 120px;
        height: 120px;
        border: 4px solid #fff;
    }
}

/* Скрываем картинку в первом блоке на невысоких мобильных экранах, 
   чтобы текст и кнопка гарантированно влезли в 100dvh */
@media (max-width: 992px) and (max-height: 850px) {
    .hero-image-block {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding-top: 70px;
        padding-bottom: 40px;
        min-height: 100dvh;
    }

    .hero-content {
        max-width: 100% !important;
        margin: 0 auto;
    }

    .hero-triggers {
        justify-content: center;
    }

    .hero-image-block {
        margin-top: 40px;
        justify-content: center !important;
    }
}

.marker {
    /* Реалистичный рисунок маркера с ворсинками (SVG) формы классического желтого цвета */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cpath d='M0,30 Q50,25 100,32 L100,68 Q50,75 0,68 Z' fill='%23ffe100' opacity='0.15'/%3E%3Cpath d='M2,35 Q30,28 102,30 L100,50 Q50,45 2,50 Z' fill='%23ffe100' opacity='0.4'/%3E%3Cpath d='M-2,55 Q40,48 98,55 L98,72 Q50,65 -2,70 Z' fill='%23ffe100' opacity='0.4'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0.75em 0.3em;
    margin: 0 -0.1em;
    /* Позволяет фону корректно разрываться на многострочном тексте */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    /* Супер-фишка: смешивание слоёв. Заставляет фон работать как пигментные чернила на бумаге! */
    mix-blend-mode: multiply;
}

/* Направляющая линия из Hero-блока (Эффект "Световой луч") */
.hero::after {
    content: '';
    position: absolute;
    bottom: -40px; /* Выпускаем линию за пределы темного блока вниз */
    left: 50%;
    transform: translateX(-50%);
    width: 2px; /* Толщина линии */
    height: 80px; /* Длина линии */
    /* Градиент: сверху яркий бирюзовый (цвет кнопки), снизу прозрачный */
    background: linear-gradient(to bottom, var(--accent) 0%, rgba(0, 210, 196, 0) 100%);
    z-index: 10;
    
    /* Анимация движения сверху вниз */
    animation: dropLine 2.5s infinite;
}

@keyframes dropLine {
    0% {
        height: 0;
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    50% {
        height: 80px;
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        height: 80px;
        opacity: 0;
        transform: translate(-50%, 40px); /* Смещение вниз при затухании */
    }
}