﻿:root {
  color-scheme: dark;
  --ink: #f4ecff;
  --paper: #120a1f;
  --purple-900: #2c0d4f;
  --purple-700: #5b2aa9;
  --purple-500: #7f3bff;
  --purple-300: #b18cff;
  --accent: #ffb350;
  --card: #1b102c;
  --line: #2a1a40;
  --shadow: 0 24px 60px rgba(12, 6, 26, 0.6);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #2a0d4d 0%, #140a22 50%, #0d0817 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "DM Serif Display", "Times New Roman", serif;
  margin: 0 0 16px;
  letter-spacing: 0.3px;
}

p {
  margin: 0 0 12px;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.7;
  z-index: 0;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(160, 124, 244, 0.7), rgba(160, 124, 244, 0));
  top: -180px;
  right: -120px;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 179, 80, 0.4), rgba(255, 179, 80, 0));
  bottom: -240px;
  left: -200px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(127, 59, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 59, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 8, 28, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

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

.logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.brand-title {
  font-weight: 700;
  margin: 0;
}

.brand-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #b9add2;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-weight: 600;
  color: #d7c8ff;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--purple-500);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.lang-toggle {
  border: 1px solid var(--purple-300);
  background: rgba(36, 18, 58, 0.9);
  color: #e9dcff;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(76, 31, 130, 0.45);
}

.hero {
  padding: 110px 0 80px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--purple-300);
  font-size: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
}

.hero-lead {
  font-size: 1.1rem;
  color: #cdbef0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--purple-500);
  color: white;
  box-shadow: 0 18px 30px rgba(89, 30, 190, 0.55);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  border-color: var(--purple-300);
  color: #e0d4ff;
  background: transparent;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.metric-number {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
}

.metric-label {
  color: #b8a9d7;
  margin: 4px 0 0;
}

.hero-card {
  background: linear-gradient(160deg, rgba(127, 59, 255, 0.25), rgba(255, 179, 80, 0.12));
  border-radius: 32px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-card-inner {
  background: var(--card);
  padding: 26px;
  border-radius: 26px;
  border: 1px solid var(--line);
}

.card-title {
  font-weight: 700;
  margin-bottom: 12px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 18px;
}

.card-tags span {
  background: rgba(127, 59, 255, 0.16);
  color: #e3d6ff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.card-cta {
  font-weight: 600;
  color: #e3d6ff;
}

.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 40px;
}

.section-lead {
  max-width: 560px;
  color: #c6b7e6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(16, 8, 32, 0.6);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.work {
  background: linear-gradient(180deg, #140a22 0%, #0f081a 100%);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.work-panel {
  background: var(--card);
  border-radius: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.work-panel.alt {
  background: linear-gradient(180deg, rgba(127, 59, 255, 0.18), rgba(255, 179, 80, 0.12));
}

.work-list {
  padding-left: 18px;
  color: #c4b6e4;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill-grid span {
  border: 1px solid rgba(111, 41, 199, 0.3);
  color: #e4d8ff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
}

.contact-card {
  background: var(--card);
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-value {
  font-weight: 700;
  font-size: 1.2rem;
}

.contact-note {
  color: #b9abda;
}

.site-footer {
  padding: 30px 0 50px;
  border-top: 1px solid var(--line);
  background: rgba(15, 8, 28, 0.8);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #b8abd8;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-card,
.section {
  animation: fadeUp 0.7s ease both;
}

.hero-card {
  animation-delay: 0.1s;
}

.section:nth-of-type(2) {
  animation-delay: 0.15s;
}

.section:nth-of-type(3) {
  animation-delay: 0.2s;
}

.section:nth-of-type(4) {
  animation-delay: 0.25s;
}
