/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== GLOBAL ===== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 60%),
    #111827;
  color: #e5e7eb;
  line-height: 1.7;
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(11,18,32,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 56px 20px;
  text-align: center;
}

.site-title {
  font-size: 34px;
  color: #f9fafb;
}

.site-subtitle {
  margin-top: 14px;
  color: #9ca3af;
  max-width: 760px;
  margin-inline: auto;
}

.trust {
  margin-top: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  background: rgba(16,185,129,0.12);
  color: #a7f3d0;
  display: inline-block;
}

/* ===== MAIN ===== */
.main {
  max-width: 900px;
  margin: 64px auto;
  padding: 0 20px;
}

/* ===== CARD ===== */
.card {
  background: rgba(11,18,32,0.7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 48px;
}

.card-tool {
  text-align: center;
}

/* ===== LABEL ===== */
label {
  display: block;
  margin-bottom: 6px;
  color: #9ca3af;
  text-align: left;
}

/* ===== INPUT / TEXTAREA / SELECT ===== */
input,
textarea,
select {
  width: 100%;
  padding: 14px;

  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;

  color: #e5e7eb;
  font-size: 16px;

  transition: none; /* ❌ yorqinlashish yo‘q */
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

/* 🚫 FOCUS / AUTOFILL / SUGGESTION — OQ BO‘LMAYDI */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  background: rgba(15,23,42,0.6);
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}

/* Chrome autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #e5e7eb;
  -webkit-box-shadow: 0 0 0px 1000px rgba(15,23,42,0.6) inset;
  transition: background-color 9999s ease-in-out 0s;
}

/* ===== BUTTON ===== */
.primary-btn {
  width: 100%;
  margin-top: 18px;
  padding: 14px;

  background: #2e374b;
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;

  color: #fff;
  font-size: 16px;
  cursor: pointer;

  transition: none; /* ❌ flash yo‘q */
}

.primary-btn:hover,
.primary-btn:focus {
  background: rgba(125, 146, 190, 0.85);
  outline: none;
}

/* ===== RESULT CARD ===== */
.result-card {
  display: none;
  margin-top: 28px;
  padding: 24px;

  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

.result-card strong {
  font-size: 42px;
  display: block;
}

/* ===== GRID / CONTROLS ===== */
.controls,
.controls-grid,
.forecast {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.forecast div {
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
}

/* ===== WHATSAPP LINK ===== */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  margin-top: 18px;
  padding: 14px;

  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;

  color: #e5e7eb;
  font-size: 16px;
  text-decoration: none;

  transition: none;
}

.whatsapp-link svg {
  width: 20px;
  height: 20px;
  fill: #22c55e;
}

.whatsapp-link:hover,
.whatsapp-link:focus {
  background: rgba(15,23,42,0.6);
  outline: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(11,18,32,0.85);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 52px 20px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
}

.site-footer hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 22px;
}

.site-footer a {
  margin: 0 12px;
  color: #9ca3af;
  text-decoration: none;
}

.site-footer a:hover {
  color: #e5e7eb;
}

.site-footer p {
  margin-top: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .site-title {
    font-size: 28px;
  }

  .card {
    padding: 26px;
  }
}
