@font-face {
  font-family: "Acorn";
  src: url("/assets/Acorn_Family/Acorn-Regular-434aadc6.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Acorn";
  src: url("/assets/Acorn_Family/Acorn-Bold-b60a91d6.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Acorn";
  src: url("/assets/Acorn_Family/Acorn-Medium-e6b5ab14.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Acorn", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  overflow-x: hidden;
}

.body-wrapper {
  background: #132849;
  position: relative;
  margin: auto;
}

section#hero .video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

section#hero .hero-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}
section#hero .hero-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
section#hero .hero-content .hero-content-wrapper {
  text-align: right;
}
section#hero .hero-content img {
  width: 80vw;
  height: auto;
}
section#hero .hero-text {
  font-size: 84px;
  font-weight: 600;
  color: #13203c;
}
section#hero .action-container {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  color: #13203c;
}
section#hero .write-on-button {
  background: #8fcfde;
  padding: 2px 12px;
  font-size: 14px;
  border-radius: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: 0.3s;
}
section#hero .write-on-button:hover {
  filter: brightness(1.1);
}
section#hero .write-on-button-text {
  margin-top: 4px;
}

section#header {
  position: sticky;
  top: 0;
  z-index: 2;
}
section#header #login-button {
  position: relative;
  cursor: pointer;
}
section#header #login-dropdown {
  position: absolute;
  top: 30px;
  right: -10px;

  display: flex;
  flex-direction: column;
  align-items: center;

  background: #d9f768;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: 0.2s;
  /* hidden styles */
  pointer-events: none;
  max-height: 0;
}
section#header #login-dropdown.visible {
  opacity: 1;
  max-height: 90px;
  pointer-events: all;
}
section#header #login-dropdown a {
  text-wrap: nowrap;
  padding: 12px 16px;
  width: 150px;
  text-align: center;
  transition: 0.2s;
}
section#header #login-dropdown a:hover {
  background: #cbed4f;
}
section#header .container {
  display: flex;
  height: 100px;
  align-items: stretch;
}
section#header .logo-container {
  width: 400px;
  background: #cbed4f;
  display: flex;
  align-items: center;
  padding-left: 24px;
}
section#header .logo-container img {
  width: 300px;
}
section#header .dig-deep-container {
  flex-grow: 1;
  background: #d9f768;
  font-weight: 500;
  color: #13203c;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
section#header .dig-deep-container .dig-deep-list {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  flex-wrap: wrap;
}
section#header .dig-deep-container .text-action-button {
  color: #13203c;
  font-size: 18px;
  padding: 8px;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: underline;
  text-wrap: nowrap;
}
section#header .dig-deep-container .text-action-button a {
  color: #13203c;
}
section#header .dig-deep-container .text-action-button a:hover {
  color: #0a447a;
}
section#header .actions-container {
  width: 400px;
  background: #cbed4f;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
section#header .actions-container .text-action-button a {
  color: #13203c;
  font-size: 18px;
  padding: 8px;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
}
section#header .actions-container .text-action-button a:hover {
  color: #0a447a;
}

/* Mobile hamburger menu styles */
.mobile-menu-toggle {
  display: none;
}

.hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #13203c;
  border-radius: 1px;
  transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.mobile-nav-overlay.active {
  display: block;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #cbed4f 0%, #d9f768 50%, #cbed4f 100%);
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  padding: 80px 24px 24px;
  overflow-y: auto;
}

.mobile-nav-section {
  margin-bottom: 24px;
}

.mobile-nav-title {
  font-size: 18px;
  font-weight: 600;
  color: #13203c;
  margin-bottom: 16px;
  text-align: center;
}

.mobile-nav-item {
  margin-bottom: 16px;
  text-align: center;
}

.mobile-nav-item a {
  display: block;
  color: #13203c;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav-item a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #0a447a;
}

.mobile-nav-divider {
  height: 1px;
  background-color: rgba(19, 32, 60, 0.2);
  margin: 24px 0;
}

section#concept {
  background: #F1F5DA;
  padding: 24px;
}

/* Mobile-specific padding overrides */
@media (max-width: 480px) {
  section#concept {
    padding: 1px 24px;
  }
}

section#concept .container .title {
  color: #13203c;
  font-size: 20vw;
  font-weight: 600;
  line-height: 1.2;
}

