/* top gradient background */
.radial-gradient {
  position: absolute;
  top: 0;
  width: 100%;
  height: 150vh;
  background: radial-gradient(
    ellipse 80% 75% at 50% -25%,
    rgba(120, 119, 198, 0.3),
    var(--transparent)
  );
  pointer-events: none;
}

.navbar {
  position: fixed;
  width: 100%;
  height: 55px;
  padding: 0 1em;
  color: var(--color-text-primary);
  z-index: 999;
}

.navbar:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(30px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(120%) !important;
  border-bottom: 1px solid var(--color-border);
  z-index: -1;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
}

.hamburger-icon {
  display: none;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  line-height: 55px;
}

.hamburger-icon i {
  position: relative;
  top: 1.25px;
}

#hamburger-toggle {
  display: none;
}

.navbar-logo {
  font-size: 17px;
  font-weight: 600;
}

.navbar-logo i {
  font-size: 20px;
  top: 2px;
}

.navbar-items ul {
  display: flex;
  list-style: none;
}

.navbar-items ul li {
  line-height: 55px;
  font-size: 14px;
  font-weight: 500;
}

.navbar-items ul li a {
  padding: 1em;
  cursor: pointer;
}

.navbar-items .btn {
  line-height: 55px;
  margin-left: 80px;
}

.navbar-items .btn a {
  padding: 10px 20px !important;
  background: var(--color-brand-bg);
  border-radius: 40px;
}

#tool {
  scroll-margin-top: 28vh;
}

/* hero section */
.hero {
  width: 100%;
  padding: 150px 0 100px 0;
  text-align: center;
}

.hero-callout {
  margin: 0 auto;
  width: max-content;
  font-size: 13px;
  line-height: 28px;
  padding: 0px 12px 0 12px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  text-align: center;
}

.hero-header {
  width: 80%;
  margin: 0 auto;
}

.hero-copy {
  width: 85%;
  margin: 10px auto;
}

.hero-copy p {
  color: rgb(180, 188, 208);
  margin: 40px 0px 48px 0px;
}

.hero-cta .btn {
  width: max-content;
  margin: 0 auto;
  border-radius: 60px;
  padding: 12px 24px;
  border: none;
  color: var(--color-brand-text);
  background: var(--color-brand-bg);
  text-shadow: rgba(0, 0, 0, 0.25) 0px 3px 8px;
}

.hero-cta .btn span {
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.25) 0px 3px 8px;
}

/* clients */
section.clients {
  margin: 150px 0 0 0;
  text-align: center;
}

.logo span {
  font-weight: 700;
  font-size: 20px;
}

/* ellipse bg */
section.ellipse {
  width: 100%;
  margin-top: -100px;
}

.ellipse-bg {
  --color: #7877c6;
  pointer-events: none;
  user-select: none;
  position: relative;
  width: min(1200px, 100%);
  margin: 0px auto;
  height: 600px;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(circle, black, transparent 80%);
  mask-image: radial-gradient(circle, black, transparent 80%);
}

.ellipse-bg::before {
  content: "";
  position: absolute;
  inset: 0px;
  background: radial-gradient(
    circle at bottom center,
    var(--color),
    transparent 70%
  );
  opacity: 0.4;
}

.ellipse-bg::after {
  content: "";
  position: absolute;
  background: var(--color-bg-primary);
  width: 200%;
  left: -50%;
  aspect-ratio: 1 / 0.7;
  border-radius: 50%;
  border-top: 1px solid rgba(120, 118, 197, 0.4);
  top: 50%;
}

/* tools */
section.tools {
  position: relative;
  margin-top: -150px;
}

.tools h1,
p {
  text-align: center;
}

.tools h1 {
  width: 75%;
  margin: 40px auto 30px auto;
  font-size: 60px;
}

.tools p {
  width: 70%;
  margin: 0 auto 60px auto;
}

/* cards */
.cards {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 20px 0;
}

.cards .card.large {
  flex: 3;
}

.cards .card.small {
  flex: 2;
}

.cards .card {
  position: relative;
  height: 420px;
  border-radius: 48px;
  border: 1px solid var(--color-border);
  padding: 45px;
}

