.home-section{
  background-color: white;

}
html {
  scroll-behavior: smooth;
}

/* Hero Section */
.hero-section1 {
  background: linear-gradient(180deg, #F3F8FF 22.08%, #22C0FF 140.74%);
  text-align: center;
  position: relative;
  padding-top: 104px;
  padding-bottom: 100px; /* enough space for content */
  z-index: 1;
  overflow: visible; /* allow image to overflow */
}

.gradient-text {
  background: linear-gradient(319deg, #FF37DF -23.39%, #6E00FF 73.14%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
  color: transparent;
}

.hero-heading {
  font-size: 90px;
  font-weight: 900;
  color: #000;
  line-height: 1;
}

.tweak {
  font-size: 22px;
  color: #000000B2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
  margin-bottom: 22px;
}

.icon-content {
  font-size: 16px;
  color: #142830;
  margin-top: 8px;
  line-height: 1.4;
}

.hero-buttons .btn-free {
    color: linear-gradient(224deg, #0159C8 -12.28%, #077EAE 119.38%);
    background-color: white;
    border: none;
    padding: 14px 16px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    
}

.hero-buttons .btn-plans {
    background: #024DA0;
    color: #ffff;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.hero-icons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center; /* centers the icons horizontally */
}


.hero-img-web {
  margin-top: -80px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  position: relative;
  
}

.hero-img-web img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 12px;
}

.hero-img-mob{
  display: none;
}


/* AI Powerhouse section */

.powerhouse-section{
  margin-top: 90px;
}

.powerhouse {
  text-align: center;
  font-size: 44px;
  font-weight: 700;
  background: linear-gradient(224deg, #0159C8 -12.28%, #077EAE 119.38%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.research{
  text-align: center;
  font-size: 20px;
}


.features-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 44px;
  padding-left: 70px;
  padding-right: 70px;
}

.features-left,
.features-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-left {
  margin-top: 40px; /* shift slightly down */
}

.features-right {
  margin-top: -20px; /* shift slightly up */
}

.feature {
  text-align: left;
  border: 2px solid #EAEAEA;
  border-radius: 12px;
  width: 560px;
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature:hover {
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-6px);
}


.feature > img {
  width: 100%;
  border-radius: 12px;
  border-bottom: 2px solid #EAEAEA;
}

/* Hover text + icon container */
.hover-row {
  display: none;          /* hidden initially */
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.hover-text {
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(224deg, #0159C8 -12.28%, #077EAE 119.38%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hover-icon {
  width: 16px;
  height: 16px;
}

/* Reveal on feature hover */
.feature:hover .hover-row {
  display: flex;
}


.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0px;
  color: black;
}

.feature p {
  font-size: 14px;
  color: #4D4D4D;
  line-height: 1.5;
  margin-bottom: 0px;
}

.content {
  padding-left: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
  width: 90%;
}


/* Smarter Steps Section */
.smarter-section{
  margin-top: 140px;
  padding-left: 70px;
  padding-right: 70px;
}

.steps-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 44px;
  gap: 26px;
  max-width: 100%;
}

.step {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.step-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid #EAEAEA;
  border-radius: 12px;
  padding-left: 38px;
  padding-right: 38px;
  padding-top: 36px;
  padding-bottom: 36px;
  width: 100%;
  background: #F5F9FC;
}

.step-text {
  flex: 1;
}

.step-number {
  display: inline-block;
  font-weight: 600;
  color: #7B7B7B;
  margin-bottom: 12px;

  border: 2px solid #EAEAEA; 
  border-radius: 120px; 
  padding: 8px 16px;
  font-size: 16px;
}

.step h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #000;
  font-weight: 600;
}

.step p {
  font-size: 16px;
  color: #000;
  margin-bottom: 12px;
  width: 550px;
}

.btn-know {
  background: #023E8E;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

.step-image img {
  width: 100%;
}

/* Broker Section */
.brokers-section {
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(316deg, #FF37DF -64.76%, #6E00FF 105.39%);
  padding: 70px;
  margin-top: 140px;
}

.brokers-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brokers-text h2 {
  font-size: 44px;
  font-weight: bold;
  line-height: 1.3;
  color: #fff;
}

.brokers-text h2 .highlight {
  color: #C886FB;
}

.brokers-logos {
  overflow: hidden;
  width: 613px;
  position: relative;
}

.logos-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scroll-x 30s linear infinite;
}


.logo-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: white;
  border: 2px solid #F5F9FC;
  border-radius: 6px;
  padding: 20px;
  height: 94px;
  width: 94px;
}

.logo-wrapper img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* seamless loop */
@keyframes scroll-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* move half (1 set), second set takes over */
  }
}

/* Plans Section */

.plans-section{
  background: white;
  margin-top: 140px;
  
}

