:root {
  --bg: #05070c;
  --panel: #0c1120;
  --panel-soft: #0f162b;
  --text: #e8ebf1;
  --muted: #9aa4b2;

  --accent: #3b82f6;
  --accent2: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --glow: rgba(59, 130, 246, 0.55);

  --ring: rgba(96, 165, 250, 0.55);

  --radius: 18px;
  --radius-lg: 22px;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.6);

  --max: 1200px;
}

/* ================= RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  padding-left: 18px;
}

a {
  color: inherit;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ================= BACKGROUND GRID ================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(59,130,246,0.12), transparent 60%),
    radial-gradient(1000px 500px at 80% 0%, rgba(96,165,250,0.10), transparent 55%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  animation: gridMove 22s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes gridMove {
  from { transform: translateY(0); }
  to   { transform: translateY(42px); }
}

/* ================= LAYOUT ================= */
.layout {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 56px;
  animation: fadeIn 0.7s ease forwards;
}

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

.section {
  margin: 0 0 72px;
}

.section__head {
  text-align: center;
  margin-bottom: 28px;
}

.section__sub {
  margin: 10px auto 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 15px;
}

/* ================= TYPOGRAPHY ================= */
h1, h2, h3, h4 {
  letter-spacing: 0.2px;
  margin: 0;
}

h2 {
  font-size: clamp(26px, 3.2vw, 34px);
}

h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

h4 {
  font-size: 16px;
  margin-top: 18px;
  margin-bottom: 6px;
  color: var(--accent2);
}

.muted { color: var(--muted); }
.lead  { font-size: 16px; color: var(--text); }

/* ================= HERO ================= */
.hero {
  margin: 8px 0 72px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(12,17,32,0.88), rgba(15,22,43,0.78));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 50px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
}

.avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 800;
  box-shadow: 0 0 38px var(--glow);
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
}

.hero__subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.lang-switch {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1001;
  display: inline-flex;
  gap: 8px;
  margin-bottom: 0;
  padding: 6px;
  border-radius: 999px;
  background: rgba(10, 14, 28, 0.8);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.lang-switch__btn {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(15, 22, 43, 0.7);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
}

.lang-switch__btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: rgba(255,255,255,0.3);
}

.lang-switch__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hero__cta hr {
  flex-basis: 100%;
  width: 100%;
  height: 1px;
  border: 0;
  margin: 6px 0;
  background: rgba(255,255,255,0.14);
}

/* Chips / Buttons */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
}
.chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.chip--ghost {
  background: rgba(15, 22, 43, 0.65);
  border: 1px solid rgba(255,255,255,0.10);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.btn--small {
  padding: 8px 12px;
  font-size: 14px;
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, rgba(12,17,32,0.92), rgba(15,22,43,0.86));
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent-soft);
}

.card:focus-within {
  border-color: rgba(96, 165, 250, 0.35);
}

.card p {
  font-size: 15px;
  margin: 0 0 12px;
}

.card ul li {
  font-size: 15px;
  margin-bottom: 6px;
}

/* Card variants */
.card--bleed {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
}
.card--bleed img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

/* ================= CREATOR CARDS ================= */
.creator-card {
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  font-weight: 700;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.14);
}

.creator-card p {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  margin: 0;
  font-weight: 600;
}

.creator-card .icon {
  font-size: 48px;
  margin-bottom: 4px;
}

.creator-card--blue {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}
.creator-card--indigo {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

/* ================= VIDEO ================= */
.featured-videos {
  display: grid;
  gap: 14px;
}

.featured-videos iframe {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  border: none;
  background: rgba(0,0,0,0.25);
}

/* ================= PROJECT SHOWCASE ================= */
.project-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

/* Collage */
.project-collage {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}

.img-btn {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.img-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.project-collage img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.project-collage .img-btn:first-child {
  grid-row: span 2;
}

.project-collage .img-btn:hover img {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}

/* ================= BUSINESS CARD ================= */
.business-card {
  display: grid;
  gap: 20px;
}

.business-card__identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.business-card__avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 0 24px rgba(59,130,246,0.36);
}

.business-card__rows p {
  margin: 0 0 10px;
}

.business-card__rows a {
  color: var(--accent2);
  text-decoration: none;
  border-bottom: 1px dashed rgba(96,165,250,0.65);
}

.business-card__rows a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ================= ABOUT TAGS ================= */
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

.about-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent2);
  font-size: 13px;
  font-weight: 800;
}

/* ================= LINKS ================= */
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.links a {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255,255,255,0.10);
}

.links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
}

.links a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

/* ================= FOOTER ================= */
.footer {
  text-align: center;
  opacity: 0.75;
  margin-top: 46px;
}

/* ================= MODAL ================= */
.no-scroll {
  overflow: hidden;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(5,7,12,0.86);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
  padding: 18px;
}

.image-modal.active {
  opacity: 1;
  pointer-events: all;
}

.image-modal img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(0,0,0,0.75);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(15, 22, 43, 0.7);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.modal-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lang-switch {
    top: 10px;
    right: 10px;
  }

  .hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hero__cta hr {
  flex-basis: 100%;
  width: 100%;
  height: 1px;
  border: 0;
  margin: 6px 0;
  background: rgba(255,255,255,0.14);
}
}

@media (max-width: 720px) {
  .layout {
    padding: 34px 16px 46px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .project-collage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .project-collage .img-btn:first-child {
    grid-row: auto;
  }

  .image-modal img {
    max-height: 78vh;
  }
}
