/* ==========================================================================
   Beeline Poster — Landing Page Styles
   Design: Beeline Brand (Pro.beeline.ru / GPTunnel)
   Structure: max-poster.ru reference
   ========================================================================== */

/* --- Design Tokens (Beeline) --- */
:root {
    --bee-yellow: #FED42B;
    --bee-yellow-hover: #E5BF27;
    --bee-yellow-active: #CCAA22;
    --bee-black: #000000;
    --bee-orange: #FF6600;
    --bee-white: #FFFFFF;
    --bee-gray-50: #F7F7F8;
    --bee-gray-100: #ECECEF;
    --bee-gray-200: #D9D9DE;
    --bee-gray-400: #9E9EA7;
    --bee-gray-600: #6B6B76;
    --bee-gray-800: #2D2D34;
    --bee-green: #00B956;
    --bee-red: #FF3B30;
    --bee-radius: 12px;
    --bee-radius-lg: 16px;
    --bee-radius-xl: 24px;
    --bee-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --bee-shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --bee-shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --bee-font: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
    --bee-transition: 0.25s ease;
    --container-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--bee-font);
    background: var(--bee-white);
    color: var(--bee-gray-800);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Container --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bee-black);
    height: 64px;
    display: flex;
    align-items: center;
    transition: box-shadow var(--bee-transition);
}
.header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--bee-white);
}
.logo__mark {
    background: var(--bee-yellow);
    color: var(--bee-black);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
}
.logo__text span {
    color: var(--bee-yellow);
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav__link {
    color: var(--bee-gray-400);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--bee-transition);
}
.nav__link:hover {
    color: var(--bee-white);
    background: rgba(255,255,255,0.08);
}

/* Header CTA */
.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bee-yellow);
    color: var(--bee-black);
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--bee-transition);
    border: none;
    cursor: pointer;
}
.header__cta:hover {
    background: var(--bee-yellow-hover);
    transform: translateY(-1px);
}

/* Mobile menu */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--bee-white);
    border-radius: 2px;
    transition: var(--bee-transition);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding: 140px 0 80px;
    background:
        radial-gradient(ellipse 70% 50% at 50% 40%, rgba(254,212,43,0.06) 0%, transparent 70%),
        linear-gradient(180deg, #000000 0%, #141418 50%, #1c1c22 100%);
    color: var(--bee-white);
    text-align: center;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 212, 43, 0.12);
    border: 1px solid rgba(254, 212, 43, 0.25);
    color: var(--bee-yellow);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero__title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero__title span {
    color: var(--bee-yellow);
}
.hero__subtitle {
    font-size: 19px;
    color: rgba(255,255,255,0.65);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
}

/* Hero image */
.hero__image {
    max-width: 800px;
    margin: 40px auto;
    border-radius: var(--bee-radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
}
.hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stats row */
.hero__stats {
    display: flex;
    justify-content: center;
    gap: 32px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 24px 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--bee-radius-lg);
    backdrop-filter: blur(8px);
    transition: var(--bee-transition);
}
.stat-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(254, 212, 43, 0.3);
    transform: translateY(-2px);
}
.stat-item__value {
    font-size: 36px;
    font-weight: 800;
    color: var(--bee-yellow);
    line-height: 1;
}
.stat-item__label {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--bee-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--bee-transition);
    font-family: var(--bee-font);
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary {
    background: var(--bee-yellow);
    color: var(--bee-black);
}
.btn--primary:hover {
    background: var(--bee-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(254, 212, 43, 0.35);
}
.btn--outline {
    background: transparent;
    color: var(--bee-white);
    border: 1px solid rgba(255,255,255,0.25);
}
.btn--outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.45);
}
.btn--dark {
    background: var(--bee-gray-800);
    color: var(--bee-white);
}
.btn--dark:hover {
    background: var(--bee-black);
    transform: translateY(-2px);
}
.btn--lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--bee-radius-lg);
}

/* ==========================================================================
   Section base
   ========================================================================== */
.section {
    padding: 80px 0;
}
.section--gray {
    background: var(--bee-gray-50);
}
.section__header {
    text-align: center;
    margin-bottom: 56px;
}
.section__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--bee-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.section__title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--bee-gray-800);
}
.section__desc {
    font-size: 17px;
    color: var(--bee-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bee-white);
    border-radius: var(--bee-radius-lg);
    padding: 32px;
    border: 1px solid var(--bee-gray-100);
    transition: var(--bee-transition);
}
.feature-card:hover {
    border-color: var(--bee-yellow);
    box-shadow: var(--bee-shadow-lg);
    transform: translateY(-4px);
}
.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--bee-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    background: rgba(254, 212, 43, 0.12);
}
.feature-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card__desc {
    font-size: 15px;
    color: var(--bee-gray-600);
    line-height: 1.6;
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--bee-yellow), var(--bee-orange));
    border-radius: 2px;
}
.step {
    text-align: center;
    position: relative;
}
.step__number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bee-black);
    color: var(--bee-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    border: 4px solid var(--bee-white);
    box-shadow: var(--bee-shadow-lg);
}
.step__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step__desc {
    font-size: 15px;
    color: var(--bee-gray-600);
    max-width: 280px;
    margin: 0 auto;
}

