.investing-badge {
  background-color: #fff;
  border: solid 1.3px #e0dad1;
  margin-top: 270px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.hero-badge-2 {
  margin-top: 55px;
}

.hero-badge img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.hero p {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #0f0f0f;
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 675px;
}

.hero .hero-subtitle {
  font-family: "SangBleuMedium", serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #44372c;
  margin-top: 40px;
}

.invest-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0;
  background-color: transparent;
  margin: 0 auto;
  max-width: var(--container-max-width);
  position: relative;
}

.invest-section .invest-content {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.invest-section-title {
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

.invest-section-title h2 {
  font-family: "SangBleuRegular", serif;
  font-size: var(--fluid-40-48);
  font-weight: 400;
  color: #0f0f0f;
  line-height: 1.4;
  position: relative;
}
.invest-section h3 {
  font-family: "SangBleuMedium", serif;
  background-image: linear-gradient(to top, #6b3305 100%, #ae734e 41%),
    linear-gradient(to bottom, #d8d8d8, #d8d8d8);
  font-size: 32px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: -0.56px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 20px;
}

.invest-section .invest-content p {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #0f0f0f;
  line-height: 1.8;
}

.invest-section .invest-content ul {
  list-style: none;
  padding: 0;
}

.invest-section ul li {
  display: flex;
  align-items: flex-start;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #0f0f0f;
  line-height: 1.6;
  gap: 20px; /* Add spacing between items */
  padding-bottom: 10px;
  width: 475px;
}
.invest-section ul li img {
  margin-top: 7px;
  width: 20px;
  height: 20px;
}
.invest-section .invest-content ul li::before {
  color: #28a745;
  margin-right: 10px;
  font-size: 16px;
}

.invest-section .invest-chart {
  max-width: 50%;
  padding: 0;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.invest-section .invest-chart img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Hide invest-chart image on mobile */
@media screen and (max-width: 767px) {
  .invest-section .invest-chart {
    display: none;
  }
}

/* Holdings expand/collapse functionality */
.stock-item.stock-item-hidden {
  display: none !important;
}

.arrow-rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.why-invest-section {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 80px 0;
  margin: 60px auto;
  max-width: var(--container-max-width);
  position: relative;
  overflow: visible;
}

.why-invest-section h2 {
  font-family: "SangBleuRegular", serif;
  font-weight: 400;
  color: #0f0f0f;
  margin-bottom: 20px;
  line-height: 1.4;
  width: 100%;
  text-align: center;
}

.why-invest-section h2 span {
  background-image: linear-gradient(to top, #6b3305 100%, #ae734e 41%);
  background-size: contain;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  line-height: 1.4;
  /* fix text cut off */
  display: inline-block; 
}

.why-invest-section p {
  font-size: 24px;
  font-weight: normal;
  color: #0f0f0f;
  margin-bottom: 50px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.why-invest-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.why-invest-card {
  background: white;
  border: none;
  border-radius: 16px;
  padding: 40px;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.why-invest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.why-invest-card h3 {
  font-family: "SangBleuMedium", serif;
  font-size: 32px;
  font-weight: 500;
  color: #0f0f0f;
  margin-bottom: 10px;
}

.why-invest-card p {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #3F3B37;
  line-height: 1.6;
  text-align: left;
  margin: 0;
  width: 100%; /* Ensure text takes full width */
}

.why-invest-card-icon {
  font-size: 2rem;
  color: #8B5C2A;
  margin-bottom: 24px;
  display: inline-block;
  background: linear-gradient(135deg, #F9F2EC 0%, #F2EEEB 100%);
  padding: 10px;
  border-radius: 16px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.why-invest-card-icon img {
  width: 32px;
  height: 32px;
  opacity: 0.9;
}

.comparison-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 60px 0;
  background-color: transparent;
  margin: 0 auto;
  max-width: var(--container-max-width);
  position: relative;
}

.comparison-section h2 {
  font-family: "SangBleuRegular", serif;
  font-weight: 400;
  color: #0f0f0f;
  margin-bottom: 20px;
  line-height: 1.4;
  width: 100%;
  text-align: center;
}

.comparison-section h2 span {
  background-image: linear-gradient(to top, #6b3305 100%, #ae734e 41%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.comparison-content {
  display: flex;
  align-items: center; /* Change from flex-start to center for vertical alignment */
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  width: 100%;
}

.comparison-charts {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center; /* Add this to center the image vertically */
}

.comparison-charts img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.comparison-text {
  flex: 1;
  text-align: left;
  display: flex; /* Add display flex */
  flex-direction: column; /* Stack children vertically */
  justify-content: center; /* Center content vertically */
  height: 100%; /* Take full height of parent */
}

.comparison-text h4 {
  font-family: "SangBleuMedium", serif;
  font-weight: 500;
  color: #0f0f0f;
  margin-bottom: 12px;
  line-height: 1.4;
}

.comparison-text p {
  font-family: "Inter", sans-serif;
  font-size: var(--fluid-16-18);
  font-weight: 400;
  color: #0f0f0f;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Add responsive adjustments for comparison section */
@media (max-width: 768px) {
  .comparison-content {
    flex-direction: column;
    align-items: center;
  }

  .comparison-text,
  .comparison-charts {
    width: 100%;
    max-width: none;
  }

  .comparison-charts {
    margin-bottom: 30px;
  }
}

.product-information-section-container {
  background: linear-gradient(135deg, rgba(249, 242, 236, 0.3) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-top: 1px solid rgba(224, 218, 209, 0.3);
  border-bottom: 1px solid rgba(224, 218, 209, 0.3);
  margin: 80px 0;
}

.product-information-section {
  padding: 60px 0;
  margin: 0 auto;
  max-width: var(--container-max-width);
  text-align: left;
}

.product-information-section h2 {
  font-family: "SangBleuRegular", serif;
  font-weight: 400;
  color: #0f0f0f;
  margin-bottom: 36px;
  text-align: center;
}

.product-information {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 20px;
}

.product-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
}

.product-cooperation {
  margin-top: 20px;
  text-align: left;
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding-left: 20px; /* Indent cooperation section */
  justify-content: space-between;
}

.product-cooperation-text {
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.product-column p,
.product-cooperation-text p {
  font-family: var(--font-family);
  font-size: var(--fluid-16-18);
  font-weight: 400;
  color: #0f0f0f;
}

.product-column p strong,
.product-cooperation-text p strong {
  font-family: var(--font-family);
  font-size: var(--fluid-16-18);
  font-weight: 700;
  color: #0f0f0f;
}

.product-cooperation-text a {
  font-family: var(--font-family);
  font-size: var(--fluid-16-18);
  font-weight: 600;
  color: #8B5C2A;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;

  &:hover {
    color: #6B3305;
    text-decoration: underline;
  }
}

.product-cooperation-text a svg {
  width: 18px;
  height: 18px;
}

.partner-logos {
  display: flex;
  flex: 1;
  justify-content: left;
  align-items: center;
  gap: 32px;
  margin-top: 10px;
  padding-left: 42px; /* Indent logos */
}

.partner-logos img {
  max-width: 200px;
  height: auto;
}

.product-links {
  display: flex;
  justify-content: right;
  gap: 20px;
  margin-top: 40px;
}

.product-links-button {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #202020;
  border: solid 1.5px #d1d3d8;
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.product-links-button:hover {
  background-color: #f9f2ec;
}

/* Stock Transactions Section Styles */
.stock-transactions {
  text-align: left;
  margin: 40px auto;
  padding: 0;
  max-width: var(--container-max-width);
  font-family: "Inter", sans-serif;
}

.stock-transactions h2 {
  font-family: "SangBleuRegular", serif;
  font-weight: 400;
  color: #0f0f0f;
  margin-bottom: 10px;
  text-align: center;
}

.stock-transactions h2 span {
  background-image: linear-gradient(to top, #6b3305 100%, #ae734e 41%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stock-transactions h3 {
  font-family: "SangBleuMedium", serif;
  font-size: 24px;
  font-weight: 500;
  color: #44372c;
  margin-bottom: 20px;
}

.stock-transactions p {
  font-size: var(--fluid-16-20);
  font-weight: 400;
  color: #0f0f0f;
  margin-bottom: 50px;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.selector {
  display: flex;
  justify-content: center;
  gap: 0; /* Remove gap between buttons */
  margin-bottom: 60px;
  border: 2px solid #404040; /* Add border around the selector */
  border-radius: 50px; /* Make the selector rounded */
  overflow: hidden; /* Ensure rounded corners apply to child elements */
  width: fit-content; /* Adjust width to fit content */
  padding: 5px; /* Add padding between the border and the buttons */
  margin-left: auto;
  margin-right: auto;
}

.selector button {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 30px; /* Adjust padding for better appearance */
  border: none; /* Remove individual button borders */
  background-color: transparent;
  color: #44372c;
  cursor: pointer;
  flex: 1; /* Ensure buttons take equal space */
  min-width: 128px;
}

.selector button.active {
  background: linear-gradient(135deg, #8B5C2A 0%, #6B3305 100%);
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(107, 51, 5, 0.2);
}

/* Content transition animations */
.content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: none;
}

.content.active {
  display: block;
  animation: smoothFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.content.transitioning-out {
  display: block;
  animation: smoothFadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes smoothFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  60% {
    opacity: 0.7;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes smoothFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-15px);
  }
}

/* Smooth button transition */
.selector button {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 30px;
  border: none;
  background-color: transparent;
  color: #44372c;
  cursor: pointer;
  flex: 1;
  min-width: 128px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 50px;
}

.selector button:hover:not(.active) {
  background-color: rgba(107, 51, 5, 0.05);
}

.selector button.active {
  background: linear-gradient(135deg, #8B5C2A 0%, #6B3305 100%);
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(107, 51, 5, 0.2);
  transform: scale(1.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stock Grid Layout */
.stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
  padding: 0;
}

/* Stock Card Design - Clean Two-line */
.stock-card {
  background: #ffffff;
  border: 1px solid #e8e4e0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
  display: block;
  position: relative;
  cursor: pointer;
  height: auto;
}

.stock-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 51, 5, 0.08);
  border-color: #d4cec6;
}

/* Stock Card Content Wrapper */
.stock-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* First Line - Flag and Name */
.stock-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 24px;
}

.stock-flag {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

/* Stock Name - First Line */
.stock-name {
  font-family: "SangBleuMedium", serif;
  font-size: 16px;
  font-weight: 500;
  color: #0f0f0f;
  margin: 0;
  line-height: 24px;
  letter-spacing: -0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

/* Second Line - Ticker, Industry, Size */
.stock-info {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 20px;
}

.stock-ticker {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #8B5C2A;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #f9f2ec 0%, #f5ede5 100%);
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  line-height: 14px;
  text-transform: uppercase;
}

.stock-industry {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #6b6661;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.stock-size {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #8B5C2A;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  background: transparent;
  border: 1px solid #d4cec6;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 14px;
}

/* Stock Link - Subtle */
.stock-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-indent: -9999px;
  z-index: 1;
}

/* Hidden cards for expand/collapse */
.stock-card-hidden {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .stock-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .stock-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stock-card {
    padding: 16px;
  }
  
  .stock-industry {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .stock-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .stock-card {
    padding: 14px;
  }
  
  .stock-name {
    font-size: 15px;
  }
  
  .stock-industry {
    font-size: 11px;
  }
  
  .stock-size {
    font-size: 10px;
    padding: 2px 6px;
  }
}

.more-stocks {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

#see-all-btn {
  padding: 16px 40px !important;
  font-size: 18px !important;
  min-width: 220px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

#see-all-btn svg,
#see-all-btn i {
  width: 20px !important;
  height: 20px !important;
}

table {
  width: 80%; /* Make the table smaller */
  border-collapse: collapse;
  margin: 20px auto; /* Center the table horizontally */
  border: 1px solid #eedecd; /* Add border around the table */
  border-radius: 10px; /* Round the corners */
  overflow: hidden; /* Ensure rounded corners apply to child elements */
}

table th,
table td {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #0f0f0f;
  text-align: left;
  padding: 10px;
  border: 1px solid #eedecd;
}

table th {
  font-weight: 600;
}

table td .removed {
  color: #d9534f;
  font-weight: 500;
}

table td .added {
  color: #5cb85c;
  font-weight: 500;
}

.our-partners-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 40px 0;
  background-color: transparent;
  position: relative;
}

.our-partners-section h2 {
  font-family: "SangBleuRegular", serif;
  font-weight: 400;
  color: #0f0f0f;
  margin-bottom: 12px;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

.our-partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 10px auto 0;
  padding: 0;
}

.our-partners-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 10px;
}

.our-partners-logo img {
  max-width: 200px;
}

.risk-disclaimer-section {
  padding: 60px 0;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.risk-disclaimer-section h4 {
  font-family: "SangBleuMedium", serif;
  font-size: 28px;
  font-weight: 500;
  color: #0f0f0f;
  margin-bottom: 10px;
  line-height: 1.4;
}

.risk-disclaimer-section p {
  font-family: "Inter", sans-serif;
  font-size: var(--fluid-16-18);
  font-weight: 400;
  color: #0f0f0f;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Trades Table Styles */
.trades-table-container {
  width: 80%;
  margin: 20px auto;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.trades-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.trades-table thead {
  background: linear-gradient(135deg, #8B5C2A 0%, #6B3305 100%);
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 2px solid #E0DAD1;
}

.trades-table th {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  padding: 14px;
  border: none;
}

.trades-table tbody {
  display: block;
  max-height: 400px;
  overflow-y: auto;
}

.trades-table thead,
.trades-table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.trades-table tr {
  border-bottom: 1px solid var(--color-border);

  &:last-child {
    border-bottom: none;
  }
}

.trades-table td {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #0f0f0f;
  text-align: left;
  padding: 16px 14px;
  border:none;
  vertical-align: top;
}

.trades-table td a {
  color: #8B5C2A;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.trades-table td a:hover {
  color: #6B3305;
  text-decoration: underline;
}

/* Trade pair styling for inline display */
.trade-pair {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Removed and added item styles */
.trades-table td .removed,
.trades-table td .added {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 8px 12px;
  white-space: nowrap;
  height: 36px; /* Set consistent height */
}

.trades-table td .removed {
  color: #ff4939;
  background-color: #ffeeee;
}

.trades-table td .added {
  color: #5cb85c;
  background-color: #f0f8f0;
}

/* Remove the separator styles as they're no longer needed */
.trade-pair .separator {
  display: none;
}

/* Adjust table cell padding for better display */
.trades-table td {
  padding: 12px 14px;
  /* Force the previous styling to be overridden for these elements */
  vertical-align: middle;
}

/* Remove the stacked display for removed and added items */
.trades-table td .removed,
.trades-table td .added {
  display: inline-flex;
  margin-bottom: 0;
  width: auto;
}

/* Remove any existing ::after content that might add separators */
.trades-table td .removed::after {
  content: none;
  display: none;
}

/* Adjust table cell padding for better display */
.trades-table td {
  padding: 12px 14px;
}

.trades-table td .removed {
  color: #ff4939;
  font-weight: 500;
  display: block;
  background-color: #ffeeee;
  border-radius: 4px;
  padding: 8px 12px;

  width: fit-content;
}

.trades-table td .added {
  color: #5cb85c;
  font-weight: 500;
  display: block;
  background-color: #f0f8f0;
  border-radius: 4px;
  padding: 8px 12px;
  width: fit-content;
}

/* Remove the semicolon that was separating the items before */
.trades-table td .removed::after {
  content: "";
  display: none;
}

.trades-table tbody tr:hover {
  background-color: #f9f2ec;
}

/* Adjust the table style to match the image */
table {
  /* Remove or modify the existing table styles that conflict */
  width: auto;
  margin: 0;
  border: none;
}

/* Blog Section - uses default styles from components/blog.css */
/* Add spacing above the blog section */
.blog-section {
  margin-top: 80px;
}

/* Button styling - inherits from base.css for consistency with home.html */
/* Only override specific button styles if needed for this page */

.btn-link {
  color: #8B5C2A;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-link:hover {
  color: #6B3305;
  gap: 12px;
}

/* ============================================
   STATS SECTION STYLES (Below Title)
   ============================================ */

.stats-section {
  margin: 40px 0 60px;
  padding: 0;
}

.comparison-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  padding: 35px 60px; /* Reduced from 45px to 35px (~20% reduction) */
  background: linear-gradient(135deg, rgba(249, 242, 236, 0.4) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(139, 92, 42, 0.06);
  max-width: 1400px; /* Wider max-width */
  width: auto;
  margin: 0 auto;
  border: 1px solid rgba(224, 218, 209, 0.3);
}

.comparison-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 12px; /* Reduced from 15px */
}

/* Add vertical dividers between all items except the last */
.comparison-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  height: 40px; /* Reduced from 50px */
  width: 1px;
  background: linear-gradient(to bottom, 
    transparent, 
    rgba(139, 92, 42, 0.1) 20%, 
    rgba(139, 92, 42, 0.15) 50%, 
    rgba(139, 92, 42, 0.1) 80%, 
    transparent);
}

.comparison-stat-value {
  font-family: "SangBleuMedium", serif;
  font-size: 38px; /* Reduced from 42px */
  font-weight: 600;
  background: linear-gradient(135deg, #8B5C2A 0%, #6B3305 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px; /* Reduced from 12px */
  min-height: 38px; /* Reduced from 42px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-stat-label {
  font-family: "Inter", sans-serif;
  font-size: 12px; /* Reduced from 13px */
  font-weight: 500;
  color: #6b6661;
  text-transform: uppercase;
  letter-spacing: 0.5px; /* Reduced from 0.6px */
  line-height: 1.2; /* Reduced from 1.3 */
  max-width: 150px;
}

/* Spacer stats for centering on desktop */
.stat-spacer {
  visibility: hidden;
}

.stat-spacer::after {
  display: none !important;
}

/* Responsive - Large Tablet */
@media (max-width: 1400px) {
  .stats-section {
    margin: 40px auto 60px;
  }

  .comparison-stats {
    gap: 25px;
    padding: 32px 40px; /* Reduced */
  }
}

@media (max-width: 1200px) {
  .stats-section {
    margin: 40px auto 60px;
  }

  .comparison-stats {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
    padding: 32px 30px; /* Reduced */
  }

  /* Hide spacers on responsive views */
  .stat-spacer {
    display: none;
  }

  .comparison-stat:nth-child(2n)::after {
    display: none;
  }

  .comparison-stat:not(:nth-child(2n))::after {
    right: -12px;
    height: 35px; /* Reduced */
  }

  .comparison-stat-value {
    font-size: 36px; /* Reduced */
    min-height: 36px;
  }

  .comparison-stat-label {
    font-size: 11px; /* Reduced */
    max-width: 130px;
  }
}

/* Responsive - Tablet and Mobile (2x2 grid maintained) */
@media (max-width: 992px) {
  .stats-section {
    margin: 40px 0 60px;
  }

  .comparison-stats {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 28px 20px; /* Reduced */
  }

  .comparison-stat:nth-child(2n)::after {
    display: none;
  }

  .comparison-stat:not(:nth-child(2n))::after {
    right: -10px;
    height: 32px; /* Reduced */
  }

  .comparison-stat-value {
    font-size: 32px;
    min-height: 32px;
  }

  .comparison-stat-label {
    font-size: 10px;
    max-width: 100px;
  }
}

/* Small Mobile - 2x2 grid but smaller */
@media (max-width: 576px) {
  .stats-section {
    margin: 30px -10px 50px;
    padding: 0 10px;
  }

  .comparison-stats {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    padding: 24px 15px; /* Reduced */
    border-radius: 12px;
  }

  .comparison-stat {
    padding: 10px 5px; /* Reduced */
  }

  .comparison-stat:nth-child(2n)::after {
    display: none;
  }

  .comparison-stat:not(:nth-child(2n))::after {
    right: -8px;
    height: 28px;
  }

  .comparison-stat-value {
    font-size: 24px; /* Smaller on very small screens */
    min-height: 24px;
  }

  .comparison-stat-label {
    font-size: 9px; /* Smaller */
    max-width: 80px;
    letter-spacing: 0.3px;
  }
}



/* ============================================
   HOLDING CARD HEADER STYLING
   ============================================ */

.holding-card-header {
  padding: 0 !important;
  margin: 0 !important;
}

/* ============================================
   HOLDINGS GRID STYLING
   ============================================ */

.holdings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .holdings-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .holdings-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* ============================================
   IMAGE SIZE CONTROLS
   ============================================ */

/* Main invest section image */
.invest-chart img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

/* Why invest card icons */
.why-invest-card-icon img,
.why-invest-card-icon svg {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.why-invest-card-icon svg {
  stroke: #6b3305;
}

/* Comparison section images */
.comparison-chart-container img {
  max-width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: 8px;
}

/* Blog card images */
.blog-image-container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

/* Partner logos */
.partner-logos img,
.our-partners-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* Check mark icons in lists */
.invest-content ul li img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .invest-chart img {
    max-height: 300px;
  }
  
  .comparison-chart-container img {
    max-height: 250px;
  }
  
  .blog-image-container img {
    height: 150px;
  }
  
  .partner-logos img,
  .our-partners-logo img {
    max-height: 40px;
  }
}

/* ============================================
   UNIFORM SECTION SPACING
   ============================================ */

/* Apply uniform spacing to ALL sections */
.hero-banner,
.container,
.invest-section,
.invest-section-title,
.stats-section,
.why-invest-section,
.comparison-enhanced,
.fund-holdings-section,
.product-information-section-container,
.stock-transactions,
.blog-section,
.our-partners-section,
.risk-disclaimer-section,
app-comparison-enhanced,
app-fund-holdings {
  margin-top: 60px !important;
  margin-bottom: 40px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* First element after navbar - original spacing */
.hero-banner {
  margin-top: 0 !important;
  margin-bottom: 100px !important;
  padding-top: 0 !important;
}

/* Breadcrumb container adjustment */
.container#breadcrumb-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.invest-section-title h2 {
  margin-bottom: 0 !important;
}

.stats-section {
  margin-bottom: 100px !important;
}

/* Ensure invest section has consistent spacing */
.invest-section {
  margin-bottom: 100px !important;
}

/* Remove internal padding from components */
.comparison-enhanced {
  padding: 0 !important;
  margin: 0 !important;
}

.fund-holdings-section {
  padding: 0 !important;
  margin: 0 !important;
}

/* Comparison blocks within comparison section */
.comparison-block {
  margin-bottom: 100px !important;
}

.comparison-block:last-child {
  margin-bottom: 0 !important;
}

/* Footer spacing */
app-footer {
  margin-top: 100px !important;
}

/* Responsive adjustments - maintain uniform spacing on mobile */
@media (max-width: 768px) {
  .hero-banner,
  .container,
  .invest-section,
  .invest-section-title,
  .stats-section,
  .why-invest-section,
  .comparison-enhanced,
  .fund-holdings-section,
  .product-information-section-container,
  .stock-transactions,
  .blog-section,
  .our-partners-section,
  .risk-disclaimer-section,
  app-comparison-enhanced,
  app-fund-holdings {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
  
  .hero-banner {
    margin-top: 0 !important;
    margin-bottom: 60px !important;
    padding-top: 0 !important;
  }
  
  .container#breadcrumb-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  

  
  .stats-section {
    margin-bottom: 60px !important;
  }
  
  .invest-section {
    margin-bottom: 60px !important;
  }
  
  .comparison-block {
    margin-bottom: 60px !important;
  }
  
  app-footer {
    margin-top: 60px !important;
  }
}

/* ============================================
   TYPOGRAPHY UPDATES TO MATCH DESIGN GUIDE
   ============================================ */

/* Update all h2 headings on the page */
h2 {
  font-family: var(--font-family-heading) !important;
  font-size: var(--heading-font-size-2) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #0f0f0f !important;
}

/* Update all h3 headings on the page */
h3 {
  font-family: var(--font-family-heading) !important;
  font-size: var(--heading-font-size-3) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #0f0f0f !important;
}

/* Update all h4 headings on the page */
h4 {
  font-family: var(--font-family-heading) !important;
  font-size: var(--heading-font-size-4) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #0f0f0f !important;
}

/* Accent styling for comparison headings */
h4 .accent {
  background: linear-gradient(135deg, #8B5C2A 0%, #6B3305 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Update all paragraphs */
p {
  font-family: var(--font-family) !important;
  font-size: var(--fluid-14-16) !important;
  line-height: 1.6 !important;
  color: #3F3B37 !important;
  margin-bottom: 1rem !important;
}

/* Specific updates for hero section */
.hero-banner h1 {
  font-family: var(--font-family-heading1) !important;
  font-size: var(--heading-font-size-1) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.hero-banner p {
  font-size: var(--fluid-16-18) !important;
  line-height: 1.6 !important;
  color: #ffffff !important;
}

/* Update section titles */
.invest-section h2,
.why-invest-section h2,
.product-information-section h2,
.blog-section h2 {
  font-family: var(--font-family-heading) !important;
  font-size: var(--heading-font-size-2) !important;
  font-weight: 500 !important;
  margin-bottom: 2rem !important;
}

/* Update card titles */
.invest-card h3,
.why-invest-item h3 {
  font-family: var(--font-family-heading) !important;
  font-size: var(--heading-font-size-4) !important;
  font-weight: 500 !important;
  margin-bottom: 1rem !important;
}

/* Update blog card titles */
.blog-card h3 {
  font-family: var(--font-family-heading) !important;
  font-size: var(--heading-font-size-5) !important;
  font-weight: 500 !important;
  margin-bottom: 0.75rem !important;
}

/* ============================================
   COMPARISON BULLET POINTS ALIGNMENT
   ============================================ */

.comparison-key-points {
  padding: 30px 40px;
  margin: 30px auto;
  max-width: 900px;
}

.comparison-key-points ul {
  text-align: left !important;
  margin: 0;
  padding: 0;
}

.comparison-key-points li {
  text-align: left !important;
}

/* ============================================
   SPACING FIXES FROM omsp-spacing-fix.css
   ============================================ */

/* Consistent section spacing */
.invest-section,
.why-invest-section {
  padding: 80px 20px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Hero banner bottom spacing */
.hero-banner {
  margin-bottom: 60px;
}


/* Fund holdings spacing */
.fund-holdings-section {
  margin: 60px auto 80px !important;
  padding-top: 40px;
}

/* Product information section spacing */
.product-information-section-container {
  margin-top: 60px;
  padding: 60px 0;
}

.product-information-section {
  padding: 40px 20px !important;
}

/* Blog section spacing */
.blog-section {
  padding: 80px 20px;
  margin: 60px auto;
}

/* Partners section */
.our-partners-section {
  padding: 60px 20px;
  margin: 40px auto;
}

/* Risk disclaimer */
.risk-disclaimer-section {
  padding: 40px 20px 60px;
  margin: 40px auto 0;
}


app-fund-holdings {
  display: block;
  margin: 0;
}



/* Fix stats and key points spacing in header */
.header-stats {
  margin: 30px auto 20px !important;
}

.header-key-points {
  margin: 20px auto 0 !important;
}

/* Remove empty space between sections */
.container + .why-invest-section,
.why-invest-section + app-fund-holdings,
app-fund-holdings + .product-information-section-container {
  margin-top: 0;
}

/* Ensure consistent container widths */
.container,
.invest-section,
.why-invest-section,
.fund-holdings-section,
.product-information-section,
.blog-section,
.our-partners-section,
.risk-disclaimer-section {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Responsive padding for sections */
@media screen and (max-width: 991px) {
  .invest-section,
  .why-invest-section,
  .comparison-section,
  .product-information-section,
  .stock-transactions,
  .our-partners-section,
  .risk-disclaimer-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .invest-section-title {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 992px) {
  .invest-section,
  .why-invest-section {
    padding: 60px 20px;
  }
  
  
  .fund-holdings-section {
    margin: 40px auto 60px !important;
    padding-top: 20px;
  }
  
  .product-information-section-container {
    margin-top: 40px;
    padding: 40px 0;
  }
  
  .blog-section {
    padding: 60px 20px;
    margin: 40px auto;
  }
  
  
}

@media (max-width: 768px) {
  .invest-section,
  .why-invest-section {
    padding: 40px 15px;
  }
  
  
  .fund-holdings-section {
    margin: 30px auto 40px !important;
    padding-top: 0;
  }
  
  .product-information-section-container {
    margin-top: 30px;
    padding: 30px 0;
  }
  
  .product-information-section {
    padding: 30px 15px !important;
  }
  
  .blog-section {
    padding: 40px 15px;
    margin: 30px auto;
  }
  
  .our-partners-section {
    padding: 40px 15px;
    margin: 30px auto;
  }
  
  .risk-disclaimer-section {
    padding: 30px 15px 40px;
    margin: 30px auto 0;
  }
  
  
  
  .header-stats {
    margin: 20px auto 15px !important;
  }
  
  .header-key-points {
    margin: 15px auto 0 !important;
  }
}

@media screen and (max-width: 575px) {
  .invest-section,
  .why-invest-section,
  .comparison-section,
  .product-information-section,
  .stock-transactions,
  .our-partners-section,
  .risk-disclaimer-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .invest-section-title {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.stock-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 20px;
}

.stock-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stock-item {
  display: flex;
  gap: 15px;
  padding: 16px 24px;
  border-radius: 1rem;
  background-color: #f5f5f5;
  flex-direction: column; /* Arrange items vertically */
  text-align: center; /* Center-align text */
  flex-direction: row;
  align-items: center;
}

.stock-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E71313;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.stock-item img {
  width: 20px;
  height: auto;
}

.stock-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0f0f0f;
  display: flex;
  align-items: left;
  gap: 5px;
  justify-content: flex-start; /* Align text to the left */
  align-items: center; /* Vertically align text to the center */
  padding-left: 10px; /* Add padding to the left */
}

.stock-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  justify-content: center;
}

.stock-item .ticker {
  font-size: 12px;
  font-weight: 500;
  color: #44372c;
  background-color: #f9f2ec;
  padding: 2px 6px;
  border-radius: 5px;
}

.stock-item p {
  font-size: 14px;
  font-weight: 400;
  color: #6c757d;
  text-align: left; /* Align text to the left */
  margin: 0; /* Remove default margin for better alignment */
}

.more-stocks a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  color: #444444;
  background-color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border: solid 1px #d1d3d8;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  min-width: 200px;
  justify-content: center;
  align-items: center;
}

.more-stocks a img {
  /* Center arrow icon */
  margin-top: -4px; 
  width: 14px;
  height: auto;
}

.more-stocks:hover a {
  background-color: #f9f2ec;
}