/* =======================================
   WEBSITES PAGE — websites.css
   Companion to style.css
   ======================================= */

/* ── Section Dividers ── */
.page-hero,
.web-intro,
.web-services,
.web-free-month,
.web-pricing,
.web-timeline,
.web-cta {
  border-top: 1px solid transparent;
  border-image: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 20%,
    var(--border2) 50%,
    var(--border) 80%,
    transparent 100%
  ) 1;
}

/* =======================================
   PAGE HERO (shared pattern with about.css)
   ======================================= */
.page-hero {
  padding: 140px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 20%,
    var(--border2) 50%,
    var(--border) 80%,
    transparent 100%
  );
}

.page-hero__ghost {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-head);
  font-size: clamp(100px, 16vw, 220px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  opacity: 0.5;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.page-hero__breadcrumb a {
  color: var(--ink-faint);
  transition: color 0.2s;
}

.page-hero__breadcrumb a:hover { color: var(--accent); }

.page-hero__breadcrumb span { color: var(--border2); }

.page-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 8px;
}

/* =======================================
   INTRO
   ======================================= */
.web-intro {
  background: var(--bg2);
  padding: 96px 0;
}

.web-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.web-intro__text .eyebrow {
  display: block;
  margin-bottom: 16px;
}

.web-intro__text h2 {
  font-family: var(--ff-head);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}

.web-intro__text p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 480px;
}

/* Stats panel */
.web-intro__stats {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
}

.web-stat {
  background: var(--surface);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.web-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.web-stat:hover::before { transform: scaleY(1); }
.web-stat:hover { background: var(--bg3); }

.web-stat__num {
  font-family: var(--ff-head);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 24px rgba(245,230,66,0.25);
}

.web-stat__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 6px;
}

/* =======================================
   SERVICES GRID
   ======================================= */
.web-services {
  background: var(--bg);
  padding: 96px 0;
}

.web-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 16px;
}

.web-feature {
  background: var(--bg2);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.web-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.web-feature:hover::before { transform: scaleX(1); }
.web-feature:hover { background: var(--surface); }

.web-feature__icon {
  font-size: 26px;
  margin-bottom: 16px;
  display: block;
  filter: saturate(0.7);
  transition: filter 0.3s;
}

.web-feature:hover .web-feature__icon { filter: saturate(1); }

.web-feature__title {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.1;
}

.web-feature__desc {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.65;
  font-weight: 300;
}

/* =======================================
   FREE FIRST MONTH BANNER
   ======================================= */
.web-free-month {
  background: var(--bg2);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.web-free-month::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent2) 70%, transparent);
}

.web-free-month__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}

.web-free-month__badge {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,230,66,0.3);
  padding: 6px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
  align-self: start;
  margin-top: 6px;
}

.web-free-month__heading {
  font-family: var(--ff-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

.web-free-month__desc {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.75;
  font-weight: 300;
  max-width: 620px;
  margin-bottom: 28px;
}

.web-free-month__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.web-free-month__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.web-free-month__list li span {
  color: var(--accent2);
  font-size: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .web-free-month__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .web-free-month__badge {
    align-self: auto;
    display: inline-block;
  }

  .web-free-month {
    padding: 56px 0;
  }
}

/* =======================================
   PRICING
   ======================================= */
.web-pricing {
  background: var(--bg2);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.web-pricing__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  max-width: 860px;
  margin-bottom: 32px;
}

.web-pricing__card {
  background: var(--surface);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.web-pricing__card:hover { background: var(--bg3); }

/* Top accent line */
.web-pricing__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* Corner bracket */
.web-pricing__card--featured::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.web-pricing__tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.web-pricing__amount {
  font-family: var(--ff-head);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(245,230,66,0.25);
}

.web-pricing__unit {
  font-size: 32px;
  opacity: 0.7;
}

.web-pricing__name {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

.web-pricing__note {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.web-pricing__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.web-pricing__list li {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mid);
  padding-left: 20px;
  position: relative;
}

.web-pricing__list li::before {
  content: '//';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
}

.web-pricing__footnote {
  font-size: 14px;
  color: var(--ink-mid);
}

/* =======================================
   TIMELINE
   ======================================= */
.web-timeline {
  background: var(--bg);
  padding: 96px 0;
}

.web-timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 16px;
}

.web-step {
  background: var(--bg2);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.web-step:hover { background: var(--surface); }

/* Connecting line between steps */
.web-step::after {
  content: '';
  position: absolute;
  top: 52px;
  right: -1px;
  width: 1px;
  height: 24px;
  background: var(--accent);
  opacity: 0.4;
}

.web-step:last-child::after { display: none; }

.web-step__num {
  font-family: var(--ff-head);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--border2);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  transition: -webkit-text-stroke-color 0.25s, color 0.25s;
}

.web-step:hover .web-step__num {
  -webkit-text-stroke-color: var(--accent);
}

.web-step__title {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.web-step__desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  font-weight: 300;
}

/* =======================================
   CTA
   ======================================= */
.web-cta {
  background: var(--bg2);
  padding: 96px 0;
  text-align: center;
}

.web-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.web-cta h2 {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 20px;
  margin-top: 8px;
}

.web-cta p {
  color: var(--ink-mid);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.web-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =======================================
   NAV ACTIVE STATE
   ======================================= */
.nav__link--active {
  color: var(--accent) !important;
  background: var(--accent-dim);
}

/* =======================================
   RESPONSIVE
   ======================================= */
@media (max-width: 1100px) {
  .web-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .web-timeline__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .web-intro__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .web-pricing__cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 64px;
  }

  .page-hero__ghost {
    display: none;
  }

  .web-intro,
  .web-services,
  .web-pricing,
  .web-timeline,
  .web-cta {
    padding: 72px 0;
  }

  .web-services__grid {
    grid-template-columns: 1fr;
  }

  .web-timeline__steps {
    grid-template-columns: 1fr;
  }

  .web-step::after { display: none; }

  .web-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .web-cta__actions .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .web-pricing__card {
    padding: 36px 28px;
  }
}
