/* ===== Fund Page Styles ===== */

/* Hero + Features shared module */
.fund-hero-features-module {
  background: linear-gradient(159deg, rgba(78, 66, 194, 0.11) 0%, rgba(249, 250, 252, 0) 98%), #F8F8FB;
  position: relative;
  overflow: hidden;
}

/* Hero Banner (static, no carousel) */
.fund-hero {
  background: transparent;
  position: relative;
  padding: 80px 0 0;
  overflow: hidden;
}

.fund-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4.8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  position: relative;
}

.fund-hero-text {
  flex-shrink: 0;
  max-width: 600px;
}

.fund-hero-title {
  font-size: 44px;
  font-weight: 600;
  color: #000;
  margin: 0 0 24px;
  line-height: 1.3;
}

.fund-hero-desc {
  font-size: 22px;
  font-weight: 400;
  color: #333;
  margin: 0 0 12px;
  line-height: 1.6;
}

.fund-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 60px;
  padding: 15px 30px;
  background: #514ED1;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
  margin-top: 32px;
}

.fund-hero-btn:hover {
  background: #4340b8;
  color: #fff;
  text-decoration: none;
}

.fund-hero-img {
  flex: 1;
  max-width: 560px;
  min-width: 300px;
}

.fund-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Product Category Features (4-card grid) */
.fund-features {
  background: transparent;
  padding: 10px 0 80px;
  position: relative;
}

.fund-features-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4.8%;
}

.fund-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.fund-feature-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-areas:
    "icon title"
    "icon desc";
  align-items: center;
  text-align: left;
  padding: 30px 20px;
  width: calc(50% - 20px);
  min-height: 140px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.04);
  column-gap: 20px;
  row-gap: 6px;
}

.fund-feature-icon {
  grid-area: icon;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.fund-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fund-feature-title {
  grid-area: title;
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin: 0;
  line-height: 1.4;
}

.fund-feature-desc {
  grid-area: desc;
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin: 0;
  line-height: 1.5;
}

/* Product Highlight Sections */
.fund-section {
  padding: 80px 0;
  background: #fff;
}

.fund-section--alt {
  background: #F8F8FB;
}

.fund-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.fund-section-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.fund-section-body--reverse {
  flex-direction: row-reverse;
}

.fund-section-content {
  flex: 1;
}

.fund-section-title {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin: 0 0 48px;
  line-height: 1.35;
}

.fund-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.fund-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 20px;
  line-height: 1.5;
  color: #333;
}

.fund-highlight-item::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z' fill='%23514ED1'/%3E%3C/svg%3E") no-repeat center / contain;
}

.fund-highlight-item strong {
  font-weight: 600;
  color: #000;
}

.fund-highlight-item a {
  color: #514ED1;
  text-decoration: none;
}

.fund-highlight-item a:hover {
  text-decoration: underline;
}

.fund-section-image {
  flex-shrink: 0;
  width: 420px;
}

.fund-section-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Note Section (same bg as fund-section) */
.fund-note {
  padding: 0;
  background: #fff;
}

.fund-note-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Remarks Section */
.fund-remark {
  padding: 40px 0 60px;
  background: #F8F8FB;
}

.fund-remark-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.fund-remark-note {
  font-size: 14px;
  color: #999;
  line-height: 1.8;
  margin: 0 0 32px;
}

.fund-disclaimer-title {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  margin: 0 0 12px;
}

.fund-disclaimer-text {
  font-size: 14px;
  color: #999;
  line-height: 1.8;
  margin: 0;
  white-space: pre-line;
}

/* Override airstar.css html[lang="en"] heading sizes */
html[lang="en"] .fund-hero-title {
  font-size: 40px;
}

html[lang="en"] .fund-section-title {
  font-size: 36px;
}

html[lang="en"] .fund-feature-title {
  font-size: 22px;
}

