/* =========================================================
   Hikmatilla Habibullayev — Portfolio
   Dark Modern Glassmorphism Theme
   ========================================================= */

:root {
  --bg: #0a0e17;
  --bg-alt: #0d1220;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef1f8;
  --text-dim: #a2acc0;
  --text-faint: #6b7690;

  --accent: #37e0c4;
  --accent-2: #7c8cff;
  --accent-3: #ff7ce0;
  --accent-grad: linear-gradient(120deg, var(--accent), var(--accent-2));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-glow: 0 0 40px rgba(55, 224, 196, 0.12);
  --ease: cubic-bezier(.16,1,.3,1);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ---------- Background decor ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.orb-1 { width: 480px; height: 480px; top: -160px; left: -120px; background: var(--accent); }
.orb-2 { width: 420px; height: 420px; top: 20%; right: -160px; background: var(--accent-2); }
.orb-3 { width: 380px; height: 380px; bottom: -180px; left: 30%; background: var(--accent-3); opacity: 0.18; }
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- Glass utility ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent-grad);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 0;
  transition: all 0.35s var(--ease);
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(10, 14, 23, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo .dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent-grad);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-faint);
  transition: all 0.25s var(--ease);
  letter-spacing: 0.03em;
}
.lang-btn.active {
  background: var(--accent-grad);
  color: #05140f;
}
.lang-btn:not(.active):hover { color: var(--text); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  background: rgba(55, 224, 196, 0.08);
  border: 1px solid rgba(55, 224, 196, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(55,224,196,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(55,224,196,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(55,224,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,224,196,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.hero-title > span:first-child {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--font-body);
}
.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-role {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 20px;
  min-height: 1.4em;
}
.cursor {
  color: var(--accent);
  animation: blink 1s step-start infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-desc {
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}
.btn-primary {
  background: var(--accent-grad);
  color: #05140f;
  box-shadow: 0 8px 24px rgba(55, 224, 196, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(55, 224, 196, 0.32); }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-strong); border-color: var(--accent); }

.hero-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-faint);
}
.meta-item svg { color: var(--accent); opacity: 0.8; }

/* ---------- Hero visual / code card ---------- */
.hero-visual { position: relative; }
.code-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.code-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.code-card-head .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.code-file {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}
.code-body {
  padding: 22px 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
  overflow-x: auto;
  color: var(--text-dim);
}
.c-kw { color: var(--accent-2); }
.c-cl { color: var(--accent); }
.c-str { color: #ffcb6b; }

.floating-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  animation: float 7s ease-in-out infinite;
}
.badge-1 { top: -18px; right: 10%; animation-delay: 0.4s; }
.badge-2 { bottom: 30%; left: -30px; animation-delay: 1.2s; }
.badge-3 { bottom: -16px; right: 18%; animation-delay: 0.8s; }

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-tag {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-desc {
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 50px;
  font-size: 1rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 40px;
}
.lead {
  font-size: 1.08rem;
  color: var(--text-dim);
  margin-bottom: 30px;
  line-height: 1.85;
}
.competencies { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
}
.tag:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }

.about-side {
  padding: 30px;
  border-radius: var(--radius-lg);
}
.about-side h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.lang-list { display: flex; flex-direction: column; gap: 12px; }
.lang-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.lang-list b { color: var(--text); font-weight: 600; }
.divider { height: 1px; background: var(--border); margin: 22px 0; }
.facts-list { display: flex; flex-direction: column; gap: 14px; }
.facts-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-faint);
}
.facts-list b {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all 0.3s var(--ease);
}
.skill-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.skill-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.skill-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--accent-grad);
}
.skill-card-head h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

