/* ===== TECHSTOCK — PRODUCT LANDING PAGE STYLES ===== */

/* Hero adjustments */
.ts-hero { text-align: left; }

.ts-hero__badge {
  display: inline-block;
  background: rgba(30, 111, 255, 0.12);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ts-hero__subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.ts-hero__trust {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Problems Grid */
.ts-problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ts-problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border-top: 3px solid #ff4d6d;
}

.ts-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #ff4d6d;
}

.ts-problem-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.ts-problem-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.ts-problem-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Features Grid */
.ts-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ts-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ts-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #38bdf8);
}

.ts-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.ts-feature-card__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.ts-feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.ts-feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Steps (How it works) */
.ts-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.ts-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 20px;
}

.ts-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.ts-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.ts-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.ts-step__connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 28px;
  flex-shrink: 0;
  position: relative;
}

.ts-step__connector::after {
  content: '→';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-size: 1.2rem;
  background: var(--bg-section);
  padding: 0 4px;
}

/* CTA Box */
.ts-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ts-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #38bdf8, var(--accent));
}

.ts-cta-box__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.ts-cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}

.ts-cta-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ts-cta-form input,
.ts-cta-form select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
  width: 100%;
}

.ts-cta-form input:focus,
.ts-cta-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.ts-cta-form input::placeholder { color: var(--text-muted); }

.ts-cta-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236a87b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.ts-cta-form select option {
  background: var(--bg-card);
  color: var(--text);
}

.ts-cta-form__btn {
  padding: 16px 36px;
  font-size: 1rem;
  width: 100%;
}

.ts-cta-box__contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.ts-cta-box__contact > p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.ts-cta-box__links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Dual pricing */
.pricing__price-alt {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: -4px;
  padding: 4px 12px;
  background: rgba(30, 111, 255, 0.06);
  border-radius: 20px;
  display: inline-block;
}

/* FAQ */
.ts-faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ts-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.ts-faq-item.open {
  border-color: var(--accent);
}

.ts-faq-item__q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.ts-faq-item__q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 300;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.ts-faq-item.open .ts-faq-item__q::after {
  content: '−';
}

.ts-faq-item__q:hover {
  color: var(--accent);
}

.ts-faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.ts-faq-item.open .ts-faq-item__a {
  max-height: 200px;
  padding: 0 24px 20px;
}

.ts-faq-item__a p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Footer back link */
.ts-footer__back {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.ts-footer__back:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ts-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ts-problems__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .ts-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .ts-step__connector {
    width: 2px;
    height: 40px;
    margin: 0 auto;
  }
  .ts-step__connector::after {
    content: '↓';
  }
}

@media (max-width: 768px) {
  .ts-features__grid {
    grid-template-columns: 1fr;
  }
  .ts-cta-box {
    padding: 40px 24px;
  }
  .ts-cta-form__row {
    grid-template-columns: 1fr;
  }
  .ts-cta-box__links {
    flex-direction: column;
    align-items: stretch;
  }
}
