:root {
  --bg: #0b0b0d;
  --bg-secondary: #141416;
  --surface: rgba(255,255,255,0.04);

  --text: #f5f5f7;
  --muted: #9b9ba1;

  --line: rgba(255,255,255,0.08);

  --accent: #d0d0d4;
  --accent-dark: #8e8e93;
  --btn-primary: #28a8ea;
  --btn-primary-2: #106FA1;

  --shadow:
    0 20px 60px rgba(0,0,0,0.45);

  --radius: 28px;
  --transition: 0.35s ease;
}

body.light-theme {
  --bg: #f2f2f5;
  --bg-secondary: #ffffff;
  --surface: rgba(255,255,255,0.72);
  --text: #111111;
  --muted: #6b6b73;
  --line: rgba(0,0,0,0.08);
  --accent: #1d1d1f;
  --accent-dark: #444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;

  background:
    radial-gradient(circle at top left,
      rgba(255,255,255,0.03),
      transparent 20%),
    radial-gradient(circle at bottom right,
      rgba(255,255,255,0.025),
      transparent 25%),
    var(--bg);

  color: var(--text);

  overflow-x: hidden;

  transition:
    background var(--transition),
    color var(--transition);
}

img {
  width: 100%;
  display: block;
}

section {
  position: relative;
  z-index: 2;
}

.hero,
.section,
.cta {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background:
    linear-gradient(
      135deg,
      var(--btn-primary),
      var(--btn-primary-2)
    );
  color: white;
  text-decoration: none;
  padding: 18px 30px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow:
    0 10px 30px rgba(53,132,255,0.3);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.telegram-btn:hover {
  transform: translateY(-3px);
  opacity: 0.95;
}


.hero-badge,
.section-label {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 22px;
}

/* 
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
} */

.hero {
  min-height: 100vh;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 0px;
  align-items: center;
  padding: 0px 0;
}
.hero-content {
  text-align: center;
}

.hero-photo,
.hero-music {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 7vw, 4rem);
  text-align: center;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  font-weight: 700;
}
.second-header {
  font-size: clamp(2.0rem, 6vw, 3rem);
}
.hero-subtitle {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hero-card {
  position: relative;
  width: 320px;
  border-radius: 32px;
  padding: 20px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.03)
    );
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  box-shadow:
    0 20px 80px rgba(0,0,0,0.45);

  }
.music-ai {
  padding: 17px 20px;
}
.card-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-stack {
  position: relative;
  height: 420px;
}

.photo-stack img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.photo-before {
  transform:
    rotate(-6deg)
    translateX(-18px);
  opacity: 0.75;
  filter: grayscale(0.2);
  margin-left: -10%;
}

.photo-after {
  transform:
    rotate(6deg)
    translateX(16px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.35);
  margin-left: 10%;
}

.card-footer {
  margin-top: 18px;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}

.hero-connector {
  width: 240px;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255 255 255 / 25%),
      transparent
    );
  position: relative;
}

.hero-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255 255 255 / 80%);
  filter: blur(6px);
}

.album-cover {
  position: relative;
  height: 420px;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #2a2a2d,
      #111113
    );
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(255,255,255,0.18),
      transparent 70%
    );
  filter: blur(20px);
}

.album-content {
  position: relative;
  z-index: 2;

  text-align: center;
}

.genre {
  color: rgba(255,255,255,0.5);

  font-size: 0.82rem;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.album-content h3 {
  margin-top: 10px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  opacity: 0.6;
}

.waveform {
  margin-top: 30px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  gap: 6px;

  height: 50px;
}

.waveform span {
  width: 5px;
  border-radius: 999px;
  background: rgba(0 136 140 / 80%);

  animation: wave 1.2s infinite ease-in-out;
}

.waveform span:nth-child(1) { height: 16px; }
.waveform span:nth-child(2) { height: 28px; }
.waveform span:nth-child(3) { height: 38px; }
.waveform span:nth-child(4) { height: 20px; }
.waveform span:nth-child(5) { height: 34px; }
.waveform span:nth-child(6) { height: 18px; }
.waveform span:nth-child(7) { height: 30px; }
.waveform span:nth-child(8) { height: 14px; }

@keyframes wave {
  0%,100% {
    opacity: 0.45;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.15);
  }
}

.mini-play {
  margin-top: 30px;

  width: 64px;
  height: 64px;

  border-radius: 50%;

  border: 1px solid rgba(255,255,255,0.1);

  background:
    linear-gradient(
      180deg,
      #3a3a3d,
      #1b1b1d
    );

  color: white;

  cursor: pointer;
}

.lyrics-preview {
  margin-top: 16px;
}

.lyrics-preview p {
  color: rgba(255,255,255,0.58);

  line-height: 1.8;

  font-size: 0.92rem;
}





