* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
  }
  
  :root {
    --accent_01: #D3F3FF;
    --accent_02: #7BDAFF;
    --accent_03: #23C1FF;
    --accent_04: #157499;
    --accent_05: #072733;
    --neutral_01: #EAEAEB;
    --neutral_02: #D6D6D7;
    --neutral_03: #ADADAF;
    --neutral_04: #838387;
    --neutral_05: #5A5A5F;
    --neutral_06: #313137;
    --fbg_white: #F7F7F7;
    --fbg_black: #242424;
    --status_green: #2CC941;
    --status_red: #D32E22;
    --padding: min(6vw, 40px);
    --type-size: max(0.74vw, 16px);
  }    

html {
  scroll-behavior: smooth; /* Enables smooth scrolling */
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: var(--type-size);
  line-height:  1.6;
  background-color: var(--fbg_white);
  color: var(--fbg_black);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-size-adjust: none;
}

/* component library */
.hero_button {
  font-family: "Open Sans", sans-serif;
  background-color: var(--accent_04);
  border-style: solid;
  border-width: 1px;
  border-color: var(--accent_04);
  color: var(--fbg_white);
  box-shadow: 0px 4px 16px 0px rgba(123, 218, 255, .12); /* accent_02 */
  padding: 8px 24px;
  text-align: center;
  text-transform: capitalize;
  display: inline-block;
  font-size: 16px;
  line-height: 1.4em;
  font-weight: 600;
  border-radius: 12px;
  width: fit-content;
  cursor: pointer;
  z-index: 1;
}

.hero_button:hover {
  background-color: var(--accent_05);
  border-color: var(--accent_05);
}

.primary_button {
  font-family: "Open Sans", sans-serif;
  background-color: var(--accent_04);
  border-style: solid;
  border-width: 1px;
  border-color: var(--accent_04);
  color: var(--fbg_white);
  box-shadow: 0px 4px 16px 0px rgba(21, 116, 153, .12); /* accent_04 */
  padding: 8px 16px;
  text-align: center;
  text-transform: capitalize;
  display: inline-block;
  font-size: 16px;
  line-height: 1.4em;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

.primary_button:hover {
  background-color: var(--accent_05);
  border-color: var(--accent_05);
}

#smd_secondary {
  background-color: var(--fbg_white);
  border-color: var(--neutral_04);
  color: var(--neutral_04);
  box-shadow: 0px 4px 16px 0px rgba(105, 105, 109, .12); /* neutral_04 */
}

#smd_secondary:hover {
  border-color: var(--neutral_05);
  color: var(--neutral_05);
}

.secondary_button {
  font-family: "Open Sans", sans-serif;
  background-color: var(--fbg_white);
  border-style: solid;
  border-width: 1px;
  border-color: var(--accent_04);
  color: var(--accent_04);
  box-shadow: 0px 4px 16px 0px rgba(21, 116, 153, .12); /* accent_04 */
  padding: 8px 16px;
  text-align: center;
  text-transform: capitalize;
  display: inline-block;
  font-size: 16px;
  line-height: 1.4em;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

.secondary_button:hover {
  border-color: var(--accent_05);
  color: var(--accent_05);  
}

#smd_plain {
  color: var(--neutral_04);
}

#smd_plain:hover {
  color: var(--neutral_05);
}

