@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500&display=swap');

:root {
  --bg: #060a14;
  --bg-soft: #0b1221;
  --card: rgba(13, 23, 42, 0.82);
  --card-strong: rgba(10, 19, 36, 0.92);
  --line: rgba(131, 162, 211, 0.25);
  --text: #e9f2ff;
  --muted: #9cb5d9;
  --brand: #2acbff;
  --brand-2: #1de3b0;
  --brand-3: #72f0cd;
  --danger: #ffbfbf;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 12% -8%, rgba(36, 124, 255, 0.28), transparent 42%),
    radial-gradient(circle at 90% 8%, rgba(29, 227, 176, 0.20), transparent 42%),
    linear-gradient(180deg, #070d19 0%, #060a14 52%, #04080f 100%);
  color: var(--text);
  font-family: 'Sora', sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, 100% - 40px);
  margin: 26px auto 50px;
  position: relative;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  background: rgba(6, 10, 20, 0.62);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.brand {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--text);
  border-color: var(--line);
  background: rgba(20, 32, 58, 0.6);
}

.nav a.lang-pill {
  color: #041324;
  background: linear-gradient(130deg, var(--brand), var(--brand-2));
  border-color: transparent;
  font-weight: 600;
}

main {
  display: grid;
  gap: 22px;
  margin-top: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 0.7s ease forwards;
}

main .reveal:nth-of-type(1) { animation-delay: 0.04s; }
main .reveal:nth-of-type(2) { animation-delay: 0.12s; }
main .reveal:nth-of-type(3) { animation-delay: 0.2s; }
main .reveal:nth-of-type(4) { animation-delay: 0.28s; }
main .reveal:nth-of-type(5) { animation-delay: 0.36s; }
main .reveal:nth-of-type(6) { animation-delay: 0.44s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(1100px 500px at 15% 0%, rgba(37, 100, 255, 0.20), transparent 58%),
    radial-gradient(880px 400px at 90% 0%, rgba(31, 210, 177, 0.16), transparent 58%),
    var(--card-strong);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-3);
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-3));
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 .display-alt {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  background: linear-gradient(120deg, #f1f6ff, #90bfff 46%, #6bf2d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(126, 160, 210, 0.34);
  border-radius: 999px;
  color: #d5e5ff;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  color: #041324;
  background: linear-gradient(125deg, var(--brand), var(--brand-2));
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(18, 32, 56, 0.6);
}

.metric-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 10px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: rgba(12, 23, 41, 0.82);
}

.metric strong {
  display: block;
  font-size: 1.02rem;
}

.metric span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-width: 530px;
  border-radius: 22px;
  border: 1px solid rgba(130, 164, 214, 0.36);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
  display: block;
  margin-left: auto;
  animation: floatCard 7.4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-chip {
  position: absolute;
  right: -8px;
  bottom: 22px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(10, 19, 35, 0.94);
  border: 1px solid rgba(104, 225, 195, 0.5);
  font-size: 0.72rem;
  color: #d5fdf2;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.section,
.cta,
.company,
.about,
.approach {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  padding: clamp(18px, 2.8vw, 32px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
}

.section h2,
.about h2,
.company h2,
.approach h2,
.cta h2,
.legal-body h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.section-head p,
.about p,
.company p,
.approach p,
.cta p,
.legal-body p,
.legal-body li {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  border: 1px solid rgba(126, 160, 210, 0.25);
  border-radius: 18px;
  padding: 14px;
  background: rgba(14, 25, 44, 0.76);
}

.feature-card h3 {
  margin: 10px 0 8px;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 6px rgba(42, 203, 255, 0.12);
}

.approach-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step {
  border: 1px solid rgba(126, 160, 210, 0.25);
  border-radius: 16px;
  background: rgba(11, 21, 38, 0.8);
  padding: 14px;
}

.step b {
  color: var(--brand-3);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step h3 {
  margin: 8px 0 6px;
  font-size: 0.98rem;
}

.step p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
}

.about-wrap {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: center;
}

.about-wrap img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(126, 160, 210, 0.27);
}

.about-points {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.about-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d6e4fb;
  font-size: 0.85rem;
}

.about-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
}

.company-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.company-card {
  border: 1px solid rgba(126, 160, 210, 0.25);
  border-radius: 14px;
  padding: 12px;
  background: rgba(12, 24, 43, 0.82);
}

.company-card dt {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #90a6c8;
}

.company-card dd {
  margin: 6px 0 0;
  color: #eff5ff;
  font-size: 0.92rem;
}

.cta {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.cta .mail {
  text-decoration: none;
  font-size: clamp(1.06rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: #0c1a31;
  background: linear-gradient(120deg, #e6f2ff, #cbfff1);
  border-radius: 12px;
  padding: 12px 16px;
}

.footer {
  margin-top: 20px;
  border-top: 1px solid rgba(126, 160, 210, 0.25);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #8fa6ca;
  font-size: 0.8rem;
}

.footer a {
  color: #b9cceb;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  color: #e8f2ff;
}

.legal-page .hero {
  grid-template-columns: 1fr;
  padding: 24px;
}

.legal-body {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.legal-body .card {
  border: 1px solid rgba(126, 160, 210, 0.22);
  border-radius: 16px;
  padding: 14px;
  background: rgba(12, 24, 43, 0.8);
}

.legal-body ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.legal-body a {
  color: #d9f4ff;
}

@media (max-width: 980px) {
  .hero,
  .about-wrap,
  .feature-grid,
  .approach-list,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    margin: 8px auto 0;
    max-width: 100%;
  }

  .floating-chip {
    right: 10px;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(1180px, 100% - 20px);
    margin-top: 14px;
  }

  .topbar {
    top: 8px;
    padding: 12px;
  }

  .brand {
    font-size: 0.84rem;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    font-size: 0.76rem;
    padding: 7px 10px;
  }

  .hero,
  .section,
  .cta,
  .company,
  .about,
  .approach {
    border-radius: 18px;
    padding: 16px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 10vw, 2.5rem);
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .cta .mail {
    width: 100%;
    text-align: center;
  }
}