/* Override airstar.css main padding */
.fund-page main {
  padding-bottom: 0;
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .fund-hero-title {
    font-size: 40px;
  }

  .fund-hero-desc {
    font-size: 20px;
  }

  .fund-hero-img {
    max-width: 400px;
  }

  .fund-section-title {
    font-size: 34px;
  }

  .fund-section-body {
    flex-direction: column;
    gap: 40px;
  }

  .fund-section-body--reverse {
    flex-direction: column;
  }

  .fund-section-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  html[lang="en"] .fund-hero-title {
    font-size: 36px;
  }

  html[lang="en"] .fund-section-title {
    font-size: 30px;
  }

  .fund-features {
    padding: 0 0 60px;
  }

  .fund-features-grid {
    gap: 24px;
  }

  .fund-feature-item {
    width: calc(50% - 12px);
    padding: 24px 16px;
    min-height: 120px;
  }

  .fund-feature-icon {
    width: 64px;
    height: 64px;
  }

  .fund-feature-title {
    font-size: 20px;
  }

  .fund-feature-desc {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .fund-hero {
    padding: 60px 0 0;
  }

  .fund-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .fund-hero-title {
    font-size: 32px;
  }

  .fund-hero-desc {
    font-size: 18px;
  }

  .fund-hero-btn {
    width: auto;
    height: auto;
    font-size: 18px;
    padding: 12px 32px;
  }

  .fund-hero-img {
    max-width: 320px;
    min-width: unset;
    width: 80%;
  }

  .fund-section {
    padding: 60px 0;
  }

  .fund-section-title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .fund-highlight-list {
    gap: 24px;
  }

  .fund-highlight-item {
    font-size: 16px;
  }

  .fund-highlight-item::before {
    width: 18px;
    height: 18px;
    margin-top: 3px;
  }

  .fund-remark {
    padding: 30px 0 40px;
  }

  .fund-remark-note {
    font-size: 12px;
  }

  .fund-disclaimer-title {
    font-size: 14px;
  }

  .fund-disclaimer-text {
    font-size: 12px;
  }

  html[lang="en"] .fund-hero-title {
    font-size: 28px;
  }

  html[lang="en"] .fund-section-title {
    font-size: 24px;
  }

  .fund-features {
    padding: 0 0 40px;
  }

  .fund-features-grid {
    flex-direction: column;
    gap: 16px;
  }

  .fund-feature-item {
    width: 100%;
    padding: 20px 16px;
    min-height: 100px;
  }

  .fund-feature-icon {
    width: 56px;
    height: 56px;
  }

  .fund-feature-title {
    font-size: 18px;
  }

  .fund-feature-desc {
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .fund-section-inner,
  .fund-remark-inner {
    padding: 0 4.8%;
  }

  .fund-hero-title {
    font-size: 28px;
  }

  .fund-hero-desc {
    font-size: 16px;
  }

  .fund-hero-img {
    width: 90%;
  }

  .fund-section-body {
    align-items: flex-start;
  }

  .fund-section-title {
    font-size: 24px;
    text-align: left;
  }

  .fund-highlight-list {
    align-items: flex-start;
  }

  .fund-highlight-item {
    font-size: 15px;
  }

  .fund-section-image {
    max-width: 300px;
  }
}

/* ===== FAQ Button ===== */
.stocks-faq-section {
  text-align: center;
  padding: 60px 0 80px 0;
}

.stocks-faq-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stocks-faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: #4E42C2;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 12px rgba(78, 66, 194, 0.3);
}

.stocks-faq-btn:hover {
  background: #3d3399;
  color: #fff;
  text-decoration: none;
  box-shadow: 0px 6px 16px rgba(78, 66, 194, 0.4);
  transform: translateY(-2px);
}

.stocks-faq-btn svg {
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .stocks-faq-section {
    padding: 40px 0 60px 0;
  }

  .stocks-faq-btn {
    padding: 14px 32px;
    font-size: 16px;
  }

  .stocks-faq-btn svg {
    width: 18px;
    height: 18px;
  }
}
