/* =============================================
   TECHMANDIR — SHARED STYLES
   ============================================= */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap");

:root {
  --orange: #ff5c1a;
  --orange-dim: rgba(255, 92, 26, 0.15);
  --orange-glow: rgba(255, 92, 26, 0.25);
  --dark: #080808;
  --dark2: #0f0f0f;
  --dark3: #181818;
  --dark4: #202020;
  --gray: #777;
  --gray2: #555;
  --light: #f2ede4;
  --white: #ffffff;
  --gold: #ffd166;
  --cyan: #00e5ff;
  --green: #00ff88;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: var(--dark);
  color: var(--light);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
  cursor: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* CURSOR */
#cursor {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition:
    width 0.25s,
    height 0.25s;
}
#cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  transition:
    left 0.12s ease,
    top 0.12s ease,
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
}
body:hover #cursor {
  opacity: 1;
}

/* NAV */
nav.tm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s;
}
nav.tm-nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 92, 26, 0.12);
  padding: 1rem 3.5rem;
}
.tm-logo {
  font-family: "Orbitron", monospace;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--light);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.tm-logo span {
  color: var(--orange);
}
.tm-nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.tm-nav-links a {
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.tm-nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--orange);
  transition: width 0.3s;
}
.tm-nav-links a:hover,
.tm-nav-links a.active {
  color: var(--light);
}
.tm-nav-links a:hover::after,
.tm-nav-links a.active::after {
  width: 100%;
}
.tm-nav-cta {
  background: var(--orange);
  color: #fff;
  padding: 0.55rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition:
    background 0.3s,
    box-shadow 0.3s,
    transform 0.2s;
  cursor: none;
}
.tm-nav-cta:hover {
  background: var(--light);
  color: var(--dark);
  transform: scale(1.04);
  box-shadow: 0 8px 24px var(--orange-glow);
}
.tm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
}
.tm-hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--light);
  transition: all 0.3s;
  display: block;
}

/* MOBILE NAV */
.tm-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.tm-mobile-nav.open {
  display: flex;
}
.tm-mobile-nav a {
  font-family: "Orbitron", monospace;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.04em;
}
.tm-mobile-nav a:hover {
  color: var(--orange);
}
.tm-mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--gray);
  background: none;
  border: none;
  cursor: none;
}

/* PAGE HERO (shared structure, each page overrides color) */
.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding: 0 3.5rem 4rem;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--orange-dim);
  background: var(--orange-dim);
}
.page-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.page-title {
  font-family: "Orbitron", monospace;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.page-title .outline {
  -webkit-text-stroke: 1.5px var(--light);
  color: transparent;
}
.page-title .accent {
  color: var(--orange);
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.65;
  max-width: 500px;
  margin-top: 1.2rem;
}
.page-breadcrumb {
  position: absolute;
  top: 120px;
  right: 3.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray2);
}
.page-breadcrumb span {
  color: var(--orange);
}

/* SECTION LABEL */
.s-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.s-label::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--orange);
}
.s-title {
  font-family: "Orbitron", monospace;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}
.s-title em {
  color: var(--orange);
  font-style: normal;
}
.s-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 500px;
}

/* BUTTONS */
.btn-orange {
  background: var(--orange);
  color: #fff;
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.3s;
  border: none;
  cursor: none;
}
.btn-orange:hover {
  background: var(--light);
  color: var(--dark);
  box-shadow: 0 12px 40px var(--orange-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--light);
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  background: transparent;
  cursor: none;
}
.btn-ghost:hover {
  border-color: var(--orange);
  background: var(--orange-dim);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s,
    transform 0.75s;
}
.reveal.up {
  transform: translateY(36px);
}
.reveal.left {
  transform: translateX(-36px);
}
.reveal.right {
  transform: translateX(36px);
}
.reveal.scale {
  transform: scale(0.94);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* GLOW SHADOWS */
.glow-orange {
  box-shadow:
    0 0 40px var(--orange-glow),
    0 0 80px rgba(255, 92, 26, 0.08);
}
.glow-cyan {
  box-shadow:
    0 0 40px rgba(0, 229, 255, 0.15),
    0 0 80px rgba(0, 229, 255, 0.05);
}
.text-glow {
  text-shadow: 0 0 30px rgba(255, 92, 26, 0.5);
}

/* DIVIDER */
.tm-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 92, 26, 0.3),
    transparent
  );
  margin: 0;
}

/* FOOTER */
.tm-footer {
  background: #030303;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4rem 3.5rem 2rem;
}
.tm-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.tm-footer-brand .tm-logo {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.footer-desc {
  color: var(--gray);
  font-size: 0.83rem;
  line-height: 1.65;
  max-width: 270px;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.6rem;
}
.footer-social {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray);
  text-decoration: none;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  transition: all 0.3s;
}
.footer-social:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.tm-footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 1.2rem;
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links-list a {
  color: var(--gray);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links-list a:hover {
  color: var(--orange);
}
.tm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  color: var(--gray2);
  font-size: 0.75rem;
}
.footer-copy a {
  color: var(--orange);
  text-decoration: none;
}

/* FLOAT BTNS */
.float-bar {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 200;
}
.float-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.float-btn:hover {
  transform: scale(1.12);
}
.float-btn.call {
  background: var(--orange);
  box-shadow: 0 4px 20px rgba(255, 92, 26, 0.4);
}
.float-btn.wa {
  background: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

/* RESPONSIVE NAV */
@media (max-width: 900px) {
  nav.tm-nav {
    padding: 1.2rem 1.5rem;
  }
  nav.tm-nav.scrolled {
    padding: 0.9rem 1.5rem;
  }
  .tm-nav-links {
    display: none;
  }
  .tm-nav-cta {
    display: none;
  }
  .tm-hamburger {
    display: flex;
  }
  .page-hero {
    padding: 0 1.5rem 3rem;
    min-height: 45vh;
  }
  .page-breadcrumb {
    display: none;
  }
  .tm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tm-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .tm-footer-grid {
    grid-template-columns: 1fr;
  }
}
