/* Tokenlar biznex-uz/src/app/globals.css dan 1:1 olingan */
:root {
  --ink-surface: #0f172a;
  --footer-surface: #0b1220;
  --ink: #0f172a;
  --brand: #38a169;
  --brand-bright: #19c37d;
  --brand-teal: #0e9f8e;
  --warm: #f0a020;
  --brand-grad: linear-gradient(135deg, #38a169, #19c37d);
  --sh-brand: 0 8px 24px rgba(56, 161, 105, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Calistoga", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--footer-surface);
  color: #fafafa;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ======================================================================
   Fon: restoran surati, nur va nuqtali to'r.
   Hammasi faqat transform/opacity bilan — arzon telefonlarda ham silliq.
   ====================================================================== */
.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: var(--footer-surface);
}

/* Kompyuterda sichqonchaga qarab biroz siljiydi (JS --px/--py ni beradi) */
.parallax {
  position: absolute;
  inset: -5%;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.8s var(--ease);
  will-change: transform;
}

/* Restoran surati: ochilganda kamera zalga "kirib keladi",
   keyin sekin yaqinlashib-uzoqlashadi (Ken Burns) */
.photo {
  position: absolute;
  inset: 0;
  background-image: url("bg-mobile.jpg");
  background-image: image-set(url("bg-mobile.webp") type("image/webp"), url("bg-mobile.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 28%;
  will-change: transform, opacity;
  animation:
    photoIn 2.6s var(--ease) both,
    kenBurns 16s ease-in-out 2.6s infinite alternate;
}

/* Surat ustidagi parda: surat ko'rinib tursin, matn ham o'qilsin */
.shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(11, 18, 32, 0) 0%, rgba(11, 18, 32, 0.45) 100%),
    linear-gradient(180deg,
      rgba(11, 18, 32, 0.66) 0%,
      rgba(11, 18, 32, 0.74) 38%,
      rgba(11, 18, 32, 0.7) 62%,
      rgba(11, 18, 32, 0.86) 100%);
}

h1, .lede { text-shadow: 0 2px 18px rgba(11, 18, 32, 0.9), 0 1px 3px rgba(11, 18, 32, 0.9), 0 0 2px rgba(11, 18, 32, 0.6); }

/* Gradient yozuvda text-shadow shaffof harflar orqali ko'rinib, uni xiralashtiradi */
h1 .gradText {
  text-shadow: none;
  filter: drop-shadow(0 2px 10px rgba(11, 18, 32, 0.7));
}

/* Zal bo'ylab sekin o'tuvchi iliq nur chizig'i */
.beam {
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(115deg,
    rgba(255, 196, 120, 0) 42%,
    rgba(255, 196, 120, 0.1) 50%,
    rgba(255, 196, 120, 0) 58%);
  animation: beam 11s ease-in-out infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

.orbGreen {
  width: 720px;
  height: 720px;
  left: -280px;
  bottom: -340px;
  background: radial-gradient(closest-side, rgba(56, 161, 105, 0.32), rgba(56, 161, 105, 0));
  animation: drift1 14s ease-in-out infinite alternate;
}

/* Suratdagi osma chiroqlarning issiq nuri — "nafas oladi" */
.orbWarm {
  width: 560px;
  height: 560px;
  left: 50%;
  top: -220px;
  margin-left: -280px;
  background: radial-gradient(closest-side, rgba(255, 176, 64, 0.38), rgba(240, 160, 32, 0));
  mix-blend-mode: screen;
  animation: lampGlow 3.2s ease-in-out infinite alternate;
}

/* Chiroqlar atrofida uchib yuruvchi iliq zarrachalar (bokeh). JS yaratadi. */
.spark {
  position: absolute;
  left: var(--x);
  bottom: -24px;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 228, 180, 0.95) 0%,
    rgba(255, 176, 64, 0.55) 35%,
    rgba(240, 160, 32, 0) 70%);
  mix-blend-mode: screen;
  opacity: 0;
  will-change: transform, opacity;
  animation: sparkUp var(--d) linear var(--delay) infinite;
}

/* ======================================================================
   Kontent
   ====================================================================== */
.page {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
  padding: 24px 18px calc(32px + env(safe-area-inset-bottom));
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand svg { border-radius: 9px; display: block; }

.reveal {
  opacity: 0;
  animation: bznUp 0.8s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 80ms);
}




h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 35px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 30px 0 0;
  text-wrap: balance;
}