.neural-wave {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;

  border-radius: 50%;

  position: relative;

  background:
    radial-gradient(circle at center,
      rgba(255,255,255,0.16),
      rgba(255,255,255,0.03),
      transparent 70%);

  border: 1px solid rgba(255,255,255,0.06);

  backdrop-filter: blur(30px);

  animation: float 7s ease-in-out infinite;
}

.neural-wave::before,
.neural-wave::after {
  content: "";

  position: absolute;

  inset: 40px;

  border-radius: 50%;

  border: 1px solid rgba(255,255,255,0.06);
}

.neural-wave::after {
  inset: 80px;
}

@keyframes float {
  0%,100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 0px;
}

.section-header h2 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  margin: 20px 0;
  opacity: 0.8;
}

.section-header p {
  max-width: 760px;

  margin: 0 auto;

  color: var(--muted);

  line-height: 1.9;

  font-size: 1.05rem;
}

.before-after-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.photo-card,
.track-card {
  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 18px;

  backdrop-filter: blur(18px);

  box-shadow: var(--shadow);
}

.compare-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;
}

.compare-grid img {
  height: 260px;

  object-fit: cover;

  border-radius: 18px;
}

.photo-label {
  display: inline-block;

  margin-bottom: 10px;

  color: var(--muted);

  font-size: 0.85rem;
}

.photo-card h3 {
  margin-top: 18px;

  font-size: 1.1rem;

  font-weight: 600;
}

.styles-catalog {
  margin-top: 56px;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.style-chip {
  padding: 15px 22px;

  border-radius: 999px;

  background: rgba(255,255,255,0.03);

  border: 1px solid var(--line);

  color: var(--text);

  font-weight: 500;

  backdrop-filter: blur(10px);
}

.tracks-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

.track-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;
}

.track-genre {
  color: var(--muted);

  font-size: 0.9rem;
}

.track-card h3 {
  margin-top: 6px;

  font-size: 1.5rem;
}

.play-btn {
  width: 60px;
  height: 60px;

  border-radius: 50%;

  border: 1px solid rgba(255,255,255,0.08);

  background:
    linear-gradient(
      180deg,
      #3a3a3d,
      #1b1b1d
    );

  color: white;

  cursor: pointer;

  transition:
    transform var(--transition),
    border var(--transition);
}

.play-btn:hover {
  transform: scale(1.05);

  border-color: rgba(255,255,255,0.18);
}

.lyrics {
  margin: 24px 0;
}

.lyrics p {
  color: var(--muted);

  line-height: 1.8;
}

.audio-wrapper {
  background: rgba(255,255,255,0.03);

  border-radius: 18px;

  padding: 18px;

  border: 1px solid rgba(255,255,255,0.05);
}

.progress,
.volume {
  width: 100%;

  accent-color: #8e8e93;

  cursor: pointer;
}

.audio-bottom {
  margin-top: 14px;

  display: flex;
  align-items: center;
  gap: 16px;
}

.time {
  color: var(--muted);

  min-width: 42px;
}

.cta {
  text-align: center;

  padding: 140px 0 100px;
}

.cta h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 920px;
  margin: 0 auto 40px;
}

.footer {
  text-align: center;
  padding: 30px 20px 60px;
}

.footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

.theme-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20,20,22,0.8);
  backdrop-filter: blur(14px);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 999;
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    background var(--transition);
}

.theme-toggle:hover {
  transform: translateY(-4px);
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  background: rgba(255,255,255,0.05);
}

.bg-glow-2 {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -120px;
  background: rgba(255,255,255,0.04);
}

@media (max-width: 1100px) {

  .hero-visual {
    flex-direction: column;
  }

  .hero-connector {
    width: 2px;
    height: 80px;
  }
}

@media (max-width: 980px) {

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .before-after-grid,
  .tracks-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .hero-card {
    width: 100%;
  }

  .photo-stack,
  .album-cover {
    height: 320px;
    width: 260px;
    margin: 0 auto;
  }

  .hero {
    padding-top: 0px;
  }

  .photo-before {
    transform:
      rotate(-6deg)
      translateX(-18px);
    opacity: 1;
    filter: grayscale(0.2);
    margin-left: -10%;
  }
  .photo-stack img {
    width: 80%;
  }

  .photo-after {
    transform:
      rotate(6deg)
      translateX(16px);
    box-shadow:
      0 20px 40px rgba(0,0,0,0.35);
    margin-left: 30%;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid img {
    height: 220px;
  }

  .telegram-btn {
    width: 100%;

    justify-content: center;
  }

  .cta h2 {
    font-size: 2.0rem;
  }
  .footer {
    padding: 30px 20px 15px;
  }

}
