.websites-page {
  background: var(--bg-dark);
}

.ws-section-content {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- HERO ---------- */

.ws-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 10% 80px;
  background:
    radial-gradient(circle at 15% 30%, rgba(242, 43, 187, 0.09), transparent 35%),
    radial-gradient(circle at 85% 60%, rgba(60, 8, 90, 0.25), transparent 45%),
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(5, 8, 20, 0.75)),
    url('../assets/hero3.jpg');
  background-size: cover;
  background-position: center;
}

.ws-hero-content {
  max-width: 700px;
}

.ws-eyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
  max-width: 100%;
}

.ws-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  font-weight: 600;
}

.ws-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
}

.ws-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ws-trust {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.03em;
  max-width: 100%;
}

/* ---------- DIFFERENTIATORS ---------- */

.ws-diff {
  padding: 88px 10%;
  background: var(--bg-dark);
}

.ws-diff h2 {
  color: var(--text-primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.ws-section-note {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 52px;
  max-width: 640px;
}

.ws-diff-rows {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.ws-diff-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 32px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s;
}

.ws-diff-row:hover {
  border-color: rgba(242, 43, 187, 0.25);
}

.ws-diff-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 3px;
}

.ws-diff-body h3 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.ws-diff-body p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  max-width: none;
}

/* ---------- COMPARE ---------- */

.ws-compare {
  padding: 80px 10%;
  background: #f5f3ef;
}

.ws-compare h2 {
  color: #1a1830;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 36px;
}

.ws-compare-table {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(26, 24, 48, 0.1);
}

.ws-compare-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 0;
}

.ws-compare-header {
  background: #1a1830;
  color: #fff;
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
}

.ws-compare-header span:nth-child(2) {
  background: #4a4a4a;
  color: rgba(255,255,255,0.7);
}

.ws-compare-header span:nth-child(3) {
  background: rgba(184, 18, 127, 0.5);
  color: #fff;
}

.ws-compare-header span {
  padding: 14px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.ws-compare-row:not(.ws-compare-header) {
  background: #fff;
  border-bottom: 1px solid rgba(26, 24, 48, 0.07);
}

.ws-compare-row:not(.ws-compare-header):last-child {
  border-bottom: none;
}

.ws-compare-row span {
  padding: 16px 20px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ws-compare-row span:first-child {
  font-weight: 600;
  color: #1a1830;
  border-right: 1px solid rgba(26, 24, 48, 0.07);
}

.ws-bad { color: #7a5a5a; }
.ws-good { color: var(--accent-dark); font-weight: 500; }

/* ---------- EXAMPLES ---------- */

.ws-examples {
  padding: 88px 10%;
  background: var(--bg-dark);
}

.ws-examples h2 {
  color: var(--text-primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.ws-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.ws-portfolio-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ws-portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(242, 43, 187, 0.14);
}

.ws-portfolio-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080c1c;
}

.ws-portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ws-portfolio-card:hover .ws-portfolio-img img {
  transform: scale(1.03);
}

.ws-portfolio-body {
  padding: 20px 22px 24px;
  background: linear-gradient(160deg, #ffffff 0%, #f5f2f0 100%);
  flex: 1;
}

.ws-live-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2d6a4f;
  background: rgba(45, 106, 79, 0.1);
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.ws-portfolio-body h3 {
  font-size: 1rem;
  color: #1a1830;
  margin-bottom: 6px;
  font-weight: 600;
}

.ws-portfolio-body p {
  font-size: 0.88rem;
  color: #5a5770;
  line-height: 1.6;
  max-width: none;
}

/* ---------- PROCESS ---------- */

.ws-process {
  padding: 88px 10%;
  background: #f5f3ef;
}

.ws-process h2 {
  color: #1a1830;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
}

.ws-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.ws-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ws-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a1830;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.ws-step h3 {
  color: #1a1830;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.ws-step p {
  color: #5a5770;
  font-size: 0.93rem;
  line-height: 1.7;
  max-width: none;
}

/* ---------- LOCAL ---------- */

.ws-local {
  padding: 80px 10%;
  background:
    linear-gradient(rgba(238, 227, 235, 0.92), rgba(238, 227, 235, 0.88)),
    url('../assets/paper.jpg');
  background-size: cover;
  background-position: center;
}

.ws-local h2 {
  color: #1a1830;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 20px;
}

.ws-local p {
  color: #5a5770;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 640px;
}

.ws-inline-link {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- CTA ---------- */

.ws-cta {
  padding: 100px 10%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(60, 8, 90, 0.35), transparent 65%),
    var(--bg-dark);
  text-align: center;
}

.ws-cta .ws-section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ws-cta h2 {
  color: var(--text-primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.ws-cta p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 440px;
  text-align: center;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .ws-diff-grid { grid-template-columns: 1fr; }
  .ws-portfolio-grid { grid-template-columns: 1fr; }
  .ws-steps { grid-template-columns: 1fr; gap: 28px; }
  .ws-compare-row { grid-template-columns: 130px 1fr 1fr; }
}

@media (max-width: 768px) {
  .websites-page .nav-links li:not(:last-child) { display: none; }
  .websites-page .nav-links { gap: 0; }
}

@media (max-width: 640px) {
  .ws-hero { padding: 100px 6% 60px; min-height: unset; }
  .ws-diff, .ws-compare, .ws-examples, .ws-process, .ws-local, .ws-cta { padding: 60px 6%; }
  .ws-compare-row { grid-template-columns: 1fr 1fr; }
  .ws-compare-row span:first-child { display: none; }
  .ws-compare-header span:first-child { display: none; }
  .ws-compare-header span:nth-child(2) {
    background: #4a4a4a;
    color: rgba(255,255,255,0.7);
  }
  .ws-compare-header span:nth-child(3) {
    background: rgba(184, 18, 127, 0.35);
    color: rgba(255,255,255,0.9);
  }
  .ws-compare-row:not(.ws-compare-header) span:nth-child(2)::before {
    content: '✕ ';
    color: #c06060;
    font-size: 0.75rem;
  }
  .ws-compare-row:not(.ws-compare-header) span:nth-child(3)::before {
    content: '✓ ';
    color: #4a8c6a;
    font-size: 0.75rem;
  }
  .ws-compare-row span:nth-child(2),
  .ws-compare-row span:nth-child(3) { padding: 12px 14px; font-size: 0.85rem; }
}
