:root {
  --bg: #040b16;
  --bg-soft: #081326;
  --surface: rgba(9, 18, 36, 0.82);
  --surface-strong: rgba(11, 23, 45, 0.96);
  --surface-light: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #9caec7;
  --primary: #2f6bff;
  --primary-2: #5d9bff;
  --accent: #6fd3ff;
  --success: #86efac;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47, 107, 255, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(111, 211, 255, 0.12), transparent 20%),
    linear-gradient(180deg, #02060d 0%, #07111f 100%);
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(3, 8, 18, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(4, 10, 22, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.header-container {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}


.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-nav > a:not(.btn) {
  color: var(--text);
  font-weight: 500;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.primary-nav > a:not(.btn):hover {
  color: var(--accent);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0;
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  box-shadow: 0 14px 30px rgba(47, 107, 255, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.btn-outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.btn-outline-light {
  color: var(--text);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(4, 10, 22, 0.92), rgba(4, 10, 22, 0.72)),
    url("/static/images/backgrounds/hero-tech.jpg") center/cover no-repeat;
  opacity: 1;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(47, 107, 255, 0.16), transparent 22%),
    radial-gradient(circle at 85% 20%, rgba(111, 211, 255, 0.1), transparent 18%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.14);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-text {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.trust-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* LANGUAGE CARD */
.language-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(8, 18, 35, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.language-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.28), transparent 68%);
  pointer-events: none;
}

.language-card-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.language-card h2 {
  margin: 12px 0 12px;
  font-size: 2rem;
  line-height: 1.15;
}

.language-card-text {
  margin: 0;
  color: var(--muted);
}

.language-buttons {
  display: grid;
  gap: 12px;
  margin: 24px 0 22px;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.language-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(111, 211, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.language-flag {
  font-size: 1.25rem;
}

.login-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.92;
}

.login-panel-link:hover {
  opacity: 1;
}

.language-current {
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.language-current strong {
  color: var(--text);
}

/* GENERIC SECTIONS */
.section {
  padding: 92px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(2, 7, 16, 0.78) 0%, rgba(6, 14, 28, 0.95) 100%);
}

.section-light {
  background: linear-gradient(180deg, rgba(8, 18, 35, 0.96) 0%, rgba(10, 22, 43, 1) 100%);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.14);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-header h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

/* SERVICES */
/* .service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
} */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.service-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 211, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.featured-card {
  background: linear-gradient(180deg, rgba(20, 45, 90, 0.46) 0%, rgba(14, 27, 51, 0.92) 100%);
  border-color: rgba(111, 211, 255, 0.24);
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(47, 107, 255, 0.16);
  color: var(--accent);
  font-size: 1.35rem;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.service-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  color: #d8e2f1;
  font-size: 0.95rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

/* BENEFITS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefit-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.benefit-card i {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: var(--accent);
  background: rgba(47, 107, 255, 0.16);
}

.benefit-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
}

/* CTA */
.cta-section {
  background:
    radial-gradient(circle at 20% 50%, rgba(47, 107, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #050d18 100%);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.cta-box p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* FOOTER */
.site-footer {
  background: #040a14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-column li a {
  color: var(--muted);
}

.footer-column h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.footer-column ul {
  display: grid;
  gap: 12px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 1.05rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 211, 255, 0.28);
}

.footer-bottom {
  padding: 22px 0 30px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-grid,
  .service-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(6, 14, 28, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav > a {
    width: 100%;
  }

  .hero {
    padding: 54px 0 48px;
  }

  .hero-grid,
  .service-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .language-card h2,
  .section-header h2,
  .cta-box h2 {
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  .header-container {
    min-height: 76px;
  }

  .brand-logo {
    height: 44px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-text,
  .section-header p,
  .cta-box p {
    font-size: 0.98rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .language-card,
  .service-card,
  .benefit-card,
  .cta-box {
    padding: 22px;
    border-radius: 20px;
  }

  .section {
    padding: 74px 0;
  }
}