/* =========================================================================
   verotech.uz - VEROTECH
   Dizayn tizimi: to'q (dark) asosiy tema + yorug' tema, shisha effektlari,
   gradient urg'ular, aurora fon va scroll animatsiyalari.
   ========================================================================= */

/* ----------------------------------------------------------- 1. Ranglar */
:root {
    --violet: #7c5cff;
    --violet-soft: #a58cff;
    --cyan: #22d3ee;
    --pink: #ff5c8a;
    --lime: #4ade80;
    --amber: #ffb340;

    --bg: #05060f;
    --bg-soft: #0a0c1a;
    --bg-elevated: #10132a;
    --surface: rgba(255, 255, 255, .04);
    --surface-strong: rgba(255, 255, 255, .07);
    --border: rgba(255, 255, 255, .09);
    --border-strong: rgba(255, 255, 255, .16);

    --text: #e9edfb;
    --text-dim: #b6bedb;
    --muted: #8b93b5;

    --grad: linear-gradient(120deg, var(--violet) 0%, var(--cyan) 55%, var(--lime) 100%);
    --grad-2: linear-gradient(120deg, var(--pink) 0%, var(--violet) 60%, var(--cyan) 100%);
    --grad-warm: linear-gradient(120deg, var(--amber), var(--pink));

    --radius: 20px;
    --radius-lg: 28px;
    --radius-sm: 12px;

    --shadow: 0 24px 60px -20px rgba(5, 6, 15, .8);
    --shadow-glow: 0 0 0 1px rgba(124, 92, 255, .35), 0 30px 70px -30px rgba(124, 92, 255, .55);

    --nav-h: 76px;
    --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-display: "Space Grotesk", "Manrope", "Segoe UI", system-ui, sans-serif;
    --ease: cubic-bezier(.16, .84, .44, 1);
}

[data-theme="light"] {
    --bg: #f6f7fc;
    --bg-soft: #ffffff;
    --bg-elevated: #ffffff;
    --surface: rgba(255, 255, 255, .8);
    --surface-strong: #ffffff;
    --border: rgba(16, 19, 42, .10);
    --border-strong: rgba(16, 19, 42, .18);

    --text: #0f1330;
    --text-dim: #3b4266;
    --muted: #626a8c;

    --shadow: 0 22px 50px -24px rgba(16, 19, 42, .28);
    --shadow-glow: 0 0 0 1px rgba(124, 92, 255, .25), 0 26px 60px -30px rgba(124, 92, 255, .35);
}

/* -------------------------------------------------------------- 2. Baza */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.14;
    margin: 0 0 .5em;
    letter-spacing: -.02em;
    font-weight: 700;
}

h1 { font-size: clamp(2.15rem, 5.4vw, 4.15rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.42rem); }

p { margin: 0 0 1rem; color: var(--text-dim); }

ul { margin: 0; padding: 0; list-style: none; }

::selection {
    background: rgba(124, 92, 255, .45);
    color: #fff;
}

/* Fon effekti: aurora + to'r */
.bg-fx {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-fx .blob {
    position: absolute;
    width: 46vw;
    height: 46vw;
    min-width: 380px;
    min-height: 380px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .38;
    animation: drift 26s var(--ease) infinite alternate;
}

[data-theme="light"] .bg-fx .blob { opacity: .18; }

.bg-fx .b1 { background: var(--violet); top: -14vw; left: -10vw; }
.bg-fx .b2 { background: var(--cyan); top: 24vh; right: -14vw; animation-delay: -8s; }
.bg-fx .b3 { background: var(--pink); bottom: -20vw; left: 26vw; animation-delay: -15s; }

.bg-fx .grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
}

[data-theme="light"] .bg-fx .grid {
    background-image: linear-gradient(rgba(16, 19, 42, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 42, .05) 1px, transparent 1px);
}

@keyframes drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(4vw, 6vh, 0) scale(1.12); }
    100% { transform: translate3d(-3vw, -4vh, 0) scale(.96); }
}

/* --------------------------------------------------------- 3. Yordamchi */
.wrap {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: clamp(52px, 5vw, 82px) 0;
    position: relative;
}

