/* Razorblade – tmavý vzhled, ocelové tóny z původního loga */

:root {
  --bg: #070b12;
  --bg-2: #0b111b;
  --panel: #0f1723;
  --line: rgba(160, 196, 216, .14);
  --line-2: rgba(160, 196, 216, .26);
  --text: #c7d3de;
  --muted: #8796a6;
  --white: #f2f7fb;
  --steel: #8fbcd2;
  --steel-2: #5f93ad;
  --ice: #e8f3f9;
  --accent: #6fd3ff;
  --radius: 20px;
  --wrap: 1180px;
  --steel-grad: linear-gradient(100deg, #f4fbff 0%, #a9d1e4 40%, #5f93ad 75%, #9fc7da 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--steel-2); color: #fff; }

h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; color: var(--white); letter-spacing: -.025em; line-height: 1.08; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--steel); }

.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.steel {
  background: var(--steel-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s ease-in-out infinite alternate;
}
@keyframes shine { to { background-position: 100% 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--steel);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before { content: "//"; color: var(--steel-2); letter-spacing: 0; }

/* ---------- tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ice);
  color: #08101a;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(143, 188, 210, .55); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--steel); box-shadow: none; }

/* ---------- logo + navigace ---------- */

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { width: 30px; height: 30px; }
.logo__word {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .34em;
  background: var(--steel-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 11, 18, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__menu a {
  position: relative;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--white); }
.nav__menu a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--steel); }
.nav__menu .nav__cta { margin-left: 10px; padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--white); }
.nav__menu .nav__cta:hover { border-color: var(--steel); }
.nav__menu .nav__cta.is-active::after { display: none; }
.nav__toggle { display: none; }

/* ---------- hero ---------- */

.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 160px 0 90px; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.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: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 75%);
  opacity: .55;
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero__glow--1 { width: 620px; height: 620px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(95, 147, 173, .55), transparent 65%); animation: float 14s ease-in-out infinite alternate; }
.hero__glow--2 { width: 480px; height: 480px; left: -160px; bottom: -180px; background: radial-gradient(circle, rgba(111, 211, 255, .18), transparent 65%); animation: float 18s ease-in-out infinite alternate-reverse; }
@keyframes float { to { transform: translate(-60px, 50px) scale(1.08); } }

/* „čepel“ – šikmý ocelový řez přes pozadí */
.hero__blade {
  position: absolute;
  right: 6%;
  top: -20%;
  width: 2px;
  height: 140%;
  background: linear-gradient(180deg, transparent, rgba(232, 243, 249, .85) 45%, rgba(95, 147, 173, .6) 60%, transparent);
  transform: rotate(28deg);
  box-shadow: 0 0 24px 2px rgba(143, 188, 210, .35);
  animation: blade 7s ease-in-out infinite;
}
.hero__blade--2 { right: 15%; width: 1px; opacity: .45; animation-delay: -3s; }
@keyframes blade { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px 56px; align-items: center; }
.hero__main { min-width: 0; }
.teasers { grid-column: 1 / -1; }
.hero h1 { font-size: clamp(46px, 6.6vw, 96px); font-weight: 600; max-width: 12ch; margin-bottom: 26px; }
.hero__lead { font-family: "Space Grotesk", sans-serif; font-size: clamp(20px, 2.2vw, 27px); color: var(--white); margin-bottom: 18px; }
.hero__text { max-width: 640px; color: var(--muted); font-size: 18px; }
.hero__text a { color: var(--steel); text-decoration: none; border-bottom: 1px solid rgba(143, 188, 210, .35); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.teaser {
  position: relative;
  display: block;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(15, 23, 35, .85), rgba(11, 17, 27, .6));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--muted);
  font-size: 15.5px;
  text-decoration: none;
  transition: border-color .3s, transform .3s;
}
.teaser:hover { border-color: var(--line-2); transform: translateY(-3px); }
.teaser h2 { font-size: 22px; margin: 6px 0 10px; }
.teaser__no { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; color: var(--steel); letter-spacing: .2em; }
.teaser__more { display: inline-block; margin-top: 14px; color: var(--white); font-weight: 500; font-size: 14.5px; }