/* ==========================================================================
   Cases (case studies)
   ========================================================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: var(--bee-white);
    border-radius: var(--bee-radius-lg);
    overflow: hidden;
    border: 1px solid var(--bee-gray-100);
    transition: var(--bee-transition);
}
.case-card:hover {
    box-shadow: var(--bee-shadow-lg);
    transform: translateY(-4px);
}
.case-card__img {
    height: 200px;
    background: var(--bee-black);
    position: relative;
    overflow: hidden;
}
.case-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.case-card__body {
    padding: 24px;
}
.case-card__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--bee-orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.case-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.case-card__desc {
    font-size: 14px;
    color: var(--bee-gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}
.case-card__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--bee-orange);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--bee-transition);
}
.case-card__link:hover {
    gap: 8px;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.comparison {
    overflow-x: auto;
}
.comparison table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 700px;
}
.comparison th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bee-gray-600);
    border-bottom: 2px solid var(--bee-gray-200);
    background: var(--bee-gray-50);
}
.comparison th:last-child {
    background: rgba(254, 212, 43, 0.08);
    color: var(--bee-gray-800);
}
.comparison td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--bee-gray-100);
}
.comparison td:first-child {
    font-weight: 600;
    color: var(--bee-gray-800);
}
.comparison td:last-child {
    background: rgba(254, 212, 43, 0.04);
    font-weight: 600;
}
.comparison tr:hover td {
    background: var(--bee-gray-50);
}
.comparison tr:hover td:last-child {
    background: rgba(254, 212, 43, 0.1);
}
.check { color: var(--bee-green); font-weight: 700; }
.cross { color: var(--bee-gray-400); }
.highlight { color: var(--bee-orange); font-weight: 700; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bee-white);
    border: 1px solid var(--bee-gray-100);
    border-radius: var(--bee-radius);
    overflow: hidden;
    transition: var(--bee-transition);
}
.faq-item:hover {
    border-color: var(--bee-gray-200);
}
.faq-item.open {
    border-color: var(--bee-yellow);
}
.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--bee-gray-800);
    font-family: var(--bee-font);
    text-align: left;
    gap: 16px;
}
.faq-item__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bee-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--bee-gray-600);
    transition: var(--bee-transition);
}
.faq-item.open .faq-item__icon {
    background: var(--bee-yellow);
    color: var(--bee-black);
    transform: rotate(45deg);
}
.faq-item__answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-item__answer {
    padding: 0 24px 20px;
    max-height: 300px;
}
.faq-item__answer p {
    font-size: 15px;
    color: var(--bee-gray-600);
    line-height: 1.7;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
    padding: 80px 0;
    background: var(--bee-black);
    text-align: center;
    color: var(--bee-white);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(254,212,43,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.cta-banner__title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}
.cta-banner__desc {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.cta-banner .btn {
    position: relative;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bee-gray-800);
    color: rgba(255,255,255,0.5);
    padding: 48px 0 32px;
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}
.footer__brand p {
    font-size: 14px;
    margin-top: 12px;
    max-width: 320px;
    line-height: 1.6;
}
.footer__nav {
    display: flex;
    gap: 48px;
}
.footer__nav-col h4 {
    color: var(--bee-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer__nav-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    padding: 4px 0;
    transition: var(--bee-transition);
}
.footer__nav-col a:hover {
    color: var(--bee-yellow);
}
.footer__bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 13px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero__title { font-size: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .burger { display: flex; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bee-black);
        padding: 16px;
        gap: 4px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .hero { padding: 100px 0 60px; }
    .hero__title { font-size: 32px; }
    .hero__subtitle { font-size: 16px; }
    .hero__actions { flex-direction: column; }
    .hero__stats { flex-direction: column; gap: 12px; align-items: center; }
    .stat-item { width: 100%; max-width: 300px; }
    .section { padding: 56px 0; }
    .section__title { font-size: 28px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .steps::before { display: none; }
    .cases-grid { grid-template-columns: 1fr; }
    .footer .container {
        flex-direction: column;
        gap: 32px;
    }
    .footer__nav { flex-direction: column; gap: 24px; }
    .comparison table { font-size: 13px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 28px; }
    .container { padding: 0 16px; }
    .btn--lg { padding: 14px 24px; font-size: 15px; }
}
