:root {
  /* Dark theme (default) */
  --bg: #05080f;
  --bg-2: #0b1220;
  --fg: #e9edf5;
  --muted: #9ca8c0;
  --accent: #3de0ff;
  --card: rgba(255, 255, 255, 0.04);
  --stroke: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --container-bg: rgba(6, 10, 20, 0.65);
  --page-bg: radial-gradient(120% 100% at 10% 10%, rgba(61, 224, 255, 0.15), transparent),
              radial-gradient(100% 100% at 90% 20%, rgba(61, 224, 255, 0.08), transparent),
              linear-gradient(145deg, var(--bg) 0%, var(--bg-2) 70%);
}

body[data-theme="light"] {
  --bg: #c9d9ee;
  --bg-2: #b9cee8;
  --fg: #0f1c2f;
  --muted: #55657c;
  --accent: #0bb2ff;
  --card: #ffffff;
  --stroke: #d6e2f0;
  --shadow: 0 18px 60px rgba(15, 28, 47, 0.15);
  --container-bg: rgba(255, 255, 255, 0.85);
  --page-bg: radial-gradient(90% 70% at 15% 15%, rgba(11, 178, 255, 0.22), transparent),
              radial-gradient(80% 80% at 85% 10%, rgba(75, 225, 195, 0.18), transparent),
              linear-gradient(145deg, var(--bg) 0%, var(--bg-2) 65%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--page-bg);
  color: var(--fg);
  font-family: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  padding: 36px 18px;
}

.container {
  padding: 48px 32px 52px;
  max-width: 920px;
  width: 100%;
  background: var(--container-bg);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.lang-btn {
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--fg);
  border-radius: 10px;
  padding: 6px 8px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.lang-btn.active {
  border-color: rgba(61, 224, 255, 0.45);
  box-shadow: 0 10px 24px rgba(61, 224, 255, 0.18);
}

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

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--fg);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.switch {
  position: relative;
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--stroke);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), #60f6c4);
  box-shadow: 0 8px 20px rgba(61, 224, 255, 0.3);
  transition: transform 160ms ease;
}

body[data-theme="light"] .switch {
  background: rgba(0,0,0,0.05);
  border-color: rgba(11,178,255,0.2);
}

body[data-theme="light"] .switch::before {
  transform: translateX(22px);
}

.switch-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.logo-inline {
  display: flex;
  justify-content: center;
  margin: 6px 0 8px;
}

.logo-img {
  width: clamp(180px, 38vw, 240px);
  height: auto;
}

body[data-theme="light"] .logo-img {
  filter: drop-shadow(0 2px 6px rgba(15, 28, 47, 0.2));
}


.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(125deg, #facc15 0%, #f97316 48%, transparent 58%),
    var(--card);
  border: 1px solid rgba(61, 224, 255, 0.35);
  color: var(--fg);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.status-row {
  display: flex;
  justify-content: center;
  margin: 8px 0 12px;
}

h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.subtitle {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 20px auto 28px;
  text-align: left;
}

.card {
  padding: 18px 18px 20px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
}

.card h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-line {
  margin: 0 0 8px;
  color: var(--muted);
}

.contact-line a {
  color: var(--fg);
  text-decoration: none;
}

.contact-line a:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 16px;
  background: linear-gradient(120deg, var(--accent), #60f6c4);
  color: #04121a;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(61, 224, 255, 0.35);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(61, 224, 255, 0.45);
}

.company {
  margin-top: 24px;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c4d0e6;
}

footer {
  margin-top: 44px;
  font-size: 0.8rem;
  color: #6c7485;
}

@media (max-width: 640px) {
  body {
    padding: 20px 14px;
  }

  .container {
    padding: 32px 18px 36px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 16px;
  }

  .logo-inline {
    margin: 8px 0 10px;
  }

  .logo-img {
    width: clamp(160px, 62vw, 220px);
  }

  .status-pill {
    margin-bottom: 14px;
    font-size: 0.85rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.98rem;
    margin-bottom: 22px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 16px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  footer {
    margin-top: 32px;
  }
}
