/* ============================================
   APP DESIGN PAGE STYLES
   ============================================ */
@font-face {
  font-family: 'Micaelasfont-Regular';
  src: url('../fonts/Micaelasfont-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  box-sizing: border-box;
  height: 100%;
  overflow-x: hidden;
  background-image: url('../imgs/VertBGShort.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  height: 100%;
  font-family: 'Sora';
  color: #000;
  overflow-x: hidden;
}

h1 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: clamp(2rem, 4vw, 5rem);
}

h2 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: 32px;
}

h3 {
  font-family: 'Micaelasfont-Regular', sans-serif;
  font-size: 32px;
}

p {
  font-size: 16px;
  width: 35%;
  font-family: "Sora", sans-serif;
  line-height: 1.6;
}
/* ============================================
   BACK BUTTON
   ============================================ */

.back-to-mycoscope {
  position: fixed;
  top: 10%;
  left: 2%;
  z-index: 1000;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #a6d6a86f;
  color: rgb(0, 0, 0);
  text-decoration: none;
  border-radius: 50px;
  border: #00000000;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #a6d6a8;
  border-color: #000000;
}

.back-button svg {
  transition: transform 0.3s ease;
}

.back-button:hover svg {
  transform: translateX(-2px);
}

.back-button-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  width: 100%;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #a6d6a86f;
  color: rgb(0, 0, 0);
  text-decoration: none;
  border-radius: 50px;
  border: #00000000;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: #a6d6a8;
  border-color: #000000;
}

.back-btn svg {
  transition: transform 0.3s ease;
}

.back-btn:hover svg {
  transform: translateX(-2px);
}

/* ============================================
   SECTION CONTENT PADDING
   ============================================ */

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 60px;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.process-step h2 {
  color: #000000;
  font-size: 24px;
}

.UserJourney {
  width: 100%;
  height: auto;
}

.UserFlow {
  width: 100%;
  height: auto;
}

/* ============================================
   COMPONENTS SECTION
   ============================================ */

.components-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 0px;
}

.component-card {
  padding: 40px;
  background: #f5f5dc5a;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #34843a;
}

.component-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.component-card h3 {
  color: #000000;
  margin-bottom: 0px;
  font-size: 26px;
  font-weight: 600;
}

.navComps {
  scale: 0.65;
  width: 100%;
  top: 10%;
  height: auto;
}

.repComp {
  width: 100%;
  height: auto;
}

/* ============================================
   BRANDING SECTION
   ============================================ */

.branding-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 0px;
}

.branding-section {
  padding: 30px;
  background: #f5f5dc5a;
  border-left: 5px solid #34843a;
  border-radius: 20px;
}

.branding-section h3 {
  color: #000000;
  margin-bottom: 15px;
  font-size: 26px;
  font-weight: 600;
}

.branding-section p {
  color: #000000;
  line-height: 1.6;
}

.branding-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

