/* NexusDesk — remote IT support landing */

:root {
  --bg-deep: #070a0f;
  --bg: #0c1118;
  --bg-elevated: #121a24;
  --bg-card: #161f2c;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(94, 234, 212, 0.25);
  --text: #e8eef6;
  --text-muted: #94a3b8;
  --accent: #2dd4bf;
  --accent-dim: #115e59;
  --accent-glow: rgba(45, 212, 191, 0.35);
  --blue: #38bdf8;
  --danger: #f87171;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Sans", var(--font);
  --step-0: clamp(0.875rem, 0.82rem + 0.2vw, 0.95rem);
  --step-1: clamp(1rem, 0.92rem + 0.35vw, 1.125rem);
  --step-2: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -20%, rgba(45, 212, 191, 0.12), transparent),
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(56, 189, 248, 0.08), transparent);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-size: 0.9em;
  background: var(--bg-elevated);
  padding: 0.15em 0.45em;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg-deep);
  font-weight: 600;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 0 24px var(--accent-glow);
  object-fit: contain;
  flex: 0 0 auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

.header-cta {
  display: none;
}

@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a {
  padding: 0.65rem 0;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .mobile-nav {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #042f2e;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(45, 212, 191, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(45, 212, 191, 0.35);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--bg-card);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.08), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 1.25rem;
}

.text-gradient {
  background: linear-gradient(120deg, var(--text) 0%, var(--accent) 45%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-badges li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.hero-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card-inner {
  padding: 1.75rem;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  50% {
    opacity: 0.85;
    box-shadow: 0 0 0 10px transparent;
  }
}

.hero-card-stat {
  font-size: var(--step-2);
  margin: 0 0 0.75rem;
}

.hero-card-stat strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-card-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mini-steps {
  display: grid;
  gap: 0.75rem;
}

.mini-steps div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mini-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(45, 212, 191, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-tight {
  padding-top: 2rem;
}

.section-alt {
  background: rgba(12, 17, 24, 0.6);
  border-block: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-head.align-left {
  text-align: left;
  margin-inline: 0;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 1rem;
}

.section-lead {
  color: var(--text-muted);
  margin: 0;
  font-size: var(--step-1);
}

/* Process */
.process {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.process-step:hover {
  border-color: rgba(45, 212, 191, 0.2);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.callout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(17, 94, 89, 0.25), var(--bg-card));
}

@media (min-width: 768px) {
  .callout-protect {
    grid-template-columns: 1fr auto;
  }
}

.callout h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.callout p {
  margin: 0;
  color: var(--text-muted);
  max-width: 56ch;
}

/* Cards grid */
.grid.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid.cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid.cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing */
.grid.pricing {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .grid.pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1180px) {
  .grid.pricing {
    grid-template-columns: repeat(4, 1fr);
  }
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 20px 60px rgba(45, 212, 191, 0.08);
}

.ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.2);
  color: var(--accent);
}

.price-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.price {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0;
}

.currency {
  font-size: 0.55em;
  vertical-align: super;
  opacity: 0.85;
}

.price-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.25rem 0 1.5rem;
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.price-card li {
  margin-bottom: 0.5rem;
}

.fine-print {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

.fine-print.center {
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .trust-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.trust-list li:first-child {
  padding-top: 0;
}

.trust-list strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.35rem;
}

.trust-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.trust-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.trust-panel p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.trust-panel-foot {
  font-size: 0.8rem !important;
  margin-bottom: 0 !important;
  opacity: 0.85;
}

/* FAQ */
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA final */
.cta-final {
  padding: clamp(3rem, 6vw, 4rem) 0;
}

.cta-final-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(45, 212, 191, 0.12), var(--bg-card));
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .cta-final-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-final h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  margin: 0 0 0.5rem;
}

.cta-final p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.logo-footer {
  margin-bottom: 0.75rem;
}

.footer-tag {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  max-width: 28ch;
}

.footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 0.35rem 0;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom p {
  margin: 0;
}

/* Legal & utility pages */
.legal-main {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 5rem);
}

.legal-inner {
  max-width: 720px;
  margin-inline: auto;
}

.legal-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.legal-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.legal-breadcrumb a:hover {
  color: var(--accent);
}

.legal-breadcrumb span {
  color: var(--text-muted);
  opacity: 0.6;
}

.legal-doc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.legal-doc h1 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-doc > h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.legal-doc > .legal-meta + h2 {
  margin-top: 0;
}

.legal-doc h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-doc p {
  margin: 0 0 1rem;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-doc li {
  margin-bottom: 0.35rem;
}

.legal-doc a {
  color: var(--accent);
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.contact-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-card p + p {
  margin-top: 1rem;
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
  word-break: break-word;
}
