/* =========================================
   Pages CSS — interior pages (non-landing)
   Owns: header, page-hero, portfolio, pricing, contact, shared page components
   Does NOT own: landing-page-specific sections (hero, problem, services, etc.)
   ========================================= */

/* ---- Site Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

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

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.88 !important;
  color: #fff !important;
}

/* ---- Page Main ---- */
.page-main {
  min-height: 100vh;
}

/* ---- Page Hero ---- */
.page-hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 50% 80%, var(--accent-glow) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.page-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid rgba(255, 107, 43, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.page-hero h1 .highlight {
  color: var(--accent);
}

.page-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Shared buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-primary.full-width {
  display: block;
  text-align: center;
  width: 100%;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

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

/* ---- Portfolio ---- */
.portfolio-section {
  padding: 5rem 2rem;
}

.alt-section {
  background: var(--bg-alt);
}

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

.niche-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.niche-icon {
  font-size: 1.1rem;
}

.portfolio-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.niche-desc {
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.creative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Creative Cards */
.creative-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
}

.alt-section .creative-card {
  background: var(--bg-alt);
  border-color: rgba(255, 255, 255, 0.08);
}

.creative-card:hover {
  border-color: rgba(255, 107, 43, 0.25);
  transform: translateY(-2px);
}

/* Video Mockup */
.video-mockup {
  aspect-ratio: 9/16;
  max-height: 280px;
  position: relative;
  overflow: hidden;
}

.video-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gym-bg {
  background: linear-gradient(160deg, #1a1a2e 0%, #0d0d1a 40%, #2d1a0a 100%);
}

.restaurant-bg {
  background: linear-gradient(160deg, #1a1208 0%, #0d0a05 40%, #1a1010 100%);
}

.auto-bg {
  background: linear-gradient(160deg, #0a0f1a 0%, #0d1020 40%, #0a0a15 100%);
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 30%, rgba(0,0,0,0.6) 100%);
}

.play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 107, 43, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  margin: auto;
  margin-top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 24px rgba(255, 107, 43, 0.4);
}

.video-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  align-self: flex-end;
}

.video-text-overlay {
  position: relative;
  z-index: 1;
}

.hook-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.hook-sub {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Ad Mockup */
.ad-mockup {
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.ad-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

.ad-headline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
}

.ad-body {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.ad-cta-btn {
  display: inline-block;
  background: #1877F2;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  align-self: flex-start;
}

.restaurant-cta { background: #E63946; }
.auto-cta { background: #2d3748; }

.gym-ad { border-left: 3px solid #ff6b2b; }
.restaurant-ad { border-left: 3px solid #E63946; }
.auto-ad { border-left: 3px solid #4a5568; }

/* Post Mockup */
.post-mockup {
  padding: 1.5rem;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.gym-post {
  background: linear-gradient(135deg, rgba(255,107,43,0.06) 0%, transparent 100%);
}

.restaurant-post {
  background: linear-gradient(135deg, rgba(230,57,70,0.06) 0%, transparent 100%);
}

.auto-post {
  background: linear-gradient(135deg, rgba(45,55,72,0.3) 0%, transparent 100%);
}

.post-quote {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--fg);
  line-height: 1.6;
}

.post-attr {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.post-brand {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: 0.5rem;
}

.dish-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

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

.dish-tag {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.5rem;
}

.before-after-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.auto-headline {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
}

.auto-sub {
  font-size: 0.8rem;
  color: var(--accent);
  font-style: italic;
}

/* Creative meta */
.creative-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.creative-type {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.creative-platform {
  font-size: 0.7rem;
  color: var(--fg-muted);
}

.creative-platform::before {
  content: '·';
  margin-right: 0.5rem;
}

.creative-desc {
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Portfolio CTA */
.portfolio-cta {
  padding: 7rem 2rem;
  text-align: center;
  background: var(--bg-alt);
}

.portfolio-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.portfolio-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.portfolio-cta p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ---- Pricing ---- */
.pricing-section {
  padding: 4rem 2rem 6rem;
}

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

.pricing-card-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  margin-bottom: 5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-alt);
  border: 1px solid rgba(255, 107, 43, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
}

.pricing-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.price-dollar {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg-muted);
  padding-top: 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--fg);
}

.price-period {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--fg-muted);
  padding-top: 2.4rem;
}

.pricing-compare {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.pricing-list {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(255, 107, 43, 0.12);
  border: 1px solid rgba(255, 107, 43, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 700;
  margin-top: 1px;
}

.pricing-list li > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pricing-list li strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg);
}

.pricing-list li span {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 1rem;
}

/* Pricing Sidebar */
.pricing-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}

.sidebar-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.sidebar-block h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.sidebar-block p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* FAQ */
.faq-section {
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

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

/* ---- Contact ---- */
.contact-section {
  padding: 3rem 2rem 6rem;
}

.contact-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8a9a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 107, 43, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(138, 138, 154, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.submit-btn {
  width: 100%;
  font-size: 1rem;
  padding: 1rem;
  cursor: pointer;
  font-family: var(--font-display);
}

.form-error {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: #fc8181;
  margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.next-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 107, 43, 0.1);
  border: 1px solid rgba(255, 107, 43, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.next-step > div strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 0.3rem;
}

.next-step > div p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0;
}

.contact-detail-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}

.contact-email-link {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
  margin-top: 0.25rem;
}

.contact-email-link:hover {
  opacity: 0.8;
}

.contact-location {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin: 0;
}

/* Success state */
.success-block {
  max-width: 480px;
  margin: 3rem auto;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-alt);
  border: 1px solid rgba(255, 107, 43, 0.2);
  border-radius: 16px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 107, 43, 0.12);
  border: 1px solid rgba(255, 107, 43, 0.3);
  color: var(--accent);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-block h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.success-block p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ---- Mobile ---- */
@media (max-width: 900px) {
  .creative-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-wrap {
    grid-template-columns: 1fr;
  }

  .pricing-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 640px) {
  .header-inner {
    padding: 0.875rem 1.25rem;
  }

  .header-nav {
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .pricing-sidebar {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 3.5rem 1.5rem 3rem;
  }

  .portfolio-section,
  .pricing-section,
  .contact-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