/* ---------- sekce ---------- */

.section { position: relative; padding: 130px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 860px; margin-bottom: 64px; }
.section__title { font-size: clamp(30px, 4vw, 50px); }
.section__sub { margin-top: 22px; color: var(--muted); font-size: 19px; max-width: 720px; }

/* about */
.points { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.points li {
  counter-increment: p;
  position: relative;
  padding: 30px 0 30px 64px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.points li::before {
  content: counter(p, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 32px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--steel);
}
.quote {
  margin-top: 56px;
  padding: 40px 0 0 64px;
  border-top: 1px solid var(--line);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--white);
  max-width: 980px;
}

/* agency */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative;
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--muted);
  font-size: 15.5px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card__icon { width: 46px; height: 46px; padding: 11px; margin-bottom: 26px; border-radius: 14px; fill: var(--ice); background: linear-gradient(140deg, rgba(143, 188, 210, .28), rgba(95, 147, 173, .08)); border: 1px solid var(--line-2); }
.card h3 { font-size: 21px; margin-bottom: 14px; }
.card__lead { color: var(--text); }

/* services */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 80px 1fr 1.25fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.service__no { font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--steel); letter-spacing: .15em; font-size: 14px; padding-top: 8px; }
.service h3 { font-size: clamp(24px, 2.4vw, 32px); }
.service__body { color: var(--muted); }
.service__lead { color: var(--text); font-size: 18px; }
.service:hover h3 { background: var(--steel-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* hosting */
.hosting__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.chips li { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13.5px !important; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--white); font-size: 14.5px; background: rgba(15, 23, 35, .7); }
.stat {
  padding: 44px 40px;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background:
    radial-gradient(400px 220px at 80% 0%, rgba(95, 147, 173, .28), transparent 70%),
    var(--panel);
}
.stat__num { font-family: "Space Grotesk", sans-serif; font-size: clamp(80px, 11vw, 140px); font-weight: 600; line-height: .9; letter-spacing: -.04em; margin-bottom: 22px; }
.stat__text { color: var(--muted); }
.stat__bar { height: 6px; margin-top: 28px; border-radius: 6px; background: rgba(160, 196, 216, .12); overflow: hidden; }
.stat__bar span { display: block; width: 57%; height: 100%; border-radius: 6px; background: var(--steel-grad); }

/* photography */
.photo__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.photo__frame { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 6px; background: radial-gradient(circle at 50% 45%, rgba(143, 188, 210, .16), transparent 60%); }
.photo__frame svg { width: 30%; fill: var(--steel); opacity: .85; }
.photo__corner { position: absolute; width: 34px; height: 34px; border-color: var(--steel); border-style: solid; border-width: 0; }
.photo__corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.photo__corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.photo__corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.photo__corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.photo__text { font-family: "Space Grotesk", sans-serif; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.4; color: var(--white); }

/* contact */
.contact { padding-top: 40px; }
.contact__card {
  position: relative;
  padding: 72px 64px;
  border: 1px solid var(--line-2);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(95, 147, 173, .35), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, rgba(111, 211, 255, .12), transparent 70%),
    var(--panel);
}
.contact__card::after {
  content: "";
  position: absolute;
  right: 12%;
  top: -30%;
  width: 2px;
  height: 160%;
  transform: rotate(28deg);
  background: linear-gradient(180deg, transparent, rgba(232, 243, 249, .7), transparent);
}
.contact__name { font-size: clamp(32px, 5vw, 64px); letter-spacing: .02em; margin-bottom: 26px; }
.contact address { font-style: normal; font-size: 20px; color: var(--text); }
.contact__reg { margin-top: 14px; color: var(--muted); font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; }

/* footer */
.footer { padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__brand { font-family: "Space Grotesk", sans-serif; letter-spacing: .34em; color: var(--steel); font-weight: 600; }
.footer p { margin: 0; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--white); }