.section--tight { padding: clamp(38px, 3.4vw, 56px) 0; }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.grad-text-2 {
    background: var(--grad-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.muted { color: var(--muted); }

.center { text-align: center; }

.lead {
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    color: var(--text-dim);
    max-width: 62ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    backdrop-filter: blur(12px);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 12px var(--violet);
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 46px;
    max-width: 780px;
}

.section-head--center {
    margin-inline: auto;
    align-items: center;
    text-align: center;
}

.section-head h2 { margin: 0; }

.section-head p { margin: 0; }

.head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.head-row .section-head { margin-bottom: 0; }

/* ------------------------------------------------------------ 4. Tugma */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 700;
    font-size: .96rem;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
    background: var(--grad);
    color: #06070f;
    box-shadow: 0 14px 34px -14px rgba(124, 92, 255, .8);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px -16px rgba(34, 211, 238, .7);
}

.btn-ghost {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text);
    backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    border-color: var(--violet);
    transform: translateY(-3px);
    background: var(--surface-strong);
}

.btn-line {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.btn-line:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-sm { padding: 10px 18px; font-size: .87rem; }

.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text);
    transition: gap .25s var(--ease), color .25s;
}

.link-arrow span:last-child { transition: transform .3s var(--ease); }

.link-arrow:hover { color: var(--cyan); gap: 12px; }

.link-arrow:hover span:last-child { transform: translateX(3px); }

/* ---------------------------------------------------------- 5. Yorliqlar */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-dim);
    transition: all .25s var(--ease);
}

.chip:hover,
.chip.is-active {
    border-color: var(--violet);
    color: var(--text);
    background: rgba(124, 92, 255, .14);
    transform: translateY(-2px);
}

.tag {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 8px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(124, 92, 255, .16);
    color: var(--violet-soft);
    border: 1px solid rgba(124, 92, 255, .3);
}

.tag--cyan {
    background: rgba(34, 211, 238, .14);
    color: var(--cyan);
    border-color: rgba(34, 211, 238, .3);
}

.tag--lime {
    background: rgba(74, 222, 128, .14);
    color: var(--lime);
    border-color: rgba(74, 222, 128, .3);
}

/* -------------------------------------------------------- 6. Yuqori panel */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--grad);
    z-index: 999;
    transition: width .1s linear;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 900;
    display: flex;
    align-items: center;
    transition: background .3s, backdrop-filter .3s, border-color .3s, height .3s;
    border-bottom: 1px solid transparent;
}

.header.is-scrolled {
    height: 64px;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--border);
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .header.is-scrolled { background: rgba(5, 6, 15, .85); }
}

.header-inner {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.06rem;
    letter-spacing: -.01em;
    flex-shrink: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad);
    display: grid;
    place-items: center;
    color: #06070f;
    font-weight: 800;
    font-size: .92rem;
    box-shadow: 0 8px 24px -8px rgba(124, 92, 255, .9);
    flex-shrink: 0;
}

.brand small {
    display: block;
    font-family: var(--font);
    font-size: .68rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-top: -2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav a {
    padding: 9px 14px;
    border-radius: 10px;
    font-size: .93rem;
    font-weight: 600;
    color: var(--text-dim);
    transition: color .2s, background .2s;
    position: relative;
}

.nav a:hover { color: var(--text); background: var(--surface); }

.nav a.is-active { color: var(--text); }

.nav a.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: all .25s var(--ease);
    flex-shrink: 0;
}

.icon-btn:hover {
    border-color: var(--violet);
    transform: translateY(-2px);
}

.burger { display: none; }

/* Mobil menyu */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 950;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    transition: transform .4s var(--ease);
    padding: 90px 24px 40px;
    overflow-y: auto;
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .drawer { background: rgba(5, 6, 15, .97); }
}

.drawer.is-open { transform: translateY(0); }

.drawer a {
    display: block;
    padding: 15px 4px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.drawer .btn { margin-top: 24px; }

.drawer-close {
    position: absolute;
    top: 18px;
    right: 24px;
}

/* --------------------------------------------------------------- 7. Hero */
.hero {
    padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px));
    padding-bottom: clamp(50px, 7vw, 90px);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    gap: clamp(30px, 4vw, 60px);
    align-items: center;
}

