/* Import Rubik font */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700;900&display=swap');

/* Global Styles */
html, body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b0f1a 0%, #11162b 50%, #1a0b26 100%);
  background-attachment: fixed;
  color: white;
  font-family: 'Rubik', Arial, sans-serif;
  text-align: center;
}

/* Navigation */
nav {
  background: #11162b;
  padding: 15px;
  position: relative;
  padding-bottom: 20px;
}

/* glowing divider under navbar */
nav::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,143,179,0.4),
    #ff8fb3,
    rgba(255,143,179,0.4),
    transparent
  );
  box-shadow: 0 0 10px rgba(255,143,179,0.7);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav li {
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,0.75);
}

nav li:last-child {
  border-right: none;
}

nav a {
  position: relative;
  color: #d47a9a;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #ff8fb3;
}

/* glowing hover underline */
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #ff8fb3;
  box-shadow: 0 0 6px #ff8fb3;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Hero Section */
.hero {
  margin-top: 120px;
}

.hero h1 {
  font-size: 70px;
  animation: titleGlow 1.2s ease forwards;
}

.subtitle {
  font-size: 22px;
  color: #bbb;
  margin-bottom: 40px;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 120px;
}

.main-btn {
  background: #ff8fb3;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(255,143,179,0.6);
}

.main-btn:hover {
  background: #ff6fa3;
  box-shadow: 0 0 25px rgba(255,143,179,1);
}

.secondary-btn {
  border: 2px solid #ff8fb3;
  color: #ff8fb3;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.secondary-btn:hover {
  background: #ff8fb3;
  color: white;
}

/* Feature cards */
.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 120px;
  flex-wrap: wrap;
}

.card {
  background: rgba(255,255,255,0.03);
  padding: 30px;
  width: 260px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.08);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255,143,179,0.3);
}

.card h2 {
  color: #ff8fb3;
}

/* title glow animation */
@keyframes titleGlow {
  0% {
    opacity: 0;
    text-shadow: none;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    text-shadow:
      0 0 10px rgba(255,143,179,0.6),
      0 0 20px rgba(255,143,179,0.4);
    transform: translateY(0);
  }
}
