/* ═══════════════════════════════════════════
   CNSTECH PC & Laptop Service — Stylesheet
   Dark technical aesthetic, cyan/blue accents
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #06090f;
  --bg-card:    #0c1220;
  --bg-elevated:#101828;
  --border:     #1a2540;
  --border-glow:#0ff3;
  --cyan:       #00e5ff;
  --cyan-dim:   #00b8d4;
  --cyan-glow:  rgba(0,229,255,.12);
  --white:      #e6edf5;
  --white-dim:  #a0aec0;
  --font:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --container:  1180px;
  --radius:     12px;
  --radius-sm:  8px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, details:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--cyan);
  vertical-align: middle;
  margin-right: 10px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: #06090f;
  border-color: var(--cyan);
}
.btn-primary:hover { background: #33ebff; color: #06090f; box-shadow: 0 0 24px var(--cyan-glow); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ═══════════════ HEADER ═══════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,15,26,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
}
.header-logo img { height: 32px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: .9rem; font-weight: 500; color: var(--white-dim); transition: color var(--transition); }
.main-nav a:hover { color: #fff; }
.nav-cta {
  background: var(--cyan);
  color: #06090f !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-cta:hover { background: #33ebff; color: #06090f !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,9,15,.92) 0%, rgba(6,9,15,.7) 50%, rgba(6,9,15,.85) 100%);
  z-index: 1;
}
.hero-scanline {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,229,255,.015) 2px,
    rgba(0,229,255,.015) 4px
  );
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: 60px 24px 80px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--white-dim);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═══════════════ TRUST STRIP ═══════════════ */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-strip-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--white-dim);
  letter-spacing: .04em;
}
.trust-icon { color: var(--cyan); flex-shrink: 0; }

/* ═══════════════ SERVICES GRID ═══════════════ */
.services-section {
  padding: 100px 0;
}
.services-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  color: #fff;
}
.section-desc {
  color: var(--white-dim);
  max-width: 560px;
  margin-bottom: 48px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(0,229,255,.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,229,255,.08);
}
.service-card:hover::before { opacity: 1; }
.service-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-glow);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  color: var(--cyan);
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.service-card p {
  font-size: .88rem;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ═══════════════ PROCESS ═══════════════ */
.process-section {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  color: #fff;
}
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.process-timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--border));
}
.process-step {
  text-align: center;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.process-step p {
  font-size: .88rem;
  color: var(--white-dim);
  max-width: 220px;
  margin: 0 auto;
}

/* ═══════════════ CONTENT SECTION ═══════════════ */
.content-section { padding: 100px 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.content-text h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 16px;
  color: #fff;
}
.content-text > p {
  color: var(--white-dim);
  margin-bottom: 24px;
}
.content-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content-list li {
  position: relative;
  padding-left: 24px;
  font-size: .93rem;
  color: var(--white-dim);
}
.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.content-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════ TRACKING ═══════════════ */
.tracking-section {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tracking-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.tracking-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 8px;
  color: #fff;
}
.tracking-content p {
  color: var(--white-dim);
  max-width: 480px;
}
.tracking-action { text-align: center; }
.tracking-note {
  margin-top: 12px;
  font-size: .85rem;
  color: var(--white-dim);
}

/* ═══════════════ RELATED ═══════════════ */
.related-section { padding: 100px 0; }
.related-section h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 40px;
  color: #fff;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  color: var(--white);
}
.related-card:hover {
  border-color: rgba(0,229,255,.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,229,255,.06);
}
.related-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.related-card p {
  font-size: .88rem;
  color: var(--white-dim);
  margin-bottom: 16px;
}
.related-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--cyan);
}

/* ═══════════════ FAQ ═══════════════ */
.faq-section {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-section h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 40px;
  color: #fff;
}
.faq-list {
  max-width: 780px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--cyan);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item summary:hover { color: var(--cyan); }
.faq-answer {
  padding: 0 0 20px;
}
.faq-answer p {
  font-size: .93rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ═══════════════ FINAL CTA ═══════════════ */
.final-cta {
  padding: 100px 0;
  text-align: center;
}
.final-cta-inner { max-width: 600px; margin: 0 auto; }
.final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  color: #fff;
}
.final-cta > .container > p,
.final-cta-inner > p {
  color: var(--white-dim);
  margin-bottom: 32px;
  font-size: 1.05rem;
}
.final-cta .hero-actions { justify-content: center; }

/* ═══════════════ FOOTER ═══════════════ */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; color: var(--white-dim); max-width: 320px; line-height: 1.7; }
.footer-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a, .footer-contact span {
  font-size: .88rem;
  color: var(--white-dim);
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: .8rem;
  color: var(--white-dim);
}

/* ═══════════════ ANIMATIONS ═══════════════ */
@media (prefers-reduced-motion: no-preference) {
  /* Scan line sweep */
  @keyframes scanSweep {
    0%   { background-position: 0 -100vh; }
    100% { background-position: 0 100vh; }
  }
  .hero-scanline {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0,229,255,.04) 48%,
      rgba(0,229,255,.08) 50%,
      rgba(0,229,255,.04) 52%,
      transparent 100%
    );
    background-size: 100% 200%;
    animation: scanSweep 6s linear infinite;
  }

  /* Fade-in on scroll */
  .service-card,
  .process-step,
  .related-card,
  .faq-item,
  .content-text,
  .content-image,
  .tracking-inner {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .service-card.visible,
  .process-step.visible,
  .related-card.visible,
  .faq-item.visible,
  .content-text.visible,
  .content-image.visible,
  .tracking-inner.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Pulse on step numbers */
  @keyframes stepPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,255,.3); }
    50%      { box-shadow: 0 0 0 10px rgba(0,229,255,0); }
  }
  .process-step.visible .step-number {
    animation: stepPulse 2.5s ease-in-out 1;
  }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline::before { display: none; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: rgba(10,15,26,.98);
    backdrop-filter: blur(16px);
    padding: 80px 32px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-left: 1px solid var(--border);
    z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-cta { text-align: center; }
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 1.8rem; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .tracking-inner { flex-direction: column; text-align: center; }
  .tracking-content { text-align: center; }
  .tracking-content p { margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-strip-inner { gap: 24px; justify-content: flex-start; padding: 0 8px; }
}

@media (max-width: 480px) {
  .hero-content { padding: 40px 16px 60px; }
  .hero h1 { font-size: 1.55rem; }
  .hero-desc { font-size: .98rem; }
  .btn { padding: 12px 22px; font-size: .9rem; }
  .trust-strip-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 16px; }
}

/* Google reviews footer link */
.site-footer .footer-review-link,
footer .footer-review-link,
.cnstech-home-2026 footer .footer-review-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: .85rem;
  padding: .58rem .85rem;
  border: 1px solid rgba(0, 214, 255, .35);
  border-radius: 8px;
  background: rgba(0, 214, 255, .08);
  color: #00d6ff;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.site-footer .footer-review-link:hover,
footer .footer-review-link:hover,
.cnstech-home-2026 footer .footer-review-link:hover {
  border-color: rgba(0, 214, 255, .65);
  background: rgba(0, 214, 255, .14);
  color: #fff;
}