.hero-slides { position: relative; }

.hero-slide {
    display: none;
    animation: heroIn .7s var(--ease) both;
}

.hero-slide.is-active { display: block; }

@keyframes heroIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

.hero h1 {
    margin: 22px 0 20px;
    text-transform: uppercase;
}

.hero h1 .accent {
    display: block;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 220% 100%;
    animation: shift 7s linear infinite;
}

@keyframes shift {
    to { background-position: 220% 0; }
}

.hero .lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); }

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-dots {
    display: flex;
    gap: 9px;
    margin-top: 34px;
}

.hero-dots button {
    width: 30px;
    height: 5px;
    border-radius: 3px;
    border: 0;
    background: var(--border-strong);
    cursor: pointer;
    padding: 0;
    transition: all .3s var(--ease);
}

.hero-dots button.is-active {
    width: 52px;
    background: var(--grad);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    font-size: .88rem;
    color: var(--muted);
}

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

/* Hero yonidagi kartochkalar */
.hero-visual {
    position: relative;
    display: grid;
    gap: 16px;
}

.float-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(16px);
    padding: 20px 22px;
    box-shadow: var(--shadow);
    animation: floaty 6s var(--ease) infinite alternate;
}

.float-card:nth-child(2) { animation-delay: -2s; margin-left: 26px; }
.float-card:nth-child(3) { animation-delay: -4s; }

@keyframes floaty {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
}

.float-card .fc-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.fc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    background: rgba(124, 92, 255, .16);
    border: 1px solid rgba(124, 92, 255, .3);
    flex-shrink: 0;
}

.float-card h4 { margin: 0; font-size: 1rem; }

.float-card p { margin: 0; font-size: .87rem; }

.fc-bars { display: grid; gap: 8px; margin-top: 14px; }

.fc-bar {
    height: 7px;
    border-radius: 4px;
    background: var(--border);
    overflow: hidden;
}

.fc-bar i {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--grad);
    animation: grow 2.2s var(--ease) both;
}

@keyframes grow {
    from { width: 0; }
}

/* --------------------------------------------------------- 8. Yuguruvchi */
.marquee {
    position: relative;
    overflow: hidden;
    padding: 16px 0;
    border-block: 1px solid var(--border);
    background: var(--surface);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: slide 42s linear infinite;
}

.marquee--rev .marquee-track { animation-direction: reverse; }

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes slide {
    to { transform: translateX(-50%); }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
}

.marquee-item i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}

/* ------------------------------------------------------------ 9. Kartalar */
.card {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(14px);
    padding: 26px;
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(124, 92, 255, .16), transparent 62%);
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}

.card:hover::before { opacity: 1; }

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    margin-bottom: 18px;
    background: rgba(124, 92, 255, .14);
    border: 1px solid rgba(124, 92, 255, .26);
    transition: transform .35s var(--ease);
}

.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }

.card h3 { margin: 0 0 10px; }

.card p { margin: 0; font-size: .95rem; }

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: .85rem;
    color: var(--muted);
}

/* Bento to'r */
.bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bento > * { grid-column: span 1; }

.bento > .b-2 { grid-column: span 2; }

.bento > .b-wide { grid-column: span 2; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

/* Xizmat kartasi */
.service-card { display: flex; flex-direction: column; height: 100%; }

.service-card .card-body { flex: 1; }

.service-feat {
    display: grid;
    gap: 7px;
    margin: 16px 0 0;
    font-size: .89rem;
    color: var(--text-dim);
}

.service-feat li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.service-feat li::before {
    content: "✓";
    color: var(--lime);
    font-weight: 800;
    flex-shrink: 0;
}

/* Statistik karta */
.stat-card {
    text-align: center;
    padding: 30px 20px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    margin-top: 10px;
    font-weight: 700;
    font-size: .98rem;
}

.stat-desc { font-size: .84rem; color: var(--muted); margin-top: 6px; }

/* Muammo kartasi */
.problem-card {
    padding: 22px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    border-left: 3px solid var(--pink);
    background: var(--surface);
}

.problem-card h4 { margin: 0 0 6px; font-size: 1.02rem; }

.problem-card p { margin: 0; font-size: .9rem; }

/* Foyda kartasi */
.benefit-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
}

