/* BASE */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: white;
}

.hero {
  position: relative;
  /* background: linear-gradient(120deg, #0b1220, #0f1b35); */
  overflow: hidden;
}

/* subtle glow */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  /* background: radial-gradient(circle at 70% 40%, rgba(255, 140, 0, 0.15), transparent 40%); */
  pointer-events: none;
  z-index: -1;
}

/* NAV */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
}

/* .logo img {
  height: 45px;
} */

.menu {
  display: flex;
}

.menu a {
  margin: 0 15px;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact {
  display: flex;
  align-items: left;
  flex-direction: column;
  line-height: 2;
  font-size: smaller;
  padding: 4px 0 0 8px;
}

.contact a {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.contact a {
  color: #94a3b8;
  text-decoration: none;
  pointer-events: auto;
}

.contact span {
  font-size: 0.85rem;
}

/* BUTTONS */
.btn-outline {
  border: 1px solid #ff8c00;
  padding: 10px 18px;
  border-radius: 6px;
  color: #ff8c00;
  text-decoration: none;
}

/* HERO CONTENT */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 65vh;
  padding: 60px 60px 60px 60px;
}

.hero-text {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.logo {
  margin-bottom: 30px;
}

.logo img {
  height: auto;
  padding: 0 12px 0 12px;
}

.tag {
  color: #ff8c00;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #ff8c00;
}

.hero p {
  color: #94a3b8;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.hero-buttons a {
  margin-right: 15px;
}

.btn-primary {
  background: linear-gradient(90deg, #ff8c00, #ff5e00);
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
}

.btn-secondary {
  border: 1px solid #334155;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  color: #cbd5e1;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 40px 60px;
  border-radius: 10px;
  overflow: hidden;
}

.feature {
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.feature:last-child {
  border-right: none;
}

/* ========================= */
/* BREAKPOINTS */
/* ========================= */

@media (max-width: 360px) {
  .contact {
    display: none;
  }
}

/* xlarge: 1281px - 1680px */
@media (max-width: 1680px) {
  .hero h1 {
    font-size: 3.2rem;
  }
}

/* large: 981px - 1280px */
@media (max-width: 1280px) {
  .nav {
    padding: 20px 40px;
  }

  .hero-inner {
    padding: 60px 40px 0 40px;
  }

  .features {
    margin: 30px 40px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

/* medium: 737px - 980px (TABLETS) */
@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .hero-inner {
    height: auto;
    padding: 120px 30px 60px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .features {
    grid-template-columns: 1fr 1fr;
    margin: 30px;
  }
}

/* small: 481px - 736px */
@media (max-width: 736px) {
  .hero {
    padding-bottom: 12%;
  }

  .nav {
    padding: 15px 20px;
  }

  .hero-inner {
    padding: 110px 20px 30px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons a {
    margin: 0;
    text-align: center;
  }

  .features {
    grid-template-columns: 1fr;
    margin: 20px;
  }
}

/* xsmall: 361px - 480px */
@media (max-width: 480px) {
  /* .logo img {
    height: 36px;
  } */

  .btn-outline {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .tag {
    font-size: 0.75rem;
  }
}

/* 381px - 514px - prevent wrapping */
@media (min-width: 381px) and (max-width: 514px) {
  .hero h1 {
    font-size: 1.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* xxsmall: up to 360px */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px;
    font-size: 0.9rem;
  }
}
