:root {
  --bg: #faf8f5;
  --bg-dark: #0e1116;
  --ink: #16181d;
  --ink-soft: #5a5f6b;
  --accent: #e8632a;
  --accent-soft: rgba(232, 99, 42, 0.1);
  --line: #e8e4dd;
  --white: #ffffff;
  --radius: 18px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --shadow: 0 20px 60px rgba(14, 17, 22, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

.container { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(14, 17, 22, 0.05);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a { color: var(--ink-soft); transition: color 0.2s ease; }
.nav a:hover { color: var(--ink); }
.lang-toggle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Hamburger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 60;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(232, 99, 42, 0.12), transparent 65%);
  pointer-events: none;
}
.hero-inner { max-width: 1060px; margin: 0 auto; width: 100%; }
.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 30px;
}
.hero-title .line { display: block; }
.hero-title .accent {
  color: transparent;
  background: linear-gradient(100deg, var(--accent), #c23f14);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-sub {
  max-width: 560px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(14, 17, 22, 0.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(14, 17, 22, 0.24); }
.btn-ghost {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding: 110px 24px; }
.section-dark {
  background: var(--bg-dark);
  color: #f2f0ec;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-label { color: #f0966d; }
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 48px;
  max-width: 700px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.about-grid p { color: var(--ink-soft); margin-bottom: 20px; font-size: 1.05rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-tags span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(232, 99, 42, 0.5); background: rgba(255, 255, 255, 0.07); }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.card-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f0966d;
}
.card-status {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(232, 99, 42, 0.15);
  color: #f0966d;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.card-desc { color: #aab0bc; font-size: 0.95rem; }

/* ---------- Platforms ---------- */
.platform-list { display: flex; flex-direction: column; }
.platform {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s ease;
}
.platform:first-child { border-top: 1px solid var(--line); }
.platform:hover { padding-left: 18px; }
.platform-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.platform-desc { color: var(--ink-soft); font-size: 0.95rem; text-align: right; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .section-title { margin-left: auto; margin-right: auto; }
.contact-sub {
  color: #aab0bc;
  font-size: 1.08rem;
  max-width: 480px;
  margin: -28px auto 40px;
}
.contact-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact-links .btn-primary { background: var(--accent); box-shadow: 0 10px 30px rgba(232, 99, 42, 0.3); }
.contact-links .btn-ghost { border-color: rgba(255, 255, 255, 0.2); background: transparent; color: #f2f0ec; }
.contact-links .btn-ghost:hover { border-color: var(--accent); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #8b919c;
  padding: 36px 24px;
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .cards { grid-template-columns: 1fr; }
  .platform { flex-direction: column; gap: 6px; }
  .platform-desc { text-align: left; }
  .section { padding: 80px 20px; }
  .nav { gap: 16px; }
  .nav a { font-size: 0.85rem; }
}

@media (max-width: 680px) {
  .site-header { padding: 14px 18px; }
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    font-size: 1.5rem;
  }
  .nav.open { transform: translateY(0); }
  .nav a { font-size: 1.4rem; font-weight: 600; color: var(--ink); }
  .lang-toggle { font-size: 1rem; padding: 10px 20px; }
  .hero { padding-top: 100px; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; text-align: center; }
  .contact-links .btn { width: 100%; text-align: center; }
}
