/* ===== Mitsko — Marketing & Web Landing ===== */
:root {
  --bg: #070b14;
  --bg-elevated: #0d1424;
  --bg-card: #111a2e;
  --bg-card-hover: #162038;
  --border: rgba(120, 160, 255, 0.12);
  --border-strong: rgba(120, 160, 255, 0.28);
  --text: #eef2ff;
  --text-muted: #9aa8c7;
  --text-dim: #6b7a9a;
  --accent: #4f8cff;
  --accent-bright: #6ea0ff;
  --accent-soft: rgba(79, 140, 255, 0.15);
  --accent-glow: rgba(79, 140, 255, 0.35);
  --success: #3dd68c;
  --success-soft: rgba(61, 214, 140, 0.12);
  --warning: #ffb84d;
  --tg: #2aabee;
  --tg-hover: #229ed9;
  --gradient: linear-gradient(135deg, #4f8cff 0%, #7b5cff 50%, #2aabee 100%);
  --gradient-soft: linear-gradient(135deg, rgba(79, 140, 255, 0.2), rgba(123, 92, 255, 0.12));
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1140px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(79, 140, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(123, 92, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(42, 171, 238, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.75);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.925rem;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.25s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 12px 36px var(--accent-glow);
}

.btn--tg {
  background: var(--tg);
  color: #fff;
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.35);
}

.btn--tg:hover {
  background: var(--tg-hover);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== Hero ===== */
.hero {
  padding: 4.5rem 0 5rem;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 1.15rem;
}

.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 28rem;
}

.stat {
  padding: 0.9rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.hero__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.hero__card h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.skill-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.skill-list li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Sections ===== */
.section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(13, 20, 36, 0.6), transparent);
}

.section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section__eyebrow {
  display: inline-block;
  color: var(--accent-bright);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section__head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Cards grid ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.card__price {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.card__price strong {
  font-size: 1.25rem;
  color: var(--text);
}

.card__price span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===== Pricing ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: rgba(79, 140, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.15), 0 20px 50px rgba(79, 140, 255, 0.12);
}

.price-card--featured::before {
  content: "Популярне";
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.price-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.price-card__amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-card__amount small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  -webkit-text-fill-color: var(--text-muted);
}

.price-card__note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.price-card li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.price-card li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Portfolio / Proofs ===== */
.proofs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.proof {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s;
}

.proof:hover {
  border-color: var(--border-strong);
}

.proof__gallery {
  display: grid;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
}

.proof__gallery--2 {
  grid-template-columns: 1fr 1fr;
}

.proof__gallery--4 {
  grid-template-columns: repeat(4, 1fr);
}

.proof__gallery--1 {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin-inline: auto;
}

.proof__shot {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0f1a;
  aspect-ratio: 16 / 11;
  position: relative;
}

.proof__shot--tall {
  aspect-ratio: 9 / 14;
}

.proof__shot--wide {
  aspect-ratio: 16 / 9;
}

.proof__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.proof__shot:hover img {
  transform: scale(1.03);
}

.proof__body {
  padding: 1.25rem 1.4rem 1.5rem;
}

.proof__body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.proof__body p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.proof__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .proof__gallery--4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .proof__gallery--2,
  .proof__gallery--4 {
    grid-template-columns: 1fr;
  }

  .proof__shot--tall {
    aspect-ratio: 9 / 12;
  }
}

/* ===== SEO keywords block ===== */
.seo-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.seo-block h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.seo-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.seo-block p:last-child {
  margin-bottom: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== CTA band ===== */
.cta-band {
  margin: 2rem 0 0;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(79, 140, 255, 0.2), transparent 60%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.65rem;
  position: relative;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-inline: auto;
  position: relative;
}

.cta-band .btn {
  position: relative;
}

/* ===== Contact strip ===== */
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-strip__info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.contact-strip__info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-strip__info code {
  color: var(--tg);
  font-family: inherit;
  font-weight: 600;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 36rem;
  margin-inline: auto;
}

/* ===== Process steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
}

.step__num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
  max-width: 22rem;
}

.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--accent-bright);
}

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===== Floating TG button ===== */
.float-tg {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--tg);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(42, 171, 238, 0.45);
  transition: transform 0.2s, background 0.2s;
}

.float-tg:hover {
  transform: scale(1.08);
  background: var(--tg-hover);
}

.float-tg svg {
  width: 28px;
  height: 28px;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent-bright);
}

.breadcrumbs span {
  color: var(--text-dim);
}

/* ===== Service detail blocks ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-detail article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.service-detail h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.service-detail p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.service-detail ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-detail li {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding-left: 1.1rem;
  position: relative;
}

.service-detail li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-bright);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 11, 20, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .header .btn--sm {
    display: none;
  }

  .cards,
  .proofs,
  .steps,
  .footer__grid,
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .cta-band {
    padding: 1.75rem 1.25rem;
  }

  .contact-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* Visually hidden for SEO H1 helpers if needed */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