.metric {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

/* Jarayon bosqichlari */
.timeline { position: relative; display: grid; gap: 20px; }

.timeline::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--violet), var(--cyan), transparent);
}

.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 22px;
    align-items: start;
    position: relative;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    color: var(--text);
    z-index: 1;
    transition: all .35s var(--ease);
}

.step:hover .step-num {
    background: var(--grad);
    color: #06070f;
    transform: scale(1.06);
    border-color: transparent;
}

.step-body {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 20px 24px;
    transition: border-color .3s, transform .3s var(--ease);
}

.step:hover .step-body { border-color: var(--border-strong); transform: translateX(4px); }

.step-body h3 { margin: 0 0 6px; font-size: 1.1rem; }

.step-body p { margin: 0; font-size: .93rem; }

.step-time {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--cyan);
}

/* Loyiha kartasi */
.project-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-media {
    aspect-ratio: 16 / 10;
    background: var(--grad-2);
    position: relative;
    overflow: hidden;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.project-card:hover .project-media img { transform: scale(1.06); }

.project-media .ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2.6rem;
    color: rgba(255, 255, 255, .85);
}

.project-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }

.project-body h3 { margin: 10px 0 8px; font-size: 1.14rem; }

.project-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: .82rem;
    color: var(--muted);
    margin-top: auto;
    padding-top: 16px;
}

/* Fikr kartasi */
.quote-card { padding: 30px; }

.quote-card .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; }

.quote-card blockquote {
    margin: 0 0 20px;
    font-size: 1.02rem;
    color: var(--text);
    line-height: 1.68;
}

.person { display: flex; align-items: center; gap: 13px; }

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .92rem;
    background: var(--grad);
    color: #06070f;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }

.person-name { font-weight: 700; font-size: .96rem; }

.person-role { font-size: .82rem; color: var(--muted); }

/* Narx kartasi */
.plan {
    display: flex;
    flex-direction: column;
    padding: 30px 28px;
}

.plan.is-featured {
    border-color: rgba(124, 92, 255, .5);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(180deg, rgba(124, 92, 255, .1), var(--surface));
}

.plan-badge {
    position: absolute;
    top: 18px;
    right: 18px;
}

.plan h3 { font-size: 1.16rem; margin: 0 0 8px; padding-right: 80px; }

.plan-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 18px 0 4px;
}

.plan-note { font-size: .82rem; color: var(--muted); }

.plan ul { display: grid; gap: 10px; margin: 22px 0 26px; font-size: .92rem; }

.plan ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-dim); }

.plan ul li::before { content: "✓"; color: var(--lime); font-weight: 800; flex-shrink: 0; }

.plan .btn { margin-top: auto; }

/* Jamoa */
.member { text-align: center; padding: 28px 20px; }

.member .avatar { width: 78px; height: 78px; font-size: 1.4rem; margin: 0 auto 16px; }

.member h4 { margin: 0 0 4px; font-size: 1.04rem; }

.member .role { font-size: .86rem; color: var(--cyan); font-weight: 600; }

.member p { font-size: .87rem; margin: 12px 0 0; }

/* Hamkorlar */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all .3s var(--ease);
}

.logo-item:hover { border-color: var(--border-strong); transform: translateY(-3px); }

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .8rem;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.logo-item span { font-size: .88rem; font-weight: 600; }

.logo-item small { display: block; font-size: .74rem; color: var(--muted); font-weight: 500; }

/* ------------------------------------------------------------ 10. Tablar */
.tabs {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.tab {
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-dim);
    font: inherit;
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    transition: all .28s var(--ease);
}

.tab:hover { color: var(--text); border-color: var(--border-strong); }

.tab.is-active {
    background: var(--grad);
    color: #06070f;
    border-color: transparent;
    box-shadow: 0 10px 26px -12px rgba(124, 92, 255, .8);
}

.tab-panel { display: none; animation: heroIn .5s var(--ease) both; }

.tab-panel.is-active { display: block; }

/* AI ro'yxati */
.ai-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}

.ai-item {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all .3s var(--ease);
}

.ai-item:hover {
    border-color: rgba(124, 92, 255, .45);
    transform: translateY(-3px);
    background: var(--surface-strong);
}