.plain_button {
  font-family: "Open Sans", sans-serif;
  background-color: var(--fbg_white);
  border: none;
  color: var(--accent_04);
  padding: 8px 16px;
  text-align: center;
  text-transform: capitalize;
  display: inline-block;
  font-size: 12px;
  line-height: 1.2em;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

.plain_button:hover {
    color: var(--accent_05);  
}

.bmc_button {
  display: flex;
  width: fit-content;
  border: none;
  background-color: var(--neutral_01);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 16px;
}

.bmc_button:hover {
  background-color: var(--fbg_white);
}



.container {
  flex-direction: column;
}

.top_nav {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: fit-content;
  align-items: center;
  padding: 12px min(4vw, 80px);
  justify-content: space-between;
  background-color: var(--fbg_white);
}

.banner {
  position: fixed;
  top: 0px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  height: fit-content;
  justify-content: center;
  text-align: center;
  padding: 8px 12px 8px 16px;
  background-color: var(--fbg_black);
  color: var(--fbg_white);
  z-index: 2147483647;
}

.banner p {
  font-size: 16px;
  line-height: 1.2em;
  font-weight: 400;
  text-wrap: nowrap;
}

.logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.logo img {
  display: flex;
  width: 200px;
  height: auto;
}

.nav_menu {
  display: inline-flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
}

.nav_menu ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.nav_links a {
  color: var(--accent_04);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6em;
  font-weight: 500;
  cursor: pointer;
}

.nav_links a:hover {
  color: var(--fbg_black);
  text-decoration: underline;
  text-decoration-color: var(--accent_03);
  text-decoration-thickness: 2px;
}

.hero {
  background-color: var(--accent_05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  gap: 40px;
  padding: 160px min(8vw, 160px);
  background-image: url('assets/hero_bg.png'); /* Path to your image */
  background-size: cover; /* Cover the entire div */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent the image from repeating */
  /** height: 100dvh; **/
} 

.hero_bg {
  position: absolute;
  display: inline;
  width: 100%;
  opacity: 0.08;
  z-index: -1;
}

.hero_text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h2 {
  font-family: "Open Sans", sans-serif;
  color: var(--neutral_01);
  width: 76%;
  max-width: max(80vw, 800px);
  font-size: 64px;
  line-height: 1.2em;
  font-weight: 600;
  z-index: 1;
  letter-spacing: -.02em;
}

.hero h3 {
  color: var(--neutral_01);
  font-size: 20px;
  line-height: 1.4em;
  font-weight: 400;
  width: 56%;
  z-index: 1;
}

.products {
  display: flex;
  flex-direction: column;
  background-color: var(--fbg_white);
  gap: 64px;
  padding: 120px min(8vw, 160px);
  width: 100%;
  align-items: center;
  z-index: 2;
}

.product_toggle {
  display: flex;
  gap: 40px;
  overflow: hidden;
  align-self: start;
}

.product_toggle button {
  display: inline-flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: ease-out 0.3s;
  background-color: transparent;
}  

.product_toggle button:not(.active) {
  opacity: 0.4;
}

.product_toggle button:not(.active):hover {
  opacity: 1;
}

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

.product_toggle h5{
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  line-height: 1.2em;
  font-weight: 700;
  width: 100%;
  color: var(--fbg_black);
}

.product_overview {
  display: flex;
  flex-direction: row;
  gap: 64px;
  display: none;
}

.product_overview.active {
  display: flex;
  transition: 0.3s ease-out;
  width: 100%;
}

.product_text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product_text h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: var(--accent_04);
}

.product_preview {
  display: flex;
  flex-direction: column;
  overflow: visible;
  width: 100%;
  gap: 4px;
}

.uc_library {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0px 0px 24px 0px rgba(105, 105, 109, .12); /* neutral_04 */
}

#smdtool_overview {
  display: flex;
  flex-direction: column;
  gap: 64px;
  display: none;
}

#smdtool_overview.active {
  display: flex;
  transition: 0.3s ease-out;
}

.tool_ui {
  display: block;
  width: 100%;
}

.product_features {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  min-width: 240px;
  max-width: 640px;
  justify-content: start;
}

.smdtool_features {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 100%;
  justify-content: center;
}

.pro_feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  align-items: start;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  align-items: center;
  text-align: center;
}

.pro_feature h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--accent_04);
  width: 100%;
  letter-spacing: -.02em;
}

.smd_feature {
  width: 96px;
}

figcaption {
  color: var(--neutral_05);
  font-size: 14px;
  font-style: italic;
  line-height: 1.2em;
  padding: 8px 0;
}

.pricing {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: var(--neutral_01);
  align-items: end;
  gap: 40px;
  padding: 120px min(8vw, 160px);
  width: 100%;
  justify-content: center;
}

.smd_tool {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  gap: 32px;
  background-color: var(--fbg_white);
  border-radius: 16px;
  border-style: solid;
  border-color: var(--neutral_02);
  border-width: 1px;
  padding: 40px 32px;
}

.smd_pro {
  display: flex;
  flex-direction: column;
  width:100%;
  max-width: 560px;
  gap: 32px;
  background-color: var(--fbg_white);
  border-radius: 16px;
  border-style: solid;
  border-color: var(--accent_04);
  border-width: 1px;
  padding: 40px 32px;
  box-shadow: 0px 0px 40px 0px rgba(21, 116, 153, .12); /* accent_04 */
}

