/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100vw;
  
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

body {
  overflow-x: hidden;
}

.app-store-link {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.see-in-appstore {
  display: inline-flex;
  align-items: center;
  background-color: #0071e3;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  transition: all 0.3s ease;
  transform-origin: center;
}

.see-in-appstore:hover, .trust-portal-button:hover {
  transform: scale(1.1, 1.05);
  padding: 12px 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.app-store-link:first-of-type {
  margin-bottom: 0px;
}
.app-store-link:last-of-type {
  margin-top: 0px;
}

.see-in-appstore:hover {
  background-color: #0077ED;
}

.see-in-appstore .platform {
  font-weight: 600;
}

.see-in-appstore .platform:first-of-type {
  margin-right: 5px;
  margin-left: 5px;
}

.see-in-appstore .platform:last-of-type:not(:first-of-type) {
  margin-left: 5px;
}

.see-in-appstore .arrow {
  width: 20px;
  height: 20px;
  margin-left: 0px;
}

@media (max-width: 768px) {
  .see-in-appstore {
    font-size: 15px;
    padding: 10px 16px;
  }
}


/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  transition: height 2s ease;
}

.logo-set {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 1s ease 3s, transform 1s ease 3s;
  margin-bottom: 2rem;
}

.logo-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero h1 {
  font-size: 4em;
  font-weight: bold;
  z-index: 1;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
}

.animation-container {
  width: 100%;
  height: 150px;
  position: relative;
  margin-bottom: 0;
  transition: all 2s ease-in-out 1s;
}

#waveCanvas {
  width: 100%;
  height: 100%;
}

#done {
  opacity: 0;
  color: #007aff;
  transition: opacity 2s ease-in-out;
}

.subtitle-line-bold {
  font-style: italic;
  font-weight: 550;
  color: #333;
}

.subtitle {
  text-align: center;
  font-size: 2em;
  color: #424242;
  margin-top: 0;
}

.subtitle-line {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-in-out 2.5s, transform 1s ease-in-out 2.5s;
}

.subtitle-line.visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  .subtitle {
    font-size: 1.7rem;
  }  
}

h2 {
  text-align: center;
  color: #477AFF;
}

.search-container {
  margin-bottom: 20px;
}


.accordion {
  margin-top: 20px;
}

.accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 5px;
  user-select: none;
}

.accordion-header {
  background-color: #f4f4f4;
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  padding: 10px;
  display: none;
}

.accordion-content.active {
  display: block;
}

.highlight {
  background-color: transparent;
  color: #477AFF;
  font-weight: bold;
}

body {
  overflow-x: hidden; /* Prevent horizontal scrolling */
  overflow-y: auto; /* Allow vertical scrolling */
  transition: all 2s ease;
}

#intro-hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  background-color: #ffffff;
}

#main-content {
  min-height: 100vh;
  flex-direction: column;
  transition: all 1s ease-in-out;
}


.notch-area {
  background: linear-gradient(to left, #87DFFF, #477AFF, #9b59b6);
  height: env(safe-area-inset-top, 50px);
  padding: env(safe-area-inset-top, 50px) 20px 20px 20px;
  box-sizing: border-box;
}

@supports (padding-top: constant(safe-area-inset-top)) {
  .notch-area {
      padding-top: constant(safe-area-inset-top);
  }
}

header {
  background: linear-gradient(to left, #87DFFF, #477AFF, #9b59b6);
  padding: 10px 20px;
  position: sticky;
  z-index: 100;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
}

.logo-set-2 {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 101;
}

.logo-title-2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 101;
}


.note-types-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  opacity: 100%;
  transform: translateY(20px);
  transition: opacity 1.5s ease 1s, transform 1.5s ease 1s;
}


.nova-note-tagline {
  font-size: 1rem;
}

.sell-container {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 60px auto;
  text-align: center;
  padding: 0 20px;
}

.sell-paragraph {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
}

.sell-explanation {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.sell-step {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: #477AFF;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.sell-step p {
  font-size: 1.1rem;
  color: #555;
  margin: 0;
}

.sell-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.stat {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

.stat h3 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #477AFF;
  margin-bottom: 5px;
}

.stat p {
  font-size: 1rem;
  color: #666;
}

.sell-tech {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 30px auto;
  margin-bottom: 80px;
  align-self: center;
  align-items: center;
  color: #333;
  max-width: 600px;
}

@media (max-width: 768px) {

  .sell-explanation,
  .sell-stats {
    flex-direction: column;
  }
  
  .sell-step,
  .stat {
    margin-bottom: 20px;
  }

  .sell-paragraph {
    margin-bottom: 30px;
  }

  .sell-tech {
    font-size: 1rem;
  }
}


.trust-portal {
  background-color: #f8f9fa;
  padding: 30px;
  margin-top: 40px;
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  text-align: left;
  align-self: center;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.trust-portal-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 10px;

}

.trust-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  justify-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 15px;
}

.trust-portal-icon {
  margin-left: 10px;
  margin-right: 0px;
}

