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

:root {
  --color-bg: #0c1a2e;
  --color-bg-alt: #0f2238;
  --color-surface: #152a45;
  --color-surface-light: #1a3358;
  --color-text: #dceaf7;
  --color-text-muted: #7da3c7;
  --color-heading: #f0f9ff;
  --color-navy: #050e1a;
  --color-navy-light: #0c1f38;
  --color-sky: #38bdf8;
  --color-sky-dark: #0ea5e9;
  --color-sky-soft: rgba(56, 189, 248, 0.14);
  --color-cyan: #22d3ee;
  --color-pink: #38bdf8;
  --color-pink-dark: #0ea5e9;
  --color-pink-soft: rgba(56, 189, 248, 0.14);
  --color-yellow: #38bdf8;
  --color-yellow-soft: rgba(56, 189, 248, 0.1);
  --color-telegram: #229ed9;
  --color-telegram-dark: #1a8bc4;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-pink: 0 8px 32px rgba(56, 189, 248, 0.3);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: "Outfit", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-sky) 0%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Top bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.55rem 1rem;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
}

.top-bar__flag {
  font-size: 1rem;
}

.top-bar__badge {
  padding: 0.2rem 0.65rem;
  background: var(--color-sky);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(56, 189, 248, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 5% 90%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  z-index: 0;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.hero__blob--1 {
  width: 280px;
  height: 280px;
  background: rgba(56, 189, 248, 0.25);
  top: -60px;
  right: -40px;
}

.hero__blob--2 {
  width: 220px;
  height: 220px;
  background: rgba(34, 211, 238, 0.18);
  bottom: 40px;
  left: -60px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-sky);
  background: var(--color-sky-soft);
  border-radius: 100px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.hero h1 {
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-heading);
}

.hero__tagline {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 42ch;
  line-height: 1.65;
}

.hero__tagline strong {
  color: var(--color-heading);
}

.hero__highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero__highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-heading);
  background: var(--color-surface);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(56, 189, 248, 0.12);
}

.hero__highlight-icon {
  font-size: 1rem;
}

.hero__image-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.hero__image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-surface);
}

.hero__image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px rgba(56, 189, 248, 0.25);
  z-index: 1;
  pointer-events: none;
}

.hero__image {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.hero__float-card span:first-child {
  font-size: 1.3rem;
}

.hero__float-card strong {
  display: block;
  font-size: 0.82rem;
  color: var(--color-heading);
  line-height: 1.2;
}

.hero__float-card small {
  color: var(--color-text-muted);
  font-size: 0.72rem;
}

.hero__float-card--1 {
  top: 8%;
  left: -4%;
  animation-delay: 0s;
}

.hero__float-card--2 {
  bottom: 10%;
  right: -4%;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Promo strip */
.promo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, #0c4a6e 0%, #0ea5e9 50%, #0c4a6e 100%);
  text-align: center;
}

.promo-strip__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.promo-strip p {
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  font-weight: 600;
  color: #fff;
}

.promo-strip strong {
  font-weight: 800;
}

/* Telegram button */
.btn-telegram {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--color-telegram) 0%, var(--color-telegram-dark) 100%);
  border: none;
  border-radius: 100px;
  box-shadow:
    0 4px 20px rgba(34, 158, 217, 0.45),
    0 0 0 0 rgba(34, 158, 217, 0.4);
  overflow: hidden;
  cursor: pointer;
  animation: pulse-ring 2.2s ease-out infinite, gentle-bounce 3s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-telegram--large {
  padding: 0.72rem 1.65rem;
  font-size: 1rem;
}

.btn-telegram--large .btn-telegram__icon svg {
  width: 20px;
  height: 20px;
}

.btn-telegram:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 8px 28px rgba(34, 158, 217, 0.55),
    0 0 0 0 rgba(34, 158, 217, 0.3);
  animation: none;
}

.btn-telegram:active {
  transform: translateY(0) scale(0.98);
}

.btn-telegram__icon {
  display: flex;
  flex-shrink: 0;
}

.btn-telegram__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 45%,
    transparent 90%
  );
  animation: shine 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    box-shadow:
      0 4px 20px rgba(34, 158, 217, 0.45),
      0 0 0 0 rgba(34, 158, 217, 0.5);
  }
  70% {
    box-shadow:
      0 4px 20px rgba(34, 158, 217, 0.45),
      0 0 0 14px rgba(34, 158, 217, 0);
  }
  100% {
    box-shadow:
      0 4px 20px rgba(34, 158, 217, 0.45),
      0 0 0 0 rgba(34, 158, 217, 0);
  }
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes shine {
  0%, 40% { left: -100%; }
  60%, 100% { left: 150%; }
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section__header {
  margin-bottom: 2rem;
}

.section__header--center {
  text-align: center;
}

.section__label {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sky);
  background: var(--color-sky-soft);
  border-radius: 100px;
}

