/* ============================================================
   pages.css — Nav, services/pricing, portfolio, shared page styles
   Does NOT own: base tokens, hero section, landing-only sections
   ============================================================ */

/* === NAV === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-brand:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-cta {
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* Offset page content below fixed nav */
body > section:first-of-type,
.hero,
.page-hero {
  padding-top: calc(64px + 56px);
}

/* === PAGE HERO === */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  text-align: center;
}

.page-hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

/* === PRICING === */
.pricing {
  padding: 80px 24px 120px;
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.tier-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.tier-card:hover {
  border-color: rgba(245, 166, 35, 0.15);
  transform: translateY(-2px);
}

.tier-card--featured {
  background: linear-gradient(160deg, #1e1c14 0%, #1a1a26 100%);
  border-color: rgba(245, 166, 35, 0.3);
  transform: scale(1.03);
}

.tier-card--featured:hover {
  transform: scale(1.03) translateY(-2px);
}

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-warm);
  color: #0a0a0f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.tier-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.tier-price {
  margin-bottom: 12px;
  line-height: 1;
}

.price-amount {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-left: 4px;
}

.tier-tagline {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.tier-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 28px 0;
}

.tier-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.tier-item {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
  align-items: flex-start;
}

.tier-item--yes {
  color: var(--fg);
}

.tier-item--no {
  color: var(--fg-muted);
  opacity: 0.5;
}

.tier-check {
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 2px;
}

.tier-item--yes .tier-check {
  color: var(--accent);
  font-weight: 700;
}

.tier-item--no .tier-check {
  color: var(--fg-muted);
}

.tier-note {
  font-size: 0.82rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 24px;
  padding: 10px 14px;
  background: rgba(245, 166, 35, 0.07);
  border-radius: 8px;
  border-left: 2px solid rgba(245, 166, 35, 0.4);
}

.tier-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

.tier-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.tier-cta--featured {
  background: var(--gradient-warm);
  border-color: transparent;
  color: #0a0a0f;
}

.tier-cta--featured:hover {
  background: linear-gradient(135deg, #ffcc5c 0%, #ff8c42 100%);
  transform: translateY(-1px);
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.tier-cta:hover .cta-arrow {
  transform: translateX(3px);
}

/* === BREAKDOWN SECTION === */
.breakdown {
  padding: 100px 24px;
  background: var(--bg-surface);
}

.breakdown-inner {
  max-width: 960px;
  margin: 0 auto;
}

.breakdown-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

.breakdown h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.breakdown-item {
  padding: 32px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.breakdown-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  line-height: 1;
}

.breakdown-item h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.breakdown-item p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* === FAQ === */
.faq {
  padding: 100px 24px;
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

.faq h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.faq-item p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* === CTA STRIP === */
.cta-strip {
  position: relative;
  padding: 120px 24px;
  text-align: center;
  background: var(--bg-surface);
  overflow: hidden;
}

.cta-strip-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-strip-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.09) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.cta-strip h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-strip p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-warm);
  color: #0a0a0f;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: 100px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 16px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER UPDATES === */
.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--fg);
}

.footer-legal {
  margin-top: 20px;
  color: var(--fg-muted);
  font-size: 0.78rem;
  opacity: 0.5;
}

/* === PORTFOLIO === */
.portfolio-section {
  padding: 80px 24px 120px;
}

.portfolio-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.portfolio-case {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.portfolio-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.portfolio-business {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.portfolio-location {
  color: var(--fg-muted);
  font-size: 0.88rem;
}

.portfolio-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: start;
}

.comparison-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.6;
  align-self: center;
  font-family: 'Syne', sans-serif;
  padding: 0 4px;
  margin-top: 60px;
}

.comparison-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-label {
  margin-bottom: 4px;
}

.label-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 100px;
}

.label-pill--before {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-muted);
}

.label-pill--after {
  background: rgba(245, 166, 35, 0.15);
  color: var(--accent);
}

