/* ============================================
   JUZ40 — таза flat дизайн (градиентсіз, editorial)
   Акцент түсі — бір айнымалы: --j-accent
   ============================================ */

.juz40 {
    /* === АКЦЕНТ ТҮСІ (қаласаң осы бір жерден өзгерт) === */
    --j-accent: #2563eb;
    --j-accent-strong: #1d4ed8;
    --j-accent-rgb: 37, 99, 235;
    --j-on-accent: #ffffff;

    /* Темадан */
    --j-bg: var(--secondary-color);
    --j-surface: var(--ekinshi-color);
    --j-text: var(--primary-color);
    --j-muted: rgba(var(--primary-color-rgb), 0.58);
    --j-border: var(--border-color);

    background: var(--j-bg);
    color: var(--j-text);
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
}

.juz40 section {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* bizturaly.css-тегі ЖАЛПЫ "section::after" бөлгіш сызығын JUZ40-та өшіреміз
   (ол About бетіне арналған, бірақ глобал жүктеледі) */
.juz40 section::after,
.juz40 section::before {
    display: none !important;
    content: none !important;
}

/* ============================================
   HERO
   ============================================ */
.juz40-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    padding-top: 72px !important;
    padding-bottom: 64px !important;
}

.juz40-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--j-accent);
    color: var(--j-accent);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.juz40-title {
    font-size: clamp(2.3rem, 4.6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    color: var(--j-text);
}

.juz40-title span {
    color: var(--j-accent);
}

.juz40-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--j-muted);
    margin: 0 0 28px;
    max-width: 500px;
}

.juz40-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 34px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.juz40-highlights li {
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--j-text);
    line-height: 1.5;
}

.juz40-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.juz40-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: var(--j-accent);
    color: var(--j-on-accent);
    border-radius: 12px;
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.juz40-cta:hover {
    background: var(--j-accent-strong);
    transform: translateY(-2px);
}

.juz40-contact {
    margin: 18px 0 0;
    font-size: 0.94rem;
    color: var(--j-muted);
}

.juz40-contact a {
    color: var(--j-accent);
    font-weight: 600;
    text-decoration: none;
}

/* Hero визуал — таза, тегіс карталар (қалқымайды, көлеңкесіз) */
.juz40-hero-visual {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.juz40-hero-card {
    background: var(--j-surface);
    border: 1px solid var(--j-border);
    border-radius: 16px;
    padding: 22px 26px;
    display: flex;
    align-items: baseline;
    gap: 16px;
    transition: border-color 0.18s ease;
}

.juz40-hero-card:hover {
    border-color: var(--j-accent);
}

.juz40-hero-number {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--j-accent);
    flex-shrink: 0;
}

.juz40-hero-label {
    font-size: 0.95rem;
    color: var(--j-muted);
    font-weight: 500;
}

/* ============================================
   STATS — editorial жол (тегіс, реңксіз)
   ============================================ */
.juz40-stats {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

.juz40-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 20px 0 8px;
}

.juz40-stat {
    text-align: center;
}

.juz40-stat h3 {
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: var(--j-text);
}

.juz40-stat p {
    font-size: 0.9rem;
    color: var(--j-muted);
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   FEATURES
   ============================================ */
.juz40-section {
    padding-top: 72px !important;
    padding-bottom: 8px !important;
    text-align: center;
}

.juz40-section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: var(--j-text);
}

.juz40-section-subtitle {
    font-size: 1.08rem;
    color: var(--j-muted);
    margin: 0 0 46px;
}

.juz40-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    text-align: left;
}

/* Тегіс карта — көлеңкесіз, тек жиек */
.juz40-card {
    background: var(--j-surface);
    border: 1px solid var(--j-border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.juz40-card:hover {
    border-color: var(--j-accent);
}

.juz40-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--j-accent-rgb), 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.juz40-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--j-accent);
}

.juz40-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 9px;
    color: var(--j-text);
}

.juz40-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--j-muted);
    margin: 0;
}

/* ============================================
   PLATFORM — біртұтас акцент блок (градиентсіз)
   ============================================ */
.juz40-platform {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.juz40-platform-inner {
    background: var(--j-accent);
    border-radius: 24px;
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    color: var(--j-on-accent);
}

.juz40-platform-text h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
}

.juz40-platform-text p {
    font-size: 1.12rem;
    opacity: 0.9;
    margin: 0;
}

.juz40-platform-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.juz40-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    font-weight: 600;
}

.juz40-point svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: var(--j-on-accent);
}

/* ============================================
   PRICING (қажет болса)
   ============================================ */
.juz40-grid-pricing {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
    margin: 0 auto;
}

.juz40-card.featured {
    border-color: var(--j-accent);
    border-width: 2px;
}

.juz40-price {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--j-accent);
    margin: 14px 0;
}

.juz40-price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--j-muted);
}

/* ============================================
   TESTIMONIAL (қажет болса)
   ============================================ */
.juz40-testimonial {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
}

.juz40-testimonial-card {
    background: var(--j-surface);
    border: 1px solid var(--j-border);
    border-radius: 18px;
    padding: 44px;
    max-width: 740px;
    margin: 0 auto;
}

.juz40-testimonial-card h3 span {
    color: var(--j-accent);
}

.juz40-testimonial-card p {
    color: var(--j-muted);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.juz40-footer {
    /* Сызық көк блок (үсті: platform padding-bottom 60px) пен футер мәтінінің
       ДӘЛ ОРТАСЫНДА тұруы үшін: үсті 60px = асты 60px */
    margin-top: 0;
    border-top: 1px solid var(--j-border);
    padding-top: 60px !important;
    padding-bottom: 56px !important;
}

.juz40-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.juz40-footer-inner h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--j-text);
}

.juz40-footer-inner p {
    font-size: 0.9rem;
    color: var(--j-muted);
    margin: 4px 0;
}

.juz40-footer-inner a {
    color: var(--j-accent);
    text-decoration: none;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .juz40-hero {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }

    .juz40-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 18px;
    }

    .juz40-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .juz40-platform-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 40px 30px;
    }

    .juz40-grid-pricing {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .juz40 section {
        padding-left: 18px;
        padding-right: 18px;
    }

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

    .juz40-platform-points {
        grid-template-columns: 1fr;
    }

    .juz40-cta {
        width: 100%;
    }
}
