/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --cyan: #00f0ff;
  --magenta: #ff00aa;
  --green: #25d366;
  --green-glow: rgba(37, 211, 102, 0.3);
  --text: #e8e8ec;
  --text-muted: #8888a0;
  --text-dim: #555570;
  --chip-bg: rgba(255, 255, 255, 0.06);
  --chip-border: rgba(255, 255, 255, 0.12);
  --chip-active-bg: rgba(0, 240, 255, 0.12);
  --chip-active-border: var(--cyan);
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 40px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(100, 0, 180, 0.35) 0%, rgba(0, 240, 255, 0.1) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  position: relative;
}

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

.hero-subtitle {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ===== Glass Card ===== */
.form-section {
  padding: 0 0 40px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
  padding: 28px 24px 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ===== Form ===== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.label-icon {
  font-style: normal;
}

/* City select */
.city-select {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-sm);
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238888a0' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s;
}

.city-select:focus {
  outline: none;
  border-color: var(--cyan);
}

.city-select option {
  background: #1a1a2e;
  color: var(--text);
}

/* Genre chips */
.genre-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.genre-chip {
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.genre-chip:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.genre-chip.active {
  background: var(--chip-active-bg);
  border-color: var(--chip-active-border);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

/* Form hint */
.form-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.label-optional {
  font-weight: 400;
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* Artist input */
.artist-input-container {
  position: relative;
}

.artist-search {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.artist-search:focus {
  outline: none;
  border-color: var(--cyan);
}

.artist-search::placeholder {
  color: var(--text-dim);
}

/* Artist suggestions dropdown */
.artist-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a2e;
  border: 1px solid var(--chip-border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.artist-suggestions.visible {
  display: block;
}

.artist-suggestion {
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.95rem;
}

.artist-suggestion:hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
}

.artist-suggestion-highlight {
  color: var(--cyan);
  font-weight: 600;
}

/* Selected artists */
.selected-artists {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.selected-artists:empty {
  display: none;
}

.artist-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--magenta);
  background: rgba(255, 0, 170, 0.12);
  border: 1px solid var(--magenta);
  border-radius: 100px;
  animation: fadeIn 0.2s ease;
}

.artist-tag-remove {
  background: none;
  border: none;
  color: var(--magenta);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.artist-tag-remove:hover {
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Validation */
.validation-msg {
  font-size: 0.85rem;
  color: var(--magenta);
  min-height: 1.3em;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}

.validation-msg:empty {
  opacity: 0;
}

/* CTA Button */
.cta-button {
  width: 100%;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.cta-button:not(:disabled):hover {
  background: #22c55e;
  box-shadow: 0 0 30px var(--green-glow);
  transform: translateY(-1px);
}

.cta-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.wapp-icon {
  width: 22px;
  height: 22px;
}

/* ===== Preview ===== */
.preview-section {
  padding: 40px 0 60px;
}

.section-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.phone-mockup {
  max-width: 340px;
  margin: 0 auto;
  background: #111118;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  padding: 12px 12px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-notch {
  width: 100px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 0 auto 12px;
}

.wapp-chat {
  background: #0b141a;
  border-radius: 16px;
  overflow: hidden;
}

.wapp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #1f2c34;
}

.wapp-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.wapp-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e9edef;
}

.wapp-bubble {
  background: #1f2c34;
  margin: 12px;
  padding: 10px 12px 6px;
  border-radius: 0 8px 8px 8px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #e0e0e0;
  position: relative;
}

.wapp-bubble p {
  margin-bottom: 2px;
}

.wapp-bold {
  font-weight: 700;
  font-size: 0.9rem;
}

.wapp-link {
  color: #53bdeb;
  text-decoration: underline;
  cursor: default;
}

.wapp-small {
  font-size: 0.72rem;
  color: #8696a0;
}

.wapp-time {
  display: block;
  text-align: right;
  font-size: 0.68rem;
  color: #8696a0;
  margin-top: 4px;
}

/* ===== Footer ===== */
.footer {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .hero {
    padding: 100px 0 48px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .glass-card {
    padding: 36px 32px 40px;
  }
}
