/* Variables & reset */
:root {
  --bg: #0b1220;
  --surface: #0f172a;
  --text: white;
  --muted: #94a3b8;
  --accent: #0ea5e9;
  --accent-2: #22d3ee;
  --card: #111827;
  --ring: rgba(34, 211, 238, .35);
  --shadow: 0 6px 30px rgba(2, 6, 23, .4);
}

[data-theme="light"] {
  --bg: #f8fafc;
  --surface: #fff;
  --text: #0f172a;
  --muted: #475569;
  --accent: #0284c7;
  --accent-2: #06b6d4;
  --card: #f1f5f9;
  --ring: rgba(2, 132, 199, .25);
  --shadow: 0 6px 24px rgba(2, 8, 23, .12);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial;
  background:
    radial-gradient(1000px 800px at 10% -20%, rgba(56, 189, 248, .12), transparent 0%),
    radial-gradient(1000px 800px at 90% -20%, rgba(45, 212, 191, .14), transparent 0%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  padding-left: 1.2rem;
}

li {
  margin: .25rem 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 .75rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--surface);
  color: var(--text);
  padding: .5rem .75rem;
  border-radius: .5rem;
  outline: 2px solid var(--accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(2, 6, 23, .75), rgba(2, 6, 23, .55));
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: .8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  letter-spacing: .2px;
}

.nav {
  justify-self: end;
}

.nav-list {
  display: flex;
  gap: .6rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: .75rem;
  border: 1px solid rgba(148, 163, 184, .2);
  background: var(--surface);
  color: var(--text);
}

.nav-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 2px;
}

.lang-switch .lang {
  padding: .6rem .7rem;
  font-size: .9rem;
}

/* Requested: AZ/EN color white on dark, black on light */
.lang-switch .lang {
  color: #fff;
}

[data-theme="light"] .lang-switch .lang {
  color: #000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1rem;
  border-radius: .9rem;
  border: 1px solid rgba(148, 163, 184, .2);
  background: var(--surface);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: white;
  font-weight: 600;
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, .35);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh; /* tam ekran hündürlüyü */
  background-image: url("../img/hero-bg-desktop.jpg"); /* DESKTOP */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: clip;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,.55), rgba(2,6,23,.25));
  pointer-events: none;
  z-index: 0;
}

/* Kontent həmişə üstündə qalsın */
.hero > * { position: relative; z-index: 1;}


.hero-bg {
  position: absolute;
  inset: auto 0 -2px 0;
  width: 100%;
  opacity: .8;
}

.hero-inner {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 2rem;
}

.hero-copy h1 {
  font-size: clamp(1.8rem, 2vw + 1.6rem, 3rem);
}

.hero-actions {
  display: flex;
  gap: .8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.trust.list {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem 1.2rem;
  list-style: none;
  padding: 0;
  color: var(--muted);
}

/* Sections & cards */
.section {
  padding: 3.2rem 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.3rem;
}

.section.alt {
  background: linear-gradient(180deg, rgba(148, 163, 184, .09), transparent 60%);
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 1.1rem;
  padding: 1.2rem;
  margin: 1rem 0;
  box-shadow: var(--shadow);
}

.card-media {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(14, 165, 233, .12), rgba(34, 211, 238, .12));
  border-radius: .9rem;
  border: 1px dashed rgba(148, 163, 184, .25);
}

.card-content h3 {
  margin-top: .2rem;
  margin-bottom: .5rem;
}

.bullets {
  margin: .6rem 0 0;
  color: var(--muted);
}

/* Facts */
.stat {
  display: grid;
  gap: .6rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
  text-align: center;
}

.facts strong {
  display: block;
  font-size: 1.4rem;
}

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

.info-card {
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

/* Apply (center requested elements) */
.cta-row {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin: .6rem 0 1rem;
  justify-content: center;
}

.contact {
  text-align: center;
}

.contact-box {
  background: var(--surface);
  border: 1px dashed rgba(148, 163, 184, .3);
  padding: .8rem 1rem;
  border-radius: .9rem;
  display: inline-block;
  margin: .6rem auto 0;
  text-align: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, .15);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.footer-inner nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.copy {
  color: var(--muted);
  text-align: right;
}

/* Social icons */
.social a {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, .25);
  display: grid;
  place-items: center;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}

.social a:hover {
  transform: translateY(-2px);
}

.social svg {
  width: 18px;
  height: 18px;
  fill: var(--text);
}

/* To Top */
.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, .25);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-4px);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .hero-art {
    order: -1;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }
  .hero {
    background-image: url("../img/hero-bg-mobile.jpg"); /* MOBILE */
    min-height: 88svh;
  }

  .nav-list {
    position: absolute;
    right: .5rem;
    top: 64px;
    padding: .6rem;
    border-radius: .9rem;
    background: var(--surface);
    border: 1px solid rgba(148, 163, 184, .2);
    flex-direction: column;
    width: 220px;
    display: none;
  }

  .nav-list.open {
    display: flex;
  }

  .card {
    grid-template-columns: 70px 1fr;
  }

  .grid-2,
  .two-col {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .copy {
    text-align: center;
  }
}


/* Extra components */
.ticks { list-style: none; padding-left: 0; margin: .6rem 0 0; }
.ticks li { position: relative; padding-left: 1.3rem; margin: .35rem 0; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; }

.highlight { background: linear-gradient(180deg, rgba(14,165,233,.10), rgba(34,211,238,.08)); border: 1px solid rgba(148,163,184,.25); }
.mt-1 { margin-top: 1rem; }

.accordion {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .9rem 1rem;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: .9rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.accordion[aria-expanded="true"] {
  outline: 2px solid var(--ring);
}

.accordion-content {
  margin-top: .8rem;
  padding: .8rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(14,165,233,.06);
  border-radius: .6rem;
}

[data-theme="light"] .accordion-content {
  background: rgba(2,132,199,.06);
}

/* Content block wrapper */
.content-block {
  padding: 1.5rem;
  margin: 1.2rem 0;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow);
}
[data-theme="light"] .content-block {
  background: var(--surface);
}
