/* ================================================
   VIRTUAL TROUBLESHOOTING PAGE — STYLES
   Extends the TC Appliance design system
   ================================================ */

/* Hero Section */
.ts-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  overflow: hidden;
  padding-top: var(--header-height);
}
.ts-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: var(--cyan-500);
  border-radius: 50%;
  filter: blur(160px);
  opacity: .08;
  top: -15%; right: -10%;
  animation: float-orb 10s ease-in-out infinite;
}
.ts-hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: var(--pink-500);
  border-radius: 50%;
  filter: blur(140px);
  opacity: .06;
  bottom: -20%; left: -8%;
  animation: float-orb 12s ease-in-out infinite reverse;
}
.ts-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.ts-hero-content { max-width: 600px; }
.ts-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(0,229,255,.08);
  border: 1px solid rgba(0,229,255,.2);
  color: var(--cyan-400);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
}
.ts-hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--cyan-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
.ts-hero h1 {
  font-size: var(--fs-6xl);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: var(--space-6);
  letter-spacing: -.04em;
}
.ts-hero h1 .grad {
  background: linear-gradient(135deg, var(--cyan-400), var(--pink-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ts-hero-sub {
  font-size: var(--fs-xl);
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.ts-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
.ts-hero-stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.08);
}
.ts-stat { text-align: center; }
.ts-stat-val {
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: var(--cyan-400);
  line-height: 1;
}
.ts-stat-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: var(--space-1);
}

/* Hero Visual — Feature Card */
.ts-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ts-feature-card {
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,229,255,.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  width: 100%;
  max-width: 420px;
}
.ts-feature-card h3 {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-6);
  text-align: center;
}
.ts-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.ts-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  transition: all .25s;
}
.ts-feature-item:hover {
  background: rgba(0,229,255,.06);
  border-color: rgba(0,229,255,.15);
}
.ts-feature-item .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.ts-feature-item .text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}
.ts-feature-item .text strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* ============ HOW IT WORKS ============ */
.ts-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  counter-reset: step;
}
.ts-step {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  position: relative;
}
.ts-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, var(--cyan-500), var(--purple-500));
  color: var(--white);
  font-size: var(--fs-xl);
  font-weight: 900;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0,229,255,.25);
}
.ts-step h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--white);
}
.ts-step p {
  font-size: var(--fs-sm);
  color: var(--gray-400);
  line-height: 1.7;
}
/* connector line between steps */
.ts-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  right: -24px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-500), transparent);
  opacity: .3;
}

/* ============ PRICING TABLE ============ */
.ts-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}
.ts-pricing-toggle span {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,.5);
  transition: color .25s;
}
.ts-pricing-toggle span.active {
  color: var(--white);
}
.ts-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background .3s;
}
.ts-toggle.active {
  background: linear-gradient(135deg, var(--cyan-500), var(--purple-500));
}
.ts-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.ts-toggle.active::after {
  transform: translateX(24px);
}
.ts-save-badge {
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-left: var(--space-2);
}

