/* Full current CSS with mobile flicker fix, purple SVG icon styling,
   responsive mobile layout, reveal animations, and current site styles. */

/* ========================================
   RESET
======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: #08080b;
  background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%);
  font-family: Arial, Helvetica, sans-serif;
}

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

button {
  font: inherit;
}

/* ========================================
   CONTAINER
======================================== */

.container {
  width: min(1160px, calc(100% - 220px));
  margin-inline: auto;
  position: relative;
  z-index: 5;
}

/* ========================================
   BACKGROUND
======================================== */

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: absolute;
  width: 850px;
  height: 850px;
  top: 60px;
  right: -80px;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(98,73,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98,73,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle, black, transparent 70%);
  mask-image: radial-gradient(circle, black, transparent 70%);
}

.bg-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  top: 70px;
  right: -80px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(94,60,255,0.13),
      rgba(122,82,255,0.05) 42%,
      transparent 70%
    );
  filter: blur(10px);
}

.bg-lines {
  position: absolute;
  width: 850px;
  height: 850px;
  border-radius: 50%;
  opacity: 0.4;
  background:
    repeating-radial-gradient(
      ellipse,
      transparent 0,
      transparent 15px,
      rgba(100,77,255,0.07) 16px,
      transparent 17px,
      transparent 30px
    );
  animation: backgroundMove 18s ease-in-out infinite alternate;
}

.bg-lines-left {
  left: -620px;
  top: 100px;
}

.bg-lines-right {
  right: -620px;
  bottom: -250px;
}

/* ========================================
   HEADER
======================================== */

.header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(10,10,20,0.08);
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
}

.brand-sub {
  margin-top: 7px;
  color: #573cff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 5px;
}

.nav {
  display: flex;
  gap: 42px;
}

.nav a {
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #5c40ff;
}

.telegram-button {
  padding: 15px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  background: #08080b;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.17);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.telegram-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.telegram-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.22);
}

/* ========================================
   HERO
======================================== */

.hero {
  min-height: 680px;
  padding: 75px 0 55px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(410px,0.92fr);
  align-items: center;
  gap: 105px;
}

.hero-content {
  position: relative;
  z-index: 10;
  animation: heroContentAppear 1s cubic-bezier(0.22,1,0.36,1) both;
}

.eyebrow {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #573cff;
  font-size: 11px;
  font-weight: 800;
}

.eyebrow span {
  width: 32px;
  height: 2px;
  background: #573cff;
}

.hero h1 {
  font-size: clamp(72px, 7vw, 116px);
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: -7px;
}

.profession {
  margin-top: 28px;
  white-space: nowrap;
  font-size: clamp(35px, 3.5vw, 56px);
  font-weight: 900;
}

.profession span {
  color: #5b3fff;
}

.description {
  margin-top: 44px;
  padding-left: 20px;
  border-left: 2px solid #5c40ff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.description strong {
  display: block;
  margin-top: 3px;
}

.order-button {
  width: 300px;
  margin-top: 31px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  background: #08080b;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 15px 30px rgba(69,43,255,0.20);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.order-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(69,43,255,0.28);
}

.order-button:active,
.telegram-button:active,
.about-button:active {
  transform: scale(0.98);
}

/* ========================================
   SOFTWARE HERO
======================================== */

.software-visual {
  min-height: 540px;
  position: relative;
  perspective: 1200px;
  animation: heroSoftwareAppear 1.15s 0.12s cubic-bezier(0.22,1,0.36,1) both;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(91,62,255,0.18);
  border-radius: 50%;
}

.orbit-big {
  width: 430px;
  height: 430px;
  top: 50px;
  right: 0;
}

.orbit-small {
  width: 285px;
  height: 285px;
  top: 120px;
  right: 70px;
}

.software-card {
  width: 205px;
  height: 205px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 39px;
  background:
    radial-gradient(circle at 20% 12%, rgba(172,149,255,0.42), transparent 24%),
    linear-gradient(145deg, #292861 0%, #11102e 35%, #05050d 70%, #17153e 100%);
  border: 1px solid rgba(210,203,255,0.9);
  box-shadow:
    0 7px 0 #392586,
    0 12px 0 #20155d,
    0 28px 42px rgba(33,17,98,0.32),
    0 0 35px rgba(88,54,255,0.50),
    inset 3px 3px 4px rgba(255,255,255,0.55),
    inset -10px -12px 25px rgba(0,0,0,0.60);
  z-index: 5;
}

.inner-border {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(180,165,255,0.45);
  border-radius: 33px;
}

.card-shine {
  position: absolute;
  width: 160%;
  height: 90px;
  top: -20px;
  left: -35%;
  opacity: 0.65;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.85),
      rgba(189,177,255,0.18),
      transparent
    );
  filter: blur(8px);
  transform: rotate(-17deg);
}