/* privacy */
.legal { padding: 150px 0 100px; }
.legal__in { max-width: 780px; }
.legal h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 48px; }
.legal h2 { font-size: 26px; margin: 48px 0 16px; }
.legal h3 { font-size: 19px; margin: 30px 0 10px; color: var(--steel); }
.legal p { color: var(--text); }
.legal__back { display: inline-block; margin-bottom: 32px; color: var(--muted); text-decoration: none; font-size: 15px; }
.legal__back:hover { color: var(--white); }


/* terminál v úvodu */
.term {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 35, .92), rgba(9, 14, 22, .92));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 0 60px -20px rgba(95, 147, 173, .45);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}
.term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3646; }
.term__bar i:first-child { background: #5f93ad; }
.term__bar span { margin-left: 10px; color: var(--muted); font-size: 12px; }
.term__body { padding: 22px 22px 26px; }
.term__l { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--text); white-space: nowrap; }
.term__p { color: var(--steel); }
.term__ok { color: #7ee0b5; }
.term__s { color: var(--muted); }
.term__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(160, 196, 216, .3); transform: translateY(-4px); }
.term__run { background: var(--steel-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; }
.term__cursor { width: 8px; height: 17px; margin-left: 2px; background: var(--steel); animation: cursor 1s steps(1) infinite; }
@keyframes cursor { 50% { opacity: 0; } }
/* řádky naběhnou postupně */
.term__l { animation: termline .45s ease-out both; }
.term__l:nth-child(1) { animation-delay: .6s; }
.term__l:nth-child(2) { animation-delay: 1.1s; }
.term__l:nth-child(3) { animation-delay: 1.4s; }
.term__l:nth-child(4) { animation-delay: 1.7s; }
.term__l:nth-child(5) { animation-delay: 2.0s; }
.term__l:nth-child(6) { animation-delay: 2.5s; }
@keyframes termline { from { opacity: 0; transform: translateX(-6px); } }

/* běžící pás */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: "Space Grotesk", sans-serif; font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; color: var(--white); white-space: nowrap; letter-spacing: -.01em; }
.marquee__track span:nth-child(4n+1) { background: var(--steel-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee__track i { font-style: normal; color: var(--steel-2); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; }
  .term { max-width: 560px; transform: none; }
}
@media (max-width: 640px) {
  .term { font-size: 12.5px; }
  .term__body { padding: 18px 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .term__l, .rise { animation: none; }
}

/* postupné objevování obsahu vypnuto (1. 11. 2026) – vše je vidět hned */

/* ---------- tablet ---------- */

@media (max-width: 1080px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 60px 1fr; }
  .service__body { grid-column: 2; }
}

@media (max-width: 900px) {
  .nav__toggle {
    display: grid;
    gap: 6px;
    padding: 12px 10px;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
  }
  .nav__toggle span:not(.sr) { display: block; width: 22px; height: 1.5px; background: var(--white); transition: transform .3s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__menu {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 28px;
    background: rgba(7, 11, 18, .96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { background: rgba(7, 11, 18, .96); }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 15px 4px; font-size: 18px; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav__menu a.is-active::after { display: none; }
  .nav__menu .nav__cta { margin: 18px 0 0; text-align: center; border: 1px solid var(--line-2); }
  .points { grid-template-columns: 1fr; }
  .hosting__in, .photo__in { grid-template-columns: 1fr; gap: 48px; }
  .photo__frame { max-width: 420px; }
  .section { padding: 96px 0; }
}

/* ---------- mobil ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .nav__in { height: 66px; }
  .nav__menu { inset: 66px 0 auto; }
  .logo__word { font-size: 15px; letter-spacing: .28em; }
  .hero { padding: 120px 0 64px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .teasers { grid-template-columns: 1fr; margin-top: 52px; }
  .cards { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 12px; padding: 34px 0; }
  .service__body { grid-column: auto; }
  .points li { padding-left: 48px; }
  .quote { padding-left: 0; }
  .stat { padding: 32px 26px; }
  .contact__card { padding: 44px 26px; border-radius: 24px; }
  .contact address { font-size: 17px; }
  .footer__in { flex-direction: column; text-align: center; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 44px; }
}

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