:root {
  --primary: #0f172a;
  --secondary: #e11d48;
  --accent: #fbbf24;
  --text: #1f2937;
  --background: #f3f4f6;
  --light: #ffffff;
  --overlay: rgba(15, 23, 42, 0.35);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.5;
}

/* nav */
.site-header {
  position: relative;
  z-index: 50;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
}

.navbar .brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  border-bottom: 2px solid var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin-bottom: 4px;
}

/* animated bulbs */
.nav-lights {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 115%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  z-index: 40;
  pointer-events: none;
}

.nav-lights li {
  width: 12px;
  height: 20px;
  background: var(--accent);
  border-radius: 6px 6px 12px 12px;
  box-shadow: 0 10px 12px rgba(251, 191, 36, 0.35);
  animation: twinkle 1.4s ease-in-out infinite;
}

.nav-lights li:nth-child(2n) {
  background: #e11d48;
  animation-delay: 0.2s;
}
.nav-lights li:nth-child(3n) {
  background: #22c55e;
  animation-delay: 0.4s;
}

@keyframes twinkle {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(4px); opacity: .35; }
}

/* basic layout reused from original */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.hero {
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
  padding: 2.5rem 1.5rem 3rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 0.6rem;
}

.btn.primary {
  background: var(--secondary);
  color: #fff;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary);
}

/* footer */
footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1.2rem 0;
  margin-top: 3rem;
}

@media (max-width: 850px) {
  .nav-links {
    position: absolute;
    top: 58px;
    right: 24px;
    background: rgba(15, 23, 42, 0.97);
    flex-direction: column;
    gap: 0;
    min-width: 180px;
    border-radius: 6px;
    overflow: hidden;
    display: none;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li a {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .nav-toggle {
    display: block;
  }
  .nav-lights {
    display: none;
  }
}