.card:after {
  content: "";
  position: absolute;
  border-radius: 48px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(19, 21, 42);
  background: linear-gradient(
    -180deg,
    rgba(19, 21, 42, 0.3) 0%,
    rgba(19, 21, 42, 1) 100%
  );
  z-index: -1;
}

.task-items {
  width: 100%;
  display: flex;
}

.task-item {
  flex: 1;
  padding: 1em;
}

.task-item p {
  text-align: left;
  font-size: 14px;
  color: #9aa4bd;
}

.task-item p span {
  color: #fff;
}

.task-copy p {
  width: 70%;
  margin: 50px auto;
  line-height: 1.5;
  color: rgb(180, 188, 208);
  font-size: 20px;
}

/* discover */
section.discover {
  position: relative;
  width: 100%;
  margin: 150px 0 100px 0;
}

.discover:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 300%;
  top: -120%;
  left: 0;
  background: rgb(162, 119, 255);
  background: radial-gradient(
    circle,
    rgba(162, 119, 255, 0.15) 0%,
    rgba(0, 2, 18, 0) 25%
  );
  z-index: -2;
}

.discover h1 {
  text-align: center;
  margin: 24px 0px;
  font-size: 60px;
}

.icons {
  position: relative;
  margin: 50px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  gap: 10px;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  border: 1px solid var(--color-border);
  border-radius: 100%;
  background: rgba(66, 41, 139, 0.2);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  font-size: 30px;
  color: rgba(255, 255, 255, 0.75);
}

.icon#main-icon {
  width: 125px;
  height: 125px;
  background: rgba(66, 41, 139, 0.75);
  color: #352274;
  font-size: 30px;
}

.icon-holder {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid var(--color-border);
  border-radius: 100%;
  background: #744ee7;
}

.icon:nth-child(2),
.icon:nth-child(6) {
  width: 75px;
  height: 75px;
}

.icon:nth-child(1),
.icon:nth-child(7) {
  width: 65px;
  height: 65px;
}

.icon i {
  position: relative;
  top: 0;
}

.pulses {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  transform-origin: center;
  border: 1px solid var(--color-border);
  border-radius: 100%;
  opacity: 0;
  transform: scale(0);
  animation: pulse 4s infinite forwards;
}

.pulse-1 {
  width: 175px;
  height: 175px;
  background: rgba(66, 41, 139, 0.5);
  animation-delay: 0s;
}

.pulse-2 {
  width: 225px;
  height: 225px;
  background: rgba(66, 41, 139, 0.3);
  animation-delay: 0.75s;
}

.pulse-3 {
  width: 275px;
  height: 275px;
  background: rgba(66, 41, 139, 0.1);
  animation-delay: 1.5s;
}

/* ellipse-2 */
.ellipse-2 {
  position: relative;
  transform: rotate(-180deg);
  margin-top: -150px;
  z-index: -2;
}

/* branding */
section.download {
  margin: -175px 0 100px 0;
  width: 100%;
}

.download h1 {
  width: 75%;
  margin: 20px auto 50px auto;
  text-align: center;
  font-size: 70px;
}

.download-ctas {
  width: 100%;
  margin: 40px auto;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.download .btn {
  display: inline-block;
  width: max-content;
  border-radius: 60px;
  padding: 12px 24px;
  border: none;
  color: var(--color-brand-text);
  background: var(--color-brand-bg);
  text-shadow: rgba(0, 0, 0, 0.25) 0px 3px 8px;
}

.download .btn span {
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.25) 0px 3px 8px;
}

.btn-secondary {
  background: none !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Scanning Form */
.scan-form {
  width: 70%;
  height: 65px;
  margin: 40px auto;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  padding: 7px;
}

.scan-form input {
  background: transparent !important;
  border: 0;
  outline: none;
  flex: 3;
  padding: 0 0 0 15px;
  color: #fff;
  font-size: 17px;
}

.blue-btn {
  flex: 1;
  border-radius: 9px;
  border: 0;
  outline: 0;
  background-color: #6770c7;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

#scanning .loading {
  display: none;
  margin: 10px auto;
  text-align: center;
}

#scanning .spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: #09f;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.scan-results {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 20px 0;
}

