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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

:root {
  --midnight: #1B0B3A;
  --midnight-2: #120727;
  --bg: #0B061A;
  --card: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .12);
  --text: #F3F4F6;
  --muted: rgba(243, 244, 246, .72);
  --ruby: #C1123D;
  --ruby-dim: rgba(193, 18, 61, .18);
  --accent: #6D28D9;
  --accent-dim: rgba(109, 40, 217, .22);
  --shadow: 0 16px 50px rgba(0, 0, 0, .35);
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1120px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --trans: 0.15s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  transition: opacity .18s ease;
}

body.lang-switching {
  opacity: 0;
}

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

section {
  padding: 12px 0;
}

.section-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  list-style: circle;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
}

.grid--alt {
  grid-template-columns: 1.1fr 1fr;
}

.grid--alt .content {
  order: 2;
}

.grid--alt .media {
  order: 1;
}

.content {
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.media {
  position: relative;
  background: rgba(0, 0, 0, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  min-height: 360px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.3px;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  color: var(--muted);
  font-size: 1rem;
}

ul {
  padding-right: 0;
  padding-left: 20px;
  color: rgba(243, 244, 246, .82);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

li {
  font-size: .95rem;
}

.ruby-text {
  background: linear-gradient(135deg, var(--ruby), #6D28D9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  transition: transform var(--trans), background var(--trans), border-color var(--trans), box-shadow var(--trans);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
}

.btn--primary {
  border-color: rgba(193, 18, 61, .45);
  background: linear-gradient(135deg, rgba(193, 18, 61, .95), rgba(109, 40, 217, .85));
}

.btn--primary:hover {
  border-color: rgba(193, 18, 61, .65);
  background: linear-gradient(135deg, #C1123D, rgba(109, 40, 217, .95));
  box-shadow: 0 8px 28px rgba(193, 18, 61, .35);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 28px 0 10px;
}

.footer-simple {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 18px;
}

.footer-copy {
  font-size: .78rem;
  color: rgba(255, 255, 255, .22);
}

.footer-bar {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
}

#app {
  position: relative;
}

/* language animation */

.i18n-out-ltr {
  animation: i18nOutLTR 180ms ease forwards;
}

.i18n-in-ltr {
  animation: i18nInLTR 260ms cubic-bezier(.22,1,.36,1) forwards;
}

.i18n-out-rtl {
  animation: i18nOutRTL 180ms ease forwards;
}

.i18n-in-rtl {
  animation: i18nInRTL 260ms cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes i18nOutLTR {
  to {
    opacity: 0;
    transform: translateX(18px);
  }
}

@keyframes i18nInLTR {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes i18nOutRTL {
  to {
    opacity: 0;
    transform: translateX(-18px);
  }
}

@keyframes i18nInRTL {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}