/* ========================================
   NASH EQUITY GROUP — style.css
   ======================================== */

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

:root {
  --bg-dark:        #171717;
  --bg-footer:      #111d18;
  --bg-card:        #1d1d1d;
  --border:         #2e2e2e;
  --green-primary:  #52b483;
  --green-light:    #5fcd93;
  --green-neon:     #9eff00;
  --text-white:     #ffffff;
  --text-body:      #e5faf2;
  --text-card:      #e6e6e6;
  --font:           'Inter', sans-serif;
  --max-w:          430px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  background: var(--bg-dark);
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Glowing orb */
.hero__glow-wrap {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  width: 705px;
  height: 705px;
  pointer-events: none;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  inset: -71%;
  width: 242%;
  height: 242%;
  display: block;
  object-fit: cover;
}

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(23, 23, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 46, 46, 0.6);
}

/* Keep nav contents centered/max-width */
.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

a.logo:visited,
a.logo:hover,
a.logo:active {
  text-decoration: none;
}

.logo--centered {
  justify-content: center;
}

.logo__icon {
  background: var(--green-primary);
  border-radius: 4px;
  width: 30px;
  height: 30px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.logo__icon img {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  display: block;
}

.logo__text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.logo__text--white { color: var(--text-white); }
.logo__text--green { color: var(--green-light); }

/* Apply button */
.btn--apply {
  background: linear-gradient(to right, var(--green-primary), #439688);
  color: var(--text-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: 0 2px 10px 0 #106947;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.btn--apply:hover { opacity: 0.85; }

/* Hero text */
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  padding: 0 24px;
  text-align: center;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.hero__headline {
  font-size: clamp(48px, 11vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 4px 4px rgba(0,0,0,0.25);
  max-width: 383px;
  margin: 0 auto;
}

.hero__sub {
  font-size: clamp(20px, 5.5vw, 24px);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 24px;
  background: linear-gradient(to right, #74f306, #a1e048);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero__body {
  font-size: 21px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.5;
  margin-top: 32px;
  max-width: 388px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA pill */
.hero__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.25));
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, var(--bg-dark), #2a2a2a);
  border: 1px solid var(--green-neon);
  border-radius: 999px;
  box-shadow: 0 2px 10px 0 #106947;
  padding: 10px 16px;
  width: 309px;
  height: 58px;
}

.hero__cta span {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-body);
  text-align: center;
  letter-spacing: 0.5px;
}

/* Scroll arrow */
.hero__scroll-arrow {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  cursor: pointer;
  animation: bounce 2s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.hero__scroll-arrow:hover {
  transform: scale(1.1);
}

.hero__scroll-arrow img {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ========================================
   CARDS SECTION
   ======================================== */
.cards-section {
  background: var(--bg-dark);
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
  padding: 24px 24px 50px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card__header {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card__icon {
  background-image:
    linear-gradient(229.29deg, rgba(158,255,0,0.2) 68.25%, rgba(158,255,0,0) 32.16%),
    linear-gradient(180deg, #242424 0%, rgba(36,36,36,0) 100%);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  display: inline-flex;
  width: fit-content;
}

.card__icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.card__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.24px;
  color: var(--text-white);
}

.highlight {
  color: var(--green-neon);
}

.card__body {
  font-size: 23px;
  font-weight: 400;
  color: var(--text-card);
  line-height: 1.4;
  letter-spacing: 0.36px;
}

.card__body strong {
  font-weight: 700;
  color: var(--text-white);
}

.callout-box {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(239, 68, 68, 0.04));
  border: 2px solid rgba(239, 68, 68, 0.4);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 8px 0;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-footer);
  padding: 30px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer__links {
  width: 100%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
}

.footer__link-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-card);
  line-height: 1.4;
}

.footer__link-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.footer__copy {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-white);
  text-align: center;
  line-height: 1.4;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE — wider screens
   ======================================== */
@media (min-width: 600px) {
  .logo__icon {
    width: 28px;
    height: 28px;
  }

  .logo__icon img {
    top: 4px;
    left: 4px;
    width: 19px;
    height: 19px;
  }

  .logo__text {
    font-size: 19px;
  }

  .btn--apply {
    font-size: 12px;
    padding: 11px 26px;
  }

  .hero {
    min-height: 100vh;
  }

  .cards-section {
    padding: 60px 24px;
    gap: 48px;
  }

  .card {
    max-width: 480px;
  }
}

@media (min-width: 900px) {
  /* nav stays full-width; nav__inner handles centering */
  .nav__inner {
    max-width: 900px;
    padding: 0 40px;
  }

  .logo__icon {
    width: 32px;
    height: 32px;
  }

  .logo__icon img {
    top: 5px;
    left: 5px;
    width: 22px;
    height: 22px;
  }

  .logo__text {
    font-size: 22px;
  }

  .btn--apply {
    font-size: 13px;
    padding: 12px 32px;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero__headline {
    max-width: 600px;
    font-size: 80px;
    line-height: 1.05;
  }

  .hero__sub {
    font-size: 28px;
    margin-top: 28px;
  }

  .hero__body {
    max-width: 580px;
    font-size: 22px;
    margin-top: 36px;
  }

  .hero__cta {
    width: 340px;
    height: 64px;
  }

  .hero__cta span {
    font-size: 26px;
  }

  .hero__scroll-arrow {
    width: 56px;
    height: 56px;
    margin-top: 64px;
  }

  .cards-section {
    padding: 100px 40px;
    gap: 60px;
  }

  .card {
    max-width: 820px;
    padding: 40px 50px 70px;
  }

  .card__title {
    font-size: 48px;
  }

  .card__body {
    font-size: 20px;
    line-height: 1.65;
  }

  .callout-box {
    padding: 22px 28px;
    margin: 16px 0;
  }

  .footer {
    padding: 40px 60px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .footer .logo {
    margin: 0;
  }

  .footer__links {
    max-width: 100%;
    flex-direction: row;
    gap: 0;
    justify-content: center;
    flex: 0 0 auto;
  }

  .footer__link-row {
    border-bottom: none;
    border-right: none;
    padding: 0;
  }

  .footer__link-row:last-child {
    border-right: none;
    padding-right: 0;
  }

  .footer__copy {
    margin: 0;
    text-align: right;
    white-space: nowrap;
  }
}
