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

body {
  font-family: Arial, sans-serif;
  background: #0b0b0f;
  color: #fff;
  overflow-x: hidden;
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 10%;
  display: flex;
  justify-content: space-between;
  background: rgba(10,10,16,0.7);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
}

/* pages */
.page {
  min-height: 100vh;
  padding-top: 80px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.page.active {
  transform: translateX(0);
  opacity: 1;
}

.page.exit {
  transform: translateX(-100%);
  opacity: 0;
}

/* hero */
.hero {
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.title {
  font-size: 4rem;
}

.subtitle {
  margin-top: 10px;
  opacity: 0.7;
}

/* buttons */
.buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 12px 26px;
  border-radius: 30px;
  background: #16161d;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  background: #1e1e28;
  transform: translateY(-4px);
}

/* sections */
.section {
  padding: 80px 10%;
}

/* modern contact form */
.contact-form {
  max-width: 520px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field {
  position: relative;
}

.field input,
.field textarea {
  width: 100%;
  padding: 16px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.25s ease, background 0.25s ease;
}

.field textarea {
  min-height: 140px;
  resize: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}

/* floating labels */
.field label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  opacity: 0.6;
  pointer-events: none;
  transition: 0.25s ease;
}

.field textarea + label {
  top: 18px;
  transform: none;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 12px;
  background: #0b0b0f;
  padding: 0 6px;
  font-size: 0.7rem;
  opacity: 0.9;
}

/* send button */
.send-btn {
  margin-top: 10px;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ffffff, #cfcfcf);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.send-btn:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}