/* ============================================================
   ISOMEDIA maktabi — vebinar landing
   Monoxrom-slate palitra + bitta issiq aksent (amber).
   Barcha ranglar :root da.
   ============================================================ */

:root {
    --bg: #06141B;
    --surface: #11212D;
    --surface-2: #253745;
    --muted: #4A5C6A;
    --text-dim: #9BA8AB;
    --text: #CCD0CF;
    --text-strong: #E8ECEC;
    --accent: #FFC947;
    --accent-lo: #F0B62E;
    --accent-deep: #B8871A;

    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --shell: 420px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

body {
    background-image:
        radial-gradient(60% 40% at 50% 0%, rgba(37, 55, 69, .55) 0%, rgba(6, 20, 27, 0) 70%);
    background-repeat: no-repeat;
}

img,
svg {
    max-width: 100%;
}

.shell {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 16px;
}

.accent {
    color: var(--accent);
}

.section-title {
    font-size: clamp(22px, 6.4vw, 27px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.01em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-strong);
    margin-bottom: 18px;
    text-wrap: balance;
}

/* ------------------------------ TOPBAR ------------------------------ */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 4px 15px;
    border-bottom: 1px solid rgba(155, 168, 171, .14);
    margin-bottom: 26px;
}

.topbar__logo {
    display: block;
    height: 30px;
    width: auto;
}

.topbar__date {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--text);
}

.topbar__date svg {
    color: var(--accent);
    flex: none;
}

.topbar__date span {
    color: var(--muted);
}

/* ------------------------------ HERO ------------------------------ */

.hero {
    padding-bottom: 34px;
}

.hero__title {
    font-size: clamp(21px, 5.9vw, 27px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.015em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-strong);
    text-wrap: balance;
    margin-bottom: 16px;
}

.hero__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto 4px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 201, 71, .3);
    background: rgba(255, 201, 71, .07);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
    text-align: center;
}

.hero__badge b {
    font-weight: 800;
    color: var(--accent);
}

.hero__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
    box-shadow: 0 0 0 4px rgba(255, 201, 71, .16);
}

/* --- Spiker --- */

.speaker {
    position: relative;
    width: min(316px, 100%);
    aspect-ratio: 316 / 368;
    margin: 6px auto -64px;
    overflow: hidden;
}

.speaker__glow {
    position: absolute;
    left: 50%;
    top: 6%;
    width: 128%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 201, 71, .17) 0%, rgba(255, 201, 71, .05) 42%, rgba(255, 201, 71, 0) 66%);
    pointer-events: none;
}

.speaker__disc {
    position: absolute;
    left: 50%;
    top: 19.35%;
    width: 95.89%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 34%, #33505F 0%, #1D3140 58%, #11212D 100%);
    box-shadow: inset 0 0 0 1px rgba(155, 168, 171, .12);
}

.speaker__ring {
    position: absolute;
    left: 50%;
    top: 17.53%;
    width: 100%;
    height: auto;
    transform: translateX(-50%);
}

.speaker__img {
    position: absolute;
    left: 50%;
    top: 0;
    width: 97.47%;
    height: auto;
    transform: translateX(-50%);
    display: block;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .55));
}

/* ------------------------------ CTA ------------------------------ */

.cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 18px;
    padding: 20px 14px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 1;
    font-family: inherit;
    font-size: clamp(16px, 4.6vw, 19px);
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #06141B;
    background: linear-gradient(180deg, #FFD770 0%, var(--accent) 46%, var(--accent-lo) 100%);
    box-shadow: 0 6px 0 0 var(--accent-deep), 0 18px 34px -10px rgba(255, 201, 71, .38);
    transition: transform .15s ease, box-shadow .15s ease;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 0 var(--accent-deep), 0 22px 40px -10px rgba(255, 201, 71, .45);
}

.cta:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 0 var(--accent-deep), 0 10px 18px -8px rgba(255, 201, 71, .35);
}

.cta--last {
    margin-top: 30px;
    margin-bottom: 14px;
}

.cta__tg {
    flex: none;
    opacity: .82;
}

.cta__note {
    max-width: 340px;
    margin: 0 auto 32px;
    text-align: center;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
}

