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

:root {
  --bg: #0b0b10;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f3f3f8;
  --muted: rgba(243, 243, 248, 0.65);
  --accent: #a855f7;
  --accent2: #6366f1;
  --cyan: #67e8f9;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 520px; height: 520px; background: var(--accent); top: -180px; left: -140px; }
.orb-2 { width: 460px; height: 460px; background: var(--accent2); bottom: -160px; right: -120px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6vw;
  background: rgba(11, 11, 16, 0.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-icon { width: 28px; height: 28px; border-radius: 7px; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 150ms;
}
.nav-links a:not(.btn):hover { color: var(--text); }

.lang-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.lang-btn:hover { border-color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms, opacity 150ms, box-shadow 150ms;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 13px 24px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.35);
}
.btn-primary:hover { opacity: 0.92; box-shadow: 0 10px 32px rgba(168, 85, 247, 0.5); }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); }

main { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 6vw; }

/* Centered Hero */
.hero-centered {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 68px 0 40px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #d8b4fe;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 18px;
}

.grad-text {
  background: linear-gradient(135deg, #f0abfc, #a855f7 45%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.we-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.32);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--muted);
}
.we-banner strong { color: var(--text); }
.we-sparkle { font-size: 20px; line-height: 1.3; }

/* Sections */
.section { padding: 48px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.section-head p { color: var(--muted); font-size: 15.5px; max-width: 680px; margin: 0 auto; }

/* Wallpaper Engine + Lyricova GIF Zone */
.gif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gif-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 160ms, transform 160ms;
}
.gif-card:hover { border-color: rgba(168, 85, 247, 0.45); transform: translateY(-2px); }

.gif-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.gif-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gif-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 16px;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 75% 25%, rgba(168, 85, 247, 0.14), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(103, 232, 249, 0.1), transparent 55%);
}
.gif-icon { font-size: 26px; }
.gif-placeholder strong { font-size: 14px; color: var(--text); }
.gif-placeholder code {
  font-size: 11px;
  color: #d8b4fe;
  background: rgba(168, 85, 247, 0.14);
  padding: 2px 8px;
  border-radius: 6px;
}

.gif-card figcaption {
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
}

/* Feature Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 160ms, transform 160ms;
}
.card:hover { border-color: rgba(168, 85, 247, 0.45); transform: translateY(-2px); }
.card-ico { font-size: 24px; margin-bottom: 10px; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.card p { font-size: 13.5px; color: var(--muted); }

/* Split info / notes */
.split-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.info-box, .note-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}
.info-box h3, .note-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.info-box p, .note-card p { font-size: 14.5px; color: var(--muted); }
.info-box strong, .note-card strong { color: var(--text); }

.clean-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 14.5px;
}
.clean-list li::before {
  content: "✓ ";
  color: var(--cyan);
  font-weight: 700;
  margin-right: 6px;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }
.step code {
  font-size: 12.5px;
  color: #d8b4fe;
  background: rgba(168, 85, 247, 0.14);
  padding: 1px 6px;
  border-radius: 5px;
}

/* CTA Banner */
.cta-banner {
  margin: 36px 0 64px;
  padding: 46px 28px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(99, 102, 241, 0.14));
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-banner p { color: var(--muted); margin-bottom: 22px; }

.footer {
  border-top: 1px solid var(--border);
  padding: 22px 6vw;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gif-grid, .steps, .split-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