.section__title {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-heading);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 52ch;
}

.section--who {
  background: var(--color-bg-alt);
}

.section--benefits {
  background: var(--color-bg);
  position: relative;
}

.section--benefits::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-sky-dark), var(--color-cyan), var(--color-sky-dark));
}

.section--work {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-navy-light) 100%);
}

.section--trust {
  padding: 2rem 0;
  background: var(--color-navy);
}

.section--cta {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
    var(--color-bg);
  padding-bottom: 5rem;
}

/* Audience cards */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.audience-card {
  position: relative;
  padding: 1.5rem 1.35rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.audience-card--1::before { background: var(--color-sky); }
.audience-card--2::before { background: var(--color-cyan); }
.audience-card--3::before { background: var(--color-sky-dark); }

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.audience-card__icon {
  font-size: 2rem;
  margin-bottom: 0.65rem;
}

.audience-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}

.audience-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.age-note {
  margin-top: 1.5rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: var(--color-sky-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-sky);
}

.age-note strong {
  color: var(--color-heading);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.benefit-card {
  background: var(--color-surface-light);
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(56, 189, 248, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.benefit-card__icon-wrap--pink {
  background: var(--color-sky-soft);
}

.benefit-card__icon-wrap--blue {
  background: rgba(56, 189, 248, 0.18);
}

.benefit-card__icon-wrap--yellow {
  background: rgba(34, 211, 238, 0.14);
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-heading);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Work showcase */
.work-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.work-showcase__lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0.75rem 0 1.5rem;
}

.work-showcase__lead strong {
  color: var(--color-sky);
}

.work-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.work-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(56, 189, 248, 0.1);
}

.work-steps__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff !important;
  background: linear-gradient(135deg, var(--color-sky), var(--color-sky-dark));
  border-radius: 50%;
}

.work-steps li div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.work-steps li strong {
  font-size: 0.95rem;
  color: var(--color-heading);
}

.work-steps li span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.work-showcase__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.work-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0;
}

.work-photo--main {
  transform: translateY(0);
}

.work-photo--secondary {
  transform: translateY(1.5rem);
}

.work-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.work-photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent, rgba(5, 14, 26, 0.9));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Trust bar */
.trust-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0;
  color: #fff;
}

.trust-item > span {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.trust-item span:last-child {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* CTA block */
.cta-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(56, 189, 248, 0.2);
}

.cta-block__emoji {
  font-size: 2.5rem;
}

.cta-block__title {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.cta-block__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 40ch;
  line-height: 1.6;
}

.cta-block__hint {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Floating Telegram FAB */
.fab-telegram {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-telegram), var(--color-telegram-dark));
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.5);
  text-decoration: none;
  animation: fab-pulse 2s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.fab-telegram:hover {
  transform: scale(1.08);
  animation: none;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(34, 158, 217, 0.5); }
  50% { box-shadow: 0 4px 28px rgba(34, 158, 217, 0.75), 0 0 0 8px rgba(34, 158, 217, 0.15); }
}

.footer {
  padding: 1.75rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
}

.footer__sub {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  opacity: 0.6;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Tablet+ */
@media (min-width: 640px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 1rem 2rem 3rem;
  }

  .hero__content {
    order: 1;
  }

  .hero__image-wrap {
    order: 2;
    margin: 0;
    max-width: none;
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }

  .work-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .trust-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .trust-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero__float-card--1 {
    left: -8%;
  }

  .hero__float-card--2 {
    right: -8%;
  }
}

@media (max-width: 639px) {
  .audience-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.65rem;
    padding: 1.15rem 1.25rem;
  }

  .audience-card__icon {
    margin-bottom: 0;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
  }

  .audience-card h3 {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
  }

  .audience-card p {
    width: 100%;
    margin-top: 0.45rem;
  }

  .benefit-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.65rem;
    padding: 1.15rem 1.25rem;
  }

  .benefit-card__icon-wrap {
    margin-bottom: 0;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .benefit-card h3 {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
  }

  .benefit-card p {
    width: 100%;
    margin-top: 0.45rem;
  }
}

@media (max-width: 480px) {
  .hero__float-card {
    display: none;
  }

  .work-photo--secondary {
    transform: none;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .btn-telegram,
  .fab-telegram,
  .hero__float-card {
    animation: none;
  }

  .btn-telegram__shine {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