/* ------------------------------ AGENDA ------------------------------ */

.agenda {
    padding-bottom: 12px;
}

.panel {
    position: relative;
    background: var(--surface);
    border: 1.5px dashed var(--muted);
    border-radius: 22px;
    padding: 26px 20px 30px;
}

/* pastdagi "tumshuq" */
.panel::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 34px;
    height: 5px;
    transform: translateX(-50%);
    background: var(--surface);
    z-index: 1;
}

.panel::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 23px;
    height: 23px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--surface);
    border-right: 1.5px dashed var(--muted);
    border-bottom: 1.5px dashed var(--muted);
    border-bottom-right-radius: 5px;
}

.agenda__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    counter-reset: none;
}

.agenda__item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.agenda__num {
    flex: none;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--accent);
    color: #06141B;
    font-size: 14px;
    font-weight: 800;
    line-height: 28px;
    text-align: center;
}

.agenda__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--text-dim);
}

.agenda__text b {
    font-weight: 700;
    color: var(--text-strong);
}

/* ------------------------------ FOOTER ------------------------------ */

.foot {
    border-top: 1px solid rgba(155, 168, 171, .12);
    padding: 20px 0 34px;
    text-align: center;
    font-size: 12.5px;
    color: var(--muted);
}

/* ------------------------------ DESKTOP ------------------------------ */

@media (max-width: 360px) {
    .topbar__logo {
        height: 26px;
    }

    .topbar__date {
        font-size: 12.5px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .cta {
        transition: none;
    }
}

/* ------------------------------ MODAL ------------------------------ */

.modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal[hidden] {
    display: none;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 20, 27, .74);
    backdrop-filter: blur(6px);
}

.modal__box {
    position: relative;
    z-index: 1;
    width: calc(100% - 32px);
    max-width: 440px;
    padding: 34px 28px 30px;
    background: var(--surface);
    border: 1px solid rgba(155, 168, 171, .14);
    border-radius: 20px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85);
}

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border: none;
    border-radius: 9px;
    background: 0 0;
    color: var(--text-dim);
    cursor: pointer;
}

.modal__close:hover {
    color: var(--text-strong);
    background: rgba(155, 168, 171, .1);
}

.modal__title {
    max-width: 330px;
    margin: 0 auto 24px;
    font-size: clamp(19px, 5.4vw, 22px);
    font-weight: 700;
    line-height: 1.32;
    text-align: center;
    color: var(--text-strong);
    text-wrap: balance;
}

.field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
}

.field__phone {
    display: flex;
    align-items: center;
    height: 56px;
    padding-left: 16px;
    border: 1px solid rgba(155, 168, 171, .2);
    border-radius: 12px;
    background: rgba(6, 20, 27, .6);
    transition: border-color .2s;
}

.field__phone:focus-within {
    border-color: var(--accent);
}

.field__phone.is-invalid {
    border-color: #FF8B7B;
}

.field__prefix {
    flex: none;
    padding-right: 9px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-strong);
    letter-spacing: .01em;
}

.field__input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 16px 0 0;
    border: none;
    outline: 0;
    background: 0 0;
    color: var(--text-strong);
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .04em;
}

.field__input::placeholder {
    color: var(--muted);
    letter-spacing: .02em;
}

.field__error {
    margin-top: 9px;
    font-size: 13px;
    color: #FF8B7B;
}

.field__error[hidden] {
    display: none;
}

.modal__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 58px;
    margin-top: 22px;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #06141B;
    background: linear-gradient(180deg, #FFD770 0%, var(--accent) 46%, var(--accent-lo) 100%);
    box-shadow: 0 4px 0 0 var(--accent-deep);
    transition: transform .15s ease, box-shadow .15s ease;
}

.modal__submit:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 0 var(--accent-deep);
}

.modal__submit[disabled] {
    opacity: .65;
    cursor: default;
    transform: none;
}

@media (max-width: 560px) {
    .modal {
        align-items: stretch;
    }

    .modal__box {
        width: 100%;
        max-width: 100%;
        min-height: 100dvh;
        padding: 84px 20px 24px;
        border: none;
        border-radius: 0;
    }

    .modal__close {
        top: 20px;
        right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal__submit {
        transition: none;
    }
}