.tool {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tool_name {
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: row;
  font-size: 24px;
  line-height: 1.6em;
  font-weight: 700;
  color: var(--neutral_06);
  gap: 12px;
  align-items: center;
}

.tool_description p {
  font-size: 16px;
  line-height: 1.6em;
  color: var(--fbg_black);
}

.tool_price {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price {
  display: flex;
  flex-direction: column;
}

/* pricing tabs */
.toggle {
  display: flex;
  justify-content: space-between;
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--neutral_01);
  position: relative;
  padding: 4px;
}

.toggle button {
  flex: 1;
  padding: 4px 8px;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  line-height: 1.5em;
  text-transform: capitalize;
  font-weight: 400;
  text-align: center;
  align-self: center;
  cursor: pointer;
  transition: ease-out background 0.2s, color 0.2s;
  color: var(--fbg_black); /* Default text color */
  background-color: transparent;
}

.toggle button:hover {
  background-color: var(--fbg_white);
}

.toggle button.active {
  background-color: var(--accent_04); /* Active background color */
  transition: background-color 0.3s ease-out;
  color: var(--fbg_white); /* Active text color */
  font-weight: 600;
}

.price_display, .token_display {
  display: flex;
  flex-direction: row;
  flex-wrap: yes;
  align-items: baseline;
  gap: 16px;
}

.price_display h4 {
  font-size: 28px;
  line-height: 1.6em;
  font-weight: 700;
  color: var(--fbg_black);
}

.price_display h5, .token_display h5 {
  font-size: 14px;
  line-height: 1.4em;
  font-weight: 400;
  color: var(--neutral_04);
}  

#token_price {
  color: var(--accent_04);
  font-weight: 600;
}
/* end of pricing */

.tool_features ul {
  padding-left: 1em;
}

.tool_features ul li {
  list-style-type: disc;
  line-height: 1.6em;
}

li a {
  color: var(--fbg_black);
  text-decoration: underline;
  text-decoration-color: var(--accent_04);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

li a:hover {
  text-decoration-color: var(--accent_05);
}

.tool_feature_info {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}


.button_tray {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.button_tray a {
  width: 100%;
}

.footer {
  background-color: var(--accent_05);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
  height: fit-content;
  padding: 64px min(8vw, 160px);
}

.footer_menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.footer_menu a {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  color: var(--neutral_03);
  font-size: 14px;
  line-height: 1.2em;
  font-weight: 400;
  align-items: center;
}

.footer_menu a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent_03);
  text-decoration-thickness: 2px;
}

.footer_menu h5 {
  font-size: 15px;
  line-height: 1.6em;
  font-weight: 600;
  color: var(--neutral_01);
}

.footer_smd, .footer_company, .footer_contact {
  display: flex;
  flex-direction: column; 
  gap: 8px;
  padding-right: 80px;
  /** padding-bottom: 40px; **/
}

.footer_logo {
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: center;
  font-size: 15px;
  line-height: 1.6em;
  font-weight: 600;
  color: var(--neutral_01);
}

.smd_products, .footer_links, .contact_links, .sub_footer {
  display: flex;
  flex-direction: column; 
  gap: 8px;
  justify-items: center;
}

.smd_products a {
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.contact_links img {
  padding-right: 6px;
}

.sub_footer p {
  color: var(--neutral_03);
  font-size: 14px;
  line-height: 1.2em;
  font-weight: 400;
}

.not_found {
  background-color: var(--accent_05);
  width: 100%;
  height: 100dvh;
  padding: 160px min(8vw, 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.not_found_text {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.not_found_text h1 {
  color: var(--neutral_02);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4em;
  max-width: max(60vw, 560px);
}

.not_found_text p {
  font-size: 16px;
  line-height: 1.4em;
  color: var(--fbg_white);
}

@media (max-width: 480px) {
  .hero, .products, .pricing, .footer, .not_found {
    padding: 120px 16px;
  }

  .banner {
    flex-direction: column;
    gap: 8px;
  }

  .hero h2 {
    width: 100%;
    font-size: 42px;
    line-height: 1.2em;
    font-weight: 700;
  }

  .hero h3 {
    width: 100%;
  }

  .hero p {
    font-size: 20px;
  }

  .hero_button {
    width: 100%;
  }

  .product_toggle {
    justify-content: space-around;
    width: 100%;
  }

  .product_toggle button {
    padding: 0;
  }

  .product_toggle h5{
  font-size: 20px;
  }

  .product_overview {
    padding: 0;
  }
  
  .pro_feature {
    max-width: none;
  }

  .smdtool_features {
    flex-direction: column;
    align-items: center;
  }

  .price_display, .tokens_price_display {
    flex-direction: column;
    gap: 0;
  }

  .price_display h5 {
    padding-bottom: 8px;
  }
  
  .smd_tool, .smd_pro {
    padding: 24px 16px;
  }

}

@media (max-width: 840px) {
  .container {
    flex-direction: column;
    row-gap: var(--padding);
  }

  .hero, .products, .pricing, .footer, .not_found  {
    padding: 120px min(6vw, 120px);
  }

  .hero h3 {
    width: 100%;
  }

  .footer {
    gap: 40px;
  }

  .projects {
    width: 100%;
    padding-left: var(--padding);
    padding-top: 0;
  }

  .footer_menu {
    gap: 40px;
  }

  .product_overview {
    flex-direction: column;
  }

  .product_features {
  flex-direction: column;
  align-items: start;
  }
}