/* AzizEdu landing (marketing) sahifasi -- FAQAT shu sahifaga xos CSS.
   `dizayn-tizimi.css` (login/admin/test sahifalari ishlatadi) ATAYLAB
   o'zgartirilmadi -- bu fayl mustaqil, o'zining vizual tili bilan yozilgan
   (2026-09-21, VAZIFA 2). Rang qiymatlari `tokens.css` (markaziy, ikkala
   fayl ham ulaydi) orqali dizayn-tizimi.css bilan bitta manbadan keladi --
   brend izchilligi shu bilan ta'minlanadi. 2026-11, 2-bosqich tozalashda
   gradient/glow/blur effektlar olib tashlandi, endi tekis (flat) dizayn. */

* { box-sizing: border-box; }

:root {
    --l-bg: #ffffff;
    --l-surface-2: #f6f7fb;
    --l-text: #14161f;
    --l-text-2: #5b6270;
    --l-text-3: #8a90a0;
    --l-border: #e7e9f1;
    /* Rang qiymatlarining o'zi endi FAQAT `tokens.css`da -- bu yerda
       shunchaki o'sha markaziy o'zgaruvchilarga ishora (2026-11, 2-bosqich
       dizayn tizimi tozalash). Gradient tokenlari (`--l-gradient*`) BUTUNLAY
       olib tashlandi -- endi tekis (flat) bitta aksent rang. */
    --l-accent: var(--rang-asosiy);
    --l-accent-hover: var(--rang-asosiy-hover);
    --l-accent-soft: var(--rang-asosiy-yumshoq);
    --l-success: var(--rang-muvaffaqiyat);
    --l-warning: var(--rang-ogohlantirish);
    --l-radius: 16px;
    --l-radius-sm: 10px;
    --l-shadow: 0 10px 30px rgba(20, 22, 40, .08);
    --l-shadow-lg: 0 24px 60px rgba(20, 22, 40, .14);
    --l-max: 1160px;
}

html { scroll-behavior: smooth; }

body.landing-body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--l-text);
    background: var(--l-bg);
    -webkit-font-smoothing: antialiased;
}

.landing-body h1, .landing-body h2, .landing-body h3 {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
}

.l-wrap { max-width: var(--l-max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.l-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--l-bg);
    border-bottom: 1px solid var(--l-border);
}
.l-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: var(--l-max);
    margin: 0 auto;
}
.l-logo { display: flex; align-items: center; gap: 10px; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 19px; color: var(--l-text); text-decoration: none; }
.l-logo svg { width: 30px; height: 30px; }
.l-nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.l-nav-links a { color: var(--l-text-2); text-decoration: none; font-size: 14px; font-weight: 600; }
.l-nav-links a:hover { color: var(--l-accent); }
.l-header-cta { display: flex; align-items: center; gap: 14px; }
.l-login-link { font-size: 14px; font-weight: 600; color: var(--l-text-2); text-decoration: none; }
.l-login-link:hover { color: var(--l-accent); }

@media (max-width: 760px) {
    .l-nav-links { display: none; }
}

/* Mobil (2026-09-21, sinovda topilgan muammo): 480px'dan tor ekranda
   "Tizimga kirish" matn-havolasi + "Bepul boshlash" tugmasi bitta qatorga
   sig'may, matn ikki qatorga siqilib tugma bilan bir-biriga yopishib
   qolardi (skrinshot bilan topildi). Havola (footer'da ham bor, dublikat)
   shu tor oralig'da yashiriladi -- faqat logotip + bitta CTA tugma qoladi. */
@media (max-width: 480px) {
    .l-login-link { display: none; }
    .l-header-inner { padding: 12px 16px; }
    .l-logo { font-size: 17px; }
    .l-header-cta .l-btn-accent { padding: 10px 18px; font-size: 14px; }
}

/* ---------- Buttons ---------- */
.l-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Bosiladigan hudud kamida 44x44px (2026-11 talabi). */
    min-height: 44px;
    min-width: 44px;
    border: none;
    border-radius: var(--l-radius-sm);
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.l-btn-accent {
    background: var(--l-accent);
    color: #fff;
    padding: 13px 26px;
}
.l-btn-accent:hover { background: var(--l-accent-hover); }
.l-btn-lg { padding: 16px 34px; font-size: 16px; }
.l-btn-ghost {
    background: #fff;
    color: var(--l-text);
    border: 1px solid var(--l-border);
    padding: 13px 24px;
}
.l-btn-ghost:hover { border-color: var(--l-accent); color: var(--l-accent); }

/* ---------- Hero ---------- */
.l-hero {
    position: relative;
    padding: 90px 0 70px;
    /* Tekis (flat) fon -- 2026-11 tozalashda gradient fon + dekorativ
       binafsha "nur" doirasi (::before) olib tashlandi. */
    background: var(--l-accent-soft);
    text-align: center;
}
.l-hero-inner { position: relative; max-width: 780px; margin: 0 auto; padding: 0 24px; }
.l-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-pill, 999px);
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--l-accent);
    margin-bottom: 22px;
    box-shadow: var(--l-shadow);
}
.l-hero h1 { font-size: 44px; font-weight: 800; color: var(--l-text); margin-bottom: 20px; }
.l-hero h1 span { color: var(--l-accent); }
.l-hero p.l-lead { font-size: 18px; color: var(--l-text-2); line-height: 1.65; margin-bottom: 34px; }
.l-hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.l-hero-note { margin-top: 16px; font-size: 13px; color: var(--l-text-3); }

