/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  background: #f6f7fb;
  color: #0f1222;
}

/* DARK MODE */
body.dark {
  background: #0b1020;
  color: #e9ecff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  z-index: 10;
}

body.dark .header {
  background: rgba(11, 16, 32, 0.85);
  border-bottom-color: rgba(255,255,255,.08);
}

.header nav a {
  margin-left: 24px;
  opacity: .75;
  font-weight: 500;
}

.header nav a:hover {
  opacity: 1;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* BUTTONS */
.btn {
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  transition: .3s;
  display: inline-block;
}

.btn-primary {
  background: #2d0a7a;
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(45,10,122,.45);
}

.btn-outline {
  border: 1px solid rgba(0,0,0,.15);
}

body.dark .btn-outline {
  border-color: rgba(255,255,255,.25);
}

.btn-outline:hover {
  background: rgba(0,0,0,.05);
}

body.dark .btn-outline:hover {
  background: rgba(255,255,255,.08);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 60px 80px;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1400px;
  margin: auto;
}

.hero-content h2 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 26px;
}

.hero-content h2 span {
  color: #2d0a7a;
}

.hero-content p {
  font-size: 18px;
  opacity: .85;
  max-width: 520px;
  margin-bottom: 42px;
}

.hero-actions a {
  margin-right: 16px;
}

/* PREVIEW */
.hero-preview {
  display: flex;
  justify-content: center;
}

.preview-box {
  width: 460px;
  height: 300px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(45, 10, 122, 0.062), rgba(0,0,0,.4)),
    url("https://images.unsplash.com/photo-1511379938547-c1f69419868d")
    center / cover no-repeat;

  border: 1px solid rgba(255,255,255,.2);
  box-shadow:
    0 45px 90px rgba(0,0,0,.5),
    inset 0 0 0 1px rgba(255,255,255,.04);

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(255,255,255,.7);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;

  transform: perspective(1200px) rotateY(-10deg) rotateX(3deg);
  transition: transform .6s ease, box-shadow .6s ease;
}

.preview-box:hover {
  transform: perspective(1200px) rotateY(0) rotateX(0) scale(1.04);
  box-shadow: 0 28px 90px rgba(45,10,122,.55);
}

/* SECTIONS */
.section {
  padding: 120px 60px;
}

.section.dark {
  background:
    linear-gradient(
      180deg,
      rgba(45, 10, 122, 0.123),
      rgba(0,0,0,.85)
    ),
    url("https://images.unsplash.com/photo-1507874457470-272b3c8d8ee2")
    center / cover no-repeat;
  color: #fff;
}

.section.dark2 {
  background:
    linear-gradient(
      180deg,
      rgba(80, 80, 80, 0.123),
      rgba(255, 255, 255, 0.85)
    ),
    center / cover no-repeat;
  color: #0b1020d9;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section h3 {
  font-size: 38px;
  margin-bottom: 70px;
  text-align: center;
}

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARDS */
.card, .step {
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  padding: 34px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

body.dark .card,
body.dark .step {
  background: rgba(20,25,60,.65);
  border-color: rgba(255,255,255,.08);
}

.card:hover, .step:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

.card h4,
.step h4 {
  margin-bottom: 14px;
}

.card p,
.step p {
  opacity: .8;
  line-height: 1.6;
}

.step span {
  color: #2d0a7a;
  font-weight: 800;
  display: block;
  margin-bottom: 14px;
}

/* CTA */
.cta {
  padding: 150px 60px;
  text-align: center;
  background:
    linear-gradient(
      180deg,
      rgba(45, 10, 122, 0.123),
      rgba(0,0,0,.85)
    ),
    url("https://images.unsplash.com/photo-1507874457470-272b3c8d8ee2")
    center / cover no-repeat;
  color: #ffffff;
}

.cta h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.cta p {
  opacity: .8;
  margin-bottom: 40px;
}

/* FOOTER */
.footer {
  padding: 40px;
  text-align: center;
  opacity: .45;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .preview-box {
    width: 100%;
    height: 240px;
    transform: none;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 90px 30px;
  }

  .hero {
    padding: 120px 30px 60px;
  }

  .hero-content h2 {
    font-size: 42px;
  }
}

/* THEME TOGGLE */
.theme-toggle {
  display: flex;
  align-items: center;
}

.theme-toggle input {
  display: none;
}

.theme-toggle label {
  width: 54px;
  height: 28px;
  background: #e5e7eb;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* botão interno */
.theme-toggle label::after {
  content: "";
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 4px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ícones */
.theme-toggle .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}

.theme-toggle .sun {
  left: 8px;
  color: #f59e0b;
}

.theme-toggle .moon {
  right: 8px;
  color: #1e3a8a;
  opacity: 0;
}

/* ATIVO (DARK) */
.theme-toggle input:checked + label {
  background: #2d0a7a;
}

.theme-toggle input:checked + label::after {
  transform: translateX(26px);
}

.theme-toggle input:checked + label .sun {
  opacity: 0;
}

.theme-toggle input:checked + label .moon {
  opacity: 1;
}

.theme-toggle {
  cursor: pointer;
}

.theme-toggle input {
  display: none;
}

.track {
  width: 56px;
  height: 30px;
  background: #2d0a7a;
  border-radius: 999px;
  position: relative;
  display: block;
  transition: background .3s ease;
}

/* BOLINHA */
.thumb {
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* ÍCONES */
.icon {
  position: absolute;
  font-size: 14px;
  transition: opacity .2s ease, transform .2s ease;
}

.sun {
  opacity: 1;
}

.moon {
  opacity: 0;
}

/* DARK */
input:checked + .track {
  background: #1a1a3d;
}

input:checked + .track .thumb {
  transform: translateX(26px);
}

input:checked + .track .sun {
  opacity: 0;
}

input:checked + .track .moon {
  opacity: 1;
}

/* ARTISTS SECTION */
.artists {
  text-align: center;
}

.artists h3 {
  margin-bottom: 48px;
}

/* CAROUSEL */
.artists-carousel {
  overflow: hidden;
  width: 100%;
}

.artists-track {
  display: flex;
  gap: 64px;
  width: 100%;
  animation: none;
  justify-content: center;
  flex-wrap: wrap;
}

/* CARD */
.artist-card {
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.artist-card img {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  object-fit: cover;
  filter: grayscale(0%);
  opacity: .95;
  transition: all .3s ease;
}

.artist-card strong {
  margin-top: 14px;
  font-size: 14px;
}

.artist-card span {
  font-size: 12px;
  opacity: .6;
}

/* HOVER */
.artist-card:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}
