/* Global reset + smooth animations */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease-in-out;
}

/* Body with blurred background */
body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  position: relative;
  overflow-x: hidden; 
}

body::before {
  content: "";
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: url("bg.jpg") no-repeat center center/cover;
  filter: blur(6px);
  transform: scale(1.1);
  z-index: -1;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(135deg, #9418fd, #571094);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.nav-links li a:hover {
  color: #ffd700;
}

.hamburger {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px; 
    right: 0;
    width: 200px;
    flex-direction: column;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    padding: 20px 0;
    display: none;
  }
  .nav-links.show {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}

/* Container */
.container {
  max-width: 900px;
  margin: 120px auto 50px; 
  padding: 0 20px;
}

.container h1 {
  display: flex;
  align-items: center;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;

  background: linear-gradient(135deg, #9418fd, #571094);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
}

.tagline {
  max-width: 700px;
  margin: 12px 0 30px 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;

  background: linear-gradient(135deg, #5d18fdd3, #b513c4, #ff6e8d);
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  background-clip: text;       
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
  filter: brightness(1.05);
}

/* Icons */
.icon-lg {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.icon-sm {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(148, 24, 253, 0.25), rgba(87, 16, 148, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(148, 24, 253, 0.3);
}

.btn:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(148, 24, 253, 0.45), rgba(87, 16, 148, 0.45));
  box-shadow: 0 0 25px rgba(148, 24, 253, 0.8), 0 0 40px rgba(87, 16, 148, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* Notes Container */
.notes-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Note Box */
.input-box {
  position: relative;
  width: 100%;
  min-height: 150px;
  background: rgba(255, 255, 255, 0.15);
  color: #0f0101;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  outline: none;

  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.input-box:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(148, 24, 253, 0.5);
}

.input-box img {
  width: 24px;
  position: absolute;
  bottom: 15px;
  right: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.input-box img:hover {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 8px red);
}

/* Footer */
footer {
  position: fixed;
  bottom: 0; 
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 30px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
  font-size: 0.95rem;
  z-index: 10;
}

footer div {
  background: linear-gradient(135deg, #9418fd, #571094);
  background-clip: text;         
  -webkit-background-clip: text;   
  color: transparent;              
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  margin-right: 20px;
}

.footer-links a:hover {
  color: #ffd700;
}

/* Mobile Footer */
@media (max-width: 500px) {
  footer {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
