/* Landing page — NiftyTrader-inspired layout */

.p-home.nt-home {
  padding-top: 0 !important;
  overflow-x: hidden;
}

/* ---- Hero ---- */
.nt-hero {
  position: relative;
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}

.nt-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 88% 18%, rgba(31, 134, 240, 0.12), transparent 60%),
    radial-gradient(700px 420px at 12% 88%, rgba(246, 166, 9, 0.1), transparent 60%),
    linear-gradient(180deg, var(--nt-hero-1), var(--nt-hero-2) 50%, #fff);
}

.nt-hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.nt-hero .container {
  position: relative;
  z-index: 1;
}

.nt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--nt-white);
  border: 1px solid var(--nt-brand-100);
  color: var(--nt-brand-deep);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nt-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nt-brand);
  animation: nt-pulse 1.6s ease-in-out infinite;
}

@keyframes nt-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 134, 240, 0.45); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(31, 134, 240, 0); opacity: 0.85; }
}

.nt-hero__title {
  margin: 1rem 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--nt-ink);
}

.nt-hero__title span {
  color: var(--nt-brand);
}

.nt-hero__desc {
  max-width: 36rem;
  color: var(--nt-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.nt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.nt-chip {
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid;
}

.nt-chip--nse { background: #EAF2FE; color: #0B4FA0; border-color: #CFE0FB; }
.nt-chip--bse { background: #FEF5DC; color: #8A5A07; border-color: #F7E3A6; }
.nt-chip--mcx { background: #F1ECFD; color: #4C2EB7; border-color: #DDD0F9; }
.nt-chip--crypto { background: #E8F8F1; color: #0A7A52; border-color: #BEE9D3; }

.nt-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.75rem;
  border-radius: var(--nt-radius);
  background: var(--nt-brand);
  color: #fff !important;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none !important;
  box-shadow: var(--nt-shadow-btn);
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.nt-hero__cta:hover {
  background: var(--nt-brand-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.nt-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  color: var(--nt-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.nt-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nt-trust i {
  color: var(--nt-brand);
  font-size: 0.9rem;
}

/* Product mock */
.nt-mock {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--nt-border);
  background: var(--nt-white);
  box-shadow: var(--nt-shadow-card);
  overflow: hidden;
}

.nt-mock::before {
  content: "";
  position: absolute;
  inset: -1.5rem;
  z-index: -1;
  border-radius: 2rem;
  background: radial-gradient(60% 50% at 50% 50%, rgba(31, 134, 240, 0.22), transparent 70%);
  filter: blur(24px);
  opacity: 0.7;
  pointer-events: none;
}

.nt-mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  background: var(--nt-soft);
  border-bottom: 1px solid var(--nt-border);
  font-size: 0.65rem;
  color: var(--nt-muted);
}

.nt-mock__dots {
  display: flex;
  gap: 0.35rem;
}

.nt-mock__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
}

.nt-mock__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nt-mock__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nt-up);
  animation: nt-pulse 1.6s ease-in-out infinite;
}

.nt-mock__body {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.nt-mock__card {
  border: 1px solid var(--nt-border);
  border-radius: 10px;
  padding: 0.75rem;
  background: #fff;
}

.nt-mock__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nt-muted);
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: space-between;
}

.nt-mock__price {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--nt-up);
}

.nt-mock__change {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nt-up);
  margin-top: 0.2rem;
}

.nt-mock__change.down,
.nt-mock__price.down {
  color: var(--nt-down);
}

.nt-mock__table-wrap {
  grid-column: 1 / -1;
  border: 1px solid var(--nt-border);
  border-radius: 10px;
  overflow: hidden;
}

.nt-mock__table {
  width: 100%;
  margin: 0;
  font-size: 0.72rem;
  border-collapse: collapse;
}

.nt-mock__table th,
.nt-mock__table td {
  padding: 0.45rem 0.55rem;
  text-align: center;
  border-bottom: 1px solid var(--nt-border);
}

.nt-mock__table th {
  background: var(--nt-soft);
  color: var(--nt-muted);
  font-weight: 600;
  font-size: 0.65rem;
}

.nt-mock__table td:nth-child(3) {
  font-weight: 700;
  color: var(--nt-ink);
  background: var(--nt-brand-soft);
}

.nt-mock__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.nt-mock__stat {
  border: 1px solid var(--nt-border);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  background: #fff;
}

.nt-mock__stat strong {
  display: block;
  font-size: 0.95rem;
  color: var(--nt-ink);
  margin-top: 0.15rem;
}

/* ---- Sections ---- */
.nt-section {
  padding: 4rem 0;
}

.nt-section--soft {
  background: var(--nt-soft);
}

.nt-section__eyebrow {
  display: inline-block;
  color: var(--nt-brand);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.nt-section__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--nt-ink);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.nt-section__desc {
  color: var(--nt-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

.nt-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.nt-bullets li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--nt-ink);
  font-size: 0.95rem;
}

.nt-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nt-brand);
}

.nt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--nt-brand) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.nt-link:hover {
  color: var(--nt-brand-hover) !important;
}

.nt-feature-band {
  padding: 3.5rem 0;
}