.ai-item .ic {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(34, 211, 238, .13);
    border: 1px solid rgba(34, 211, 238, .28);
    flex-shrink: 0;
}

.ai-item h4 { margin: 0 0 4px; font-size: .99rem; line-height: 1.35; }

.ai-item p { margin: 0; font-size: .87rem; }

/* --------------------------------------------------------- 11. Akkordeon */
.accordion { display: grid; gap: 12px; }

.acc-item {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    transition: border-color .3s;
}

.acc-item.is-open { border-color: rgba(124, 92, 255, .45); }

.acc-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 19px 22px;
    background: none;
    border: 0;
    color: var(--text);
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
}

.acc-head:hover { color: var(--cyan); }

.acc-sign {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all .3s var(--ease);
    font-size: 1.1rem;
    line-height: 1;
}

.acc-item.is-open .acc-sign {
    background: var(--grad);
    color: #06070f;
    border-color: transparent;
    transform: rotate(45deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}

.acc-body-inner {
    padding: 0 22px 20px;
    color: var(--text-dim);
    font-size: .95rem;
}

/* --------------------------------------------------------- 12. Shakllar */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 7px; }

.field--full { grid-column: 1 / -1; }

.field label {
    font-size: .86rem;
    font-weight: 700;
    color: var(--text-dim);
}

.field label .req { color: var(--pink); }

.input,
.textarea,
.select {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--bg-soft);
    color: var(--text);
    font: inherit;
    font-size: .95rem;
    transition: border-color .25s, box-shadow .25s, background .25s;
}

[data-theme="light"] .input,
[data-theme="light"] .textarea,
[data-theme="light"] .select { background: #fff; }

.input:focus,
.textarea:focus,
.select:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .18);
}

.textarea { resize: vertical; min-height: 130px; }

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b93b5' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 17px;
    padding-right: 42px;
}

.hp { position: absolute; left: -9999px; opacity: 0; }

.field-error { font-size: .82rem; color: var(--pink); font-weight: 600; }

.notice {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(74, 222, 128, .4);
    background: rgba(74, 222, 128, .12);
    color: var(--text);
    font-weight: 600;
    display: flex;
    gap: 12px;
    align-items: center;
}

.notice--error {
    border-color: rgba(255, 92, 138, .4);
    background: rgba(255, 92, 138, .12);
}

/* ---------------------------------------------------------- 13. CTA blok */
.cta {
    position: relative;
    border-radius: var(--radius-lg);
    padding: clamp(36px, 5vw, 66px);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(124, 92, 255, .2), rgba(34, 211, 238, .12));
    border: 1px solid var(--border-strong);
    text-align: center;
}

.cta::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, .4), transparent 65%);
    top: -240px;
    right: -160px;
    filter: blur(30px);
    pointer-events: none;
}

.cta h2 { margin: 0 auto 16px; max-width: 22ch; position: relative; }

.cta p { margin: 0 auto 30px; max-width: 60ch; position: relative; }

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* Aloqa qatori */
.contact-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all .3s var(--ease);
}

.contact-item:hover { border-color: var(--violet); transform: translateY(-3px); }

.contact-item .ic {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #06070f;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item small {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    font-weight: 700;
}

.contact-item strong { font-size: .98rem; word-break: break-word; }