.score-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#downloadReportBtn {
  padding: 15px 25px;
}

.summary-results {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
}

.summary-results p {
  margin: 0;
  width: 100%;
  text-align: left;
  font-weight: 500;
  font-size: 17px;
}

#scan-to-ai {
  padding: 10px 20px;
  margin-top: 40px;
  font-size: 17px;
  transition: all 0.15s ease;
}

#scan-to-ai:hover {
  background: rgba(255, 255, 255, 0.13);
}

.success {
  color: #2e7d32;
  font-weight: bold;
}

.warning {
  color: #ff9800;
  font-weight: bold;
}

.critical {
  color: #d32f2f;
  font-weight: bold;
}

.neutral {
  color: #1976d2;
  font-weight: bold;
}

.report-actions {
  margin-top: 20px;
  text-align: center;
}

.circular-progress {
  width: 160px;
  height: 160px;
  position: relative;
  margin: 0 auto;
}

.circular-progress .inner-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
}

.circular-progress .score-value {
  font-size: 32px;
  font-weight: bold;
  color: #333;
}

.circular-progress circle {
  fill: none;
  stroke: url(#GradientColor);
  stroke-width: 16px;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 1s ease;
}

.circular-progress svg {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  20% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  25% {
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(0.75);
  }

  70%,
  75% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  75% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 800px) {
  .divider {
    margin: 50px 0;
  }
  h1 {
    font-size: 40px;
  }

  p {
    font-size: 17px;
  }

  .hero {
    padding: 85px 0 0 0;
  }

  .hero-header,
  .hero-copy {
    width: 100%;
  }

  .hero-img {
    margin: 25px 0;
  }

  .logo {
    min-width: calc((100% - 20px) / 2);
  }

  .logo-row:nth-child(2) {
    display: none;
  }

  .tools h1,
  .tools p {
    width: 100%;
  }

  .cards {
    flex-direction: column;
  }

  .task h1,
  .task-img,
  .task-copy p {
    width: 100%;
  }

  .task-items {
    flex-direction: column;
  }

  .task-item {
    flex: 1;
  }

  .task-cards .container {
    height: 900px;
    flex-direction: column;
  }

  .discover-copy p {
    width: 100%;
  }

  .icon {
    width: 60px;
    height: 60px;
  }

  .icon#main-icon {
    width: 70px;
    height: 70px;
  }

  .icon i {
    font-size: 14px;
  }

  .icon:nth-child(1),
  .icon:nth-child(7) {
    display: none;
  }

  .icon:nth-child(2),
  .icon:nth-child(6) {
    width: 50px;
    height: 50px;
  }

  .download h1 {
    width: 100%;
  }

  #tool .cards .card {
    padding: 25px;
    height: max-content;
    border-radius: 17px;
  }

  #tool .cards .card::after {
    border-radius: 17px;
  }

  #circularProgress {
    margin-top: 20px;
  }

  #result .summary-results p {
    font-size: 15px;
  }

  .download h1,
  .tools h1 {
    font-size: 45px;
  }

  .download-ctas {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #scan-to-ai {
    font-size: 15px;
    padding: 10px 10px;
  }

  .scan-form {
    margin: 0;
    width: 100%;
  }

  .scan-form input,
  .scan-form button {
    font-size: 14px;
  }

  #chat-window {
    width: 90vw;
  }

  .hero-callout {
    width: 100%;

  }
}

@media screen and (max-width: 805px) {
  .navbar-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    width: 100%;
    height: calc(100vh - 51px);
    padding-top: 55px;
    top: 55px;
    left: 100%;
    border-top: 1px solid var(--color-border);
    background: rgba(0, 2, 18, 0.35);
    backdrop-filter: blur(30px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(120%) !important;
    text-align: center;
    transition: all 0.5s;
    z-index: 999;
  }

  .hamburger-icon {
    display: block;
  }

  #hamburger-toggle:checked ~ ul {
    left: 0%;
  }

  .navbar .container {
    padding: 0;
  }

  .navbar-items .btn {
    line-height: 55px;
    margin-left: 0px;
    margin-top: 30px;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 2em;
  }
}