.nt-feature-band + .nt-feature-band {
  border-top: 1px solid var(--nt-border);
}

.nt-feature-visual {
  border-radius: var(--nt-radius-lg);
  border: 1px solid var(--nt-border);
  background: #fff;
  box-shadow: var(--nt-shadow-card);
  padding: 1.25rem;
  min-height: 220px;
}

.nt-feature-visual__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--nt-muted);
}

.nt-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 120px;
}

.nt-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--nt-brand), rgba(31, 134, 240, 0.35));
}

.nt-bars span:nth-child(odd) {
  background: linear-gradient(180deg, var(--nt-up), rgba(15, 179, 125, 0.35));
}

/* Tools grid */
.nt-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .nt-tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .nt-tools-grid { grid-template-columns: repeat(3, 1fr); }
}

.nt-tool {
  display: block;
  padding: 1.25rem;
  border-radius: var(--nt-radius-lg);
  border: 1px solid var(--nt-border);
  background: #fff;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  height: 100%;
}

.nt-tool:hover {
  border-color: var(--nt-brand-100);
  box-shadow: var(--nt-shadow-card);
  transform: translateY(-2px);
}

.nt-tool__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nt-brand-soft);
  color: var(--nt-brand);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.nt-tool h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--nt-ink);
}

.nt-tool p {
  margin: 0;
  color: var(--nt-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.nt-tool__tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--nt-brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Stats */
.nt-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .nt-stats { grid-template-columns: repeat(4, 1fr); }
}

.nt-stat {
  text-align: center;
  padding: 1rem;
}

.nt-stat__value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--nt-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nt-stat__label {
  color: var(--nt-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* Testimonials */
.nt-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nt-quotes { grid-template-columns: repeat(3, 1fr); }
}

.nt-quote {
  background: #fff;
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-lg);
  padding: 1.25rem;
  height: 100%;
}

.nt-quote p {
  color: var(--nt-ink);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.nt-quote__author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--nt-ink);
}

.nt-quote__role {
  font-size: 0.75rem;
  color: var(--nt-muted);
}

/* Pricing cards */
.nt-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .nt-plans { grid-template-columns: repeat(3, 1fr); }
}

.nt-plan {
  background: #fff;
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius-lg);
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.nt-plan--featured {
  border-color: var(--nt-brand);
  box-shadow: var(--nt-shadow-card);
}

.nt-plan__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--nt-brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nt-plan__name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.nt-plan__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--nt-ink);
  letter-spacing: -0.02em;
}

.nt-plan__price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nt-muted);
}

.nt-plan__desc {
  color: var(--nt-muted);
  font-size: 0.85rem;
  margin: 0.5rem 0 1rem;
}

.nt-plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}

.nt-plan li {
  padding: 0.35rem 0 0.35rem 1.35rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--nt-ink);
}

.nt-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--nt-up);
  font-weight: 700;
}

.nt-plan .nt-hero__cta,
.nt-plan .c-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* FAQ */
.nt-faq .accordion-item {
  border: 1px solid var(--nt-border) !important;
  border-radius: var(--nt-radius) !important;
  margin-bottom: 0.65rem;
  overflow: hidden;
  background: #fff;
}

.nt-faq .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--nt-ink);
  background: #fff;
  box-shadow: none !important;
  min-height: 52px;
}

.nt-faq .accordion-button:not(.collapsed) {
  color: var(--nt-brand);
  background: var(--nt-brand-soft);
}

.nt-faq .accordion-body {
  color: var(--nt-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Partners strip */
.nt-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  opacity: 0.85;
}

.nt-partners img {
  max-height: 36px;
  width: auto;
  filter: grayscale(0.2);
}

/* Mobile hero */
@media (max-width: 767.98px) {
  .nt-hero {
    padding: 1.5rem 0 2rem;
  }

  .nt-hero__cta {
    width: 100%;
  }

  .nt-mock__body {
    grid-template-columns: 1fr;
  }

  .nt-mock__table-wrap {
    display: none;
  }

  .nt-mock__stats {
    grid-template-columns: 1fr 1fr;
  }

  .nt-section {
    padding: 2.75rem 0;
  }

  .nt-feature-band {
    padding: 2.25rem 0;
  }

  .nt-hero__title {
    font-size: 1.85rem;
  }

  .nt-trust {
    flex-direction: column;
    gap: 0.55rem;
  }

  .nt-plan--featured {
    order: -1;
  }
}

@media (max-width: 374.98px) {
  .nt-hero__title {
    font-size: 1.65rem;
  }

  .nt-chips {
    gap: 0.3rem;
  }

  .nt-chip {
    font-size: 0.62rem;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  .nt-hero {
    padding: 2rem 0 2.5rem;
  }

  .nt-mock__stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .nt-hero__title,
  .nt-hero__desc,
  .nt-mock {
    animation: nt-fade-up 0.7s ease both;
  }

  .nt-hero__desc { animation-delay: 0.08s; }
  .nt-mock { animation-delay: 0.15s; }

  .nt-tool,
  .nt-plan,
  .nt-quote {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }
}

@keyframes nt-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
