/* Home page */

.page-home {
    overflow-x: clip;
    max-width: 100%;
}

.page-home .panorama-section,
.page-home .page-banner,
.page-home .page-banner-inner,
.page-home .compact-top,
.page-home .compact-left,
.page-home .stats-card {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.page-home .page-banner {
    padding-top: 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
    padding-bottom: 60px;
}

.page-home .page-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 0;
}

.page-home .compact-top > * {
    min-width: 0;
    max-width: 100%;
}

.page-home .compact-left .page-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
    text-align: left;
}

.page-home .page-title-accent {
    color: var(--primary);
}

.page-home .compact-left .page-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: none;
    text-align: left;
}

.hero-title-break {
    display: none;
}

.page-home .panorama-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.page-home .panorama-picture,
.page-home .panorama-img {
    width: 100%;
    display: block;
}

.page-home .panorama-img {
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

.panorama-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, rgba(255,255,255,0.95));
    pointer-events: none;
}

.hero-logo-section {
    background: var(--white);
    padding: 44px 24px 34px;
    text-align: center;
    overflow: hidden;
}

.logo-large-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    min-width: 0;
}

.logo-large-name {
    display: flex;
    align-items: baseline;
}

.logo-large-name .ll-ya {
    font-weight: 800;
    font-size: 52px;
    color: var(--logo-accent, var(--primary));
    line-height: 1;
}

.logo-large-name .ll-snab {
    font-weight: 800;
    font-size: 52px;
    color: var(--dark);
    line-height: 1;
}

.logo-large-business {
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    background: var(--dark);
    padding: 5px 14px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: nowrap;
}

.logo-large-found {
    font-weight: 500;
    font-size: 16px;
    color: var(--dark);
    line-height: 1.3;
    white-space: nowrap;
}

.page-home .hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: flex-start;
}

.page-home .stats-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.page-home .stats-card-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-home .stats-card-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.page-home .stats-card-meta .stats-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.page-home .stats-card-sub {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
}

.page-home .hero-trust {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    min-width: 0;
    justify-content: flex-start;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.trust-avatar:first-child {
    margin-left: 0;
    background: var(--primary);
}

.trust-avatar:nth-child(2) { background: #1565C0; }
.trust-avatar:nth-child(3) { background: #2E7D32; }
.trust-avatar:nth-child(4) { background: #F57C00; }

.trust-text {
    min-width: 0;
    color: var(--gray);
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.trust-text strong {
    color: var(--dark);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--primary));
    opacity: 0.55;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.card:hover::before {
    opacity: 1;
    height: 4px;
}

.card-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--light);
    border: 1px solid var(--gray-light);
}

.card-icon-wrap svg {
    width: 36px;
    height: 36px;
}

.card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 18px;
}

.card--suppliers {
    --card-accent: var(--primary);
    background: rgba(255, 235, 238, 0.45);
    border-color: rgba(229, 57, 53, 0.12);
}

.card--suppliers:hover {
    background: var(--primary-light);
    border-color: rgba(229, 57, 53, 0.2);
}

.card--suppliers .card-icon-wrap {
    background: var(--primary-light);
    border-color: rgba(229, 57, 53, 0.15);
    color: var(--primary);
}

.card--suppliers .card-link {
    color: var(--primary);
}

.card--customers {
    --card-accent: var(--blue);
    background: rgba(227, 242, 253, 0.55);
    border-color: rgba(21, 101, 192, 0.12);
}

.card--customers:hover {
    background: var(--blue-light);
    border-color: rgba(21, 101, 192, 0.2);
}

.card--customers .card-icon-wrap {
    background: var(--blue-light);
    border-color: rgba(21, 101, 192, 0.15);
    color: var(--blue);
}

.card--customers .card-link {
    color: var(--blue);
}

.card--operators {
    --card-accent: var(--green);
    background: rgba(232, 245, 233, 0.55);
    border-color: rgba(46, 125, 50, 0.12);
}

.card--operators:hover {
    background: var(--green-light);
    border-color: rgba(46, 125, 50, 0.2);
}

.card--operators .card-icon-wrap {
    background: var(--green-light);
    border-color: rgba(46, 125, 50, 0.15);
    color: var(--green);
}

.card--operators .card-link {
    color: var(--green);
}

.card--investors {
    --card-accent: var(--orange);
    background: rgba(255, 243, 224, 0.55);
    border-color: rgba(245, 124, 0, 0.15);
}

.card--investors:hover {
    background: rgba(255, 224, 178, 0.45);
    border-color: rgba(245, 124, 0, 0.25);
}

.card--investors .card-icon-wrap {
    background: rgba(245, 124, 0, 0.12);
    border-color: rgba(245, 124, 0, 0.2);
    color: var(--orange);
}

.card--investors .card-link {
    color: var(--orange);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--card-accent, var(--primary));
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.card-link:hover {
    gap: 10px;
}

.card-link svg {
    width: 15px;
    height: 15px;
}

.detail-section {
    padding: 70px 24px;
}

.detail-section:nth-child(even) {
    background: var(--light);
}

.detail-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.detail-inner.reverse {
    direction: rtl;
}

.detail-inner.reverse > * {
    direction: ltr;
}

.detail-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.detail-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.detail-tag.red { background: var(--primary-light); color: var(--primary); }
.detail-tag.blue { background: rgba(21,101,192,0.1); color: #1565C0; }
.detail-tag.green { background: rgba(46,125,50,0.1); color: #2E7D32; }
.detail-tag.orange { background: rgba(245,124,0,0.1); color: #F57C00; }

.detail-content p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--dark);
}

.feature-list li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

#suppliers .feature-list li svg {
    color: var(--primary);
}

#customers .feature-list li svg {
    color: var(--blue);
}

