#ctws-home,
.ctws-page {
  overflow-x: hidden;
}

/* Inner-page title banner (About, Services, Pricing, etc.) */
.ctws-page-hero {
  padding: 70px 6vw 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% -10%, rgba(63, 179, 156, 0.1), transparent 60%);
}
.ctws-page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin: 0 0 14px;
}
.ctws-page-hero p {
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Two-column content section (image + text) */
.ctws-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 6vw;
  max-width: 1240px;
  margin: 0 auto;
}
.ctws-split.ctws-split-reverse {
  direction: rtl;
}
.ctws-split.ctws-split-reverse > * {
  direction: ltr;
}
.ctws-split-media {
  border-radius: 18px;
  background: linear-gradient(135deg, #eef8f6, #fbe9df);
  border: 1px solid var(--border);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a95a1;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Generated stand-in illustration (see ctws_illustration() in functions.php) —
   a gradient panel with a line icon, used until real photos/screenshots are
   dropped in via the Media Library. */
.ctws-illustration {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 20%, rgba(63, 179, 156, 0.16), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(232, 85, 46, 0.14), transparent 55%),
    linear-gradient(135deg, #f6faf9, #fdf4ee);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
}
.ctws-illustration svg {
  color: var(--coral);
  opacity: 0.85;
}
.ctws-illustration span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.ctws-split h2 {
  font-size: 27px;
  margin: 0 0 16px;
}
.ctws-split h3 {
  font-size: 18px;
  margin: 28px 0 12px;
}
.ctws-split p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* Checklist */
.ctws-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ctws-checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}
.ctws-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}
.ctws-checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* Section wrapper used on inner pages */
.ctws-section {
  padding: 80px 6vw;
  max-width: 1240px;
  margin: 0 auto;
}
.ctws-section-tight {
  padding: 40px 6vw;
}
.ctws-section h2 {
  font-size: 28px;
  margin: 0 0 16px;
}
.ctws-section p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 860px) {
  .ctws-split {
    grid-template-columns: 1fr;
  }
  .ctws-split.ctws-split-reverse {
    direction: ltr;
  }
}

.ctws-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.ctws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.ctws-btn-primary {
  background: linear-gradient(120deg, var(--coral), var(--coral-2));
  color: #fff;
}
.ctws-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(232, 85, 46, 0.32);
}
.ctws-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
}
.ctws-btn-ghost:hover {
  color: var(--teal-dark);
  background: rgba(63, 179, 156, 0.08);
}

/* Hero */
.ctws-hero {
  position: relative;
  padding: 100px 6vw 90px;
  text-align: center;
  background: radial-gradient(ellipse at 50% -10%, rgba(63, 179, 156, 0.1), transparent 60%);
}
.ctws-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.ctws-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 22px;
}
.ctws-lede {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 34px;
}
.ctws-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Feature badges */
.ctws-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 0 6vw 80px;
}
.ctws-badge {
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Overview */
.ctws-overview {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 6vw 90px;
  text-align: center;
}
.ctws-overview h2 {
  font-size: 30px;
  margin: 0 0 18px;
}
.ctws-overview p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
}
.ctws-tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ctws-tag {
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal-dark);
  background: rgba(63, 179, 156, 0.1);
}

/* Services grid */
.ctws-services {
  padding: 0 6vw 100px;
}
.ctws-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.ctws-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ctws-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(24, 36, 48, 0.1);
  border-color: rgba(232, 85, 46, 0.4);
}
.ctws-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  margin-bottom: 18px;
}
.ctws-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
.ctws-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.ctws-card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}
.ctws-card-flag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, var(--coral), var(--coral-2));
  padding: 4px 10px;
  border-radius: 100px;
}

/* Platforms strip */
.ctws-platforms {
  text-align: center;
  padding: 70px 6vw;
  background: rgba(63, 179, 156, 0.05);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ctws-platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.ctws-platform-chip {
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
}

/* Pricing */
.ctws-pricing {
  padding: 100px 6vw;
}
.ctws-pricing h2 {
  font-size: 30px;
  margin: 0 0 50px;
}
.ctws-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
}
.ctws-plan-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 26px;
  background: var(--surface);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ctws-plan-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}
.ctws-plan-price {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}
.ctws-plan-period {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 22px;
}
.ctws-plan-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ctws-plan-features li {
  font-size: 13.5px;
  color: var(--muted);
}
.ctws-plan-cta {
  margin-top: auto;
  width: 100%;
}

/* AI callout */
.ctws-ai {
  position: relative;
  padding: 90px 6vw;
  text-align: center;
  background: linear-gradient(120deg, var(--coral), var(--coral-2) 55%, var(--teal));
}
.ctws-ai-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.ctws-ai h2 {
  font-size: 30px;
  margin: 0 0 16px;
}
.ctws-ai-grid {
  margin-top: 44px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ctws-ai-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 26px;
  text-align: left;
}
.ctws-ai-card h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 10px;
}
.ctws-ai-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* Final CTA */
.ctws-cta {
  text-align: center;
  padding: 90px 6vw 110px;
}
.ctws-cta h2 {
  font-size: 30px;
  margin: 0 0 14px;
}
.ctws-cta p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 30px;
}
.ctws-contact-todo {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--coral);
  border: 1px dashed var(--coral-2);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
}

@media (max-width: 960px) {
  .ctws-grid,
  .ctws-plan-grid,
  .ctws-ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .ctws-grid,
  .ctws-plan-grid,
  .ctws-ai-grid {
    grid-template-columns: 1fr;
  }
}
