/* Techxus Infotech — cinematic premium redesign */
:root {
  --cyan: #00abf0;
  --cyan-2: #008fc9;
  --ink: #0e141b;
  --ink-2: #2c3642;
  --mute: #6a7582;
  --line: rgba(14, 20, 27, 0.1);
  --snow: #f5f8fb;
  --mist: #e7eef5;
  --white: #fff;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--snow);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.has-cursor { cursor: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Custom cursor */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}
body.has-cursor .cursor,
body.has-cursor .cursor-dot { opacity: 1; }
.cursor {
  width: 42px; height: 42px;
  margin: -21px 0 0 -21px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  transition: width 0.25s, height 0.25s, margin 0.25s, background 0.25s, border-color 0.25s;
}
.cursor.is-hover {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(0, 171, 240, 0.12);
  border-color: transparent;
}
.cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--cyan);
  border-radius: 50%;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s;
}
.site-header.scrolled {
  background: rgba(245, 248, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.brand-icon { width: 34px; height: 34px; border-radius: 50%; }
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
}
.nav a:hover { color: var(--cyan-2); }
.nav-cta {
  padding: 0.7rem 1.15rem !important;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--cyan-2) !important; color: var(--white) !important; }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 7px;
  cursor: pointer;
}
.menu-btn i {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 0 auto;
  transition: transform 0.3s var(--ease);
}
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end start;
  padding: 0;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 40%, #1a6f96 0%, transparent 55%),
    linear-gradient(125deg, #071018 0%, #0c2a3d 45%, #0679a8 100%);
}
.hero-photo {
  position: absolute;
  right: -4%;
  top: 50%;
  width: min(58vw, 640px);
  transform: translateY(-50%);
  opacity: 0.22;
  filter: blur(0.5px);
  animation: logoBreath 8s ease-in-out infinite;
}
.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.92) 0%, rgba(7, 16, 24, 0.55) 48%, rgba(7, 16, 24, 0.15) 100%),
    linear-gradient(180deg, transparent 55%, rgba(7, 16, 24, 0.65) 100%);
}
.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 60% 40%, black, transparent 70%);
  animation: gridShift 24s linear infinite;
}

.hero-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 1200px);
  padding: clamp(6.5rem, 14vh, 9rem) var(--pad) clamp(3.5rem, 8vh, 5.5rem);
}

.hero-kicker {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8fd8f5;
  font-weight: 500;
  animation: up 0.9s var(--ease) both;
}

.hero-wordmark {
  margin: 0 0 1.5rem;
  line-height: 0.88;
}
.wm-line {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 13vw, 9.5rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.wm-part {
  display: inline-block;
  animation: up 1s var(--ease) both;
}
.wm-part:first-child { animation-delay: 0.08s; }
.wm-part.accent {
  color: var(--cyan);
  animation-delay: 0.18s;
}
.wm-sub {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  letter-spacing: 0.42em;
  color: rgba(255,255,255,0.55);
  animation: up 1s var(--ease) 0.28s both;
}

.hero-line {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  animation: up 1s var(--ease) 0.38s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: up 1s var(--ease) 0.48s both;
}

.hero-side {
  position: absolute;
  right: var(--pad);
  bottom: clamp(3.5rem, 8vh, 5.5rem);
  z-index: 2;
  text-align: right;
  animation: up 1s var(--ease) 0.55s both;
}
.hero-side span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero-side strong {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-solid {
  background: var(--cyan);
  color: var(--white);
}
.btn-solid:hover { background: var(--cyan-2); }
.btn-line {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: transparent;
}
.btn-line:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Marquee */
.marquee {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 1rem 0;
  border-block: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
  color: rgba(255,255,255,0.7);
}
.marquee-track span:nth-child(even) { color: var(--cyan); }

/* Sections shared */
.section-top {
  padding: 0 var(--pad);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 900px;
}
.label {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-2);
}
.section-top h2,
.contact-left h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* Services */
.services {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}
.service-stack {
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 5rem 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem var(--pad);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}
.service:hover {
  background: linear-gradient(90deg, rgba(0,171,240,0.07), transparent 70%);
}
.service-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
  padding-top: 0.35rem;
}
.service-main h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.service-main p {
  margin: 0;
  color: var(--ink-2);
  max-width: 36rem;
}
.service ul {
  margin: 0.3rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--mute);
  font-size: 0.92rem;
}
.service li + li { margin-top: 0.35rem; }
.service li::before {
  content: "→ ";
  color: var(--cyan);
}

/* Statement */
.statement {
  padding: clamp(3rem, 8vw, 5rem) var(--pad);
}
.statement-inner {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0,171,240,0.15), transparent 50%),
    linear-gradient(145deg, #0b1822, #123247 55%, #0a5f86);
  color: var(--white);
  border-radius: 28px;
  padding: clamp(2.25rem, 6vw, 4.5rem);
  overflow: hidden;
  position: relative;
}
.statement-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.statement-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
blockquote {
  margin: 0 0 2.5rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
blockquote em {
  font-style: normal;
  color: #7ad4f7;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.75rem;
}
.pillars strong {
  display: block;
  font-family: var(--display);
  margin-bottom: 0.25rem;
}
.pillars span { color: rgba(255,255,255,0.55); font-size: 0.9rem; }

/* Process */
.process {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem 1.35rem 1.6rem;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.steps li:hover {
  transform: translateY(-6px);
  border-color: rgba(0,171,240,0.45);
}
.steps span {
  font-family: var(--display);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
}
.steps h3 {
  margin: 0.85rem 0 0.45rem;
  font-family: var(--display);
  font-size: 1.2rem;
}
.steps p {
  margin: 0;
  color: var(--mute);
  font-size: 0.92rem;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 8vw, 5.5rem) var(--pad) clamp(4.5rem, 10vw, 7rem);
  align-items: start;
}
.contact-copy {
  margin: 1.1rem 0 1.5rem;
  color: var(--ink-2);
  max-width: 28rem;
  font-size: 1.05rem;
}
.mail {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--cyan-2);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 0.15rem;
}
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 30px 80px rgba(14, 20, 27, 0.06);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.form label {
  display: block;
  margin-bottom: 0.9rem;
}
.form label span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mute);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: var(--mist);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--cyan);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,171,240,0.15);
}
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; margin-top: 0.25rem; border: 0; cursor: pointer; }
.form-status {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--cyan-2);
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem var(--pad) 2.25rem;
  border-top: 1px solid var(--line);
}
.footer img { height: 34px; width: auto; }
.footer p { margin: 0; color: var(--mute); font-size: 0.88rem; }

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

@keyframes up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes logoBreath {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-52%) scale(1.04); }
}
@keyframes gridShift {
  from { background-position: 0 0; }
  to { background-position: 80px 80px; }
}

/* Responsive */
@media (max-width: 980px) {
  .service { grid-template-columns: 3.5rem 1fr; }
  .service ul { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
  .service li + li { margin-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .hero-photo { opacity: 0.14; width: min(70vw, 420px); }
  .hero-side { display: none; }
}
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: rgba(245,248,251,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s var(--ease);
  }
  .nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a { padding: 0.9rem 0.25rem; }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
  .pillars { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
  body.has-cursor { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .wm-line { font-size: clamp(2.8rem, 16vw, 3.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
