/* BASE RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none;
}

#cursor {
  position: fixed;
  font-size: 20px;
  font-weight: bold;
  color: white;            /* ← любой цвет */
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  font-family: monospace;
}

.hero-content{
  color: #ffffff;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, Inter, sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: #000000;
}

.page {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  flex-wrap: wrap;
  gap: 12px;
  background: #000000;
}

.logo {
  font-weight: 600;
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  transition: 1s;
  color: #ffffff;
  font-size: 15px;
  margin-right: 25px;
  opacity: 0.7;
}

.nav a:hover{
  opacity: 1;
}

.lang {
  display: flex;
  gap: 6px;
}

.lang button {
  background: transparent;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: #ffffff;
  transition: all .15s ease;
}

.lang button.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* HERO */
.hero {
  position: relative;
  min-height: 85vh;
   background: linear-gradient(
    135deg,
    #ff4d2d 0%,
    #ff3c5f 35%,
    #e92b6a 65%,
    #c81d77 100%
  );
  background-size: 200% 200%;
  animation: gradientFlow 12s ease infinite;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  border-radius: 50px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255,255,255,0.12),
    transparent 40%
  );
  pointer-events: none;
}

.card {
  position: relative;
}

.card .icon {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 24px;
  background: radial-gradient(
    circle at top,
    var(--accent),
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.card:hover::after {
  opacity: 0.25;
}

.card:hover .icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px var(--accent));
}

.hero-content {
  color: #000000;
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 44px);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
  animation: fadeUp 0.9s ease-out forwards;
}

.hero p {
  font-size: 16px;
  opacity: .9;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
  animation: fadeUp 2s ease-out forwards;
}

.btn {
  display: inline-block;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  margin-top: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* ABOUT */
.about {
  padding: 60px 32px;
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

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

/* APPS */
.apps {
  padding: 60px 32px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: #000000;
  padding: 24px;
  border-radius: 14px;
  transition: transform .2s;
}

.card:hover {
  transform: translateY(-6px);
}

.icon {
  width: 64px;
  height: 64px;
  background: #000000;
  margin: auto;
  border-radius: 14px;
}

.shimmer {
  background: linear-gradient(90deg, #ccc 25%, #ddd 50%, #ccc 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

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

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmer {
  from { background-position: -200% }
  to { background-position: 200% }
}

/* JOIN */
.join {
  padding: 60px 32px;
  text-align: center;
}

.join button {
  margin-top: 16px;
  padding: 14px 32px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  border: none;
  font-size: 16px;
}

.apps-double{
  margin-top: -120px;
}

/* FOOTER */
.footer {
  padding: 24px;
  text-align: center;
  color: #777;
  font-size: 14px;
}

/* ------------- ✅ ADAPTIVE ZONE ------------- */

/* iPhone SE / Mini */
@media (max-width: 375px) {
  .hero {
    padding: 20px;
    min-height: 60vh;
  }
  .hero h1 {
    font-size: 22px;
  }
  .hero p {
    font-size: 14px;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* iPhone 14–15 Pro/Plus/Max */
@media (max-width: 430px) {
  .hero {
    padding: 24px;
    min-height: 65vh;
  }
}

/* Android Phones 360–412px */
@media (max-width: 412px) {
  .hero {
    min-height: 65vh;
  }
  .stats {
    grid-template-columns: 1fr;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .hero {
    padding: 24px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Smartphones */
@media (max-width: 768px) {
  .header {
    justify-content: center;
  }
  .hero {
    padding: 20px;
    min-height: 70vh;
  }
  .hero-content {
    text-align: left;
  }
  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .btn, .join button {
    width: 100%;
    text-align: center;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 22px;
  }
  .hero p {
    font-size: 14px;
  }
  .lang {
    justify-content: center;
    width: 100%;
  }
  .header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* MacBook 13"–16" */
@media (min-width: 1280px) {
  .page {
    max-width: 1440px;
  }
}

/* iMac / Large Screens */
@media (min-width: 1600px) {
  .page {
    max-width: 1720px;
  }
  .hero h1 {
    font-size: 54px;
  }
}

/* 4K Smart TVs */
@media (min-width: 1920px) {
  .page {
    max-width: 1920px;
    padding: 0 40px;
  }
  .hero {
    padding: 80px;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero p {
    font-size: 20px;
  }
  .btn {
    font-size: 18px;
    padding: 16px 40px;
  }
}