.card-light {
  position: absolute;
  width: 10px;
  height: 10px;
  top: 15px;
  right: 18px;
  border-radius: 50%;
  background: white;
  box-shadow:
    0 0 4px white,
    0 0 12px white,
    0 0 24px #8b6cff,
    0 0 45px #5c39ff;
}

.software-text {
  position: relative;
  z-index: 6;
  font-size: 82px;
  font-weight: 800;
  letter-spacing: -5px;
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #d4caff 28%,
      #a78fff 55%,
      #694cff 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ae-card {
  top: 55px;
  left: 25px;
  animation: aeFloat 5s ease-in-out infinite;
}

.pr-card {
  right: -5px;
  bottom: 40px;
  animation: prFloat 5.5s ease-in-out infinite;
}

.software-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 900;
}

.software-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #593cff;
  box-shadow: 0 0 8px rgba(89,60,255,0.50);
}

.after-label {
  top: 45px;
  right: 0;
}

.premiere-label {
  left: 50px;
  bottom: 20px;
}

/* ========================================
   STATS
======================================== */

.stats {
  max-width: 930px;
  margin: -10px auto 28px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(40,30,90,0.07);
  border-radius: 18px;
  box-shadow: 0 15px 45px rgba(50,35,120,0.07);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.stat {
  min-height: 125px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 25px;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: rgba(30,25,50,0.10);
}

.stat strong {
  color: #5d43ff;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
}

.stat h3 {
  margin-top: 7px;
  font-size: 12px;
}

.stat p {
  max-width: 200px;
  margin-top: 7px;
  color: #686873;
  font-size: 11px;
  line-height: 1.35;
}

/* ========================================
   QUICK LINKS
======================================== */

.quick-links {
  max-width: 1100px;
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.quick-card {
  min-height: 105px;
  padding: 21px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(30,25,60,0.06);
  border-radius: 17px;
  box-shadow: 0 15px 40px rgba(45,31,100,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(60,40,160,0.12);
}

.quick-icon {
  width: 47px;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #674cff;
  background:
    linear-gradient(
      145deg,
      rgba(117,86,255,0.10),
      rgba(255,255,255,0.92)
    );
  border: 1px solid rgba(103,76,255,0.55);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 0 15px rgba(103,76,255,0.08);
  font-size: 14px;
  font-weight: 900;
}

.quick-icon svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: none;
  stroke: #674cff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(103,76,255,0.28));
}

.quick-icon svg [fill]:not([fill="none"]) {
  fill: #674cff;
}

.quick-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quick-text strong {
  font-size: 11px;
  font-weight: 900;
}

.quick-text span {
  color: #55555f;
  font-size: 10px;
}

.quick-card b {
  font-size: 22px;
  font-weight: 400;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #674cff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon .social-fill {
  fill: #674cff;
  stroke: none;
}

.max-icon {
  color: #674cff;
  background:
    linear-gradient(
      145deg,
      rgba(117,86,255,0.12),
      rgba(255,255,255,0.92)
    );
  font-size: 10px;
  font-weight: 900;
}

/* ========================================
   WORKS
======================================== */

.works {
  min-height: 700px;
  padding: 90px 0 120px;
  position: relative;
  overflow: hidden;
  z-index: 5;
  color: white;
  background:
    radial-gradient(
      circle at 80% 0%,
      #131321,
      #07070b 55%
    );
}

.dark-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(109,78,255,0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,78,255,0.13) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.section-label {
  color: #684cff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
}

.works h2 {
  margin-top: 18px;
  font-size: clamp(55px, 6vw, 85px);
  font-weight: 900;
  letter-spacing: -4px;
}

.works-description {
  margin-top: 20px;
  color: #858590;
  font-size: 14px;
  line-height: 1.7;
}

.works-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.work-video-card {
  width: 100%;
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid #252531;
  border-radius: 18px;
  background: #0b0b10;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.work-video-card:hover {
  transform: translateY(-7px);
  border-color: #6045ff;
  box-shadow: 0 28px 65px rgba(91,63,255,0.18);
}

.work-video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  color: white;
  background: rgba(5,5,10,0.65);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.work-video-card:hover .video-play {
  opacity: 1;
  transform: scale(1.05);
}

/* ========================================
   REVIEWS
======================================== */

.reviews {
  position: relative;
  overflow: hidden;
  padding: 115px 0 120px;
  color: white;
  background: linear-gradient(180deg, #07070b, #09090f, #07070b);
}

.reviews-grid-background {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(113,82,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113,82,255,0.15) 1px, transparent 1px);
  background-size: 55px 55px;
}

.reviews-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.reviews-glow-one {
  width: 500px;
  height: 500px;
  left: -180px;
  top: 180px;
  background: rgba(99,60,255,0.13);
}

.reviews-glow-two {
  width: 520px;
  height: 520px;
  right: -200px;
  bottom: -100px;
  background: rgba(112,65,255,0.10);
}

.reviews-header {
  margin-bottom: 55px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.reviews-label {
  display: block;
  margin-bottom: 13px;
  color: #795cff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 4px;
}

.reviews-title h2 {
  font-size: clamp(56px, 6vw, 86px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -5px;
}

.reviews-title h2 span {
  color: #785cff;
}

.reviews-title p {
  margin-top: 20px;
  color: #888894;
  font-size: 13px;
}

.reviews-score {
  min-width: 150px;
  padding-left: 25px;
  border-left: 1px solid rgba(122,89,255,0.40);
}

.reviews-score strong {
  display: block;
  font-size: 37px;
}

.reviews-score-stars {
  margin-top: 6px;
  color: #8064ff;
  font-size: 12px;
  letter-spacing: 2px;
}

.reviews-score span {
  display: block;
  margin-top: 8px;
  color: #696977;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.reviews-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.review-card {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  padding: 27px 27px 30px;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.075),
      rgba(255,255,255,0.022) 48%,
      rgba(110,75,255,0.04)
    );
  border: 1px solid rgba(129,92,255,0.42);
  border-radius: 24px;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.11),
    0 20px 55px rgba(0,0,0,0.25),
    0 0 20px rgba(97,60,255,0.08);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.review-card-main {
  border-color: rgba(137,102,255,0.62);
}

.review-card:hover {
  transform: translateY(-7px);
  border-color: rgba(148,116,255,0.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 28px 70px rgba(0,0,0,0.34),
    0 0 28px rgba(105,67,255,0.16);
}

.review-shine {
  position: absolute;
  width: 270px;
  height: 140px;
  top: -95px;
  left: -40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  filter: blur(38px);
  pointer-events: none;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.review-card:hover .review-shine {
  transform: translate(30px, 15px);
  opacity: 0.8;
}

.review-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.055),
      transparent 25%,
      transparent 75%,
      rgba(113,77,255,0.035)
    );
  pointer-events: none;
}

.review-person {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
}

.review-person img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(151,122,255,0.75);
  box-shadow: 0 0 17px rgba(107,70,255,0.18);
}

.review-person-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.review-person strong {
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.review-person-info > span {
  color: #777784;
  font-size: 10px;
}

.review-quote {
  align-self: start;
  color: rgba(128,93,255,0.42);
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 0.8;
}

.review-telegram {
  width: fit-content;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8b72ff;
  font-size: 9px;
  font-weight: 700;
}

.review-telegram svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.review-stars {
  position: relative;
  z-index: 2;
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.review-stars span {
  color: #8b70ff;
  font-size: 15px;
}

.review-stars small {
  margin-left: 8px;
  color: #71717e;
  font-size: 9px;
  font-weight: 800;
}

.review-text {
  position: relative;
  z-index: 2;
  margin-top: 19px;
  color: #b8b8c2;
  font-size: 12px;
  line-height: 1.75;
}

/* ========================================
   ABOUT
======================================== */

.about {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  color: #f6f6fb;
  background: linear-gradient(180deg, #07070b, #090910 55%, #07070b);
}

.about-grid-background {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(113,82,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113,82,255,0.15) 1px, transparent 1px);
  background-size: 55px 55px;
}

.about-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.about-glow-one {
  width: 450px;
  height: 450px;
  left: 3%;
  top: 250px;
  background: rgba(95,58,255,0.14);
}

.about-glow-two {
  width: 500px;
  height: 500px;
  right: -150px;
  bottom: -100px;
  background: rgba(113,65,255,0.08);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(330px,0.75fr) minmax(500px,1.25fr);
  align-items: center;
  gap: 90px;
}

.about-photo-area {
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-orbit {
  position: absolute;
  border: 1px solid rgba(103,75,255,0.23);
  border-radius: 50%;
}

.about-orbit-one {
  width: 430px;
  height: 430px;
}

.about-orbit-two {
  width: 510px;
  height: 510px;
  opacity: 0.45;
}

.about-photo {
  width: 340px;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(135,105,255,0.55);
  border-radius: 28px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    0 0 50px rgba(95,60,255,0.18);
  z-index: 3;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}

.about-photo:hover img {
  transform: scale(1.025);
}

.about-content {
  position: relative;
  z-index: 5;
}

.about-label {
  color: #7354ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.about-content h2 {
  margin-top: 12px;
  font-size: clamp(55px, 5vw, 78px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -4px;
}

.about-role {
  margin-top: 15px;
  color: #7659ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 7px;
}

.about-intro {
  max-width: 680px;
  margin-top: 32px;
  padding-left: 18px;
  border-left: 2px solid #674cff;
}

.about-intro p {
  color: #d5d5de;
  font-size: 14px;
  line-height: 1.8;
}

.about-intro strong {
  color: #896fff;
}

.about-block {
  margin-top: 30px;
}

.about-block h3 {
  margin-bottom: 15px;
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.about-software {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.about-software-item {
  display: flex;
  align-items: center;
  gap: 13px;
}

.about-app {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 900;
}

.ae-small,
.pr-small {
  color: #b7a5ff;
  background: linear-gradient(145deg, #251c68 0%, #100d35 55%, #080819 100%);
  border: 1px solid rgba(130,99,255,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 14px rgba(103,76,255,0.13);
}

.capcut-small {
  color: #a992ff;
  background:
    linear-gradient(
      145deg,
      rgba(121,89,255,0.17),
      rgba(255,255,255,0.04)
    );
  border: 1px solid rgba(126,94,255,0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 16px rgba(103,76,255,0.10);
}

.about-app svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: none;
  stroke: #a992ff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(126,94,255,0.32));
}

.capcut-small svg {
  width: 27px;
  height: 27px;
}

.about-software-item div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-software-item strong {
  color: white;
  font-size: 13px;
}

.about-software-item span {
  color: #777784;
  font-size: 10px;
}

/* ========================================
   SKILLS
======================================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
}

.skill-card {
  min-height: 48px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #d6d6df;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  font-size: 12px;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.skill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(120,87,255,0.35);
  background: rgba(103,76,255,0.055);
}

.skill-card span {
  width: 22px;
  color: #795dff;
  font-size: 20px;
}

.skill-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8265ff;
}

.skill-icon svg,
.skill-card > svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: block;
  fill: none;
  stroke: #8265ff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(112,79,255,0.30));
}

.skill-card:hover .skill-icon svg,
.skill-card:hover > svg {
  stroke: #9a82ff;
  filter: drop-shadow(0 0 7px rgba(126,94,255,0.50));
}

.about-description {
  margin-top: 28px;
  color: #aaaab4;
  font-size: 13px;
  line-height: 1.7;
}

.about-cooperation {
  margin-top: 16px;
  padding-left: 14px;
  color: #8b6dff;
  border-left: 2px solid #684cff;
  font-size: 12px;
  font-weight: 800;
}

.about-button {
  width: 340px;
  margin-top: 22px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  color: white;
  background: linear-gradient(110deg, #5838e9, #161026);
  border: 1px solid rgba(139,105,255,0.6);
  border-radius: 11px;
  box-shadow: 0 10px 35px rgba(86,51,255,0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.about-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(86,51,255,0.35);
}

/* ========================================
   FOOTER
======================================== */

.footer {
  position: relative;
  z-index: 5;
  color: #777782;
  background: #050508;
}

.footer-inner {
  min-height: 115px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid #202029;
  font-size: 11px;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-phone {
  color: #f1f1f5;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-phone:hover {
  color: #8064ff;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaaab4;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.footer-social a:hover {
  color: #7659ff;
  border-color: rgba(118,89,255,0.50);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social .social-fill {
  fill: currentColor;
  stroke: none;
}

/* ========================================
   SCROLL ANIMATIONS
======================================== */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s cubic-bezier(0.22,1,0.36,1),
    transform 0.8s cubic-bezier(0.22,1,0.36,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition:
    opacity 0.9s cubic-bezier(0.22,1,0.36,1),
    transform 0.9s cubic-bezier(0.22,1,0.36,1);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition:
    opacity 0.9s cubic-bezier(0.22,1,0.36,1),
    transform 0.9s cubic-bezier(0.22,1,0.36,1);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(20px);
  transition:
    opacity 0.85s cubic-bezier(0.22,1,0.36,1),
    transform 0.85s cubic-bezier(0.22,1,0.36,1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ========================================
   ANIMATIONS
======================================== */

@keyframes backgroundMove {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(25px,15px,0); }
}

@keyframes heroContentAppear {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSoftwareAppear {
  from {
    opacity: 0;
    transform: translateX(35px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes aeFloat {
  0%, 100% {
    transform:
      translateY(0)
      rotateX(8deg)
      rotateY(-10deg)
      rotateZ(-8deg);
  }
  50% {
    transform:
      translateY(-16px)
      rotateX(5deg)
      rotateY(-6deg)
      rotateZ(-5deg);
  }
}

@keyframes prFloat {
  0%, 100% {
    transform:
      translateY(0)
      rotateX(8deg)
      rotateY(10deg)
      rotateZ(8deg);
  }
  50% {
    transform:
      translateY(16px)
      rotateX(5deg)
      rotateY(6deg)
      rotateZ(5deg);
  }
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1200px) {
  .container {
    width: calc(100% - 80px);
  }

  .hero {
    gap: 50px;
  }

  .about-layout {
    gap: 50px;
  }
}

/* ========================================
   MOBILE / TABLET
======================================== */

@media (max-width: 900px) {
  .container {
    width: calc(100% - 44px);
  }

  .header {
    min-height: 88px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-content {
    max-width: 620px;
  }

  .software-visual {
    width: 500px;
    max-width: 100%;
    min-height: 480px;
    margin: 10px auto 0;
  }

  .stats {
    margin-top: 20px;
    grid-template-columns: repeat(3,1fr);
  }

  .quick-links {
    grid-template-columns: repeat(2,1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2,1fr);
  }

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

  .review-card {
    min-height: 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-photo-area {
    min-height: 520px;
  }
}

/* ========================================
   PHONE
======================================== */

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .header {
    min-height: 76px;
    border-bottom: 1px solid rgba(20,20,30,0.07);
  }

  .brand-main {
    font-size: 20px;
    letter-spacing: 0;
  }

  .brand-sub {
    margin-top: 5px;
    font-size: 6px;
    letter-spacing: 3.5px;
  }

  .telegram-button {
    padding: 11px 13px;
    gap: 7px;
    border-radius: 9px;
    font-size: 11px;
  }

  .telegram-button svg {
    width: 15px;
    height: 15px;
  }

  .hero {
    padding: 55px 0 0;
    gap: 5px;
  }

  .eyebrow {
    margin-bottom: 27px;
    font-size: 8px;
    letter-spacing: 0.7px;
  }

  .eyebrow span {
    width: 24px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(49px, 16vw, 67px);
    line-height: 0.87;
    letter-spacing: -4px;
  }

  .profession {
    margin-top: 20px;
    font-size: clamp(25px, 8.5vw, 36px);
    letter-spacing: -1px;
  }

  .description {
    margin-top: 31px;
    padding-left: 14px;
    font-size: 13px;
    line-height: 1.65;
  }

  .description p {
    max-width: 310px;
  }

  .description strong {
    margin-top: 5px;
    color: #18181f;
  }

  .order-button {
    width: 100%;
    margin-top: 27px;
    padding: 18px 20px;
    border-radius: 11px;
    font-size: 12px;
  }

  .software-visual {
    width: 100%;
    height: 350px;
    min-height: 350px;
    margin-top: 30px;
    transform: none;
  }

  .orbit-big {
    width: 300px;
    height: 300px;
    top: 20px;
    right: 50%;
    transform: translateX(50%);
  }

  .orbit-small {
    width: 195px;
    height: 195px;
    top: 73px;
    right: 50%;
    transform: translateX(50%);
  }

  .software-card {
    width: 140px;
    height: 140px;
    border-radius: 28px;
  }

  .inner-border {
    inset: 5px;
    border-radius: 23px;
  }

  .software-text {
    font-size: 55px;
    letter-spacing: -3px;
  }

  .ae-card {
    top: 35px;
    left: 13px;
  }

  .pr-card {
    right: 13px;
    bottom: 40px;
  }

  .after-label {
    top: 14px;
    right: 10px;
    font-size: 7px;
  }

  .premiere-label {
    left: 10px;
    bottom: 15px;
    font-size: 7px;
  }

  .software-label i {
    width: 5px;
    height: 5px;
  }

  .stats {
    width: calc(100% - 32px);
    margin: 20px auto 22px;
    grid-template-columns: repeat(3,1fr);
    border-radius: 14px;
  }

  .stat {
    min-height: 108px;
    padding: 15px 7px;
  }

  .stat + .stat::before {
    top: 18px;
    bottom: 18px;
    left: 0;
    width: 1px;
    height: auto;
  }

  .stat strong {
    font-size: 29px;
    letter-spacing: -1px;
  }

  .stat h3 {
    margin-top: 6px;
    font-size: 8px;
  }

  .stat p {
    margin-top: 5px;
    font-size: 7px;
    line-height: 1.3;
  }

  .quick-links {
    width: calc(100% - 32px);
    margin: 0 auto 65px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .quick-card {
    min-height: 88px;
    padding: 14px;
    grid-template-columns: auto minmax(0,1fr);
    gap: 10px;
    border-radius: 14px;
  }

  .quick-card b {
    display: none;
  }

  .quick-icon {
    width: 39px;
    height: 39px;
    border-radius: 10px;
  }

  .quick-icon svg {
    width: 20px;
    height: 20px;
  }

  .quick-text {
    min-width: 0;
    gap: 4px;
  }

  .quick-text strong {
    font-size: 8px;
    line-height: 1.25;
  }

  .quick-text span {
    overflow: hidden;
    font-size: 7px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .max-icon {
    font-size: 8px;
  }

  .works {
    padding: 70px 0 80px;
  }

  .section-label {
    font-size: 8px;
    letter-spacing: 3px;
  }

  .works h2 {
    margin-top: 13px;
    font-size: 47px;
    letter-spacing: -3px;
  }

  .works-description {
    margin-top: 14px;
    font-size: 12px;
  }

  .works-grid {
    max-width: 350px;
    margin: 35px auto 0;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .work-video-card {
    border-radius: 20px;
  }

  .video-play {
    opacity: 1;
    width: 48px;
    height: 48px;
    font-size: 13px;
  }

  .reviews {
    padding: 75px 0 80px;
  }

  .reviews-header {
    margin-bottom: 38px;
    flex-direction: column;
    align-items: flex-start;
    gap: 27px;
  }

  .reviews-label {
    font-size: 8px;
    letter-spacing: 3px;
  }

  .reviews-title h2 {
    font-size: clamp(45px, 14vw, 60px);
    letter-spacing: -3px;
  }

  .reviews-title p {
    margin-top: 15px;
    font-size: 11px;
  }

  .reviews-score {
    min-width: auto;
    padding-left: 15px;
  }

  .reviews-score strong {
    font-size: 30px;
  }

  .reviews-score-stars {
    font-size: 10px;
  }

  .reviews-cards {
    gap: 14px;
  }

  .review-card {
    min-height: auto;
    padding: 20px 19px 23px;
    border-radius: 19px;
  }

  .review-card::after {
    border-radius: 18px;
  }

  .review-person {
    grid-template-columns: auto minmax(0,1fr);
    gap: 11px;
  }

  .review-person img {
    width: 48px;
    height: 48px;
  }

  .review-quote {
    display: none;
  }

  .review-person strong {
    font-size: 13px;
  }

  .review-person-info > span {
    font-size: 9px;
  }

  .review-telegram {
    margin-top: 4px;
    font-size: 8px;
  }

  .review-stars {
    margin-top: 19px;
  }

  .review-stars span {
    font-size: 14px;
  }

  .review-text {
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.65;
  }

  .about {
    padding: 75px 0 85px;
  }

  .about-layout {
    gap: 35px;
  }

  .about-photo-area {
    min-height: 400px;
  }

  .about-photo {
    width: min(285px, 82vw);
    border-radius: 23px;
  }

  .about-orbit-one {
    width: 320px;
    height: 320px;
  }

  .about-orbit-two {
    width: 370px;
    height: 370px;
  }

  .about-label {
    font-size: 8px;
  }

  .about-content h2 {
    margin-top: 10px;
    font-size: 50px;
    letter-spacing: -3px;
  }

  .about-role {
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 5px;
  }

  .about-intro {
    margin-top: 24px;
    padding-left: 13px;
  }

  .about-intro p {
    font-size: 12px;
    line-height: 1.7;
  }

  .about-block {
    margin-top: 27px;
  }

  .about-block h3 {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .about-software {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .about-software-item {
    padding: 10px 12px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
  }

  .about-app {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .about-app svg {
    width: 22px;
    height: 22px;
  }

  .capcut-small svg {
    width: 24px;
    height: 24px;
  }

  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .skill-card {
    min-height: 58px;
    padding: 10px 11px;
    gap: 8px;
    font-size: 9px;
  }

  .skill-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .skill-icon svg,
  .skill-card > svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
  }

  .about-description {
    margin-top: 24px;
    font-size: 11px;
  }

  .about-cooperation {
    font-size: 10px;
    line-height: 1.5;
  }

  .about-button {
    width: 100%;
    margin-top: 22px;
    padding: 17px 18px;
  }


  .footer-inner {
    min-height: auto;
    padding: 28px 0 30px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 15px;
    text-align: center;
  }

  .footer-center {
    gap: 7px;
  }

  .footer-phone {
    font-size: 14px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(25px);
  }

  .reveal-left.is-visible,
  .reveal-right.is-visible {
    transform: translateY(0);
  }
}

/* ========================================
   VERY SMALL PHONES
======================================== */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand-main {
    font-size: 18px;
  }

  .telegram-button {
    padding: 10px 11px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .profession {
    font-size: 25px;
  }

  .software-card {
    width: 125px;
    height: 125px;
  }

  .software-text {
    font-size: 49px;
  }

  .quick-links {
    width: calc(100% - 24px);
  }

  .stats {
    width: calc(100% - 24px);
  }

  .stat strong {
    font-size: 26px;
  }

  .stat p {
    font-size: 6px;
  }

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

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ========================================
   MOBILE SCROLL FLICKER FIX
======================================== */

@media (max-width: 900px) {
  html {
    background: #ffffff;
    overscroll-behavior-y: none;
  }

  body {
    min-height: 100%;
    background: #ffffff;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
  }

  .background {
    position: absolute;
    min-height: 100vh;
  }

  .bg-glow,
  .reviews-glow,
  .about-glow {
    filter: none;
  }

  .stats,
  .review-card,

  .hero-content,
  .software-visual,
  .software-card,
  .stat,
  .quick-card,
  .work-video-card,
  .review-card,
  .about-photo,
  .about-content,
  .skill-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  img,
  svg,
  video {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .works,
  .reviews,
  .about,
  .footer {
    isolation: isolate;
  }
}

/* ========================================
   IOS / SAFARI EXTRA FIX
======================================== */

@supports (-webkit-touch-callout: none) {
  @media (max-width: 900px) {
    body {
      -webkit-transform: translateZ(0);
    }

    .background {
      transform: translateZ(0);
    }

    .review-card,
    .stats {
      background-clip: padding-box;
    }
  }
}
/* ========================================
   MOBILE VIDEO EXPERIENCE — 2026
   Автопревью + свайп + удобный просмотр
======================================== */

.video-hint {
  display: none;
}

/* Активно проигрываемая карточка получает лёгкий акцент */
.work-video-card.is-preview-playing {
  border-color: rgba(103,76,255,0.72);
  box-shadow:
    0 26px 62px rgba(0,0,0,0.32),
    0 0 0 1px rgba(103,76,255,0.14),
    0 0 34px rgba(91,63,255,0.14);
}

.work-video-card.is-preview-playing .video-play {
  opacity: 0;
  transform: scale(0.88);
}

.work-video-card video {
  background: #050508;
}


@media (max-width: 900px) {
  /*
    На touch-устройствах hover не нужен.
    Карточка должна ощущаться как живой Reel.
  */
  .work-video-card:hover {
    transform: none;
  }

  .work-video-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .video-overlay {
    pointer-events: none;
    align-items: flex-end;
    justify-content: center;
    padding: 18px;
    background:
      linear-gradient(
        180deg,
        transparent 56%,
        rgba(3,3,8,0.12) 72%,
        rgba(3,3,8,0.72) 100%
      );
  }

  .video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    opacity: 0.78;
    width: 52px;
    height: 52px;
  }

  .work-video-card.is-preview-playing .video-play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
  }

  .video-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 8px 12px;
    color: rgba(255,255,255,0.92);
    background: rgba(5,5,10,0.54);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.15px;
    line-height: 1;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .work-video-card.is-preview-playing .video-hint {
    opacity: 1;
    transform: translateY(0);
  }

  


}

@media (max-width: 600px) {
  /*
    На телефоне портфолио превращается в Reel-карусель:
    текущий ролик крупный, следующий слегка виден справа.
  */
  .works {
    padding-bottom: 72px;
  }

  .works .container {
    width: 100%;
  }

  .works .section-label,
  .works h2,
  .works-description {
    margin-left: 16px;
    margin-right: 16px;
  }

  .works-grid {
    width: 100%;
    max-width: none;
    margin: 30px 0 0;
    padding:
      4px
      max(16px, env(safe-area-inset-left))
      18px;
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(16px, env(safe-area-inset-left));
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .works-grid::-webkit-scrollbar {
    display: none;
  }

  .work-video-card {
    flex: 0 0 min(78vw, 320px);
    width: min(78vw, 320px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-radius: 20px;
  }

  .work-video-card:first-child {
    margin-left: 0;
  }

  .work-video-card:last-child {
    margin-right: max(8vw, env(safe-area-inset-right));
  }

  .video-overlay {
    padding: 16px 10px;
  }

  .video-hint {
    max-width: calc(100% - 20px);
    white-space: nowrap;
  }

  
}

@media (max-width: 380px) {
  .work-video-card {
    flex-basis: min(82vw, 300px);
    width: min(82vw, 300px);
  }

  .video-hint {
    padding: 7px 9px;
    font-size: 7px;
    letter-spacing: 0.85px;
  }
}


/* ========================================
   VIDEO CARDS AS LINKS
======================================== */

.work-video-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-video-card:focus-visible {
  outline: 3px solid rgba(103,76,255,0.72);
  outline-offset: 4px;
}

/* Старое модальное окно больше не используется. */


/* ========================================
   MOBILE READABILITY / TOUCH SIZE PATCH
======================================== */

@media (max-width: 600px) {
  .telegram-button {
    min-height: 44px;
    padding: 12px 15px;
    gap: 8px;
    font-size: 13px;
  }

  .telegram-button svg {
    width: 17px;
    height: 17px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .description {
    font-size: 14px;
  }

  .order-button {
    min-height: 58px;
    padding: 19px 21px;
    font-size: 14px;
  }

  .stat strong {
    font-size: 31px;
  }

  .stat h3 {
    font-size: 9px;
  }

  .stat p {
    font-size: 8px;
  }

  .quick-card {
    min-height: 96px;
    padding: 15px;
    gap: 11px;
  }

  .quick-icon {
    width: 43px;
    height: 43px;
  }

  .quick-icon svg {
    width: 22px;
    height: 22px;
  }

  .quick-text strong {
    font-size: 9.5px;
  }

  .quick-text span {
    font-size: 8.5px;
  }

  .max-icon {
    font-size: 9px;
  }

  .section-label,
  .reviews-label,
  .about-label {
    font-size: 9px;
  }

  .works-description {
    font-size: 13px;
  }

  .review-person strong {
    font-size: 14px;
  }

  .review-person-info > span {
    font-size: 10px;
  }

  .review-telegram {
    min-height: 25px;
    font-size: 9px;
  }

  .review-text {
    font-size: 12px;
    line-height: 1.65;
  }

  .reviews-title p {
    font-size: 12px;
  }

  .about-role {
    font-size: 11px;
  }

  .about-intro p {
    font-size: 13px;
  }

  .about-block h3 {
    font-size: 11px;
  }

  .skill-card {
    min-height: 62px;
    padding: 11px 12px;
    font-size: 10px;
  }

  .about-description {
    font-size: 12px;
    line-height: 1.65;
  }

  .about-cooperation {
    font-size: 11px;
  }

  .about-button {
    min-height: 56px;
    padding: 18px 20px;
    font-size: 13px;
  }

  .footer-phone {
    font-size: 16px;
  }

  .footer-social a {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 380px) {
  .telegram-button {
    padding: 11px 13px;
    font-size: 12px;
  }

  .quick-text strong {
    font-size: 9px;
  }

  .quick-text span {
    font-size: 8px;
  }

  .stat h3 {
    font-size: 8.5px;
  }

  .stat p {
    font-size: 7.5px;
  }
}