/* ------------------------------------------------------------ 14. Futer */
.footer {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    padding: clamp(46px, 6vw, 76px) 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer h5 {
    font-family: var(--font-display);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    margin: 0 0 18px;
}

.footer-links { display: grid; gap: 11px; }

.footer-links a {
    font-size: .92rem;
    color: var(--text-dim);
    transition: color .2s, padding-left .25s var(--ease);
}

.footer-links a:hover { color: var(--cyan); padding-left: 5px; }

.socials { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

.social {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: var(--surface);
    display: grid;
    place-items: center;
    font-size: .82rem;
    font-weight: 700;
    transition: all .3s var(--ease);
}

.social:hover {
    background: var(--grad);
    color: #06070f;
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    font-size: .85rem;
    color: var(--muted);
}

/* --------------------------------------------------- 15. Sahifa boshlari */
.page-hero {
    padding-top: calc(var(--nav-h) + 52px);
    padding-bottom: 8px;
}

/* Sahifa sarlavhasidan keyingi ortiqcha bo'shliqni olib tashlaymiz */
.page-hero .section-head { margin-bottom: 0; }

.crumbs {
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: .84rem;
    color: var(--muted);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.crumbs a:hover { color: var(--cyan); }

/* Maqola matni */
.prose { max-width: 74ch; }

.prose p { font-size: 1.04rem; line-height: 1.82; }

.prose h2 { font-size: 1.6rem; margin-top: 2em; }

.prose h3 { margin-top: 1.6em; }

.prose ul { display: grid; gap: 10px; margin: 1.2em 0; }

.prose ul li { display: flex; gap: 11px; color: var(--text-dim); }

.prose ul li::before { content: "—"; color: var(--violet); flex-shrink: 0; }

.side-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 24px;
    position: sticky;
    top: calc(var(--nav-h) + 20px);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
}

.spec-list { display: grid; gap: 12px; font-size: .92rem; }

.spec-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.spec-list dt, .spec-list span:first-child { color: var(--muted); }

.spec-list strong { text-align: right; }

/* ----------------------------------------------- 16. Animatsiya (reveal) */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

.reveal-1 { transition-delay: .07s; }
.reveal-2 { transition-delay: .14s; }
.reveal-3 { transition-delay: .21s; }
.reveal-4 { transition-delay: .28s; }
.reveal-5 { transition-delay: .35s; }
.reveal-6 { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001s !important; transition-duration: .01s !important; }
    .reveal { opacity: 1; transform: none; }
}

/* JavaScript ishlamasa ham matn ko'rinishi shart */
.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------- 17. Suzuvchi tugma */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: all .35s var(--ease);
    z-index: 800;
    font-size: 1.1rem;
}

.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }

.to-top:hover { border-color: var(--violet); }

.tg-float {
    position: fixed;
    left: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--grad);
    color: #06070f;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: 0 16px 40px -14px rgba(34, 211, 238, .8);
    z-index: 800;
    transition: transform .3s var(--ease);
}

.tg-float:hover { transform: translateY(-3px) scale(1.03); }

/* ---------------------------------------------------- 18. Xato sahifasi */
.error-page {
    min-height: 74vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding-top: var(--nav-h);
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 11rem);
    font-weight: 700;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --------------------------------------------------------- 19. Moslashuv */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .detail-grid { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .nav { display: none; }
    .burger { display: grid; }
    .header-actions .btn { display: none; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    body { font-size: 15.8px; }
    .bento { grid-template-columns: 1fr; }
    .bento > .b-2, .bento > .b-wide { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .timeline::before { left: 21px; }
    .step { grid-template-columns: 44px 1fr; gap: 14px; }
    .step-num { width: 44px; height: 44px; border-radius: 14px; font-size: .95rem; }
    .tg-float span { display: none; }
    .tg-float { padding: 14px; }
}

/* =========================================================================
   20. DIZAYN YANGILANISHI (v2)
   Chuqurlik va materiallik: don (grain) qatlami, shisha gradient chegaralar,
   rangli xizmat kartochkalari, yorug'lik va mayda animatsiyalar.
   ========================================================================= */

/* ------------------------------------------------- 20.1 Don (grain) qatlami */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: .05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

[data-theme="light"] body::after { opacity: .035; }

/* Aurora fon: yumshoqroq va sekinroq */
.bg-fx .blob { filter: blur(110px); animation-duration: 34s; }

/* --------------------------------------------- 20.2 Aylantirish va fokus */
* { scrollbar-width: thin; scrollbar-color: var(--violet) transparent; }

::-webkit-scrollbar { width: 12px; height: 12px; }

::-webkit-scrollbar-track { background: var(--bg-soft); }

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--violet), var(--cyan));
    border-radius: 10px;
    border: 3px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--violet-soft), var(--cyan)); }

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 6px;
}

html { scroll-padding-top: calc(var(--nav-h) + 20px); }

/* --------------------------------------- 20.3 Kartochkalar: shisha chegara */
.ai-item,
.contact-item,
.logo-item,
.step-body,
.problem-card,
.side-card,
.float-card { position: relative; }