/* Special layout for name section with logo */
.branding-section:first-child {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.branding-section:first-child .logo-text-container {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 0px;
}

.branding-section:first-child .logo-text-container p {
  flex: 1;
  margin: 0;
}

.Logo {
  width: 40%;
  height: auto;
  flex-shrink: 0;
}

/* Special layout for typography section with MycoText */
.branding-section:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.branding-section:nth-child(2) .logo-text-container {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 0px;
}

.branding-section:nth-child(2) .logo-text-container p {
  flex: 1;
  margin: 0;
}

.MycoText {
  width: 40%;
  height: auto;
  flex-shrink: 0;
}

/* ============================================
   COLOR PALETTE
   ============================================ */

.color-palette {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.color-swatch {
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 60px;
  overflow: hidden;
  border-radius: 30px;
  background: var(#212121, #F7F0E8, #A5D6A7, #2E7D32, #009587, #EC8F04);
  min-width: 60px;
  width: 60px;
}

.color-swatch:hover {
  width: 200px;
  box-shadow: 0 8px 25px rgba(174, 133, 214, 0.3);
}

.color-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: inherit;
  position: absolute;
  left: 0;
  top: 0;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.color-info {
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.color-swatch:hover .color-info {
  opacity: 1;
}

.color-hex {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.color-name {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
}

/* Set individual colors for each swatch */
.color-swatch[data-color="#212121"] {
  background: #212121;
}

.color-swatch[data-color="#F7F0E8"] .color-info{
  background: #F7F0E8;
  color:rgb(0, 0, 0);
  text-shadow: none;
}

.color-swatch[data-color="#A5D6A7"] {
  background: #A5D6A7;
}

.color-swatch[data-color="#2E7D32"] {
  background: #2E7D32;
}

.color-swatch[data-color="#009587"] {
  background: #009587;
}

.color-swatch[data-color="#EC8F04"] {
  background: #EC8F04;
}

.color-swatch[data-color="#EC8F04"] .color-info {
  color: #FFFFFF;
  text-shadow: none;
}

/* ============================================
   UI NAVIGATION SYSTEM
   ============================================ */

/* Navigation container with buttons and content */
.ui-navigation-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  position: relative;
}

/* Navigation buttons styling (similar to carousel buttons) */
.ui-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.ui-nav-btn:hover {
  background-color: rgba(166, 214, 168, 0.2);
}

.ui-nav-btn img.arrow {
  width: 40px;
  transition: transform 0.3s ease;
}

.ui-nav-btn img.rotate {
  transform: rotate(180deg);
}

.ui-nav-btn:hover img {
  transform: scale(1.2);
}

.ui-nav-btn:hover img.rotate {
  transform: rotate(180deg) scale(1.2);
}

/* Disable buttons when at limits */
.ui-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ui-nav-btn:disabled:hover {
  background-color: transparent;
}

.ui-nav-btn:disabled img {
  transform: none !important;
}

/* Container for all UI subsections */
.ui-sections-container {
  flex: 1;
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

/* Individual UI subsections - positioned absolutely for smooth transitions */
.ui-subsection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px;
  border-radius: 20px;
  
  /* Initially hidden */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Active subsection - visible */
.ui-subsection.active {
  opacity: 1;
  visibility: visible;
}

/* Subsection content styling */
.ui-subsection h3 {
  color: #000000;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 600;
}

.ui-image-container {
  margin: 30px 0;
  position: relative;
}

/* Hover effects for UI screens */
.ui-subsection .ui-screen:hover {
  transform: scale(1.02);
}

/* Smooth loading state */
.ui-subsection .ui-screen.loading {
  opacity: 0.7;
  filter: blur(1px);
}

.ui-subsection .ui-screen.loaded {
  opacity: 1;
  filter: blur(0);
}

.ui-subsection .ui-screen {
  width: auto;
  height: 45vh;
  border-radius: 20px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
}

.ui-subsection p {
  color: #555;
  line-height: 1.6;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Progress indicator */
.scroll-progress {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  padding: 20px 0;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(44, 62, 80, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.progress-dot.active {
  background: #2c3e50;
  transform: scale(1.2);
}

.progress-dot:hover {
  background: #2c3e50;
  transform: scale(1.1);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
  .ui-navigation-container {
    gap: 5px;
  }
  
  .ui-sections-container {
    height: 90vh;
  }
  
  .ui-subsection {
    padding: 40px 20px;
  }
  
  .ui-subsection h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .ui-subsection .ui-screen {
    width: 250px;
  }
  
  .ui-subsection p {
    font-size: 14px;
  }
  
  .progress-dot {
    width: 10px;
    height: 10px;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
}
/* ============================================
   CUSTOM SCROLLBAR - MYCOSCOPE GREEN THEME
   ============================================ */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f5f5dc;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a6d6a8, #90c092);
  border-radius: 10px;
  border: 2px solid #f5f5dc;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #90c092, #7aaa7c);
  box-shadow: 0 8px 20px rgba(166, 214, 168, 0.3);
}

::-webkit-scrollbar-corner {
  background: #f5f5dc;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #a6d6a8 #f5f5dc;
}