/* === MOCKUP SCREENS === */
.comparison-mockup {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-screen {
  background: #1a1a26;
  border-radius: 12px;
  overflow: hidden;
}

.mockup-screen--after {
  background: #1c1a14;
  border: 1px solid rgba(245, 166, 35, 0.12);
}

.mockup-bar {
  height: 32px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.mockup-bar::before,
.mockup-bar::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-bar::before {
  background: rgba(255, 255, 255, 0.1);
}

.mockup-bar::after {
  background: rgba(255, 255, 255, 0.06);
  width: 120px;
  border-radius: 4px;
  margin-left: 8px;
}

.mockup-bar--after::before {
  background: rgba(245, 166, 35, 0.3);
}

.mockup-content {
  padding: 20px;
  min-height: 180px;
}

/* Social media mockups */
.mock-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-avatar--gray {
  background: rgba(255, 255, 255, 0.08);
}

.mock-avatar--glow {
  background: var(--gradient-warm);
}

.mock-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-name {
  height: 10px;
  width: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.mock-date {
  font-size: 10px;
}

.mock-muted {
  color: var(--fg-muted);
  opacity: 0.5;
}

.mock-recent {
  color: var(--accent);
  font-size: 10px;
  opacity: 0.8;
}

.mock-post-image {
  height: 90px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-post-image--placeholder {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.mock-stock-label {
  font-size: 10px;
  color: var(--fg-muted);
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mock-post-image--branded {
  background: linear-gradient(135deg, #1a1508 0%, #2a200a 100%);
  border: 1px solid rgba(245, 166, 35, 0.15);
  padding: 12px;
}

.mock-branded-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-branded-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--gradient-warm);
  opacity: 0.8;
}

.mock-branded-text {
  height: 8px;
  width: 70%;
  background: rgba(245, 166, 35, 0.2);
  border-radius: 3px;
}

.mock-branded-cta {
  height: 22px;
  width: 80px;
  background: rgba(245, 166, 35, 0.25);
  border-radius: 4px;
}

.mock-stats {
  display: flex;
  gap: 16px;
  font-size: 11px;
}

.mock-stats--low {
  color: var(--fg-muted);
  opacity: 0.4;
}

.mock-stats--high {
  color: var(--accent);
}

/* GBP mockups */
.mock-gbp {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-gbp-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-gbp-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
}

.mock-gbp-stars {
  font-size: 11px;
}

.mock-gbp-stars--low {
  color: #888;
}

.mock-gbp-stars--low span {
  color: #888;
}

.mock-gbp-stars--high {
  color: var(--accent);
}

.mock-gbp-stars--high span {
  color: var(--accent);
}

.mock-gbp-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: 6px;
  overflow: hidden;
}

.mock-photo {
  height: 60px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
}

.mock-photo--blur {
  background: rgba(255, 255, 255, 0.04);
  filter: blur(1px);
}

.mock-photo--empty {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  color: var(--fg-muted);
  opacity: 0.4;
}

.mock-photo--warm {
  background: linear-gradient(135deg, #3d2200 0%, #5c3300 100%);
}

.mock-photo--amber {
  background: linear-gradient(135deg, #4a2e00 0%, #6b4200 100%);
}

.mock-photo--orange {
  background: rgba(245, 166, 35, 0.2);
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
}

.mock-gbp-warning {
  font-size: 10px;
  color: #e8850a;
  opacity: 0.7;
}

.mock-gbp-badge {
  font-size: 10px;
  color: #4ade80;
  opacity: 0.8;
}

/* Website mockups */
.mock-website--before {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.mock-no-site {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mock-404 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
}

.mock-404-label {
  font-size: 10px;
  color: var(--fg-muted);
  opacity: 0.3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mock-website--after {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.mock-site-hero {
  padding: 12px;
  background: linear-gradient(160deg, #0e0e16 0%, #1a1a08 100%);
  min-height: 130px;
}

.mock-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mock-site-logo {
  width: 40px;
  height: 10px;
  background: var(--gradient-warm);
  border-radius: 3px;
  opacity: 0.7;
}

.mock-site-links {
  display: flex;
  gap: 8px;
}

.mock-site-links span {
  display: block;
  width: 20px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.mock-site-headline {
  height: 14px;
  width: 75%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  margin-bottom: 8px;
}

.mock-site-sub {
  height: 8px;
  width: 55%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  margin-bottom: 16px;
}

.mock-site-btn {
  height: 26px;
  width: 90px;
  background: var(--gradient-warm);
  border-radius: 6px;
  opacity: 0.7;
}

/* Stats */
.comparison-stats {
  display: flex;
  gap: 16px;
}

.stat-item {
  flex: 1;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item--before {
  background: rgba(255, 255, 255, 0.02);
}

.stat-item--after {
  background: rgba(245, 166, 35, 0.06);
  border-color: rgba(245, 166, 35, 0.12);
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.stat-item--before .stat-value {
  color: var(--fg-muted);
}

.stat-item--after .stat-value {
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comparison-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .tier-card--featured {
    transform: none;
  }

  .tier-card--featured:hover {
    transform: translateY(-2px);
  }

  .breakdown-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav--open .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .portfolio-comparison {
    grid-template-columns: 1fr;
  }

  .comparison-arrow {
    display: none;
  }

  .comparison-stats {
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: calc(50% - 8px);
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 2rem;
  }

  .pricing {
    padding: 60px 16px 80px;
  }

  .tier-card {
    padding: 28px 24px;
  }
}
