:root {
  --color-bg: #ffffff;
  --color-bg-alt: #131313;
  --color-text: #ffffff;
  --color-muted: #9d9d9d;
  --color-accent: #8b5cf6; 
  --color-royal: #663399; 

  --font-heading: "Orbitron", sans-serif;
  --font-body: "Roboto", sans-serif;
}

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

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  backdrop-filter: none;
  z-index: 999;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-img {
  height: 45px;
  width: auto;
}

.logo span {
  color: var(--color-accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar.scrolled {
  background: rgb(31, 31, 31); 
  box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(rgba(21, 21, 21, 0.8), rgba(21, 21, 21, 0.9)), url('images/hero.png') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.hero-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem 4rem;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw + 1rem, 8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-content p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.25rem;
  color: var(--color-muted);
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: #3e3e3e;
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.section {
  padding: 8rem 1.5rem;
  background: #ffffff;
  color: #3e3e3e;
}

.section.center {
  text-align: center;
}

.section.alt {
  background: #faf5ff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-body);
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--color-accent);
  text-align: center;
}

.section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.section.alt .feature-card {
  background: transparent;
}

.feature-image {
  width: 140px;
  margin: 1rem auto;
  display: block;
}

.cards {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: #ffffff;
  border: none;
  padding: 2rem 1.5rem;
  text-align: center;
}

.card h3 {
  font-family: var(--font-body);
  color: #3e3e3e;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.card p {
  color: #555555;
  font-size: 1.25rem;
}

.feature-icon {
  font-size: 6rem;
  margin-top: 2rem;
  color: #d6c568;
}

.footer {
  background: #0b0b0b;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .nav-links {
    display: none; 
  }
}

.hero-title {
  font-family: var(--font-heading) !important;
}