section#concept .container .content {
  max-width: 55vw;
  padding-left: 4.5vw;
  color: #13203c;
  line-height: 1.5;
  font-size: 18px;
  margin-top: -4vw;
}
section#concept .container .content .in-text-action {
  color: #13203c;
  text-decoration: underline;
  cursor: pointer;
}
section#concept .container .demo-button {
  cursor: pointer;
  background: #15294A;
  color: #D4E823;
  width: 200px;
  padding: 4px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  line-height: 1;
}
section#concept .container.now .advantage {
  color: #13203c;
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  margin-top: 1px;
}

section#concept.now-section {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

section#demo-images {
  background: #B5E9F7;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1px;
}
section#demo-images .title {
  color: #1A335C;
  font-weight: 600;
  font-size: 96px;
  text-align: center;
  padding: 48px 0;
}
section#demo-images .demo-images-carousel {
  width: 100%;
  overflow: hidden; /* hides partial side images outside bounds */
  position: relative;
}
section#demo-images .demo-images-carousel-track {
  display: flex;
  align-items: center;
  gap: 40px; /* spacing between images */
  transition: transform 0.5s ease;
}
section#demo-images .demo-images-carousel-slide {
  flex: 0 0 65vw; /* main image width */
  box-shadow: 24px 24px 12px rgba(0, 0, 0, 0.4);
}
section#demo-images .demo-images-carousel-slide img {
  width: 100%;
  display: block;
}
section#demo-images .description {
  color: #13203c;
  font-weight: 600;
  font-size: 36px;
  text-align: center;
  padding: 36px 0 72px 0;
}

section#demo-videos {
  background: #F2E78D;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
  margin-top: 1px;
}
section#demo-videos .title {
  color: #1A335C;
  font-weight: 600;
  font-size: 96px;
  text-align: center;
  padding: 48px 0;
}
section#demo-videos .videos-container {
  display: flex;
  gap: 24px;
  justify-content: center;
}
section#demo-videos .video-item {
  max-width: 20vw;
}
section#demo-videos .video-description {
  color: #1A335C;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 12px;
}
section#demo-videos .video-item video {
  width: 100%;
  height: 10vw;
  object-fit: cover;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
}
section#demo-videos .description {
  color: #13203c;
  font-weight: 600;
  font-size: 36px;
  text-align: center;
  padding: 24px 0;
  padding-bottom: 36px;
}

section#founder {
  background: white;
  padding: 24px 0;
}

section#founder .title {
  color: #13203c;
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  padding: 24px 0;
}

section#founder .story {
  color: #13203c;
  font-size: 16px;
  text-align: center;
  max-width: 800px;
  margin: auto;
  line-height: 1.3;
  padding-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
}
section#founder .action-button-container {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
section#founder .action-button {
  color: #13203c;
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
}

section#footer {
  background: white;
  padding-top: 36px;
}
section#footer .logo-container {
  width: 120px;
}
section#footer .logo-container img{
  width: 100%;
}
section#footer .container {
  display: flex;
  gap: 36px;
  justify-content: center;
}
section#footer .menus-container {
  display: flex;
  gap: 72px;
  padding-top: 40px;
}
section#footer .menus-container .menu-item {
  padding: 6px 0;
}
section#footer .menus-container .menu-item a {
  color: #13203c;
  text-decoration: underline;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}
section#footer .menus-container .menu-item a:hover {
  color: #0a447a;
}
section#footer .copyright-container {
  color: #13203c;
  text-align: center;
  font-size: 16px;
  padding: 36px 0 24px 0;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile First Approach - Base styles above are for mobile */

