/* AssiSeek — главная страница */

/* ── Hero ── */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 1.5rem 1rem 2.5rem;
}

@media (min-width: 768px) {
    .hero {
        min-height: 88vh;
        padding: 4rem 2rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.28);
    border-radius: 100px;
    padding: 0.35rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #a5b4fc;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .hero-badge {
        padding: 0.45rem 1.1rem;
        font-size: 0.78rem;
        margin-bottom: 1.5rem;
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 45%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 576px) {
    .hero-title { font-size: 2.5rem; }
}

@media (min-width: 992px) {
    .hero-title { font-size: 3.4rem; }
}

.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 1.75rem;
    line-height: 1.6;
    max-width: 520px;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.08rem;
        margin-bottom: 2.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.hero-stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.hero-stat-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.48);
    display: block;
    margin-top: 0.1rem;
}

.hero-image {
    position: relative;
    margin-top: 2rem;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-image { margin-top: 0; }
}

.hero-image img {
    max-width: 82%;
    height: auto;
    animation: float-image 4s ease-in-out infinite;
}

@media (min-width: 768px) {
    .hero-image img { max-width: 100%; }
}

@keyframes float-image {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.floating-card {
    display: none;
}

@media (min-width: 1200px) {
    .floating-card {
        display: flex;
        position: absolute;
        background: rgba(18, 18, 32, 0.92);
        backdrop-filter: blur(14px);
        border-radius: 16px;
        padding: 0.75rem 1.1rem;
        align-items: center;
        gap: 0.7rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        animation: float-card 3s ease-in-out infinite;
        font-size: 0.85rem;
        white-space: nowrap;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

    .floating-card-1 { top: 10%; right: -8%; animation-delay: 0s; }
    .floating-card-2 { bottom: 22%; left: -8%; animation-delay: 1.5s; }
    .floating-card-3 { top: 68%; right: -8%; animation-delay: 2s; }
    .floating-card-4 { top: 8%; right: 48%; animation-delay: 3s; }

    @keyframes float-card {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
}

/* ── Features ── */
.features {
    padding: 4rem 1rem;
    background: rgba(8, 8, 14, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
    .features { padding: 6rem 2rem; }
}

.section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .section-title { font-size: 2.5rem; }
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2.5rem;
    font-size: 0.92rem;
    padding: 0 1rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-subtitle {
        margin-bottom: 3.25rem;
        font-size: 1.05rem;
    }
}

.feature-card {
    background: rgba(16, 18, 32, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1.6rem;
    transition: transform 0.35s, border-color 0.35s, background 0.35s;
    border: 1px solid rgba(255, 255, 255, 0.07);
    height: 100%;
}

@media (min-width: 768px) {
    .feature-card {
        padding: 2rem;
        border-radius: 22px;
    }
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(22, 24, 42, 0.85);
    border-color: rgba(99, 102, 241, 0.28);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(139, 92, 246, 0.14));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    font-size: 1.45rem;
    color: #a5b4fc;
}

@media (min-width: 768px) {
    .feature-icon {
        width: 58px;
        height: 58px;
        font-size: 1.65rem;
        margin-bottom: 1.35rem;
    }
}

.feature-card h3 {
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.55;
    font-size: 0.86rem;
    margin: 0;
}

/* ── Статистика (дашборд) ── */
.stats-dashboard {
    padding: 4rem 1rem;
    position: relative;
}

@media (min-width: 768px) {
    .stats-dashboard { padding: 5.5rem 2rem; }
}

.stats-dashboard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(99, 102, 241, 0.08), transparent);
    pointer-events: none;
}

.stats-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 576px) {
    .stats-dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .stats-dashboard-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.dash-card {
    background: rgba(14, 16, 28, 0.82);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;
    padding: 1.35rem 1.4rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.dash-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.dash-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.dash-card:hover::after { opacity: 1; }

.dash-card-primary {
    border-color: rgba(99, 102, 241, 0.2);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(14, 16, 28, 0.9));
}

.dash-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.dash-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    font-size: 1rem;
}

.dash-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.dash-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .dash-value { font-size: 2.35rem; }
}

.dash-value-suffix {
    font-size: 1.2rem;
    -webkit-text-fill-color: #a5b4fc;
}

.dash-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.85rem;
}

.dash-bar {
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
}

.dash-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #86efac;
    margin-top: 0.5rem;
}

.dash-trend.neutral { color: rgba(255, 255, 255, 0.45); }

/* ── CTA ── */
.cta-section {
    padding: 4rem 1rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.12), transparent 65%);
}

@media (min-width: 768px) {
    .cta-section { padding: 6rem 2rem; }
}

.cta-glass {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border-radius: 28px;
    background: rgba(14, 16, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.cta-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .cta-title { font-size: 2.4rem; }
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

.btn-cta-large {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: white;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s;
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
    display: inline-block;
    text-decoration: none;
}

.btn-cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.45);
    color: #fff;
}

.cta-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 1.25rem;
    margin-bottom: 0;
}

/* ── Футер ── */
.site-footer {
    padding: 0 1rem 2rem;
}

@media (min-width: 768px) {
    .site-footer { padding: 0 2rem 2.5rem; }
}

.footer-glass {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem;
    border-radius: 24px;
    background: rgba(12, 14, 24, 0.82);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.footer-brand img {
    width: 130px;
    height: auto;
    margin-bottom: 0.85rem;
}

@media (min-width: 768px) {
    .footer-brand img { width: 155px; }
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0;
    max-width: 280px;
}

.footer-col-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-links-col a:hover {
    color: #c7d2fe;
    transform: translateX(3px);
}

.footer-links-col a.accent { color: #818cf8; }
.footer-links-col a.accent:hover { color: #a5b4fc; }

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 2rem 0 1.25rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.78rem;
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.22);
    color: #a5b4fc;
}

@media (max-width: 380px) {
    .hero-title { font-size: 1.65rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { text-align: center; width: 100%; }
}