/* ===== Global Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  touch-action: manipulation;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #0b0d2b, #11133c);
  color: white;
  position: relative;
}
body::before,
body::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 207, 255, 0.07), transparent);
  border-radius: 50%;
  z-index: 0;
}
body::before {
  top: -100px;
  left: -100px;
  animation: pulse 6s infinite alternate;
}
body::after {
  bottom: -150px;
  right: -150px;
  animation: pulse 7s infinite alternate;
}
@keyframes pulse {
  from { transform: scale(1); opacity: 0.4; }
  to   { transform: scale(1.2); opacity: 0.7; }
}
a {
  text-decoration: none;
  color: white;
}

/* ===== Header/Navbar ===== */
header {
  background: rgba(11, 13, 43, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 20px 0;
}
header .container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}
.logo {
  font-size: 28px;
  font-weight: bold;
}
.logo span:first-child { color: #00cfff; }
.logo span:last-child  { color: #ae6bff; }

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
nav a {
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: 0.3s;
}
nav a:hover,
nav a.active {
  background: rgba(0, 207, 255, 0.1);
  color: #00cfff;
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.3);
}
.btn-signin,
.btn-getstarted {
  font-weight: bold;
  border-radius: 20px;
  padding: 8px 16px;
}
.btn-signin {
  border: 2px solid #00cfff;
  background: transparent;
  color: #00cfff;
}
.btn-getstarted {
  background: linear-gradient(to right, #00cfff, #ae6bff);
  border: none;
  color: white;
}
.btn-signin:hover,
.btn-getstarted:hover {
  transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero {
  text-align: center;
  padding: 100px 20px 20px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #00cfff;
}
.hero p {
  font-size: 20px;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 24px;
}

/* ===== Search Bar ===== */
.search-bar {
  max-width: 700px;
  width: 90%;
  margin: 0 auto 60px;
  display: flex;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.search-bar input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  color: #111;
}
.search-bar button {
  background: none;
  border: none;
  padding: 0 16px;
  font-size: 18px;
  color: #00cfff;
  cursor: pointer;
}

/* ===== Section Titles & Cards ===== */
.section-title {
  text-align: center;
  font-size: 32px;
  margin: 80px 0 40px;
  background: linear-gradient(to right, #00cfff, #ae6bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.preview-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px 60px;
}
.preview-card {
  background: rgba(17, 19, 60, 0.6);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 20px;
  width: 100%;
  max-width: 260px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  text-align: center;
}
.preview-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}
.preview-card h3 {
  margin-bottom: 10px;
  color: #ae6bff;
}
.preview-card p {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 16px;
}
.preview-card a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 20px;
  background: linear-gradient(to right, #00cfff, #ae6bff);
  font-weight: bold;
  color: white;
  transition: 0.3s;
  margin-top: 12px;
}
.preview-card a:hover {
  background: linear-gradient(to right, #ae6bff, #00cfff);
  color: white;
}

/* ===== Footer ===== */
footer {
  background: rgba(11, 13, 43, 0.95);
  backdrop-filter: blur(20px);
  color: #bbb;
  padding: 60px 20px;
}
.footer-about,
.footer-social {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}
.footer-about h4,
.footer-social h4 {
  color: #00cfff;
  margin-bottom: 10px;
  font-size: 20px;
}
.footer-about p {
  font-size: 14px;
  line-height: 1.6;
}
.social-icons a {
  margin: 0 10px;
  font-size: 24px;
  transition: 0.3s;
}
.social-icons a:hover {
  transform: scale(1.2);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  padding: 20px 0;
  color: #777;
  font-size: 14px;
}

/* ===== Mobile Fixes ===== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  header .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero h1 { font-size: 32px; }
  .hero p  { font-size: 16px; margin-bottom: 24px; }

  .search-bar {
    width: 90%;
    margin-bottom: 40px;
  }

  .preview-grid {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px 60px;
  }

  .preview-card {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px;
  }

  .footer-about p {
    font-size: 13px;
  }
}
