/* ===========================
   GLOBAL STYLES — NYX SOLUTIONS
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg-primary: #060608;
  --bg-secondary: rgba(10, 10, 16, 0.75);
  --bg-card: rgba(14, 14, 22, 0.80);
  --bg-card-hover: rgba(20, 20, 32, 0.88);
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #6d28d9;
  --orange: #f97316;
  --orange-light: #fb923c;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --text-primary: #f1f0f5;
  --text-secondary: #ffffff;
  --text-muted: #5c5a6e;
  --border: rgba(139, 92, 246, 0.15);
  --border-hover: rgba(139, 92, 246, 0.4);
  --gradient: linear-gradient(135deg, var(--purple), var(--blue));
  --gradient-warm: linear-gradient(135deg, var(--orange), var(--purple));
}

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

html {
  scroll-behavior: smooth;
  background: #060608;
}

body {
  background-color: transparent;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul { list-style: none; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- GRADIENT TEXT ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--blue-light), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  border-radius: 6px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.45);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary span, .btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  border-radius: 6px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.btn-ghost:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--purple);
  color: var(--purple-light);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ---- SECTION COMMON ---- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-primary);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(6, 6, 8, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(59,130,246,0.15));
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  transition: all 0.3s;
}

.logo-placeholder:hover {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.2);
}

.logo-icon {
  font-size: 1.2rem;
  color: var(--orange);
}
.logo {
  width: 3.5vw;      /* scales with screen */
  max-width: 150px; /* prevents it getting huge */
  height: auto;
}

.logo-main {
  width: 20vw;      /* scales with screen */
  max-width: 750px; /* prevents it getting huge */
  height: auto;
  margin-bottom: 10px;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--purple-light), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.08em;
}

.logo-placeholder.small {
  padding: 0.3rem 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.1);
}

.nav-links a.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  padding: 0.5rem 1.25rem;
}

.nav-links a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.12) 0%, transparent 65%);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.social-btn:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  background: rgba(139, 92, 246, 0.1);
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6,6,8,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .container { padding: 0 1.25rem; }
}
@media (max-width: 768px) {

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

  .packages-section h1 {
    font-size: 2rem;
  }

  /* LOGO BIGGER ON MOBILE */
  .logo {
    width: 10vw;
  }

  .logo-main {
    width: 45vw;
  }

  /* BUTTON FULL WIDTH + CENTER */
  .package-btn {
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0 auto; /* THIS centers it */
  }
}

@media (max-width: 480px) {
  .package {
    padding: 25px 18px;
  }

  .package-btn {
    max-width: 100%;
  }
}