@media (max-width: 640px) {
    .l-hero { padding: 56px 0 44px; }
    .l-hero h1 { font-size: 30px; }
    .l-hero p.l-lead { font-size: 16px; }
}

/* ---------- Sections generic ---------- */
/* scroll-margin-top -- sticky header (~64px) ostida sarlavha yashirinib
   qolmasligi uchun (nav-havola bosilganda YOKI Playwright'ning
   scrollIntoViewIfNeeded chaqirganda ham amal qiladi -- skrinshotda
   "SAVOL-JAVOB" kicker matni sticky header ostida qisman kesilib
   ko'ringani sinovda topilib, shu bilan tuzatildi, 2026-09-21). */
.l-section[id] { scroll-margin-top: 76px; }
.l-section { padding: 78px 0; }
.l-section-alt { background: var(--l-surface-2); }
.l-section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.l-section-head .l-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--l-accent);
    margin-bottom: 12px;
}
.l-section-head h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.l-section-head p { font-size: 16px; color: var(--l-text-2); line-height: 1.6; }

@media (max-width: 640px) {
    .l-section { padding: 50px 0; }
    .l-section-head h2 { font-size: 24px; }
}

/* ---------- Feature grid ---------- */
.l-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.l-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) {
    .l-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .l-grid-3, .l-grid-2 { grid-template-columns: 1fr; }
}

.l-card {
    background: #fff;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    padding: 28px 26px;
    box-shadow: var(--l-shadow);
}
.l-icon-chip {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--l-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.l-icon-chip svg { width: 24px; height: 24px; stroke: var(--l-accent); }
.l-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.l-card p { font-size: 14.5px; color: var(--l-text-2); line-height: 1.6; margin: 0; }

/* ---------- Roles ---------- */
.l-role-card {
    background: #fff;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    padding: 30px 26px;
    text-align: left;
}
.l-role-card .l-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--l-accent);
    background: var(--l-accent-soft);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.l-role-card ul { margin: 0; padding-left: 20px; color: var(--l-text-2); font-size: 14.5px; line-height: 1.9; }

/* ---------- How it works (steps) ---------- */
.l-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: lstep; }
@media (max-width: 900px) { .l-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .l-steps { grid-template-columns: 1fr; } }
.l-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    padding: 26px 22px 22px;
}
.l-step-num {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--l-accent);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 15px;
}
.l-step h3 { font-size: 16px; margin-bottom: 6px; }
.l-step p { font-size: 14px; color: var(--l-text-2); line-height: 1.6; margin: 0; }

/* ---------- Pricing calculator ---------- */
.l-price-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    box-shadow: var(--l-shadow-lg);
    padding: 36px 32px;
}
.l-price-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.l-price-field { flex: 1 1 220px; }
.l-price-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--l-text-2); margin-bottom: 8px; }
.l-price-field input[type="range"] { width: 100%; accent-color: var(--l-accent); }
.l-price-field input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--l-radius-sm);
    border: 1px solid var(--l-border);
    font-size: 16px;
    font-family: inherit;
}
.l-price-result {
    margin-top: 26px;
    padding: 22px;
    border-radius: var(--l-radius-sm);
    background: var(--l-accent-soft);
    text-align: center;
}
.l-price-result .l-price-sum { font-size: 30px; font-weight: 800; color: var(--l-text); }
.l-price-result .l-price-sum small { font-size: 15px; font-weight: 600; color: var(--l-text-2); }
.l-price-disclaimer { margin-top: 14px; font-size: 12.5px; color: var(--l-text-3); text-align: center; line-height: 1.6; }

/* ---------- FAQ ---------- */
.l-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.l-faq-item {
    background: #fff;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius-sm);
    overflow: hidden;
}
.l-faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 20px;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--l-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.l-faq-q .l-faq-plus { font-size: 20px; color: var(--l-accent); transition: transform .2s ease; flex-shrink: 0; }
.l-faq-item.l-open .l-faq-plus { transform: rotate(45deg); }
.l-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding: 0 20px;
}
.l-faq-item.l-open .l-faq-a { max-height: 260px; padding-bottom: 18px; }
.l-faq-a p { margin: 0; font-size: 14.5px; color: var(--l-text-2); line-height: 1.65; }

/* ---------- Final CTA ---------- */
.l-final-cta {
    background: var(--l-accent);
    border-radius: 24px;
    max-width: var(--l-max);
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
}
.l-final-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.l-final-cta p { font-size: 16px; color: rgba(255,255,255,.88); margin-bottom: 28px; }
.l-final-cta .l-btn-ghost { background: #fff; color: var(--l-accent); border: none; }
@media (max-width: 640px) {
    .l-final-cta { padding: 40px 22px; border-radius: 18px; }
    .l-final-cta h2 { font-size: 22px; }
}

/* ---------- Footer ---------- */
.l-footer {
    padding: 34px 0 40px;
    text-align: center;
    color: var(--l-text-3);
    font-size: 13.5px;
    border-top: 1px solid var(--l-border);
    margin-top: 20px;
}
.l-footer a { color: var(--l-text-2); text-decoration: none; font-weight: 600; }
