/* static/css/hero.css */
/*
 * Hero (UPD):
 * - Clean static image for mobile (no breathing animations)
 * - Trust icons layout
 */

/* ─── Hero Section ────────────────────────────────────────── */

.hero-section {
    position: relative;
    overflow: hidden;
}

/* Mobile glow backgrounds */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 1023px) {
    .hero-glow--right {
        top: 10%;
        right: -30%;
        width: 350px;
        height: 350px;
        background: radial-gradient(
            circle,
            rgba(13, 148, 136, 0.12) 0%,
            rgba(139, 92, 246, 0.08) 40%,
            transparent 70%
        );
    }

    .hero-glow--left {
        bottom: 20%;
        left: -20%;
        width: 250px;
        height: 250px;
        background: radial-gradient(
            circle,
            rgba(6, 182, 212, 0.10) 0%,
            transparent 60%
        );
    }
}

@media (min-width: 1024px) {
    .hero-glow { display: none; }
}

.hero-layout {
    position: relative;
    z-index: 10;
    padding: 3rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-layout {
        padding: 4rem 0;
        min-height: 88vh;
    }
}

@media (min-width: 1024px) {
    .hero-layout {
        padding: 5rem 0;
        min-height: 88vh;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* ─── Hero Badge ──────────────────────────────────────────── */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(13, 148, 136, 0.18);
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.06);
}

.hero-badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

/* ─── Hero Title ──────────────────────────────────────────── */

.hero-title {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: none; 
    color: var(--color-text);
    text-wrap: balance;
}

@media (min-width: 768px) {
    .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.6rem;
        line-height: 1.02;
    }
}

@media (min-width: 1280px) {
    .hero-title { font-size: 4.1rem; }
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, #0D9488 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-accent--wave {
    background: linear-gradient(
        90deg,
        #0D9488 0%,
        #06B6D4 22%,
        #8B5CF6 48%,
        #06B6D4 72%,
        #0D9488 100%
    );
    background-size: 220% 100%;
    animation: heroGradientWave 6.5s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── Subtitle ────────────────────────────────────────────── */

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(107, 114, 128, 0.95);
}

@media (min-width: 768px) {
    .hero-subtitle { font-size: 1.125rem; }
}

@media (min-width: 1024px) {
    .hero-subtitle { font-size: 1.25rem; }
}

/* ─── Mobile media ────────────────────────────────────────── */

.hero-mobile-media {
    display: block;
    margin: 0 auto;
    max-width: 520px;
    padding-top: 0.25rem;
    /* Убрана любая плавающая анимация (animate-float) */
}

@media (min-width: 1024px) {
    .hero-mobile-media { display: none; }
}

.hero-mobile-image {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    border: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: var(--shadow-lg);
    background: white;
}

/* ─── Social proof (modern) ───────────────────────────────── */

.hero-proof {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.95rem 1.05rem;

    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(229, 231, 235, 0.85);
    border-radius: 1.25rem;

    text-decoration: none;
    box-shadow: 0 10px 30px -18px rgba(17, 24, 39, 0.25);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-proof:hover {
    border-color: rgba(13, 148, 136, 0.28);
    transform: translateY(-1px);
    box-shadow: 0 18px 45px -24px rgba(17, 24, 39, 0.32);
}

.hero-proof__left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.hero-proof__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.9rem;
    background: rgba(245, 158, 11, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-proof__rating {
    font-family: 'Oswald', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    color: rgba(17, 24, 39, 0.88);
    letter-spacing: 0.01em;
}

.hero-proof__rating-suffix {
    font-size: 0.9rem;
    color: rgba(107, 114, 128, 0.9);
    margin-left: 0.15rem;
}

.hero-proof__meta {
    font-size: 12px;
    color: rgba(107, 114, 128, 0.95);
    margin-top: 0.2rem;
    line-height: 1.35;
}

.hero-proof__right {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.hero-proof__cta {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(13, 148, 136, 0.95);
    white-space: nowrap;
}

.hero-proof__arrow {
    width: 16px;
    height: 16px;
    color: rgba(13, 148, 136, 0.95);
    transition: transform 0.2s ease;
}

.hero-proof:hover .hero-proof__arrow {
    transform: translateX(2px);
}

/* ─── Trust icons ─────────────────────────────────────────── */

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-trust { justify-content: flex-start; }
}

.hero-trust__item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;

    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(229, 231, 235, 0.85);
    border-radius: 9999px;

    color: rgba(17, 24, 39, 0.78);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-trust__icon {
    width: 26px;
    height: 26px;
    border-radius: 0.75rem;
    background: rgba(13, 148, 136, 0.10);
    border: 1px solid rgba(13, 148, 136, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-trust__icon svg {
    width: 14px;
    height: 14px;
    color: var(--color-primary);
}

.hero-trust__label {
    white-space: nowrap;
}

/* ─── Footer note ─────────────────────────────────────────── */

.hero-note {
    font-size: 12px;
    color: rgba(107, 114, 128, 0.95);
    line-height: 1.45;
}

/* ─── DNA Canvas — Desktop only ───────────────────────────── */

.dna-canvas-container {
    position: relative;
    width: 100%;
    height: clamp(380px, 42vw, 520px);
    min-height: 380px;
}

.dna-canvas-container canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform:
        translate(0, 0)
        rotate(35deg)
        scale(1.15)
        translate(-10px, 8px);
    transform-origin: center;
}

.dna-shimmer {
    position: absolute;
    inset: -20%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(13, 148, 136, 0.12),
        rgba(139, 92, 246, 0.08),
        transparent 60%
    );
    filter: blur(40px);
    pointer-events: none;
    mix-blend-mode: soft-light;
    animation: pulse-soft 8s ease-in-out infinite;
    z-index: 0;
}

.dna-glow { display: none; }

@media (max-width: 1023px) {
    .dna-wrapper { display: none !important; }
}

@media (min-width: 1024px) {
    .dna-wrapper {
        position: relative;
        z-index: 1;
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ─── Animations ─────────────────────────────────────────── */

@keyframes heroGradientWave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title-accent--wave {
        animation: none !important;
    }
}