.card::after,
.float-card::after,
.side-card::after,
.ai-item::after,
.contact-item::after,
.logo-item::after,
.step-body::after,
.problem-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04) 38%, transparent 62%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .85;
    transition: opacity .35s var(--ease);
}

.card:hover::after,
.float-card:hover::after { opacity: 1; }

[data-theme="light"] .card::after,
[data-theme="light"] .float-card::after,
[data-theme="light"] .side-card::after,
[data-theme="light"] .ai-item::after,
[data-theme="light"] .contact-item::after,
[data-theme="light"] .logo-item::after,
[data-theme="light"] .step-body::after,
[data-theme="light"] .problem-card::after {
    background: linear-gradient(150deg, rgba(16, 19, 42, .14), rgba(16, 19, 42, .03) 40%, transparent 65%);
}

.card {
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 18px 40px -30px rgba(0, 0, 0, .9);
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, var(--shadow);
}

/* ------------------------------------- 20.4 Xizmat kartochkalari: ranglar */
.service-card { --c1: #7c5cff; --c2: #22d3ee; }

.service-card .card-icon {
    background: linear-gradient(140deg,
    color-mix(in srgb, var(--c1) 26%, transparent),
    color-mix(in srgb, var(--c2) 20%, transparent));
    border-color: color-mix(in srgb, var(--c1) 45%, transparent);
    box-shadow: 0 12px 28px -16px var(--c1);
}

.service-card:hover { border-color: color-mix(in srgb, var(--c1) 55%, transparent); }

.service-card::before {
    background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--c1) 20%, transparent), transparent 62%);
}

.service-card .card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--c1), var(--c2));
    opacity: 0;
    transition: opacity .35s var(--ease);
    z-index: 2;
}

.service-card:hover .card-body::before { opacity: 1; }

.service-card h3 a { transition: color .25s; }

.service-card:hover h3 a { color: var(--cyan); }

/* ------------------------------------------------------ 20.5 Bo'lim boshi */
.section-head h2 { position: relative; padding-bottom: 16px; }

.section-head h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 62px;
    height: 3px;
    border-radius: 3px;
    background: var(--grad);
    box-shadow: 0 0 18px -2px var(--violet);
}

.section-head--center h2::after { left: 50%; transform: translateX(-50%); }

.eyebrow { box-shadow: 0 8px 22px -16px var(--violet); }

/* -------------------------------------------------------- 20.6 Tugmalar */
.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    transition: left .65s var(--ease);
    pointer-events: none;
}

.btn-primary:hover::after { left: 150%; }

.btn-ghost { box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }

/* ----------------------------------------------------------- 20.7 Hero */
.hero h1 { letter-spacing: -.035em; }

.hero h1 .accent { filter: drop-shadow(0 0 42px rgba(124, 92, 255, .45)); }

[data-theme="light"] .hero h1 .accent { filter: none; }

.hero .eyebrow { animation: fadeUp .8s var(--ease) both; }
.hero h1 { animation: fadeUp .8s .08s var(--ease) both; }
.hero .lead { animation: fadeUp .8s .16s var(--ease) both; }
.hero-cta { animation: fadeUp .8s .24s var(--ease) both; }
.hero-trust { animation: fadeUp .8s .32s var(--ease) both; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

.hero-trust strong {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.05rem;
}

.float-card { box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .95); }

.fc-icon { box-shadow: 0 10px 24px -14px var(--violet); }

/* --------------------------------------------------------- 20.8 Raqamlar */
.stat-card { position: relative; overflow: hidden; }

.stat-num { letter-spacing: -.03em; }

.stat-card:hover .stat-num { filter: drop-shadow(0 0 22px rgba(34, 211, 238, .5)); }

/* -------------------------------------------------------- 20.9 Loyihalar */
.project-media::before {
    content: "Batafsil";
    position: absolute;
    z-index: 3;
    left: 18px;
    bottom: 18px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .84rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.project-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, transparent 35%, rgba(5, 6, 15, .72));
    opacity: 0;
    transition: opacity .4s var(--ease);
}

.project-card:hover .project-media::before { opacity: 1; transform: none; }

.project-card:hover .project-media::after { opacity: 1; }

