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

body {
  min-height: 100vh;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, #fce4ff 0%, #e0f0ff 50%, #fffce0 100%);
  color: #3a2a4d;
  position: relative;
  overflow-x: hidden;
}

/* ===== Corner unicorns ===== */
.unicorn {
  position: fixed;
  font-size: 3rem;
  z-index: 10;
  pointer-events: none;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(180,100,255,0.3));
}

.corner-tl { top: 12px;  left: 12px;  animation-delay: 0s;    transform-origin: bottom right; }
.corner-tr { top: 12px;  right: 12px; animation-delay: 0.75s; transform-origin: bottom left;  }
.corner-bl { bottom: 12px; left: 12px;  animation-delay: 1.5s;  transform-origin: top right;   }
.corner-br { bottom: 12px; right: 12px; animation-delay: 2.25s; transform-origin: top left;    }

@keyframes float {
  0%, 100% { transform: translateY(0)   rotate(0deg);   }
  50%       { transform: translateY(-8px) rotate(5deg); }
}

/* ===== Nav ===== */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.2rem 2rem;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(180,100,255,0.2);
  position: sticky;
  top: 0;
  z-index: 5;
}

nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: #8a3abf;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

nav a:hover {
  background: rgba(180,100,255,0.15);
  color: #5a0fa0;
}

/* ===== Main layout ===== */
main {
  max-width: 720px;
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
  text-align: center;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(90deg, #c44dff, #ff6b9d, #ffa94d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.5rem;
  color: #8a3abf;
  margin-bottom: 1.2rem;
}

.subtitle {
  color: #7a6090;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* ===== Contact form ===== */
.form-section {
  background: rgba(255,255,255,0.7);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 30px rgba(180,100,255,0.15);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(180,100,255,0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #5a0fa0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid rgba(180,100,255,0.3);
  border-radius: 10px;
  background: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-family: inherit;
  color: #3a2a4d;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c44dff;
  box-shadow: 0 0 0 3px rgba(196,77,255,0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  align-self: center;
  margin-top: 0.5rem;
  padding: 0.8rem 2.5rem;
  background: linear-gradient(135deg, #c44dff, #ff6b9d);
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(196,77,255,0.35);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,77,255,0.45);
}

.contact-form button:active {
  transform: translateY(0);
}
