/* =========================================================
   GTL Group — BPO from Tashkent, Uzbekistan
   Shared design system
   ========================================================= */

:root {
  /* Palette (matched to the 2026 deck) */
  --navy-900: #081120;
  --navy-850: #0a1728;
  --navy-800: #0d1e33;
  --navy-750: #10233c;
  --navy-700: #142a47;
  --card:      rgba(255, 255, 255, 0.035);
  --card-2:    rgba(255, 255, 255, 0.05);
  --border:    rgba(255, 255, 255, 0.09);
  --border-2:  rgba(122, 176, 240, 0.28);

  --blue-500: #4b9be8;
  --blue-400: #6fb2f0;
  --blue-300: #9ccbf7;
  --blue-600: #2f7fd1;

  --white:   #f4f8fc;
  --text:    #d5e0ec;
  --muted:   #93a6bd;
  --muted-2: #6f8299;

  --radius:  18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

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

/* Ambient background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 600px at 82% -8%, rgba(75, 155, 232, 0.16), transparent 60%),
    radial-gradient(900px 700px at -10% 12%, rgba(47, 127, 209, 0.12), transparent 55%),
    linear-gradient(180deg, #081120 0%, #0a1728 45%, #081120 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--white); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 16px;
}

.accent { color: var(--blue-400); }
.text-muted { color: var(--muted); }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(75, 155, 232, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(75, 155, 232, 0.85); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--border-2); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 32, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(8, 17, 32, 0.9); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--white); letter-spacing: -0.01em; }
.brand .dot {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-600));
  box-shadow: 0 4px 14px -4px rgba(75, 155, 232, 0.8);
  transform: rotate(45deg);
}
.brand span { color: var(--blue-400); }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { font-size: 0.94rem; font-weight: 600; color: var(--text); transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -22px; height: 2px; width: 100%;
  background: var(--blue-400); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Sections ===================== */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,17,32,0.96) 0%, rgba(8,17,32,0.88) 42%, rgba(8,17,32,0.55) 100%),
              linear-gradient(0deg, rgba(8,17,32,0.9) 0%, transparent 45%);
}
.hero-inner { padding-block: 90px; max-width: 820px; }
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero h1 .line2 { color: var(--white); }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--text); margin-top: 26px; max-width: 620px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.04);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-300); margin-bottom: 30px;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 0 rgba(75,155,232,0.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(75,155,232,0.6);} 70%{box-shadow:0 0 0 12px rgba(75,155,232,0);} 100%{box-shadow:0 0 0 0 rgba(75,155,232,0);} }

/* ===================== Cards ===================== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--card-2); }
.card .num { font-size: 0.85rem; font-weight: 800; color: var(--blue-400); letter-spacing: 0.08em; }
.card h3 { font-size: 1.25rem; margin: 10px 0 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(145deg, rgba(75,155,232,0.22), rgba(47,127,209,0.1));
  border: 1px solid var(--border-2);
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--blue-300); fill: none; stroke-width: 1.8; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===================== Stats ===================== */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.stat .value { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--white); letter-spacing: -0.03em; line-height: 1; }
.stat .value.accent { color: var(--blue-400); }
.stat .label { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

/* Inline stat row */
.stat-row { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 80px); }
.stat-row .value { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--blue-400); line-height: 1; }
.stat-row .label { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* ===================== Split / media ===================== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split.reverse .media { order: 2; }
.media-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.panel + .panel { margin-top: 18px; }
.panel h4 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 12px; }
.panel p { color: var(--text); }
.panel.featured { border-color: var(--border-2); background: linear-gradient(160deg, rgba(75,155,232,0.08), rgba(255,255,255,0.02)); }

/* Pills / tags */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  font-size: 0.9rem; font-weight: 600; color: var(--text);
}
.pill.primary { border-color: var(--border-2); color: var(--blue-300); background: rgba(75,155,232,0.1); }

/* Check list */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check-list li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: var(--blue-400); fill: none; stroke-width: 2; }

/* ===================== Language table ===================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.lang-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.lang-table thead th {
  text-align: left; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 700; padding: 18px 22px; border-bottom: 1px solid var(--border);
}
.lang-table tbody td { padding: 16px 22px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 0.95rem; }
.lang-table tbody tr:last-child td { border-bottom: 0; }
.lang-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.lang-table td:first-child { color: var(--white); font-weight: 700; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; border: 1px solid transparent; white-space: nowrap; }
.badge.live { color: #7ff0c0; background: rgba(70, 220, 160, 0.12); border-color: rgba(70, 220, 160, 0.3); }
.badge.ramp { color: var(--blue-300); background: rgba(75, 155, 232, 0.14); border-color: var(--border-2); }
.badge.pipe { color: var(--muted); background: rgba(255, 255, 255, 0.05); border-color: var(--border); }

/* ===================== Compare ===================== */
.compare-card .tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.compare-card.win { border-color: var(--border-2); background: linear-gradient(165deg, rgba(75,155,232,0.12), rgba(255,255,255,0.02)); }
.compare-card.win .tag { color: var(--blue-400); }

/* ===================== CTA ===================== */
.cta-band {
  border-radius: 26px;
  border: 1px solid var(--border-2);
  background: linear-gradient(150deg, rgba(75,155,232,0.16), rgba(13,30,51,0.6));
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(75,155,232,0.35), transparent 65%);
  top: -180px; right: -120px; filter: blur(10px);
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); position: relative; }
.cta-band p { color: var(--text); margin: 18px auto 32px; max-width: 560px; position: relative; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===================== Contact ===================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(75,155,232,0.12); border: 1px solid var(--border-2); }
.contact-item .ic svg { width: 22px; height: 22px; stroke: var(--blue-300); fill: none; stroke-width: 1.8; }
.contact-item .k { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.contact-item .v { display: block; color: var(--white); font-weight: 600; font-size: 1.05rem; margin-top: 4px; }
.contact-item .v:hover { color: var(--blue-300); }

.director-card {
  background: linear-gradient(160deg, rgba(75,155,232,0.1), rgba(255,255,255,0.02));
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 34px;
}
.director-card .name { font-size: 1.4rem; color: var(--white); font-weight: 800; }
.director-card .role { color: var(--blue-300); font-weight: 600; margin-top: 4px; }
.director-card .addr { color: var(--muted); margin-top: 18px; font-size: 0.95rem; }

/* ===================== Page hero (inner) ===================== */
.page-hero { padding: clamp(70px, 10vw, 130px) 0 clamp(30px, 5vw, 50px); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-hero p { color: var(--muted); font-size: 1.15rem; margin-top: 20px; max-width: 640px; }

/* ===================== Footer ===================== */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 34px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-top .brand { margin-bottom: 16px; }
.site-footer p { color: var(--muted); font-size: 0.95rem; max-width: 320px; }
.footer-col h5 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { color: var(--muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--blue-300); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom span { color: var(--muted-2); font-size: 0.88rem; }

/* ===================== Reveal animation ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ===================== Responsive ===================== */
@media (max-width: 960px) {
  .grid-3, .grid-4, .stat-band { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .footer-top { gap: 34px; }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(8, 17, 32, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--gutter) 26px;
    transform: translateY(-140%);
    transition: transform 0.32s cubic-bezier(.4,0,.2,1);
    height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 0; width: 100%; font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .grid-2, .grid-3, .grid-4, .stat-band { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
}
