/* ══════════════════════════════════════════════════════════════
   SYSTEMSHIFT HQ — SHARED STYLES
   Dark theme, turquoise accents
   ══════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --turquoise: #0FDFD8;
  --turquoise-dim: rgba(15, 223, 216, 0.15);
  --turquoise-glow: rgba(15, 223, 216, 0.4);
  --dark-teal: #0B6E6E;
  --charcoal: #3E3E3E;
  --bg-dark: #0A0A0A;
  --bg-card: #141414;
  --bg-card-hover: #1A1A1A;
  --bg-section-alt: #111111;
  --text-primary: #E8E8E8;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;
  --border: #222222;
  --border-light: #2a2a2a;
  --green: #37ca37;
  --orange: #ed6835;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
  overscroll-behavior: none;
}

body {
  font-family: var(--sans);
  background: #060606;
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin: 0;
  min-height: 100%;
  overscroll-behavior: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquoise); text-decoration: none; transition: color 0.2s; }
a:hover { color: #0cc; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--turquoise);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: #0cc;
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--turquoise-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--turquoise);
  color: var(--turquoise);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* ── SECTION HELPERS ── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  transition: background 0.3s, backdrop-filter 0.3s;
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.header-logo img {
  height: 36px;
  width: auto;
}

.header-logo span {
  color: var(--turquoise);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* ── Services Dropdown ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a .dropdown-arrow {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.2s;
}

@media (min-width: 769px) {
  .nav-dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
  }
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  z-index: 1001;
}

@media (min-width: 769px) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  border-radius: 0;
  transition: all 0.15s;
}

.dropdown-menu a:hover {
  color: #fff;
  background: rgba(15, 223, 216, 0.08);
  padding-left: 28px;
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    transform: none;
    background: rgba(10, 10, 10, 0.5);
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav-dropdown.dropdown-open .dropdown-menu {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
  }

  .dropdown-menu a {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .dropdown-menu a:hover {
    padding-left: 22px;
  }

  .nav-dropdown > a .dropdown-arrow {
    transition: transform 0.3s;
  }

  .nav-dropdown.dropdown-open > a .dropdown-arrow {
    transform: rotate(180deg);
  }
}

.header-cta {
  margin-left: 16px;
}

.header-cta .btn {
  padding: 10px 24px;
  font-size: 0.88rem;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }

  .header-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-bottom: 1px solid var(--border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .header-nav a {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
  }

  .header-cta {
    margin-left: 0;
    width: 100%;
  }

  .header-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-contact {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact a:hover { color: var(--turquoise); }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--turquoise); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer-legal a:hover { color: var(--turquoise); }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   SHARED COMPONENTS
   ══════════════════════════════════════════════════════════════ */

/* Marquee ticker */
.marquee-bar {
  overflow: hidden;
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-tag {
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.marquee-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--turquoise);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Logo carousel */
.logo-bar {
  padding: 48px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logo-bar-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.logo-track img {
  height: 36px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%) brightness(2);
  transition: all 0.3s;
}

.logo-track img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* Card base */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(15, 223, 216, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

/* Pill tags */
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-dark);
}

/* FAQ accordion */
.faq-list { max-width: 740px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--turquoise); }

.faq-question .faq-icon {
  font-size: 1.4rem;
  color: var(--turquoise);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Testimonial card */
.testimonial-card {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(15, 223, 216, 0.2);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #FFBD2E;
  font-size: 1rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-avatar-letter {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--turquoise-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--turquoise);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Stats row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { padding: 32px 16px; }

.stat-number {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--turquoise);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 2rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-item { padding: 20px 8px; }
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--turquoise-dim) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section .container { position: relative; z-index: 1; }

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-trust {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Page top spacer for fixed header */
.page-top { padding-top: 72px; }

/* Scroll animations */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SR-only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
