/* 
  StayLinkX Premium Technical Blueprint Design System
  Strict staylinkx.jpg alignment: Deep Slate Navy, Chrome Silver & Glowing Aqua
  CARD-BOX FREE CONCEPT: Content flows freely separated by thin gridlines, crosshairs (+), and coordinates.
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Manrope:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;750&display=swap');

:root {
  /* Core brand tokens from staylinkx.jpg */
  --bg-dark: #0B131F;          /* Exact deep slate navy background */
  --bg-dark-surface: #101B2B;  /* Slate navy surface */
  --bg-dark-card: #152438;
  
  --bg-light: #ffffff;
  --bg-light-surface: #F8FAFC; /* Clean cool slate gray */
  --bg-light-card: #F1F5F9;
  
  --accent-cyan: #14D8C8;       /* Exact glowing turquoise aqua */
  --accent-cyan-rgb: 20, 216, 200;
  --accent-indigo: #0ea5e9;     /* Sky blue compliment */
  --accent-indigo-rgb: 14, 165, 233;
  --accent-silver: #CBD5E1;     /* Metallic chrome silver text from logo */
  --accent-lime: #10B981;       /* Active Emerald green */
  
  --text-dark: #0F172A;
  --text-muted-dark: #475569;
  --text-light: #F8FAFC;
  --text-muted-light: #94A3B8;

  /* Fonts */
  --font-sans: 'Manrope', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
  line-height: 1.625;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Structural Layouts */
section {
  position: relative;
  width: 100%;
}

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

/* Grid & Layout System */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid-12, .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .grid-12, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }

/* 
  TECHNICAL BLUEPRINT GRAPHICS 
  (No card boxes! Spacious margins, glowing radial indicators, crosshairs, coordinates)
*/

/* Fine Section Divider Lines */
.blueprint-line-x {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(20, 216, 200, 0.15) 15%, rgba(20, 216, 200, 0.15) 85%, transparent);
}

.blueprint-line-y {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(20, 216, 200, 0.15) 15%, rgba(20, 216, 200, 0.15) 85%, transparent);
}

/* Intersecting Crosshairs (+) */
.crosshair-plus {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  pointer-events: none;
  opacity: 0.8;
  text-shadow: 0 0 10px rgba(20, 216, 200, 0.5);
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* Precise Technical Monospace Coordinates */
.sys-coord {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(20, 216, 200, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sys-coord::before {
  content: '//';
  color: var(--accent-silver);
  opacity: 0.5;
}

/* Glowing Spotlights in Background */
.spotlight-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(120px);
  opacity: 0.25;
  z-index: 1;
}

/* Precise Premium Buttons (No bulky bounding cards) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.btn-primary {
  background-color: var(--accent-cyan);
  color: var(--bg-dark);
  border-radius: 4px; /* Clean precise tech corners instead of pill cards */
  box-shadow: 0 0 25px rgba(20, 216, 200, 0.2);
}
.btn-primary:hover {
  background-color: #17ebd9;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(20, 216, 200, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border-bottom: 2px solid var(--accent-silver);
  padding: 1rem 0;
  letter-spacing: 0.1em;
}
.btn-secondary:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.btn-light {
  background-color: transparent;
  color: var(--text-dark);
  border-bottom: 2px solid var(--text-dark);
  padding: 1rem 0;
}
.btn-light:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Borderless Form Inputs */
.form-input {
  width: 100%;
  padding: 1.25rem 0;
  font-family: var(--font-sans);
  font-weight: 600;
  background-color: transparent;
  color: var(--text-dark);
  border: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.15);
  outline: none;
  transition: all 0.3s ease;
}
.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: none;
}

.hero-wrapper {
  position: relative;
  padding-top: 12rem;
  padding-bottom: 10rem;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
}

.hero-wrapper h1, .hero-wrapper h2, .hero-wrapper h3 {
  color: var(--text-light);
}

.hero-wrapper p {
  color: var(--text-muted-light);
}

/* Dynamic Text Underline Hover Effect for Menu */
.nav-link {
  position: relative;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--font-heading);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-cyan);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-active {
  color: var(--accent-cyan) !important;
}
.nav-active::after {
  width: 100% !important;
}

/* Technical Indicator Badges */
.badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
}

.badge-glow .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(20, 216, 200, 0.3);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Centered Translucent Navigation Pill styling */
#main-nav {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Navigation Scroll Transition Overrides (Fluidly transitions from floating to full width) */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 10px 40px rgba(11, 19, 31, 0.05) !important;
  transform: translateX(-50%) translateY(0px) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05) !important;
}

.nav-scrolled-dark {
  background: rgba(11, 19, 31, 0.9) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25) !important;
  transform: translateX(-50%) translateY(0px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