.ts-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1100px;
  margin: 0 auto;
}
.ts-plan {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.ts-plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,229,255,.1);
}
.ts-plan--featured {
  border-color: var(--cyan-500);
  background: rgba(0,229,255,.04);
}
.ts-plan--featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan-500), var(--purple-500));
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.ts-plan-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
}
.ts-plan-name {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.ts-plan-desc {
  font-size: var(--fs-sm);
  color: var(--gray-400);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}
.ts-plan-price {
  margin-bottom: var(--space-6);
}
.ts-plan-price .amount {
  font-size: var(--fs-5xl);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.ts-plan-price .period {
  font-size: var(--fs-sm);
  color: var(--gray-400);
  margin-left: 4px;
}
.ts-plan-price .note {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  margin-top: var(--space-2);
}
.ts-plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.06);
}
.ts-plan-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
}
.ts-plan-feature .check {
  color: var(--green-400);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.ts-plan-feature .x-mark {
  color: var(--gray-600);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.ts-plan-feature .highlight-val {
  color: var(--cyan-400);
  font-weight: 700;
}
.ts-plan .btn {
  width: 100%;
  text-align: center;
}

/* ============ COMPARISON TABLE ============ */
.ts-comparison {
  margin-top: var(--space-16);
  overflow-x: auto;
}
.ts-comparison table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.ts-comparison th,
.ts-comparison td {
  padding: var(--space-4) var(--space-5);
  text-align: center;
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ts-comparison th {
  color: var(--white);
  font-weight: 700;
  background: rgba(255,255,255,.03);
}
.ts-comparison th:first-child,
.ts-comparison td:first-child {
  text-align: left;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}
.ts-comparison td {
  color: rgba(255,255,255,.55);
}
.ts-comparison .col-featured {
  background: rgba(0,229,255,.03);
  border-left: 1px solid rgba(0,229,255,.1);
  border-right: 1px solid rgba(0,229,255,.1);
}
.ts-comparison .val-free {
  color: var(--green-400);
  font-weight: 700;
}
.ts-comparison .val-discount {
  color: var(--cyan-400);
  font-weight: 600;
}

/* ============ GUARANTEE SECTION ============ */
.ts-guarantee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.ts-guarantee-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all .3s;
}
.ts-guarantee-card:hover {
  background: rgba(0,229,255,.04);
  border-color: rgba(0,229,255,.12);
  transform: translateY(-4px);
}
.ts-guarantee-card .icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}
.ts-guarantee-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.ts-guarantee-card p {
  font-size: var(--fs-sm);
  color: var(--gray-400);
  line-height: 1.7;
}

/* ============ VS COMPETITORS ============ */
.ts-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.ts-vs-card {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
}
.ts-vs-card--them {
  background: rgba(255,62,62,.04);
  border: 1px solid rgba(255,62,62,.12);
}
.ts-vs-card--us {
  background: rgba(0,229,255,.04);
  border: 1px solid rgba(0,229,255,.15);
}
.ts-vs-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.ts-vs-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.ts-vs-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.ts-vs-list li .icon { flex-shrink: 0; }

/* ============ FAQ ============ */
.ts-faq-list {
  max-width: 800px;
  margin: var(--space-10) auto 0;
}
.ts-faq-item {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: all .25s;
}
.ts-faq-item:hover {
  border-color: rgba(0,229,255,.2);
}
.ts-faq-item.active {
  border-color: var(--cyan-500);
  box-shadow: 0 4px 16px rgba(0,229,255,.08);
}
.ts-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--white);
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: color .2s;
  font-family: var(--font-family);
}
.ts-faq-item.active .ts-faq-q {
  color: var(--cyan-400);
}
.ts-faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s;
  font-size: 1.2rem;
  color: var(--gray-400);
}
.ts-faq-item.active .ts-faq-toggle {
  background: linear-gradient(135deg, var(--cyan-500), var(--purple-500));
  color: var(--white);
  transform: rotate(45deg);
}
.ts-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.ts-faq-a-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--gray-400);
}
.ts-faq-a-inner a {
  color: var(--cyan-400);
  font-weight: 600;
}
.ts-faq-item.active .ts-faq-a {
  max-height: 400px;
}

/* ============ CTA BOTTOM ============ */
.ts-cta {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.ts-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: var(--pink-500);
  border-radius: 50%;
  filter: blur(140px);
  opacity: .06;
}
.ts-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.ts-cta-content h2 {
  font-size: var(--fs-4xl);
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-4);
  letter-spacing: -.03em;
}
.ts-cta-content p {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.6);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.ts-cta-phone {
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  transition: .2s;
}
.ts-cta-phone:hover { color: var(--cyan-400); }

/* ============ SUPPORTED BRANDS ============ */
.ts-brand-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  letter-spacing: 0.01em;
  transition: all 0.25s;
}

.ts-brand-tag:hover {
  background: rgba(0,229,255,.08);
  border-color: rgba(0,229,255,.2);
  color: #fff;
  transform: translateY(-2px);
}

.ts-brand-tag--highlight {
  border-color: rgba(0,229,255,.15);
  color: rgba(255,255,255,.8);
  background: rgba(0,229,255,.04);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1280px) {
  .ts-pricing-grid { grid-template-columns: repeat(2, 1fr) !important; max-width: 900px; margin: 0 auto; }
}

@media (max-width: 1024px) {
  .ts-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ts-hero-content { max-width: 100%; }
  .ts-hero h1 { font-size: var(--fs-5xl); }
  .ts-hero-actions { justify-content: center; }
  .ts-hero-stats { justify-content: center; }
  .ts-hero-visual { display: none; }
  .ts-steps { grid-template-columns: repeat(2, 1fr); }
  .ts-step:not(:last-child)::after { display: none; }
  .ts-pricing-grid { grid-template-columns: 1fr !important; max-width: 440px; margin: 0 auto; }
  .ts-guarantee { grid-template-columns: 1fr; }
  .ts-vs { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ts-hero h1 { font-size: var(--fs-4xl); }
  .ts-steps { grid-template-columns: 1fr; }
  .ts-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-4);
  }
  .ts-hero-actions { flex-direction: column; }
  .ts-hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .ts-hero h1 { font-size: 2rem; }
  .ts-hero-stats { grid-template-columns: 1fr; }
}
