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

body {
  font-family: 'Poppins', sans-serif;
  background: #05070d;
  color: #fff;
  overflow-x: hidden;
}

/* NAVBAR */
header {
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  position: fixed;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.3);
}

header h1 {
  font-family: 'Playfair Display', serif;
}

nav a {
  margin-left: 25px;
  color: #fff;
  text-decoration: none;
  position: relative;
}

nav a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #00d4ff;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* HERO 3D */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* animated gradient */
.hero::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #1c3d5a, #020409);
  animation: bgMove 20s infinite linear;
  z-index: -2;
}

@keyframes bgMove {
  0% { transform: translate(-10%, -10%); }
  50% { transform: translate(-5%, -5%); }
  100% { transform: translate(-10%, -10%); }
}

/* floating light */
.hero::after {
  content: "";
  width: 400px;
  height: 400px;
  background: rgba(0, 200, 255, 0.3);
  position: absolute;
  filter: blur(120px);
  border-radius: 50%;
  animation: float 8s infinite ease-in-out;
  z-index: -1;
}

@keyframes float {
  50% { transform: translateY(-50px); }
}

/* TEXT */
.hero h2 {
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(90deg, #fff, #7fdfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  opacity: 0.8;
  margin-top: 15px;
}

/* CONTAINER */
.container {
  padding: 120px 20px;
  max-width: 1100px;
  margin: auto;
}

/* 3D CARD */
.card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  margin-top: 30px;
  border-radius: 20px;
  backdrop-filter: blur(25px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transform: perspective(1000px) rotateX(5deg);
  transition: 0.5s;
}

.card:hover {
  transform: perspective(1000px) rotateX(0) scale(1.05);
}

/* FORM */
input, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 10px;
  border: none;
}

button {
  margin-top: 15px;
  padding: 12px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #0077ff, #00d4ff);
  color: white;
  cursor: pointer;
}