.project-body h3 a { transition: color .25s; }

.project-card:hover .project-body h3 a { color: var(--cyan); }

/* -------------------------------------------------------- 20.10 Jarayon */
.step-num {
    background: linear-gradient(160deg, var(--bg-elevated), var(--bg-soft));
    box-shadow: 0 0 0 1px var(--border-strong), 0 14px 30px -18px rgba(0, 0, 0, .9);
}

.step:hover .step-num { box-shadow: 0 14px 34px -14px var(--violet); }

.timeline::before { width: 3px; border-radius: 3px; }

/* --------------------------------------------------------- 20.11 Narxlar */
.plan.is-featured { transform: translateY(-8px); }

.plan.is-featured:hover { transform: translateY(-14px); }

.plan.is-featured::after {
    background: linear-gradient(150deg, rgba(124, 92, 255, .65), rgba(34, 211, 238, .3) 45%, transparent 70%);
    opacity: 1;
}

.plan-price {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --------------------------------------------------------- 20.12 Fikrlar */
.quote-card { overflow: hidden; }

.quote-mark {
    position: absolute;
    top: -20px;
    right: 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 8rem;
    line-height: 1;
    color: rgba(124, 92, 255, .16);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

[data-theme="light"] .quote-mark { color: rgba(124, 92, 255, .12); }

.quote-card blockquote,
.quote-card .stars,
.quote-card figcaption { position: relative; z-index: 1; }

/* ------------------------------------------------------ 20.13 AI ro'yxati */
.ai-item .ic {
    box-shadow: 0 10px 24px -16px var(--cyan);
    transition: transform .3s var(--ease);
}

.ai-item:hover .ic { transform: scale(1.08); }

.tab.is-active { transform: translateY(-1px); }

/* ------------------------------------------------------- 20.14 Akkordeon */
.acc-item.is-open { background: linear-gradient(180deg, rgba(124, 92, 255, .09), var(--surface)); }

/* ----------------------------------------------------------- 20.15 Futer */
.footer { position: relative; overflow: hidden; }

.footer-watermark {
    position: absolute;
    left: 50%;
    bottom: -5%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(4rem, 17vw, 15rem);
    letter-spacing: -.05em;
    line-height: .8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .05);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

[data-theme="light"] .footer-watermark { -webkit-text-stroke-color: rgba(16, 19, 42, .07); }

.footer .wrap { position: relative; z-index: 1; }

/* -------------------------------------------------------- 20.16 Menyu */
.nav a::before {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    opacity: 0;
    transition: all .3s var(--ease);
}

.nav a:hover::before { left: 14px; right: 14px; opacity: .7; }

.nav a.is-active::before { opacity: 0; }

.chip,
.marquee-item { box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset; }

.marquee-item:hover { border-color: var(--border-strong); }

/* -------------------------------------------------------- 20.17 CTA blok */
.cta {
    background:
            radial-gradient(900px circle at 15% 0%, rgba(124, 92, 255, .3), transparent 55%),
            radial-gradient(700px circle at 85% 100%, rgba(34, 211, 238, .22), transparent 55%),
            linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
}

.cta h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }

/* ----------------------------------------------------- 20.18 Sahifa boshi */
.page-hero { padding-top: calc(var(--nav-h) + 58px); }

.page-hero h1,
.page-hero .section-head h2 { letter-spacing: -.03em; }

/* ---------------------------------------------------- 20.19 Maqola matni */
.prose p:first-of-type { font-size: 1.1rem; color: var(--text); }

/* ------------------------------------------------------- 20.20 Moslashuv */
@media (max-width: 620px) {
    .quote-mark { font-size: 6rem; top: -14px; }
    .section-head h2 { padding-bottom: 14px; }
    .footer-watermark { bottom: -2%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero .eyebrow,
    .hero h1,
    .hero .lead,
    .hero-cta,
    .hero-trust { animation: none; }
}

/* Fikr kartochkalari: muallif bloki har doim pastda tekis turadi */
.quote-card { display: flex; flex-direction: column; }

.quote-card figcaption { margin-top: auto; }

/* Xizmat kartochkasi: ichki bo'shliq bir xil bo'lsin */
.service-card .card-foot { margin-top: auto; }