/* Small Mobile (320px and up) */
@media (max-width: 480px) {
  /* Mobile header with proper sticky positioning and background */
  section#header {
    background: linear-gradient(90deg, #cbed4f 0%, #d9f768 50%, #cbed4f 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  section#header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(180deg,
      rgba(203, 237, 79, 0.6) 0%,
      rgba(203, 237, 79, 0.3) 40%,
      rgba(203, 237, 79, 0.1) 70%,
      transparent 100%);
    pointer-events: none;
    z-index: 999;
  }

  section#header .container {
    flex-direction: row;
    height: 70px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: transparent;
  }

  section#header .logo-container {
    width: auto;
    height: auto;
    padding: 0;
    justify-content: flex-start;
    background: transparent;
  }

  section#header .logo-container img {
    width: clamp(140px, 35vw, 180px);
    height: auto;
  }

  /* Show hamburger menu on mobile */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(19, 32, 60, 0.1);
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(4px);
  }

  /* Hide regular navigation on mobile */
  section#header .dig-deep-container,
  section#header .actions-container {
    display: none;
  }

  /* Hero section adjustments */
  section#hero .hero-content img {
    width: 90vw;
  }

  section#hero .hero-text {
    font-size: clamp(32px, 8vw, 84px);
  }

  /* Content sections - Fix overlap issue with minimal spacing */
  section#concept {
    margin-top: 1px; /* Minimal spacing between sections */
    padding-top: 1px;
    padding-bottom: 30px;
  }

  section#concept .container .title {
    font-size: clamp(48px, 15vw, 20vw);
    margin-bottom: 50px;
    margin-top: 30px;
  }

  section#concept .container .content {
    max-width: 90vw;
    padding-left: 5vw;
    font-size: 16px;
    margin-top: -8vw;
  }

  /* Demo sections */
  section#demo-images .title,
  section#demo-videos .title {
    font-size: clamp(32px, 8vw, 96px);
    padding: 24px 0;
  }

  section#demo-videos .videos-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
  }

  section#demo-videos .video-item {
    max-width: 80vw;
  }

  section#demo-videos .video-item video {
    height: 40vw;
  }

  /* Footer adjustments */
  section#footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  section#footer .menus-container {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
}

/* Critical Medium Breakpoint Fix (481px to 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  section#header .container {
    flex-direction: column;
    height: auto;
    min-height: 140px;
  }

  section#header .logo-container {
    width: 100%;
    height: 70px;
    padding: 10px 16px;
    justify-content: center;
  }

  section#header .logo-container img {
    width: clamp(200px, 40vw, 280px);
  }

  section#header .dig-deep-container {
    width: 100%;
    padding: 8px 12px;
    min-height: 40px;
  }

  section#header .dig-deep-container .dig-deep-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }

  section#header .dig-deep-container .text-action-button {
    font-size: 15px;
    padding: 4px 8px;
    white-space: nowrap;
  }

  section#header .dig-deep-container .action-button-divider {
    display: none;
  }

  section#header .actions-container {
    width: 100%;
    height: 50px;
    padding: 8px;
    justify-content: center;
  }

  section#header .actions-container .text-action-button a {
    font-size: 15px;
    padding: 4px 8px;
    white-space: nowrap;
  }
}

/* Tablet (601px to 768px) */
@media (min-width: 601px) and (max-width: 768px) {
  section#header .container {
    height: 100px;
    flex-wrap: nowrap;
  }

  section#header .logo-container {
    width: clamp(250px, 30vw, 320px);
    height: 100px;
    padding: 16px 20px;
  }

  section#header .logo-container img {
    width: clamp(200px, 25vw, 260px);
  }

  section#header .dig-deep-container {
    flex: 1;
    min-width: 300px;
    padding: 8px;
    height: 100px;
  }

  section#header .dig-deep-container .dig-deep-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 8px;
    align-items: center;
  }

  section#header .dig-deep-container .text-action-button {
    font-size: 14px;
    padding: 3px 6px;
    line-height: 1.2;
  }

  section#header .dig-deep-container .action-button-divider {
    font-size: 14px;
    margin: 0 2px;
  }

  section#header .actions-container {
    width: clamp(250px, 30vw, 320px);
    height: 100px;
    flex-wrap: wrap;
    align-content: center;
  }

  section#header .actions-container .text-action-button a {
    font-size: 14px;
    padding: 3px 6px;
    line-height: 1.2;
  }

  section#header .actions-container .action-button-divider {
    font-size: 14px;
    margin: 0 2px;
  }

  /* Content adjustments */
  section#concept .container .content {
    max-width: 75vw;
    font-size: 17px;
  }

  section#demo-videos .videos-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  section#demo-videos .video-item {
    max-width: 35vw;
  }

  section#demo-videos .video-item video {
    height: 20vw;
  }
}

/* Large Tablet/Small Desktop (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  section#header .logo-container {
    width: 350px;
  }

  section#header .logo-container img {
    width: 280px;
  }

  section#header .actions-container {
    width: 350px;
  }

  section#header .dig-deep-container .text-action-button {
    font-size: 17px;
  }

  section#header .actions-container .text-action-button a {
    font-size: 17px;
  }

  section#demo-videos .video-item {
    max-width: 25vw;
  }

  section#demo-videos .video-item video {
    height: 15vw;
  }
}

/* Desktop (1025px and up) - uses existing styles */
@media (min-width: 1025px) {
  /* Original desktop styles are preserved above */
}
