/* ==========================================================
   NEXLYRA SOLUTION LLC — Stylesheet
   Design tokens
   ========================================================== */
:root {
  --bg: #FFFFFF;
  --bg-panel: #F4F8FF;
  --bg-panel-alt: #FFFFFF;
  --bg-panel-raise: #0E2A5C;
  --border: rgba(11, 44, 97, 0.10);
  --border-strong: rgba(11, 44, 97, 0.20);

  --text-primary: #0B1E3A;
  --text-secondary: #3E5578;
  --text-muted: #7286A3;

  --accent-signal: #1462E8;
  --accent-signal-dim: #1462E81a;
  --accent-alert: #D63A4B;
  --accent-alert-dim: #D63A4B1a;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 20px 60px -20px rgba(11, 44, 97, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Dedicated dark "screen" tones for the hero monitor widget only */
  --screen-1: #16305F;
  --screen-2: #081B3D;
  --screen-border: rgba(255, 255, 255, 0.14);
  --screen-text: #C9D8F5;
  --screen-text-muted: #7E93BE;
}

/* ==========================================================
   Reset
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--text-primary); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent-signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-signal {
  background: var(--accent-signal);
  color: #FFFFFF;
  box-shadow: 0 0 0 0 rgba(20, 98, 232, 0.5);
}
.btn-signal:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(20, 98, 232, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent-signal); color: var(--accent-signal); }
.btn-outline {
  background: transparent;
  color: var(--accent-signal);
  border-color: var(--accent-signal);
  width: 100%;
  margin-top: 20px;
}
.btn-outline:hover { background: var(--accent-signal-dim); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ==========================================================
   Header / Nav
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 36px; height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(20, 98, 232, 0.35));
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-suffix {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--text-primary);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   Hero
   ========================================================== */
.hero { padding: 84px 0 64px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent-signal);
  margin-bottom: 20px;
}
.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-signal);
  box-shadow: 0 0 0 0 rgba(20, 98, 232, 0.7);
  animation: pulse-dot 1.8s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(20, 98, 232, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(20, 98, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 98, 232, 0); }
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw + 0.6rem, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero-sub {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-trust { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-trust li { display: flex; flex-direction: column; gap: 4px; }
.hero-trust strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-primary); }
.hero-trust span { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Monitor visual */
.hero-visual { display: flex; justify-content: center; }
.monitor-panel {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(165deg, var(--screen-1), var(--screen-2));
  border: 1px solid var(--screen-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  animation: float-panel 6s ease-in-out infinite;
}
@keyframes float-panel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.monitor-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--screen-border);
  margin-bottom: 12px;
}
.monitor-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--screen-text);
  flex: 1;
}
.monitor-clock {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #6FE0FF;
}
.feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.feed {
  position: relative;
  aspect-ratio: 4 / 3;
  background: radial-gradient(120% 120% at 20% 0%, #1D3E76 0%, #081027 100%);
  border: 1px solid var(--screen-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 8px;
}
.feed-tag {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  color: var(--screen-text-muted);
  display: block;
}
.feed-live {
  position: absolute;
  top: 8px; right: 8px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: #FF6B6B;
  letter-spacing: 0.08em;
}
.scanline {
  position: absolute;
  left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(111, 224, 255, 0) 0%, rgba(111, 224, 255, 0.22) 50%, rgba(111, 224, 255, 0) 100%);
  animation: scan 3.4s linear infinite;
}
.feed:nth-child(2) .scanline { animation-delay: 0.6s; }
.feed:nth-child(3) .scanline { animation-delay: 1.2s; }
.feed:nth-child(4) .scanline { animation-delay: 1.8s; }
@keyframes scan {
  0% { top: -40%; }
  100% { top: 100%; }
}
.monitor-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--screen-border);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--screen-text-muted);
  letter-spacing: 0.05em;
}

/* ==========================================================
   Section shared
   ========================================================== */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent-signal);
  margin: 0 0 14px;
}
.section-title {
  font-size: clamp(1.7rem, 2.4vw + 0.6rem, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin-bottom: 44px;
}
section { padding: 88px 0; }
.services { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg-panel-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.service-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.service-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.channel-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-signal);
  border: 1px solid var(--accent-signal);
  border-radius: 6px;
  padding: 3px 8px;
}
.service-head h3 { font-size: 1.4rem; }
.service-desc { color: var(--text-secondary); margin-bottom: 22px; }
.feature-list { flex: 1; }
.feature-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 11px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent-signal);
}

/* Process */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-list li {
  border-top: 2px solid var(--border-strong);
  padding-top: 20px;
}
.process-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--accent-signal);
  margin-bottom: 10px;
}
.process-list h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-list p { color: var(--text-secondary); font-size: 0.92rem; }

/* Why us */
.why-us { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--bg-panel-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent-signal-dim);
  color: var(--accent-signal);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.why-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.why-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ==========================================================
   Trust strip
   ========================================================== */
.trust-strip { padding: 0 0 88px; }
.trust-strip-grid {
  background: var(--bg-panel-raise);
  border-radius: var(--radius-lg);
  padding: 26px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-soft);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  white-space: nowrap;
}
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-signal);
  color: #FFFFFF;
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* ==========================================================
   Booking
   ========================================================== */
.booking-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}
.booking-intro .hero-sub { margin-top: 4px; }
.booking-form {
  background: var(--bg-panel-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-signal);
  box-shadow: 0 0 0 3px var(--accent-signal-dim);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-color: var(--accent-alert); }
.field-error {
  font-size: 0.76rem;
  color: var(--accent-alert);
  min-height: 14px;
  display: block;
}
.btn-submit {
  width: 100%;
  margin-top: 6px;
  position: relative;
}
.btn-spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #FFFFFF;
  display: none;
  animation: spin 0.7s linear infinite;
}
.btn-submit.loading .btn-spinner { display: inline-block; }
.btn-submit.loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin-top: 16px;
  font-size: 0.92rem;
  padding: 0;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}
.form-status.success {
  padding: 14px 16px;
  background: var(--accent-signal-dim);
  color: var(--accent-signal);
  border: 1px solid var(--accent-signal);
}
.form-status.error {
  padding: 14px 16px;
  background: var(--accent-alert-dim);
  color: var(--accent-alert);
  border: 1px solid var(--accent-alert);
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { padding: 64px 0 0; border-top: 1px solid var(--border); background: var(--bg-panel); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-muted); margin-top: 14px; max-width: 34ch; font-size: 0.92rem; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover {
  background: var(--accent-signal);
  border-color: var(--accent-signal);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.footer-col a { color: var(--text-secondary); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent-signal); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-link { color: var(--text-muted); font-size: 0.8rem; transition: color 0.2s ease; }
.admin-link:hover { color: var(--accent-signal); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .service-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .booking-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 18px 24px 26px;
    gap: 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-sm { display: none; }
  .process-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-strip-grid { flex-direction: column; align-items: flex-start; padding: 22px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
}

@media (max-width: 420px) {
  .hero-trust { gap: 22px; }
  .monitor-panel { padding: 12px; }
}
