:root {
  /* ================= COLORS ================= */

  --bg: hsl(0 0% 4%);
  --text: hsl(34 18% 88%);
  --muted: hsl(34 10% 60%);

  --primary: hsl(34 35% 62%);
  --primary-dark: hsl(34 35% 45%);

  --border: hsl(0 0% 15%);

  /* overlays */
  --overlay-dark: rgba(0, 0, 0, 0.6);

  /* ================= TYPOGRAPHY ================= */

  --font-display: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;

  --fs-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8rem);
  --fs-sm: clamp(0.85rem, 0.8rem + 0.3vw, 0.95rem);
  --fs-md: clamp(1rem, 0.95rem + 0.3vw, 1.1rem);
  --fs-lg: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --fs-xl: clamp(1.8rem, 1.5rem + 1vw, 2.4rem);
  --fs-2xl: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --fs-3xl: clamp(4rem, 3rem + 4vw, 6rem);

  /* ================= SPACING ================= */

  --container: 1200px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 140px;

  --container-sm: 640px;
  --container-md: 900px;
  --container-lg: 1200px;
  --container-xl: 1400px;

  /* ================= ANIMATIONS ================= */

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.6s var(--ease);

  /* ================= RADIUS ================= */

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-full: 999px;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  opacity: 0;
  animation: pageLoad 0.8s ease forwards;
}

@keyframes pageLoad {
  to {
    opacity: 1;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

a,
button {
  transition: var(--transition);
}

/* ================= NAVBAR ================= */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.6s ease;
  padding: 0 10%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* logo */
.logo {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: hsl(34 18% 88%);
  text-decoration: none;
}

/* desktop links */
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: Inter, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: hsl(34 10% 60%);
  transition: 0.3s;
}

.nav-links a:hover {
  color: hsl(34 18% 88%);
}

.nav-links a.active {
  color: hsl(34 35% 62%);
}

/* scroll effect */
.header.scrolled {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* mobile button */
.menu-btn {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  color: hsl(34 18% 88%);
  cursor: pointer;
}

/* ================= MOBILE MENU ================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: hsl(0 0% 4%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  opacity: 0;
  transition: 0.5s ease;
  z-index: 2000;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 24px;
  background: none;
  border: none;
  color: hsl(34 18% 88%);
  cursor: pointer;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.mobile-link {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: hsl(34 18% 88%);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards;
}

.mobile-menu.open .mobile-link:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-menu.open .mobile-link:nth-child(2) {
  animation-delay: 0.2s;
}
.mobile-menu.open .mobile-link:nth-child(3) {
  animation-delay: 0.3s;
}
.mobile-menu.open .mobile-link:nth-child(4) {
  animation-delay: 0.4s;
}
.mobile-menu.open .mobile-link:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}

/* ================= SCROLL PROGRESS ================= */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--primary);
  z-index: 9999;
}

/* LABEL */
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;

  color: var(--muted);
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-label::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 1px;

  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.timestamp {
  font-family: monospace;
  font-size: var(--fs-xs);
  color: var(--primary);
  letter-spacing: 0.2em;
}

/* HERO */
.pricing-hero {
  padding: 140px 10% 60px;
}

.label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  display: flex;
  justify-content: space-between;
}

.pricing-hero h1 {
  font-size: 64px;
  font-family: serif;
  margin: 20px 0;
}

.accent {
  color: #c9a46a;
  font-style: italic;
}

.subtitle {
  max-width: 600px;
  color: #aaa;
}

/* GRID */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #222;
  margin: 0 10% 100px;
}

.package {
  background: #0f0f0f;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: 0.4s ease;
}

.package:hover {
  transform: translateY(-6px);
  background: #141414;
}

/* featured */
.package.featured {
  border-top: 2px solid #c9a46a;
}

/* text */
.code {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #777;
}

.package h2 {
  font-family: serif;
  margin: 10px 0;
}

.subtitle-small {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* price */
.price {
  font-size: 42px;
  font-family: serif;
  margin: 20px 0;
  color: #fff;
}

/* list */
ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

li {
  margin: 10px 0;
  color: #aaa;
  font-size: 14px;
}

/* button */
.btn {
  margin-top: auto;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #333;
  color: #aaa;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  transition: 0.4s;
}

.btn:hover {
  border-color: #c9a46a;
  color: #c9a46a;
}

/* ADD ONS */
.addons {
  padding: 0 10% 100px;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: #222;
}

.addon {
  background: #0f0f0f;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
}

/* FOOTER */
.pricing-footer {
  padding: 80px 10%;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  gap: 40px;
}

.cta {
  border: 1px solid #c9a46a;
  color: #c9a46a;
  padding: 14px 30px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-family: var(--font-body);
}

.cta:hover {
  background: #c9a46a;
  color: #000;
}

/* responsive */
@media (max-width: 900px) {
  .packages {
    grid-template-columns: 1fr;
  }

  .addons-grid {
    grid-template-columns: 1fr;
  }

  .pricing-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ================= FOOTER ================= */

.footer {
  border-top: 1px solid var(--border);
  padding: 100px 10% 40px;
  margin-top: 100px;
}

/* grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

/* brand */
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  color: var(--text);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

/* titles */
.footer-title {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

/* links */
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--text);
}

/* bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

.cursor-glow {
  position: fixed;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(212, 175, 140, 0.35),
    transparent 70%
  );
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.08s ease;
  mix-blend-mode: screen;
}
