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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: white;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('https://images.pexels.com/photos/34143264/pexels-photo-34143264/free-photo-of-sunrise-over-wildschonau-mountains-in-austria.jpeg') center/cover no-repeat fixed;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

#silk-canvas {
    display: none;
}

.card-nav-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 99;
    box-sizing: border-box;
}

.card-nav {
  display: block;
  height: 60px;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  will-change: height;
  transition: height 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  backdrop-filter: blur(10px);
}

.card-nav-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.45rem 0.55rem 1.1rem;
  z-index: 2;
}

.hamburger-menu {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 6px;
  color: white;
}

.hamburger-menu:hover .hamburger-line {
  opacity: 0.75;
}

.hamburger-line {
  width: 30px;
  height: 2px;
  background-color: currentColor;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    margin 0.3s ease;
  transform-origin: 50% 50%;
}

.hamburger-menu.open .hamburger-line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.hamburger-menu.open .hamburger-line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.logo-container {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.logo {
  height: 28px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.card-nav-cta-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(0.75rem - 0.35rem);
  padding: 0 1rem;
  height: 100%;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  backdrop-filter: blur(10px);
}

.card-nav-cta-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.card-nav-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  bottom: 0;
  padding: 0.5rem;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.card-nav.open .card-nav-content {
  visibility: visible;
  pointer-events: auto;
}

.nav-card {
  height: 100%;
  flex: 1 1 0;
  min-width: 0;
  border-radius: calc(0.75rem - 0.2rem);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 8px;
  user-select: none;
}

.nav-card-label {
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.nav-card-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-card-link {
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}

.nav-card-link:hover {
  opacity: 0.75;
}

.company-logo-container {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 98;
    text-align: center;
}

.company-logo {
    padding: 0;
}

.logo-image {
    max-height: 336px;
    width: auto;
    filter: brightness(0) invert(1);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.section {
    margin: 4rem 0;
    text-align: center;
}

.section h2 {
    margin-bottom: 2rem;
    font-size: 26px;
    text-transform: uppercase;
}

.scroll-stack-scroller {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow-y: auto;
  overflow-x: visible;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: scroll-position;
}

.scroll-stack-inner {
  padding: 20vh 2rem 50rem;
  min-height: 100vh;
}

.scroll-stack-card {
  transform-origin: top center;
  will-change: transform, filter;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  height: 20rem;
  max-width: 900px;
  width: 100%;
  margin: 100px auto;
  padding: 3rem;
  border-radius: 40px;
  box-sizing: border-box;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  position: relative;
}

.scroll-stack-end {
  width: 100%;
  height: 1px;
}

.content-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.6;
}

.content-description p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.accordion-container {
    max-width: 800px;
    margin: 2rem auto;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header h3 {
    margin: 0;
    font-size: 18px;
    color: white;
}

.accordion-icon {
    font-size: 24px;
    font-weight: bold;
    color: white;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.platform-links {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    padding: 1rem;
    transition: all 0.3s ease;
    min-width: 120px;
}

.platform-link:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.platform-icon {
    width: 48px;
    height: 48px;
    color: white;
    object-fit: contain;
}



.amazon-logo {
    filter: invert(1) brightness(2);
    mix-blend-mode: screen;
}

.platform-link span {
    font-weight: 500;
    font-size: 1rem;
}

#content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact a {
    color: white;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    color: white;
    font-size: 14px;
}

footer p {
    margin: 0;
}

.circular-text-container {
    position: fixed;
    bottom: 80px;
    right: 40px;
    z-index: 50;
}

.circular-text {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.circular-text span {
    position: absolute;
    left: 50%;
    top: 0;
    transform-origin: 0 60px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

body.light-mode .circular-text span {
    color: #333;
}

.theme-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.theme-toggle {
    width: 50px;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.theme-icon {
    width: 20px;
    height: 20px;
}

.moon-side {
    fill: white;
}

.sun-side {
    fill: none;
    stroke: black;
}

.toggle-slider {
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.theme-toggle.light .toggle-slider {
    transform: translateX(25px);
    background: #333;
}

body.light-mode {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url('images/desert-dunes.jpeg') center/cover no-repeat fixed;
    color: #333;
}

body.light-mode .card-nav {
    background-color: rgba(0, 0, 0, 0.1);
    border: 0.5px solid rgba(0, 0, 0, 0.2);
}

body.light-mode .logo {
    color: #333;
}

body.light-mode .hamburger-menu {
    color: #333;
}

body.light-mode .card-nav-cta-button {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

body.light-mode .nav-card {
    background: rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #333 !important;
}

body.light-mode .scroll-stack-card {
    background: rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #333 !important;
}

body.light-mode .content-description p {
    color: rgba(0, 0, 0, 0.8);
}

body.light-mode .platform-link {
    color: #333;
}

body.light-mode footer {
    color: #333;
}

body.light-mode .logo-image {
    filter: brightness(0) invert(0);
}

body.light-mode .platform-icon {
    filter: none !important;
    opacity: 0.8;
}

body.light-mode .platform-icon[alt="Spotify"] {
    filter: brightness(0) invert(0) !important;
}

body.light-mode .amazon-logo {
    filter: brightness(0) invert(0) !important;
    mix-blend-mode: normal;
    opacity: 0.8;
}

body.light-mode .moon-side {
    fill: rgba(255, 255, 255, 0.5);
}

body.light-mode .sun-side {
    stroke: black;
}

body.light-mode .accordion-item {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

body.light-mode .accordion-header h3 {
    color: #333;
}

body.light-mode .accordion-icon {
    color: #333;
}

body.light-mode .accordion-content p {
    color: rgba(0, 0, 0, 0.8);
}

body.light-mode #contact a {
    color: #333;
}

body.light-mode #contact p {
    color: #333;
}

@media (max-width: 768px) {
  .card-nav-container {
    width: 90%;
    top: 1.2em;
  }

  .card-nav-top {
    padding: 0.5rem 1rem;
    justify-content: space-between;
  }

  .hamburger-menu {
    order: 2;
  }

  .logo-container {
    position: static;
    transform: none;
    order: 1;
  }

  .card-nav-cta-button {
    display: none;
  }

  .card-nav-content {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0.5rem;
    bottom: 0;
    justify-content: flex-start;
  }

  .nav-card {
    height: auto;
    min-height: 60px;
    flex: 1 1 auto;
    max-height: none;
  }

  .nav-card-label {
    font-size: 18px;
  }

  .nav-card-link {
    font-size: 15px;
  }

  .hero h2 {
    font-size: 2rem;
  }
}