/* ===== ETM — Elite Technology Management ===== */
:root {
  --bg: #070b16;
  --bg-2: #0a1020;
  --surface: #0e1526;
  --surface-2: #131c30;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e8edf7;
  --muted: #9aa7bd;
  --faint: #6b7891;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .logo__word, .trust__num, .why__num {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }

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

.grad {
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  color: #04101f;
  box-shadow: 0 8px 24px -8px rgba(56, 189, 248, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(56, 189, 248, 0.7); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--call svg { color: var(--accent); }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 11, 22, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: inline-flex; align-items: center; }
.logo__img { height: 42px; width: auto; display: block; }

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 0.95rem; font-weight: 500; color: var(--muted);
  position: relative; padding: 4px 0; transition: color 0.2s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue)); transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* ===== Hero ===== */
.hero { position: relative; padding: 180px 0 110px; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.6;
}
.hero__glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.22), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner { position: relative; max-width: 880px; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; margin-bottom: 24px; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 660px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }
.hero__meta strong { color: var(--text); }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ===== Trust bar ===== */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 38px 24px; text-align: center; border-right: 1px solid var(--line); }
.trust__item:last-child { border-right: 0; }
.trust__num { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: #fff; }
.trust__num .unit { font-size: 0.55em; color: var(--accent); margin-left: 2px; }
.trust__label { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.section__lead { color: var(--muted); font-size: 1.1rem; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  padding: 1px; background: linear-gradient(140deg, rgba(56,189,248,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 22px;
}
.card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 20px; }
.card__list { list-style: none; display: grid; gap: 10px; }
.card__list li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--text); }
.card__list li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ===== Security strip ===== */
.security { padding: 60px 0; background:
  radial-gradient(circle at 0% 50%, rgba(56,189,248,0.1), transparent 50%), var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.security__inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.security__icon { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.security__text { flex: 1; min-width: 280px; }
.security__text h2 { font-size: 1.7rem; margin-bottom: 8px; }
.security__text p { color: var(--muted); max-width: 640px; }

/* ===== Why ETM ===== */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why__item { background: var(--bg); padding: 40px; transition: background 0.3s; }
.why__item:hover { background: var(--surface); }
.why__num { font-size: 1rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 16px; }
.why__item h3 { font-size: 1.3rem; margin-bottom: 10px; }
.why__item p { color: var(--muted); }

/* ===== About ===== */
.about__inner { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 56px; align-items: center; }
.about__text h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 20px; }
.about__text p { color: var(--muted); margin-bottom: 16px; }
.about__text .btn { margin-top: 12px; }
.about__card {
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 40px; text-align: center;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
}
.about__logo { height: 40px; width: auto; margin: 0 auto 22px; display: block; }
.about__name { font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; font-weight: 700; }
.about__role { color: var(--accent); font-size: 0.9rem; margin-bottom: 24px; }
.about__facts { list-style: none; display: grid; gap: 14px; text-align: left; }
.about__facts li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.about__facts li:last-child { border-bottom: 0; }
.about__facts span { color: var(--faint); }
.about__facts strong { color: var(--text); text-align: right; }

/* ===== Contact ===== */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__intro h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.contact__intro > p { color: var(--muted); margin-bottom: 32px; max-width: 460px; }
.contact__details { list-style: none; display: grid; gap: 18px; }
.contact__details li { display: flex; align-items: baseline; gap: 16px; }
.contact__label { width: 64px; flex-shrink: 0; color: var(--faint); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.contact__details a { font-size: 1.1rem; font-weight: 600; transition: color 0.2s; }
.contact__details a:hover { color: var(--accent); }

.contact__form {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: 20px; padding: 36px;
  display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 15px; color: var(--text); font-family: inherit; font-size: 0.97rem; resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form__note { font-size: 0.9rem; color: var(--accent); min-height: 1.2em; text-align: center; }

/* ===== Footer ===== */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 320px; margin-top: 18px; }
.logo--footer .logo__img { height: 36px; }
.footer__links, .footer__contact { display: grid; gap: 12px; align-content: start; }
.footer__links a, .footer__contact a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer__links a:hover, .footer__contact a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .cards { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(1), .trust__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta .btn--call { display: none; }
  .nav__toggle { display: flex; }
  .logo__img { height: 34px; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(7,11,22,0.97); backdrop-filter: blur(14px); padding: 20px 24px; gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .hero { padding: 140px 0 80px; }
  .section { padding: 80px 0; }
}
@media (max-width: 460px) {
  .logo__img { height: 28px; }
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
