/* ---------- Root + Defaults ---------- */
:root {
  --bg-1: #0e0e10;
  --bg-2: #1b1b1e;
  --fg-1: #f5f5f7;
  --fg-2: #9e9ea4;
  --accent: #00ffc3;
  --radius: 14px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  --maxw: 1080px;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--fg-1);
  background: var(--bg-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Navigation ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: var(--bg-1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
}
.logo span {
  color: var(--accent);
}

.nav nav a {
  color: var(--fg-1);
  margin-left: 1.75rem;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s;
}
.nav nav a:hover {
  opacity: 0.75;
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-ghost {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s, opacity 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-primary:hover,
.btn-ghost:hover {
  transform: translateY(-3px);
  opacity: 0.92;
}

/* ---------- Sections ---------- */
.hero,
.features,
.about,
.cta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.hero {
  text-align: center;
  padding-top: 7rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero h1 span {
  color: var(--accent);
}
.hero p {
  max-width: 640px;
  margin: 0 auto 2.4rem;
  color: var(--fg-2);
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.3rem;
}
.feature {
  background: var(--bg-2);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s;
}
.feature:hover {
  transform: translateY(-6px);
}
.feature i {
  font-size: 2.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature h3 {
  margin: 0.6rem 0 0.8rem;
}

/* ---------- About ---------- */
.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about p {
  color: var(--fg-2);
  max-width: 720px;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
}
.cta h2 {
  font-size: 1.9rem;
  margin-bottom: 1.4rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-2);
  text-align: center;
  padding: 2rem 1rem;
}
.footer p {
  margin: 0 0 0.8rem;
  color: var(--fg-2);
}
.footer .social a {
  color: var(--accent);
  margin: 0 0.7rem;
  font-size: 1.3rem;
  transition: opacity 0.2s;
}
.footer .social a:hover {
  opacity: 0.7;
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 480px) {
  .nav nav a {
    margin-left: 1rem;
  }
  .btn-primary,
  .btn-ghost {
    padding: 0.75rem 1.3rem;
  }
  .features {
    gap: 1.4rem;
  }
}
