@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap");

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

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

/* adjust top padding for body content due to fixed header */
.hero,
.features {
  padding-top: 140px;
}

.card {
  background: #1e293b;
  padding: 30px;
  border-radius: 15px;
  width: 280px;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #cbd5e1;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  color: #38bdf8;
}

/* enhance hero spacing for secondary pages */
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero p {
  color: #94a3b8;
}

.hero {
  text-align: center;
  padding: 120px 10%;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
}

.hero h1 span {
  color: #38bdf8;
}

.hero p {
  max-width: 600px;
  margin: 20px auto;
  color: #94a3b8;
}

.cta-btn,
.hero button {
  display: inline-block;
  padding: 12px 28px;
  background: #38bdf8;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  color: #0f172a;
}

.cta-btn:hover,
.hero button:hover {
  background: #0ea5e9;
  transform: scale(1.05);
}

.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 80px 10%;
  flex-wrap: wrap;
}

.card {
  background: #1e293b;
  padding: 30px;
  border-radius: 15px;
  width: 280px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  background: #334155;
}

.card h3 {
  margin-bottom: 10px;
  color: #38bdf8;
}

footer {
  text-align: center;
  padding: 30px;
  color: #64748b;
}

/* reusable container for page content */
.container {
  padding: 50px 10%;
  max-width: 800px;
  margin: auto;
  line-height: 1.75;
}

/* back button for secondary pages */
.back-btn {
  display: inline-block;
  margin-bottom: 30px;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition:
    background 0.3s,
    color 0.3s;
}

.back-btn:hover {
  background: #38bdf8;
  color: #0f172a;
}
