* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Apple-style font */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* page fade-in */
body.loaded {
  opacity: 1;
}

/* animated background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05), transparent 40%);
  animation: moveBg 12s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes moveBg {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-40px,-20px) scale(1.1); }
}

/* header */
header {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo img {
  height: 40px;
}
.nav {
  color: #aaa;
}

/* container */
.container {
  max-width: 800px;
  margin: 100px auto;
  padding: 40px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* typography */
h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
}

h2 {
  margin-top: 20px;
  color: #aaa;
  font-weight: 400;
}

/* input */
.input-group {
  display: flex;
  gap: 10px;
}

input {
  flex: 1;
  padding: 12px;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  transition: 0.25s;
}

input:focus {
  outline: none;
  border-color: #fff;
}

/* button */
button {
  padding: 12px 20px;
  background: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
}

button:active {
  transform: scale(0.97);
}

/* loader */
.loader {
  margin-top: 20px;
  display: none;
}

.spinner {
  width: 35px;
  height: 35px;
  border: 3px solid #333;
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* result */
.result {
  margin-top: 30px;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.result.show {
  opacity: 1;
  transform: translateY(0);
}

/* progress */
.progress {
  height: 3px;
  background: #222;
  margin: 20px 0;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: 1s ease;
}

/* statuses */
.status {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #333;
  opacity: 0.2;
  transform: translateY(10px);
}

.status.show {
  opacity: 1;
  animation: fadeUp 0.5s forwards;
  border-color: #fff;
  background: rgba(255,255,255,0.04);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.note {
  font-size: 12px;
  color: #777;
  margin-top: 10px;
}
.contact {
  text-align: center;
  margin-top: 30px;
}

.mail-icon {
  font-size: 20px;
  color: #777;
  text-decoration: none;
  transition: 0.3s;
}

.mail-icon:hover {
  color: #fff;
}
.logo img {
  height: 32px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.logo img:hover {
  opacity: 0.7;
}

/* 📱 Mobile adjustments */
@media (max-width: 600px) {

  header {
    padding: 15px 20px;
  }

  .logo img {
    height: 26px;
  }

  .container {
    margin: 60px 15px;
    padding: 20px;
  }

  h1 {
    font-size: 24px;
  }

  .input-group {
    flex-direction: column;
  }

  input, button {
    width: 100%;
  }

  button {
    margin-top: 10px;
  }

  .status {
    font-size: 14px;
    padding: 10px;
  }

}body {
  font-size: 16px;
}