/* ============================================================
   UniqTec — Software made for you.
   Design tokens
   ============================================================ */
:root {
  --bg:        #0C1414;
  --bg-alt:    #0A1111;
  --bg-aws:    #0A1615;
  --ink:       #EDEDEE;
  --teal:      #00A79D;

  --font-sans: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1360px;
  --pad-x: clamp(20px, 6vw, 96px);
  --section-y: clamp(80px, 12vh, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

::selection { background: var(--teal); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Shared components
   ============================================================ */
.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section__title {
  margin: 0 0 24px;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.btn {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s ease, color .3s ease,
              border-color .3s ease, box-shadow .3s ease;
}
.btn--pill { border-radius: 999px; }

.btn--primary {
  padding: 16px 34px;
  background: var(--teal);
  color: var(--bg);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 0 40px rgba(0, 167, 157, 0.35);
}
.btn--primary:hover {
  background: var(--ink);
  box-shadow: 0 0 60px rgba(0, 167, 157, 0.5);
}

.btn--ghost {
  padding: 16px 34px;
  border: 1px solid rgba(237, 237, 238, 0.22);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(12, 20, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(237, 237, 238, 0.07);
}
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo img { height: 34px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 14px;
  font-weight: 500;
}
.nav__link {
  color: rgba(237, 237, 238, 0.72);
  text-decoration: none;
  transition: color .3s ease;
}
.nav__link:hover { color: var(--teal); }

.nav__actions { display: flex; align-items: center; gap: 16px; }

.nav__cta {
  padding: 10px 20px;
  background: var(--teal);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--ink); }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(237, 237, 238, 0.14);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  padding: 5px 12px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: transparent;
  color: rgba(237, 237, 238, 0.55);
  transition: background .25s ease, color .25s ease;
}
.lang-btn.is-active { background: var(--teal); color: var(--bg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--pad-x) 80px;
  overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 45%, rgba(0, 167, 157, 0.10), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 1100px;
  will-change: opacity, transform;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulseDot 2.2s ease-out infinite;
}
.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 237, 238, 0.6);
}
.hero__title {
  margin: 0 0 28px;
  font-size: clamp(44px, 7.2vw, 104px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__accent { color: var(--teal); }
.hero__cursor {
  display: inline-block;
  width: 0.14em; height: 0.85em;
  background: var(--teal);
  margin-left: 0.08em;
  vertical-align: -0.08em;
  animation: blinkCursor 1.1s step-end infinite;
}
.hero__sub {
  margin: 0 0 44px;
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(237, 237, 238, 0.68);
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint__text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237, 237, 238, 0.4);
}
.scroll-hint__line {
  display: block;
  width: 1px; height: 34px;
  background: linear-gradient(var(--teal), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-top: 1px solid rgba(237, 237, 238, 0.07);
  border-bottom: 1px solid rgba(237, 237, 238, 0.07);
  overflow: hidden;
  padding: 20px 0;
  background: var(--bg-alt);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marqueeMove 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 237, 238, 0.45);
  white-space: nowrap;
}
.marquee__sep { color: var(--teal); }

/* ============================================================
   Section shell
   ============================================================ */
.section {
  padding: var(--section-y) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ============================================================
   Services
   ============================================================ */
.services .section__title { margin-bottom: 64px; max-width: 700px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.service-card {
  border: 1px solid rgba(237, 237, 238, 0.1);
  border-radius: 20px;
  padding: 38px 32px;
  background: linear-gradient(180deg, rgba(237, 237, 238, 0.03), transparent);
  transition: border-color .3s ease, transform .3s ease,
              opacity .9s var(--ease);
}
.service-card:hover {
  border-color: rgba(0, 167, 157, 0.6);
  transform: translateY(-6px);
}
.service-card__icon {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--teal);
  margin-bottom: 26px;
}
.service-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
}
.service-card p {
  margin: 0;
  font-size: 15.5px;
  color: rgba(237, 237, 238, 0.62);
  text-wrap: pretty;
}

/* ============================================================
   AWS / cloud native
   ============================================================ */
.aws {
  background: linear-gradient(180deg, var(--bg-aws), var(--bg));
  border-top: 1px solid rgba(0, 167, 157, 0.15);
  border-bottom: 1px solid rgba(237, 237, 238, 0.06);
}
.aws__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: center;
}
.aws__body {
  margin: 0 0 20px;
  font-size: 17px;
  color: rgba(237, 237, 238, 0.68);
  text-wrap: pretty;
}
.aws__body:last-child { margin-bottom: 0; }

.cloud-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.cloud-card {
  border: 1px solid rgba(0, 167, 157, 0.28);
  border-radius: 14px;
  padding: 20px 22px;
  background: rgba(0, 167, 157, 0.05);
  animation: floatY 5s ease-in-out infinite;
  transition: border-color .3s ease;
}
.cloud-card:nth-child(2) { animation-delay: .6s; }
.cloud-card:nth-child(3) { animation-delay: 1.2s; }
.cloud-card:nth-child(4) { animation-delay: 1.8s; }
.cloud-card:nth-child(5) { animation-delay: 2.4s; }
.cloud-card:nth-child(6) { animation-delay: 3s; }
.cloud-card:hover { border-color: var(--teal); }
.cloud-card__title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 8px;
}
.cloud-card__body {
  font-size: 13.5px;
  color: rgba(237, 237, 238, 0.65);
  text-wrap: pretty;
}