.gradText {
  background: linear-gradient(90deg, #38a169, #19c37d, #6ee7b7, #19c37d, #38a169);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s linear infinite;
}

/* Surat ustida turadi — shuning uchun deyarli oq va qalinroq */
.lede {
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 14px 0 0;
  text-wrap: pretty;
}

/* Jonli lenta: kassadagi voqealar birin-ketin almashadi */
.ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  margin-top: 20px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tickerLive {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6ee7b7;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.tickerLive i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 0 rgba(25, 195, 125, 0.6);
  animation: ping 1.8s ease-out infinite;
}

.tickerWindow {
  height: 22px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.tickerList {
  margin: 0;
  padding: 0;
  list-style: none;
  animation: tick 15s var(--ease) infinite;
}

.tickerList li {
  height: 22px;
  line-height: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tickerList b {
  font-weight: 500;
  color: #fff;
}

/* Kompyuterda: printerdan chiqayotgan chek */
.printer { display: none; }

.panel {
  position: relative;
  margin-top: 24px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 22px 18px;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

/* Panel tepasidagi gradient chiziq (saytdagi .cardAccent kabi) */
.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38a169, #19c37d, transparent);
  background-size: 200% 100%;
  animation: sheen 4s linear infinite;
}

.panelHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panelTitle {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.panelKicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

/* Forma: biznex-uz/src/components/DemoRequestForm.module.css bilan bir xil */
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.input,
.select {
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 16px; /* 16px dan kichik bo'lsa iOS sahifani kattalashtiradi */
  outline: none;
  width: 100%;
  transition:
    border-color 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out;
}

.select {
  padding: 0 40px 0 14px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-opacity='.55' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.select:invalid { color: rgba(255, 255, 255, 0.42); }

.select option { color: var(--ink); }

.input::placeholder { color: rgba(255, 255, 255, 0.42); }

.input:hover,
.select:hover { border-color: rgba(255, 255, 255, 0.26); }

.input:focus,
.select:focus {
  border-color: var(--brand-bright);
  background-color: rgba(25, 195, 125, 0.06);
  box-shadow: 0 0 0 3px rgba(25, 195, 125, 0.28);
}

.phone { position: relative; }

.phonePrefix {
  position: absolute;
  left: 16px;
  top: 0;
  height: 50px;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

.phone .input { padding-left: 66px; }

.other { display: none; }

.other.open {
  display: block;
  animation: bznUp 0.4s var(--ease);
}

.field.invalid .input,
.field.invalid .select {
  border-color: #fca5a5;
  animation: shake 0.35s ease-in-out;
}

.fieldErr {
  display: none;
  margin: 6px 0 0 2px;
  font-size: 13px;
  color: #fca5a5;
}

.field.invalid .fieldErr { display: block; }

.fieldHint {
  margin: 6px 0 0 2px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.field.invalid .fieldHint { display: none; }

.submit {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  height: 54px;
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(56, 161, 105, 0.25);
  transition:
    filter 0.2s ease-out,
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out;
}

/* Tugma ustidan vaqti-vaqti bilan yaltiroq o'tadi */
.submit::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out 1.5s infinite;
}

.submit:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: var(--sh-brand);
}

.submit:active:not(:disabled) { transform: scale(0.99); }

.submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.submit:disabled::after { animation: none; }

.status {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #fca5a5;
}

.status:empty { display: none; }

.status a { color: #6ee7b7; }

.note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

/* ======================================================================
   Chek (kompyuterdagi printer va muvaffaqiyat oynasi uchun umumiy)
   ====================================================================== */
.receipt {
  position: relative;
  background: #fdfdfb;
  color: #1e293b;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  padding: 16px 16px 22px;
  /* Pastki qirrasi yirtilgan qog'oz kabi */
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 8px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 8px repeat-x;
}

.receiptTitle {
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 12.5px;
}

.receiptMeta {
  text-align: center;
  color: #64748b;
  font-size: 11px;
}

.receiptRule {
  border-top: 1px dashed #cbd5e1;
  margin: 8px 0;
}

.receiptRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.receiptRow span:last-child { text-align: right; }

.receiptTotal {
  font-weight: 500;
  font-size: 13.5px;
}

.receiptOk {
  text-align: center;
  color: #2f855a;
  font-weight: 500;
  margin-top: 6px;
}

.done {
  display: none;
  text-align: center;
  padding: 4px 0 6px;
}

.doneSlot {
  height: 10px;
  margin: 0 18px;
  border-radius: 6px;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}

.doneClip {
  overflow: hidden;
  margin: -5px 30px 0;
}

.done .receipt {
  text-align: left;
  transform: translateY(-100%);
  animation: printOnce 1.6s var(--ease) 0.15s forwards;
}

.doneTitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 27px;
  margin: 20px 0 0;
  opacity: 0;
  animation: bznUp 0.6s var(--ease) 1.3s forwards;
}

.doneText {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 8px 0 0;
  opacity: 0;
  animation: bznUp 0.6s var(--ease) 1.45s forwards;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

input:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ======================================================================
   Keyframes
   ====================================================================== */
@keyframes bznPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

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

@keyframes drift1 {
  to { transform: translate(140px, -120px) scale(1.12); }
}

@keyframes photoIn {
  from { transform: scale(1.22); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes kenBurns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.15) translate3d(-2.5%, 1.5%, 0); }
}

@keyframes beam {
  0% { transform: translateX(-35%); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(35%); opacity: 0; }
}

@keyframes sparkUp {
  0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  12% { opacity: var(--o); }
  50% { transform: translate3d(var(--sway), -55vh, 0) scale(1); }
  85% { opacity: var(--o); }
  100% { transform: translate3d(0, -110vh, 0) scale(0.7); opacity: 0; }
}

@keyframes lampGlow {
  from { opacity: 0.55; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1.08); }
}


@keyframes sheen {
  to { background-position: -200% 0; }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(25, 195, 125, 0.6); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(25, 195, 125, 0); }
}

/* 5 ta qator + boshidagi qatorning nusxasi: oxirida sezilmay boshiga qaytadi */
@keyframes tick {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(-22px); }
  40%, 56% { transform: translateY(-44px); }
  60%, 76% { transform: translateY(-66px); }
  80%, 96% { transform: translateY(-88px); }
  100% { transform: translateY(-110px); }
}

@keyframes shine {
  0% { left: -60%; }
  30%, 100% { left: 130%; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@keyframes printLoop {
  0% { transform: translateY(-100%); opacity: 1; }
  38% { transform: translateY(0); opacity: 1; }
  86% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes printOnce {
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
}

/* ======================================================================
   Responsive
   ====================================================================== */
@media (max-width: 360px) {
  h1 { font-size: 30px; }
}

@media (min-width: 700px) {
  .page { padding-top: 40px; }
  h1 { font-size: 42px; }
  .panel { padding: 26px; }
}

@media (min-width: 980px) {

  /* Kompyuterda gorizontal surat */
  .photo {
    background-image: url("bg-desktop.jpg");
    background-image: image-set(url("bg-desktop.webp") type("image/webp"), url("bg-desktop.jpg") type("image/jpeg"));
    background-position: center 55%;
  }

  /* Surat yorug' — parda to'qroq; chap tomon (matn ostida) eng to'q */
  .shade {
    background:
      linear-gradient(90deg,
        rgba(11, 18, 32, 0.92) 0%,
        rgba(11, 18, 32, 0.72) 38%,
        rgba(11, 18, 32, 0.42) 66%,
        rgba(11, 18, 32, 0.55) 100%),
      linear-gradient(180deg, rgba(11, 18, 32, 0.35) 0%, rgba(11, 18, 32, 0) 30%, rgba(11, 18, 32, 0) 65%, rgba(11, 18, 32, 0.7) 100%);
  }

  .page {
    max-width: 1120px;
    padding: 32px 40px 48px;
  }

  .layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
    align-items: center;
    min-height: calc(100dvh - 120px);
  }

  h1 { font-size: 54px; }

  .lede { font-size: 18px; max-width: 470px; }

  .ticker { max-width: 470px; }

  .panel { margin-top: 0; padding: 30px; }

  .printer {
    display: block;
    width: 300px;
    margin-top: 32px;
  }

  .printerBody {
    position: relative;
    z-index: 1;
    height: 40px;
    border-radius: 12px 12px 8px 8px;
    background: linear-gradient(#1e293b, #111827);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.5);
  }

  .printerBody i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-bright);
    animation: bznPulse 1.2s ease-in-out infinite;
  }

  .printerClip {
    overflow: hidden;
    margin: -2px 16px 0;
    height: 330px;
  }

  .printer .receipt {
    animation: printLoop 9s var(--ease) infinite;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
}

/* ==========================================================================
   Diller formasi uchun qo'shimcha elementlar
   ========================================================================== */

/* Ko'rinadigan savol yorlig'i (placeholder bilan aytib bo'lmaydigan savollar uchun) */
.fieldLabel {
  display: block;
  margin: 2px 0 8px 2px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* "Ha / Yo'q" — ikki tugmali tanlov */
.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: 15.5px;
  cursor: pointer;
  transition: border-color 0.15s ease-out, background 0.15s ease-out, color 0.15s ease-out;
}

.choice label:hover { border-color: rgba(255, 255, 255, 0.28); }

.choice input:checked + label {
  border-color: var(--brand-bright);
  background: rgba(25, 195, 125, 0.14);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(25, 195, 125, 0.2);
}

.choice input:focus-visible + label {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.field.invalid .choice label {
  border-color: #fca5a5;
  animation: shake 0.35s ease-in-out;
}

.textarea {
  display: block;
  width: 100%;
  min-height: 112px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}

.textarea::placeholder { color: rgba(255, 255, 255, 0.42); }

.textarea:hover { border-color: rgba(255, 255, 255, 0.26); }

.textarea:focus {
  border-color: var(--brand-bright);
  background-color: rgba(25, 195, 125, 0.06);
  box-shadow: 0 0 0 3px rgba(25, 195, 125, 0.28);
}

.field.invalid .textarea {
  border-color: #fca5a5;
  animation: shake 0.35s ease-in-out;
}

/* Afzalliklar ro'yxati (diller sahifasining chap tomoni) */
.benefits {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.benefits b {
  display: block;
  font-weight: 600;
  color: #fff;
}

.benefitIcon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-grad);
  box-shadow: 0 4px 14px rgba(56, 161, 105, 0.26);
  color: #fff;
}

@media (min-width: 980px) {
  .benefits {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 540px;
    margin-top: 28px;
  }

  .benefits li { padding: 16px; }
}

/* Telefonda forma ekranga tezroq chiqsin: afzalliklar 2×2, faqat sarlavha */
@media (max-width: 979px) {
  .benefits {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .benefits li {
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    font-size: 13px;
    line-height: 1.3;
  }

  .benefits b { font-weight: 500; }

  .benefitText { display: none; }

  .benefitIcon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .benefitIcon svg {
    width: 14px;
    height: 14px;
  }
}
