@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #0b0f14;
  --panel: #121723;
  --panel-border: #1f2633;
  --text: #e6e8ee;
  --muted: #9aa3b2;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --shadow: rgba(0, 0, 0, 0.4);
  --hero-block-width: 720px;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-size: 16px;
  background: radial-gradient(1200px 800px at 20% 20%, rgba(56, 189, 248, 0.15), transparent 60%),
    radial-gradient(900px 600px at 80% 10%, rgba(29, 78, 216, 0.18), transparent 60%),
    linear-gradient(120deg, #0a0f17 0%, #090c12 60%, #0b1018 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.hero {
  width: min(980px, 95vw);
  display: grid;
  gap: 28px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px -30px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(56, 189, 248, 0.12), transparent 70%);
  z-index: -1;
}

.hero-header {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 12px 20px rgba(14, 165, 233, 0.35));
}

.brand {
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: "Space Grotesk", "IBM Plex Sans", "Segoe UI", sans-serif;
}

.hero-content h1 {
  margin: 0 0 12px 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.05;
}

.hero-content,
.hero-card,
.ad-slot,
.hero-footer {
  width: 100%;
  max-width: var(--hero-block-width);
}

.hero-content p {
  margin: 0 0 24px 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 100%;
}

.hero-callout {
  margin: -6px 0 28px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--text);
  font-size: 15px;
  max-width: 100%;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.15);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button.primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #04121d;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.button.ghost {
  color: var(--text);
  border-color: var(--panel-border);
  background: rgba(15, 23, 42, 0.6);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.hero-card {
  position: relative;
  border-radius: 20px;
  background: rgba(13, 18, 27, 0.9);
  border: 1px solid var(--panel-border);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 20% 0%, rgba(56, 189, 248, 0.2), transparent 70%);
  pointer-events: none;
}

.card-inner {
  position: relative;
  padding: 24px;
  display: grid;
  gap: 10px;
}

.card-line {
  font-weight: 600;
  font-size: 16px;
}

.card-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
}

.hero-footer {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ad-slot {
  display: flex;
  justify-content: center;
}

.ad-slot ins.adsbygoogle {
  width: 728px;
  height: 90px;
  display: inline-block;
}

@media (max-width: 760px) {
  .ad-slot ins.adsbygoogle {
    width: 320px;
    height: 100px;
  }
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lang-switch select {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--panel-border);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 720px) {
  .hero {
    gap: 20px;
  }

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

  .button {
    width: 100%;
  }
}
