:root {
  --bg-0: #081019;
  --bg-1: #102035;
  --bg-2: #122741;
  --surface: rgba(11, 23, 39, 0.7);
  --surface-strong: rgba(8, 19, 33, 0.92);
  --stroke: rgba(255, 255, 255, 0.12);
  --text-main: #e2e8f0;
  --accent-a: #2dd4bf;
  --accent-b: #f4bf50;
  --accent-c: #6cc9ff;
  --shadow-lg: 0 16px 42px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(45, 212, 191, 0.18), transparent 40%),
    radial-gradient(circle at 84% 8%, rgba(244, 191, 80, 0.16), transparent 35%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 54%, #070d14);
  color: var(--text-main);
}

.skip-link {
  position: fixed;
  left: 0.9rem;
  top: 0.9rem;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.8rem;
  padding: 0.55rem 0.85rem;
  background: #0c1828;
  color: #f8fafc;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.hero-grid {
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.glow-orb {
  pointer-events: none;
  position: absolute;
  border-radius: 9999px;
  filter: blur(55px);
  opacity: 0.55;
  transform: translateZ(0);
}

.orb-a {
  top: -80px;
  left: -120px;
  height: 280px;
  width: 280px;
  background: rgba(45, 212, 191, 0.7);
}

.orb-b {
  top: 20px;
  right: -130px;
  height: 320px;
  width: 320px;
  background: rgba(244, 191, 80, 0.62);
}

.orb-c {
  bottom: -190px;
  left: 45%;
  height: 360px;
  width: 360px;
  background: rgba(108, 201, 255, 0.53);
}

.surface {
  border: 1px solid var(--stroke);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.surface.strong {
  background: var(--surface-strong);
}

.section-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.accent-gradient {
  background: linear-gradient(100deg, var(--accent-a), var(--accent-b), var(--accent-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  line-height: 1.1;
  color: rgba(226, 232, 240, 0.92);
}

.monospace-tag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.interactive-tag {
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.interactive-tag:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(115deg, #f3b94d, #ffd77e);
  color: #162032;
  transition: transform 220ms ease, filter 220ms ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(248, 250, 252, 0.95);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.shine-card {
  position: relative;
}

.shine-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 1.15rem;
  opacity: 0;
  transition: opacity 260ms ease;
  background: linear-gradient(120deg, rgba(45, 212, 191, 0.24), rgba(108, 201, 255, 0.18), rgba(244, 191, 80, 0.18));
  filter: blur(16px);
}

.shine-card:hover::before {
  opacity: 1;
}

.project-card {
  position: relative;
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.project-card.featured-card {
  border-color: rgba(244, 191, 80, 0.38);
}

.project-empty {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  color: rgba(226, 232, 240, 0.86);
}

.result-card {
  position: relative;
  overflow: hidden;
}

.result-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.95), rgba(108, 201, 255, 0.8), rgba(244, 191, 80, 0.8));
  opacity: 0.85;
}

.result-kicker {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(108, 201, 255, 0.92);
}

.package-card {
  position: relative;
  transition: border-color 220ms ease, transform 220ms ease;
}

.package-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
}

.package-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.package-card li::marker {
  color: rgba(108, 201, 255, 0.85);
}

.featured-package {
  border-color: rgba(244, 191, 80, 0.45);
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 191, 80, 0.14), transparent 45%),
    var(--surface-strong);
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] {
  border-color: rgba(255, 255, 255, 0.22);
}

details summary::after {
  content: "+";
  float: right;
  color: rgba(244, 191, 80, 0.9);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

details[open] summary::after {
  content: "-";
}

@media (max-width: 768px) {
  .orb-a {
    left: -160px;
  }

  .orb-b {
    right: -170px;
  }

  .orb-c {
    left: 30%;
    width: 290px;
    height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary,
  .btn-secondary,
  .interactive-tag,
  .project-card,
  .package-card {
    transition: none;
  }

  .project-card:hover,
  .package-card:hover,
  .btn-primary:hover {
    transform: none;
  }
}
