/* ============================================
   theITguy IT Solutions — Design Tokens
   Pure black/white system. Mono face carries
   the "technical" signal in place of color.
   ============================================ */

:root {
  --black: #0A0A0A;
  --white: #FAFAFA;
  --gray-900: #1A1A1A;
  --gray-600: #666666;
  --gray-300: #B0B0B0;
  --gray-100: #E5E5E5;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1180px;
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--black); color: var(--white); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  margin-bottom: 18px;
  opacity: 0.65;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 520px;
  margin-top: 18px;
}

.section-head-light .section-sub { color: var(--gray-600); }

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid currentColor;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary:hover { background: var(--white); color: var(--black); }

.btn-ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-ghost:hover { background: var(--black); color: var(--white); }

.btn-block { width: 100%; padding: 16px; font-size: 15px; }

/* ============ NAV ============ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.logo-bracket { opacity: 0.4; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.nav-links a { opacity: 0.7; transition: opacity 0.15s ease; }
.nav-links a:hover { opacity: 1; }

.nav-cta {
  border: 1px solid var(--black);
  padding: 8px 16px;
  border-radius: var(--radius);
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--black); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--black); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 24px 20px;
  font-family: var(--font-mono);
  font-size: 15px;
  gap: 16px;
}
.nav-mobile a { padding: 4px 0; }
.nav-mobile.open { display: flex; }

/* ============ HERO ============ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 60px;
  text-align: center;
  position: relative;

   /* ensure relative context for absolute-positioned cue */
.hero {
  position: relative;
}

/* nudge the scroll cue downward */
.hero-scroll-cue {
  /* if it already uses transform, merge translateY into that value */
  transform: translateY(24px);
  /* keep centering if you already have translateX(-50%) in your CSS:
     transform: translateX(-50%) translateY(24px); */
}

/* smaller nudge on small screens */
@media (max-width: 640px) {
  .hero-scroll-cue {
    transform: translateY(12px);
  }
}


}

.hero-inner {
  max-width: 760px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Terminal */
.terminal {
  width: 100%;
  max-width: 560px;
  background: var(--black);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
  margin-bottom: 48px;
  text-align: left;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gray-900);
  border-bottom: 1px solid #2a2a2a;
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #444;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-600);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px 18px 24px;
  min-height: 150px;
}

.term-line {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--white);
  margin-bottom: 8px;
  white-space: pre-wrap;
  word-break: break-word;
}

.term-dim { color: var(--gray-600); }

.cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.hero-headline {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 24px;
}

.hero-headline-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black);
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray-600);
}

.scroll-line {
  width: 1px;
  height: 28px;
  background: var(--gray-300);
  overflow: hidden;
  position: relative;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ============ SECTION HEAD (shared) ============ */

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

.section-head h2, .about-inner h2, .contact-inner h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 4px;
}

/* ============ SERVICES (black section) ============ */

.services {
  background: var(--black);
  color: var(--white);
  padding: 100px 0 60px;
}

.services .section-sub { color: var(--gray-300); }

.service-stack {
  max-width: var(--container);
  margin: 64px auto 0;
  padding: 0 24px;
  border-top: 1px solid #2a2a2a;
}

.service-row {
  display: grid;
  grid-template-columns: 70px 240px 1fr 220px;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid #2a2a2a;
  transition: background 0.2s ease;
}

.service-row:hover { background: rgba(255,255,255,0.03); }

.service-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gray-600);
  padding-top: 4px;
}

.service-name h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gray-300);
  opacity: 0.8;
}

.service-desc {
  color: var(--gray-300);
  font-size: 15px;
  max-width: 480px;
  padding-top: 4px;
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-600);
  align-items: flex-end;
  text-align: right;
  padding-top: 4px;
}

.service-meta span::before { content: '· '; }

/* ============ PRODUCTS (white section) ============ */

.products {
  background: var(--white);
  padding: 100px 0;
}

.product-grid {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
}

.product-card {
  background: var(--white);
  padding: 32px 26px 36px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}

.product-card:hover { background: #fcfcfc; }

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}

.product-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-600);
  text-transform: lowercase;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--black);
  padding: 3px 8px;
  border-radius: var(--radius);
}

.product-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.product-card p {
  color: var(--gray-600);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--black);
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

.product-specs li::before { content: '→ '; opacity: 0.5; }

.product-footnote {
  max-width: var(--container);
  margin: 36px auto 0;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-600);
}

/* ============ ABOUT (black section) ============ */

.about {
  background: var(--black);
  color: var(--white);
  padding: 110px 0;
}

.about-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-body {
  font-size: 17px;
  color: var(--gray-300);
  max-width: 600px;
  margin-top: 20px;
  line-height: 1.65;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  border-top: 1px solid #2a2a2a;
  padding-top: 40px;
}

.stat { display: flex; flex-direction: column; gap: 8px; }

.stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ============ CONTACT (white section) ============ */

.contact {
  background: var(--white);
  padding: 110px 0;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gray-600);
}

.form-row input,
.form-row select,
.form-row textarea {
  border: none;
  border-bottom: 1.5px solid var(--gray-100);
  padding: 10px 2px;
  font-size: 16px;
  background: transparent;
  color: var(--black);
  transition: border-color 0.15s ease;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--black);
  outline: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--gray-300); }

.form-status {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-600);
  min-height: 18px;
}

/* ============ FOOTER ============ */

.footer {
  background: var(--black);
  color: var(--white);
  padding: 70px 0 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 56px;
  border-bottom: 1px solid #2a2a2a;
}

.footer-brand { max-width: 280px; }
.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gray-600);
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--gray-300);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 32px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gray-600);
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-num { padding-top: 0; }
  .service-meta {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 120px; }
}

@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-cols { gap: 36px; }
  .hero-sub { font-size: 16px; }
}
