:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  background: #f3f6fb;
  color: #0f172a;
  line-height: 1.7;
}

.pt-hero .container,
.pt-main .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.pt-hero {
  background: linear-gradient(120deg, #0f6efc, #5b1bff);
  color: #fff;
  padding: 56px 0;
}

.pt-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}

.pt-eyebrow {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.pt-hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0 0 10px;
}

.pt-subtitle {
  font-size: 1.05rem;
  opacity: 0.95;
}

.pt-hero-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pt-hero-meta span {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
}

.pt-hero-illustration {
  display: flex;
  justify-content: center;
}

.pt-hero-card {
  width: 100%;
  max-width: 340px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 30px;
  text-align: center;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
}

.pt-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #fff;
  color: #0f6efc;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}

.pt-main {
  padding: 40px 0 56px;
}

.pt-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
  gap: 30px;
}

.pt-tool-card,
.pt-sidebar-widget,
.pt-feature-grid article,
.pt-testimonial-card,
.pt-guides-grid article {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.pt-tool-header h2 {
  margin: 0 0 8px;
}

.pt-options {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.pt-select,
.pt-sidebar-search {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  font-size: 0.95rem;
  background: #fff;
}

.pt-checkbox {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: #475569;
  align-items: center;
}

.pt-editor {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.pt-editor textarea {
  width: 100%;
  min-height: 220px;
  border-radius: 14px;
  border: 1px solid #d6d9e8;
  padding: 14px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  background: #fefefe;
}

.pt-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.pt-meta {
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: #0f6efc;
  color: #fff;
  box-shadow: 0 12px 25px rgba(15, 110, 252, 0.3);
}

.btn-secondary {
  background: #f1f5f9;
  color: #111827;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #cbd5f5;
  color: #0f6efc;
}

.pt-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.pt-disclaimer {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #475569;
}

.pt-results {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.pt-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #dbeafe;
  overflow: hidden;
  margin: 10px 0;
}

.pt-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #10b981);
  width: 100%;
  transition: width 0.3s ease;
}

.pt-highlight-card ul {
  padding-left: 18px;
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.pt-section {
  margin-top: 36px;
}

.pt-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.pt-list {
  padding-left: 18px;
  margin: 0;
}

.pt-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.pt-testimonial-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pt-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #0f6efc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.pt-faq-item {
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.pt-faq-question {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.pt-faq-question::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.pt-faq-item.open .pt-faq-question::after {
  content: '–';
}

.pt-faq-answer {
  display: none;
  padding: 0 16px 14px;
  color: #475569;
  font-size: 0.95rem;
}

.pt-faq-item.open .pt-faq-answer {
  display: block;
}

.pt-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.pt-guides-grid a {
  color: #0f6efc;
  text-decoration: none;
  font-weight: 600;
}

.pt-sidebar-widget + .pt-sidebar-widget {
  margin-top: 16px;
}

.pt-sidebar-widget ul {
  padding-left: 18px;
  margin: 0;
}

.pt-sidebar-ad {
  height: 260px;
  border: 1px dashed #cbd5f5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 960px) {
  .pt-hero-inner,
  .pt-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pt-button-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