#operators .feature-list li svg {
    color: var(--green);
}

#investors .feature-list li svg {
    color: var(--orange);
}

.detail-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.detail-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

#suppliers .detail-card {
    background: rgba(255, 235, 238, 0.5);
    border-color: rgba(229, 57, 53, 0.12);
}

#suppliers .detail-card:hover {
    background: var(--primary-light);
    border-color: rgba(229, 57, 53, 0.22);
}

#suppliers .detail-card .visual-icon {
    background: var(--primary-light);
    border-color: rgba(229, 57, 53, 0.15);
}

#customers .detail-card {
    background: rgba(227, 242, 253, 0.55);
    border-color: rgba(21, 101, 192, 0.12);
}

#customers .detail-card:hover {
    background: var(--blue-light);
    border-color: rgba(21, 101, 192, 0.22);
}

#customers .detail-card .visual-icon {
    background: var(--blue-light);
    border-color: rgba(21, 101, 192, 0.15);
}

#operators .detail-card {
    background: rgba(232, 245, 233, 0.55);
    border-color: rgba(46, 125, 50, 0.12);
}

#operators .detail-card:hover {
    background: var(--green-light);
    border-color: rgba(46, 125, 50, 0.22);
}

#operators .detail-card .visual-icon {
    background: var(--green-light);
    border-color: rgba(46, 125, 50, 0.15);
}

#investors .detail-card {
    background: rgba(255, 243, 224, 0.55);
    border-color: rgba(245, 124, 0, 0.15);
}

#investors .detail-card:hover {
    background: rgba(255, 224, 178, 0.45);
    border-color: rgba(245, 124, 0, 0.25);
}

#investors .detail-card .visual-icon {
    background: rgba(245, 124, 0, 0.12);
    border-color: rgba(245, 124, 0, 0.2);
}

.detail-card .visual-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--light);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.detail-card .visual-icon svg {
    width: 40px;
    height: 40px;
}

.detail-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.detail-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
}

.btn-primary--suppliers {
    background: var(--primary);
}

.btn-primary--suppliers:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.35);
}

.btn-primary--customers {
    background: var(--blue);
}

.btn-primary--customers:hover {
    background: #0D47A1;
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.35);
}

.btn-primary--operators {
    background: var(--green);
}

.btn-primary--operators:hover {
    background: #1B5E20;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.35);
}

.btn-primary--investors {
    background: var(--orange);
}

.btn-primary--investors:hover {
    background: #E65100;
    box-shadow: 0 8px 25px rgba(245, 124, 0, 0.35);
}

.founder-section {
    padding: 70px 24px;
    background: var(--light);
}

.founder-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.founder-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary);
    box-shadow: 0 8px 24px rgba(229,57,53,0.2);
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.founder-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.founder-age {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 4px;
}

.founder-role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 14px;
}

.founder-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

.experience {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    margin-top: 14px;
}

.footer-logo-section .logo-large-wrap {
    max-width: 460px;
    margin: 0 auto;
}

.footer-tagline {
    font-size: 16px;
    color: var(--gray);
    margin-top: 16px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-inner { grid-template-columns: 1fr; gap: 36px; }
    .detail-inner.reverse { direction: ltr; }
}

@media (max-width: 768px) {
    .hero-title-break {
        display: block;
    }

    .page-home .page-banner {
        overflow-x: clip;
        padding-bottom: 40px;
    }

    .page-home .page-banner-inner {
        padding: 0 16px 0;
    }

    .page-home .hero-logo-section {
        padding: 28px 16px 20px;
    }

    .page-home .stats-card {
        padding: 20px 16px;
        width: 100%;
    }

    .page-home .stat-value {
        font-size: 22px;
    }

    .page-home .compact-left .page-title {
        font-size: 26px;
        letter-spacing: -0.4px;
        line-height: 1.2;
        text-wrap: balance;
    }

    .page-home .compact-left .page-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .page-home .hero-trust {
        flex-wrap: wrap;
        margin-top: 24px;
    }

    .page-home .trust-text {
        font-size: 12px;
        line-height: 1.5;
    }

    .cards-grid { grid-template-columns: 1fr; }

    .page-home .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }

    .page-home .hero-cta-group .btn-primary,
    .page-home .hero-cta-group .btn-secondary {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .page-home section {
        overflow-x: clip;
        max-width: 100%;
    }

    .page-home .video-play-btn {
        animation: none;
        box-shadow: 0 4px 16px rgba(229, 57, 53, 0.35);
    }

    .logo-large-name .ll-ya, .logo-large-name .ll-snab { font-size: 38px; }

    .page-home .panorama-picture,
    .page-home .panorama-img {
        min-height: 200px;
        height: 200px;
        max-height: none;
        object-fit: cover;
        object-position: center;
    }

    .founder-inner { flex-direction: column; text-align: center; }
    .detail-content h2 { font-size: 26px; }
}

@media (max-width: 390px) {
    .page-home .compact-left .page-title {
        font-size: 22px;
    }

    .page-home .compact-left .page-desc {
        font-size: 13px;
    }

    .page-home .hero-cta-group .btn-primary,
    .page-home .hero-cta-group .btn-secondary {
        padding: 14px 18px;
        font-size: 14px;
    }

    .page-home .panorama-picture,
    .page-home .panorama-img {
        min-height: 200px;
        height: 200px;
        max-height: none;
    }
}

@media (max-width: 420px) {
    .logo-large-name .ll-ya, .logo-large-name .ll-snab { font-size: 30px; }
}