.pricing-section {
  padding-top:60px;
}

.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px; /* reduce spacing between cards */
  justify-content: center; /* center the cards */
  max-width: 1000px; /* tighter container */
  margin: auto;
}

.plan-card {
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
  width: 290px; /* fixed width */
  border: 2px solid #EAEAEA; /* default gray border */
}

.plan-card.suggested {
  position: relative;
  border-radius: 12px;
  background: #ECF5FB;
  width: 290px;
  padding: 40px 20px 30px;
  z-index: 1;

  border: none; /* ✅ remove gray border for suggested */
}

.plan-card.suggested::before {
  content: "";
  position: absolute;
  inset: 0; /* full size */
  border-radius: 12px;
  padding: 2px; /* border thickness */
  background: linear-gradient(319deg, #FF37DF -23.39%, #6E00FF 73.14%);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}


.plan-card .badge {
  position: absolute;
  top: -28px;
  left: 0; 
  right: 0;
  background: linear-gradient(316deg, #FF37DF -64.76%, #6E00FF 105.39%);
  font-size: 12px;
  font-weight: bold;
  padding: 16px 6px 10px;          /* full width, no side gaps */
  border-radius: 8px 8px 0 0; /* match card corners */
  text-align: center;
}

.plan-card h3 {
  text-align: left;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #000;
}

.plan-card .desc {
  text-align: left;
  font-size: 14px;
  color: #000;
  margin-bottom: 4px;
}

.plan-card .price {
  text-align: left;
  font-size: 42px;
  font-weight: bold;
  color: #2D2423;
  margin-bottom: 14px;
}

.plan-card .price span {
  font-size: 14px;
  font-weight: normal;
  color: #616163;
}

.subscribe-btn {
  display: inline-block; /* ensures it behaves like a block but still inline */
  text-align: center;    /* centers the text */
  width: 100%;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid var(--Algo-Test-Login-Gradient, #0159C8);
  background: #FFF;
  color: #0159C8;
  text-decoration: none; /* remove underline from links */
  transition: all 0.3s ease;
}


/* Suggested card button style */
.plan-card.suggested .subscribe-btn {
  border-radius: 8px;
  border: 0;
  background: var(--Gra-Test, linear-gradient(319deg, #FF37DF -23.39%, #6E00FF 73.14%));
  color: #FFF; /* white text so it stands out */
}

.plan-features {
  padding: 0;  /* remove default ul padding */
  margin: 0;   /* optional: remove default margin */
}

.plan-features li {
  font-size: 14px;
  text-align: left;
  margin: 24px 0;
  color: #333; /* text color */
  list-style: none;
  position: relative;
  padding-left: 22px;
}

/* Green tick */
.plan-features li:not(.not-included)::before {
  content: "✓";
  color: #10B981; /* green */
  position: absolute;
  left: 0;
}

/* Red cross */
.plan-features li.not-included::before {
  content: "✗";
  color: #EF4444; /* red */
  position: absolute;
  left: 0;
}

/* Why Choose Shares Bazaar Section */

.why-sb{
  margin-top: 140px;
  padding: 0 70px;
  background: white;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  gap: 18px;
  width: 100%;
  margin: auto;
  margin-top: 44px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  border-radius: 8px;
  padding: 12px;
  transition: background 0.3s ease;
  border: 2px solid #EAEAEA;
  background: #F5F9FC;
}

/* When feature is opened/active */
.feature-item.active {
  background: #F5F9FC;
}

.feature-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.feature-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 0;
}

.feature-item p {
  font-size: 14px;
  color: #000000B2;
  line-height: 1.5;
}

/* FAQ Section */

.faq-section {
  margin-top: 140px;
  padding: 0 70px;
}


/* FAQ List */
.faq-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 44px;
}

/* FAQ Item */
.faq-item {
  border-radius: 8px;
  padding: 18px;
  border: 2px solid #EAEAEA;
}

/* Question Button */
.faq-question {
  width: 100%;
  background: transparent; /* now transparent since wrapper has bg */
  border: none;
  outline: none;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0; /* remove individual padding */
}

.faq-icon {
  font-size: 14px;
  transition: transform 0.3s ease;
}

/* Rotate icon when active */
.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

/* Change background of wrapper when active */
.faq-item.active {
  background: #F5F9FC;
}

/* Answer Section */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  margin-top: 8px; /* spacing between question and answer */
  transition: max-height 0.3s ease;
}

.faq-answer.show {
  max-height: 500px; /* enough height for content */
}

/* Contact Section */

.contact-section {
  margin-top: 140px;
  padding: 0 70px;
  background: white;
}

.contact-section h2 {
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  color: #111827;
}

/* Use gap for spacing between form groups */
.contact-form {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 2px solid #EAEAEA;
  border-radius: 8px;
  padding: 24px 16px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
}

.contact-form textarea {
  resize: none;
}

.submit-btn {
  display: inline-block;
  width: fit-content; /* ensures button only fits its text */
  padding: 15px 77px;
  background: linear-gradient(224deg, #0159C8 -12.28%, #077EAE 119.38%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}


/* AI Trading Hero Section */
.ai-trading-hero {
  margin-top: 140px;
  padding-left:  70px;
  border-radius: 12px;
  background: linear-gradient(316deg, #FF37DF -64.76%, #6E00FF 105.39%);
}

/* Container */
.ai-hero-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* make both sides equal height */
  gap: 40px;
  width: 100%;
  width: 100%;
  position: relative;
}

/* Left Content */
.ai-hero-content {
  flex: 1;
  padding: 66px 0;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center text */
}

/* Right Image */
.ai-hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end; /* move to right */
  align-items: flex-end;     /* move to bottom */
  padding-top: 50px;
}

.ai-hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ai-hero-content h1 {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 0;
  color: white;
}

.ai-title{
  color: #C685FC;
}

.ai-hero-content p {
  font-size: 18px;
  color: white;
  margin-bottom: 14;
}

/* Button */
.ai-hero-btn {
    color: linear-gradient(224deg, #0159C8 -12.28%, #077EAE 119.38%);
    background-color: white;
    border: none;
    padding: 14px 16px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45%;
    font-size: 16px;
}

.ai-hero-btn .btn-icon {
  width: 18px;
  height: 18px;
}


/* Mobile Responsive CSS */
@media (max-width: 768px) {

  /* Hero Section */
  .hero-section1 {
    text-align: center;
    position: relative;
    padding-top: 70px;
    padding-bottom: 53px; /* enough space for content */
    z-index: 1;
    overflow: visible; /* allow image to overflow */
  }

  .hero-heading {
    font-size: 26px;
    margin-bottom: 6px;
  }

  .tweak {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 14px;
    padding: 0 20px;
  }

  .icon-content {
    font-size: 12px;
    max-width: 100%;
    padding: 0 20px;
  }

  .hero-buttons .btn-free,
  .hero-buttons .btn-plans {
    padding: 10px 14px;
    font-size: 14px;
  }

  .hero-img-web {
    display: none;
  }

  .hero-img-mob {
    display: block;
    width: 100%;
  }

  .hero-img-mob img {
    width: 100%;   /* image fills container */
    height: auto;  /* keeps aspect ratio */
    object-fit: contain; /* makes sure it’s not cropped */
    padding: 0 20px;
  }

  /* AI Powerhouse Section */
  .powerhouse-section {
    margin-top: 50px;
    padding: 0 20px;
  }

  .powerhouse {
    font-size: 22px;
  }

  .research {
    font-size: 14px;
  }

  .features-wrapper {
    flex-direction: column;
    gap: 18px;
    padding-left: 0;
    padding-right: 0;
  }
  .hover-row {
    display: flex !important;  /* always show */
    margin-top: 6px;
  }

  .feature {
    width: 100%;
  }
  .features-left{
    margin-top: 0;
    margin-bottom: 18px;
  }
  .feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0px;
  color: black;
}

.feature p {
  font-size: 12px;
  color: #4D4D4D;
  line-height: 1.5;
  margin-bottom: 0px;
}
.feature:hover {
    box-shadow: none;
    transform: none;
  }


    /* Smarter Steps Section */
    .smarter-section {
      margin-top: 70px;
      padding: 0 20px;
    }

    .steps-wrapper {
      margin-top: 28px;
      gap: 18px;
    }

    .step-content {
      flex-direction: column;  /* stack image on top */
      align-items: end;
      text-align: left;
      padding: 14px;
      max-width: 100%;
      box-sizing: border-box;
    }

    .step-image {
      order: -1;
      margin-bottom: 16px;
      width: 100%;
      height: auto;
    }

    .step-text {
      width: 100%; /* take full width on mobile */
      box-sizing: border-box;
      padding: 0 10px; /* optional: horizontal padding */
    }

    .step p {
      width: 100%; /* prevent overflow */
      max-width: 100%; /* remove fixed 550px */
      font-size: 12px;
      margin-bottom: 8px;
    }

    .step h3 {
      font-size: 18px;
      margin-bottom: 4px;
    }

    .step-number {
      font-size: 10px;
      padding: 4px 10px;
    }

    .btn-know {
      background: #023E8E;
      color: #fff;
      border: none;
      padding: 10px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 12px;
    }

  /* Broker Section */
  .brokers-section {
    padding: 26px 20px;
    margin-top: 70px;
  }
  .brokers-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
  }

  .brokers-text h2 {
    font-size: 22px;
    text-align: left;
    font-weight: bold;
    line-height: 1.3;
    color: #fff;
  }
  .brokers-container {
    flex-direction: column;
    gap: 30px;
  }

  .brokers-logos {
    width: 100%;
  }

  .logo-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: white;
    border: 2px solid #F5F9FC;
    border-radius: 6px;
    padding: 8px;
    height: 44px;
    width: 44px;
  }

  /* Plans Section */
  .pricing-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 16px;
    max-width: 100%;
  }
  .pricing-section{
    padding-top: 28px;
  }

  .plan-card {
    width: 100%;
    padding: 14px;
  }
  .plan-card.suggested {
    position: relative;
    border-radius: 12px;
    background: #ECF5FB;
    width: 100%;
    padding: 40px 20px 30px;
    z-index: 1;
    margin-top: 30px;

    border: none; /* ✅ remove gray border for suggested */
  }

  .plan-card.suggested::before {
    content: "";
    position: absolute;
    inset: 0; /* full size */
    border-radius: 12px;
    padding: 2px; /* border thickness */
    background: linear-gradient(319deg, #FF37DF -23.39%, #6E00FF 73.14%);
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: -1;
  }
  .plan-card .badge {
    position: absolute;
    top: -28px;
    left: 0; 
    right: 0;
    background: linear-gradient(316deg, #FF37DF -64.76%, #6E00FF 105.39%);
    font-size: 12px;
    font-weight: bold;
    padding: 16px 6px 10px;          /* full width, no side gaps */
    border-radius: 8px 8px 0 0; /* match card corners */
    text-align: center;
  }

  .plan-card h3 {
    font-size: 20px;
  }

  .plan-card .desc {
    font-size: 12px;
  }

  .plan-card .price {
    font-size: 34px;
    margin-bottom: 10px;
  }

  .plan-card .price span {
    font-size: 14px;
    font-weight: normal;
    color: #616163;
  }

  .subscribe-btn {
    width: 100%;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid var(--Algo-Test-Login-Gradient, #0159C8);
    background: #FFF;
    color: #0159C8; /* text matches border color */
    transition: all 0.3s ease;
  }

  /* Suggested card button style */
  .plan-card.suggested .subscribe-btn {
    border-radius: 8px;
    border: 0;
    background: var(--Gra-Test, linear-gradient(319deg, #FF37DF -23.39%, #6E00FF 73.14%));
    color: #FFF; /* white text so it stands out */
  }

  .plan-features {
    padding: 0;  /* remove default ul padding */
    margin: 0;   /* optional: remove default margin */
  }

  .plan-features li {
    font-size: 14px;
    text-align: left;
    margin: 14px 0;
    color: #333; /* text color */
    list-style: none;
    position: relative;
    padding-left: 22px;
  }

  /* Green tick */
  .plan-features li:not(.not-included)::before {
    content: "✓";
    color: #10B981; /* green */
    position: absolute;
    left: 0;
  }

  /* Red cross */
  .plan-features li.not-included::before {
    content: "✗";
    color: #EF4444; /* red */
    position: absolute;
    left: 0;
  }

  /* Why Choose Shares Bazaar Section */
  .why-sb{
    margin-top: 70px;
    padding: 0 20px;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item h3 {
    font-size: 16px;
  }

  .feature-item p {
    font-size: 12px;
  }

  /* FAQ Section */
  .faq-section {
    margin-top: 70px;
    padding: 0 20px;
  }
  .faq-item{
    padding: 12px;
  }
  .faq-main{
    margin-top: 28px;
  }

  .faq-question {
    font-size: 14px;
  }

  .faq-answer {
    font-size: 12px;
  }

  /* Contact Section */
  .contact-section {
    margin-top: 70px;
    padding: 0 20px;
  }

  .contact-section h2 {
    font-size: 14px;
    margin-bottom: 0;
  }

  .contact-form {
    padding: 18px 12px;
    gap: 16px;
    margin-top: 28px;
  }

  .submit-btn {
    padding: 12px 40px;
    font-size: 14px;
  }

  /* AI Trading Hero Section */
  .ai-trading-hero {
    margin-top: 70px;
    padding: 40px 20px;
    align-items: center;   /* center horizontally */
  justify-content: center; /* center vertically */
  text-align: center;    /* center text */
  }

  .ai-hero-container {
    flex-direction: column;
    gap: 20px;
  }

  .ai-hero-content {
    padding: 0;
  }
  .ai-hero-content h1 {
    font-size: 28px;
  }

  .ai-hero-content p {
    font-size: 14px;
  }

  .ai-hero-btn {
    padding: 10px 14px;
    font-size: 14px;
    width: 60%;
    margin: 0 auto;  /* center button */
    display: block;
  }
  .ai-hero-image {
  display: none;
}
}