/* ---------- Timeline / Experience ---------- */
.timeline {
  position: relative;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--border-strong), transparent);
}
.timeline-item {
  position: relative;
  padding-left: 56px;
}
.timeline-dot {
  position: absolute;
  left: 10px;
  top: 26px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  z-index: 1;
}
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  transition: all 0.3s var(--ease);
}
.timeline-card:hover { border-color: var(--border-strong); }
.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.timeline-head h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
}
.timeline-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.timeline-stack span {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(124, 140, 255, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(124, 140, 255, 0.2);
}
.timeline-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.timeline-cols h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-bottom: 10px;
  font-weight: 600;
}
.timeline-cols ul { display: flex; flex-direction: column; gap: 8px; }
.timeline-cols li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
}
.timeline-cols li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-cols .results li::before { background: var(--accent-3); }

/* ---------- Education ---------- */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 18px;
  transition: all 0.3s var(--ease);
}
.edu-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.edu-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.edu-card h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.edu-card p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 6px; }
.edu-card span { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  margin-top: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
}
a.contact-card:hover { border-color: var(--accent); transform: translateX(6px); }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-label { display: block; font-size: 0.78rem; color: var(--text-faint); margin-bottom: 3px; }
.contact-value { display: block; font-size: 0.95rem; font-weight: 500; }

.contact-form {
  padding: 34px;
  border-radius: var(--radius-lg);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: vertical;
  transition: border-color 0.25s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 14px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #05140f;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(55,224,196,0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 800;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

/* Tablet / kichik laptop */
@media (max-width: 980px) {
  .hero { padding-top: 120px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline-cols { grid-template-columns: 1fr; gap: 14px; }
  .scroll-hint { display: none; }
}

/* Planshet va telefon (menyu -> burger) */
@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,14,23,0.98);
    backdrop-filter: blur(16px);
    padding: 22px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-140%);
    opacity: 0;
    transition: all 0.35s var(--ease);
  }
  .nav-links a { padding: 12px 0; font-size: 1rem; }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .burger { display: flex; }

  /* Hero yuqoridan boshlanadi — o'rtadagi bo'sh joyni olib tashlaymiz */
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: 92px;
    padding-bottom: 48px;
  }
  .hero-inner { gap: 32px; }
  .hero-visual { max-width: 360px; }

  .section { padding: 64px 0; }
  .section-desc { margin-bottom: 36px; }
  .floating-badge { display: none; }

  /* Timeline chizig'i va otступlarni ixchamlash */
  .timeline::before { left: 15px; }
  .timeline-item { padding-left: 44px; }
  .timeline-dot { left: 7px; width: 17px; height: 17px; }
  .timeline-card { padding: 22px 20px; }

  .skills-grid { grid-template-columns: 1fr; gap: 16px; }
  .education-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 22px; }
}

/* Telefon */
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .navbar { padding: 14px 0; }
  .nav-links { top: 56px; }

  .hero { padding-top: 88px; }
  .hero-eyebrow { font-size: 0.82rem; margin-bottom: 18px; }
  .hero-title { font-size: 2.15rem; line-height: 1.12; }
  .hero-title > span:first-child { font-size: 0.42em; }
  .hero-role { font-size: 1.15rem; }
  .hero-desc { font-size: 1.02rem; margin-bottom: 28px; }

  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 30px; }
  .btn { width: 100%; padding: 15px 26px; font-size: 1rem; }

  .hero-meta { gap: 12px; flex-direction: column; }
  .meta-item { font-size: 0.92rem; }

  .code-body { font-size: 0.8rem; padding: 18px 16px; line-height: 1.7; }
  .code-card { border-radius: 18px; }

  .section-tag { font-size: 0.8rem; }
  .section-title { font-size: 1.75rem; }
  .about-side { padding: 26px 22px; }
  .lead { font-size: 1.02rem; }
  .contact-card { padding: 16px 18px; }
  .contact-value { font-size: 0.88rem; word-break: break-word; }

  .to-top { bottom: 18px; right: 18px; width: 44px; height: 44px; }
}

/* Juda kichik ekranlar */
@media (max-width: 380px) {
  .hero-title { font-size: 1.85rem; }
  .hero-role { font-size: 1.05rem; }
  .lang-btn { padding: 5px 9px; font-size: 0.7rem; }
  .code-body { font-size: 0.72rem; }
}

/* Landscape / balandligi kichik telefonlar */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 90px; padding-bottom: 40px; }
}