.trust-portal-button {
  padding: 10px 20px;
  
  background-color: #477AFF;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease, all 0.3s ease;
  align-self: flex-start;
}

.trust-portal-button:hover {
  background-color: #3562cc;
}

.trust-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.trust-features {
  display: flex;
  flex-direction: column;
}

.trust-feature {
  margin-bottom: 20px;
}

.trust-feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.trust-feature-description {
  font-size: 0.9rem;
  color: #666;
}

@media (min-width: 768px) {
  .trust-portal {
    padding: 40px;
  }

  .trust-portal-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .trust-title {
    margin-bottom: 0;
  }

  .trust-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .trust-feature {
    flex-basis: calc(50% - 10px);
  }
}


@media (max-width: 500px) {
  .trust-portal-header { 
    flex-direction: column;
    justify-content: center;
    display: flex;
  }
  .trust-title {
    flex-grow: 1;
    align-items: center;
    width: 100%;
  }
  .trust-portal-button {
    align-self: center;
    margin-bottom: 10px;
  }
}



.note-types-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

#noteTypeSearch {
  width: 100%;
  max-width: 300px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: border-color 0.3s ease;
}

#noteTypeSearch:focus {
  border-color: #007bff;
}

#searchButton {
  background-color: #007bff;
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: background-color 0.3s ease;
}

#searchButton:hover {
  background-color: #0056b3;
}

#searchButton svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 1rem;
  border-bottom: 2px solid #007bff;
  padding-bottom: 0.5rem;
}

.category ul {
  list-style-type: none;
  padding: 0;
}

.category li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.category li:hover {
  color: #007bff;
}

.hidden {
  display: none;
}

/* FEATURES */

.features {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.features-title {
  font-size: 2.5rem;
  text-align: center;
  color: #333;
}

.features-sub-title {
  font-size: 1.4rem;
  text-align: center;
  align-self: center;
  font-weight: 400;
  width: 45ch;
  margin-top: 20px;
  color: #424242;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card.advanced {
  border: solid;
  border-color: #ffe1a870;
  border-width: 1px;
  box-shadow: 0 5px 10px rgba(255, 211, 36, 0.1), 0 10px 20px rgba(232, 199, 12, 0.1), 0 10px 20px rgba(110, 88, 1, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: #477AFF;
  align-self: center;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-sub-title {
    width: auto;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.gradient-circle-container {
  width: 300px;
  height: 300px;
  align-self: center;
  position: relative;
}

.icon-swapping {
  position: absolute;
  width: 100px;
  height: 100px;
  left: 50%;
  top: 50%;
  overflow: visible;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.icon-swapping img {
  position: absolute;
  overflow: visible;
  width: 100%;
  height: 100%;
  left: 0%;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.shadowimg {
  filter: drop-shadow(2px 2px 8px rgba(222, 76, 248, 0.464));
  position: relative;
  background-color: rgba(247, 242, 97, 0.121);
  padding: 20px;
  border-radius: 40px;
}

.shadowimg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 0, 0, 0.326), rgba(0, 0, 255, 0.349));
  mix-blend-mode: overlay;
  pointer-events: none;
}

.icon-swapping img.active {
  opacity: 1;
  transform: scale(0.9);
  animation: bounceInOut 4.5s ease-in-out forwards;
}

li a {
  text-decoration: none;
  color: inherit;
}

.icon-swapping img:not(.active) {
  opacity: 0;
  transform: scale(0.5) translateY(300%);
}

@keyframes bounceInOut {
  0%, 20% {
    transform: scale(0.5);
  }
  40% {
    transform: scale(1);
  }
  60%, 80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(0.95) translateY(150%);
  }
}


.step-number.active {
  opacity: 1;
  transform: scale(0.9);
  animation: bounceInOut 4.5s ease-in-out forwards;
}


@keyframes bounceInOut {
  0%, 20% {
    transform: scale(0.5);
  }
  40% {
    transform: scale(1);
  }
  60%, 80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}




.circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.rotating-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

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

.gradient-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.993);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}
.rotating-circle:nth-child(5) { animation-delay: 0s; }
.rotating-circle:nth-child(6) { animation-delay: -4s; }
.rotating-circle:nth-child(7) { animation-delay: -8s; }
.rotating-circle:nth-child(8) { animation-delay: -12s; }

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

.footer {
  background: linear-gradient(to right, #46add2, #477AFF, #9b59b6);
  padding: 40px 2rem;
  color: white;
  /* font-size: 1.5rem; */
  display: flex;
  flex-wrap: wrap;
  padding-left: 3rem;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1rem;
}

.footer-link {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: white;
  color: #477AFF;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-button:hover {
  background-color: #f8f8f8;
  transform: translateY(-2px);
}

.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  opacity: 0.8;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links, .footer-buttons {
    margin-top: 20px;
  }
}



.skewed-background {
  position: relative;
  padding-top: 50px;
  overflow: hidden;
}
/* 
.skewed-background::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 400px;
  background-color: #3498db;
  overflow: visible;
  transform: skewY(-5deg);
  transform-origin: top left, bottom right;
  z-index: -1;
} */