/* ============================================================
   About
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  align-items: start;
}
.about__body {
  margin: 0;
  font-size: 17px;
  color: rgba(237, 237, 238, 0.68);
  text-wrap: pretty;
}
.about__facts { display: grid; gap: 16px; }
.fact {
  border: 1px solid rgba(237, 237, 238, 0.1);
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.fact__value {
  font-size: 40px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.fact__label {
  font-size: 15px;
  color: rgba(237, 237, 238, 0.62);
}
.fact--highlight {
  border-color: rgba(0, 167, 157, 0.35);
  background: rgba(0, 167, 157, 0.05);
  display: block;
}
.fact__tagline {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--teal);
}

/* ============================================================
   Process
   ============================================================ */
.process {
  background: var(--bg-alt);
  border-top: 1px solid rgba(237, 237, 238, 0.06);
}
.process__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
}
.process .section__title { margin-bottom: 64px; max-width: 700px; }

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.step {
  border-left: 1px solid rgba(0, 167, 157, 0.3);
  padding: 8px 28px 12px;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 18px;
}
.step h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 700;
}
.step p {
  margin: 0;
  font-size: 15px;
  color: rgba(237, 237, 238, 0.6);
  text-wrap: pretty;
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  position: relative;
  padding: clamp(100px, 16vh, 180px) var(--pad-x);
  text-align: center;
  overflow: hidden;
}
.contact__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(0, 167, 157, 0.12), transparent 70%);
  pointer-events: none;
}
.contact__inner { position: relative; }
.contact .kicker { margin-bottom: 20px; }
.contact__title {
  margin: 0 auto 24px;
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 900px;
  text-wrap: balance;
}
.contact__body {
  margin: 0 auto 48px;
  max-width: 520px;
  font-size: 17px;
  color: rgba(237, 237, 238, 0.65);
  text-wrap: pretty;
}
.contact__email-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.email-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 3.4vw, 40px);
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 167, 157, 0.4);
  padding-bottom: 8px;
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease;
}
.email-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.copy-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 237, 238, 0.4);
  transition: color .3s ease;
}
.copy-hint.is-copied { color: var(--teal); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid rgba(237, 237, 238, 0.08);
  background: var(--bg-alt);
  padding: 56px var(--pad-x) 40px;
}
.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: start;
}
.footer__brand { display: grid; gap: 18px; justify-items: start; }
.footer__brand img { height: 38px; width: auto; }
.footer__brand p {
  margin: 0;
  font-size: 14px;
  color: rgba(237, 237, 238, 0.55);
  max-width: 300px;
  text-wrap: pretty;
}
.footer__col {
  font-size: 14px;
  color: rgba(237, 237, 238, 0.6);
  line-height: 1.9;
}
.footer__col-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 237, 238, 0.4);
  margin-bottom: 10px;
}
.footer__link {
  color: var(--teal);
  text-decoration: none;
  transition: color .3s ease;
}
.footer__link:hover { color: var(--ink); }
.footer__bottom {
  max-width: var(--maxw);
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(237, 237, 238, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(237, 237, 238, 0.4);
}
.footer__signoff { font-family: var(--font-mono); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger siblings within a grid */
.service-grid .reveal:nth-child(2),
.process__grid .reveal:nth-child(2) { transition-delay: .08s; }
.service-grid .reveal:nth-child(3),
.process__grid .reveal:nth-child(3) { transition-delay: .16s; }
.process__grid .reveal:nth-child(4) { transition-delay: .24s; }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 167, 157, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 167, 157, 0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollHint {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes blinkCursor {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow-dot,
  .hero__cursor,
  .scroll-hint__line,
  .marquee__track,
  .cloud-card { animation: none; }
}
