@import url('https://fonts.googleapis.com/css2?family=Inter&family=Montserrat:wght@400;700&display=swap');

body {
  font-family: 'Montserrat', 'Inter', sans-serif; 
  font-size: 18px;
  line-height: 1.7;
  color: #181818;
}

html {
    scroll-behavior: smooth;
}

ul {
	list-style: none;
}

/* Sidebar */

.sidebar {
  width: 330px; 
  background-color: #FEFCFB;
  border-right: 1px solid #18181826;
	text-decoration: none;
}

.sidebar li > p {
  margin: 25px 0 12px 0; 
  padding-left: 6px;
  letter-spacing: 0.5px;
	font-weight: 400;
	text-transform: uppercase;
}

ul li .folder {
	letter-spacing: 0.5px;
	font-size: 16px;
	padding-left: 6px;
	color: #181818;
}

.sidebar a {
  margin: 4px 0;
	text-decoration: none;
	color: inherit;
}

.sidebar a:hover {
  background-color: #ECE8F8;
  color: #181818;
	padding-left: 15px;
	text-decoration: none !important;
}

/* NavBar */

.app-nav.no-badge a {
  padding: 8px 16px;            
  transition: background 0.2s ease; 
	font-weight: 600;
}

.app-nav.no-badge a:hover {
  background-color: #ECE8F8;
  color: #181818;
}

/* Pro Tip Box */

.pro-tip-box {
  background-color: #FEEAE0; 
  border-left: 5px solid #F05A24;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}

/* FAQ Expandable Sections */

details {
  background-color: #ECE8F8; 
  border-left: 4px solid #562DB4; 
  padding: 1rem 1rem 0.5rem 1rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

details[open] {
  background-color: #ECE8F8;
  border-color: #562DB4;
}

summary {
  cursor: pointer;
  list-style: none; 
  position: relative;
  padding-left: 1.7rem; 
}

summary::before {
  content: '▶';
  color: #562DB4;
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

details[open] > summary::before {
  transform: rotate(90deg);
}

/* Home & Product Section */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px;
  margin-top: 30px;
  align-items: stretch;
	padding-bottom: 30px;
}

.card {
  display: block;
  background-color: #FEFCFB;
  border-radius: 14px;
  padding: 28px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  background-color: #ECE8F8;
}

.card-content {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.card-icon {
  font-size: 2.4em;
  flex-shrink: 0;
}

.card-text h3 {
  margin: 0 0 6px;
  font-size: 1.25em;
  font-weight: 600;
}

.card-text p {
  margin: 0 0 10px;
  font-size: 1em;
  color: #181818;
  font-weight: 400;
  line-height: 1.5;
}

.card-link {
  color: #562DB4;
  font-weight: 500;
  margin-top: auto;
  display: inline-block;
}

.card-link:hover {
  text-decoration: underline;
}

@media (max-width: 650px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.hero {
  background: linear-gradient(
    to bottom right,
    #562DB4 62%, 
    #F05A24 100%  
  );
  padding: 80px 40px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: white;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #FEFCFB;
  margin: 0 auto;
}

@media (max-width: 650px) {
  .hero {
    padding: 60px 20px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Footer */

.footer {
  background-color: #FEFCFB; 
  color: #181818; 
  text-align: center;
  padding: 20px 0; 
  border-top: 1.2px solid #e0e0e0; 
  font-family: 'Montserrat', 'Inter', sans-serif; 
  font-size: 0.95rem; 
  width: 100%; 
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05); 
}

.footer p {
  margin: 0; 
}

@media (max-width: 650px) {
  .footer {
    padding: 12px 0; 
    font-size: 0.85rem; 
  }
}

/* Listed Items */

.list {
  list-style-type: none;
  padding-left: 0;
  margin: 1rem 0;
}

.list li {
  margin-bottom: 0.8rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
}

.list li::before {
  content: "•"; 
  color: #562DB4;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.list .nested-list {
  list-style: none;         
  margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.list .nested-list li {                   
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
}

.list .nested-list li::before {
  content: "○";            
  color: #341B6C;           
  position: absolute;
  left: 0;
  top: 0;
}

/* Cards */ 

.menu-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.menu-item {
  border: 1px solid white;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
	background-color: #FEEAE0;
}

.menu-item h3 {
  margin: 0px 0 6px;
  font-size: 1.1rem;
}

.menu-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #181818;
}

.menu-item.disabled {
  opacity: 0.5;
}

/* Table of Contents Styling */

.toc-container {
  background-color: #FEFCFB; 
  padding: 18px 22px;
  margin: 32px 0 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.toc-title {
  letter-spacing: 0.5px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin: 8px 0;
}

.toc-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: #181818;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.toc-list a:hover {
  background-color: #ECE8F8;
  color: #181818;
  padding-left: 16px; 
}

.toc-list a:before {
  content: "›"; 
  color: #562DB4;
  font-weight: bold;
  margin-right: 6px;
}

/* Video tutorial details styling */

.video-content {
  margin-top: 1em;
}

/* Back To Top */

#back-to-top {
  position: fixed;
  right: 20px;
  background-color: #562DB4;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
  display: none; 
  font-weight: bold;
}

#back-to-top:hover {
  background-color: #452185;
}

/* Banner */

#global-banner {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background-color: #562DB4 !important;
  color: #fff !important;
  text-align: center !important;
  font-weight: 500 !important;
  padding: 10px 0 !important;
  z-index: 9999 !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
}

#banner-toggle {
  background: none !important;
  border: none !important;
  color: white !important;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  font-weight: bold !important;
}

/* Jump To Dropdown container */
#version-dropdown {
  margin: 20px 0;
  font-family: 'Montserrat', 'Inter', sans-serif;
}

#version-dropdown label {
  font-weight: 700;
  margin-right: 10px;
  color: #181818;
  font-size: 1rem;
}

#versionSelect {
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #18181826;
  background-color: #FEFCFB;
  color: #181818;
  font-family: 'Montserrat', 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

#versionSelect:focus {
  outline: none;
  border-color: #562DB4;
  box-shadow: 0 0 5px rgba(86, 45, 180, 0.5);
}

#versionSelect:hover {
  border-color: #562DB4;
}

#versionSelect option {
  padding: 6px 10px;
  background-color: #FEFCFB;
  color: #181818;
}

@media (max-width: 650px) {
  #versionSelect {
    width: 100%;
    font-size: 1rem;
  }
}
