/* ================================================================
   PrintHive -- Landing Page
   Design: Dark Industrial Forge / Glassmorphism
   Palette: Deep obsidian + Orange forge glow
   Matches dashboard & login page aesthetic
   ================================================================ */

/* ── Variables ── */
:root {
  --bg: #0e0c0a;
  --bg2: #141108;
  --bg3: #1c1812;
  --bg4: #252018;
  --orange: #e8622a;
  --orange2: #f5843d;
  --amber: #d4a853;
  --cream: #f0e6d3;
  --text: #e8ddd0;
  --text2: #a09080;
  --muted: #998878;
  --green: #4caf7d;
  --red: #e85b4a;
  --blue: #4a90d9;
  --border: rgba(255,255,255,0.05);
  --border2: rgba(255,255,255,0.09);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-heading: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Sora', 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.22);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.30);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.55);
  --glow-orange: 0 0 40px rgba(232,98,42,0.12);
  --glass-bg: rgba(14,11,8,0.75);
  --glass-border: rgba(255,255,255,0.05);
  --ease: cubic-bezier(0.22, 0.68, 0, 1);
  --container: 1200px;
  --header-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Site noise overlay ── */
.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Grid overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,98,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,98,42,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Mesh gradient background ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(232,98,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(232,98,42,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(212,168,83,0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Ensure content is above background layers ── */
.ph-header,
.ph-mobile-menu,
main,
.ph-footer,
section {
  position: relative;
  z-index: 1;
}

/* ── Decorative lines ── */
.ph-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.3;
}

/* ================================================================
   HEADER
   ================================================================ */

.ph-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.35s var(--ease);
}

.ph-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(232,98,42,0.4) 50%, transparent 90%);
}

.ph-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.ph-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  transition: opacity 0.2s;
}

.ph-header-logo:hover {
  opacity: 0.85;
}

.ph-header-logo svg {
  width: 36px;
  height: 36px;
  color: var(--orange);
}

.ph-header-logo span {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--cream);
  text-transform: uppercase;
}

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

.ph-header-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
  position: relative;
}

.ph-header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}

.ph-header-nav a:hover,
.ph-header-nav a.active {
  color: var(--cream);
}

.ph-header-nav a:hover::after,
.ph-header-nav a.active::after {
  width: 100%;
}

.ph-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Ghost button (login) */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}

.btn-ghost.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* Primary button -- gradient orange with cut-corner */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%);
  border: none;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(232,98,42,0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(232,98,42,0.4);
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-primary.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 1px;
}

/* Secondary button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232,98,42,0.05);
}

/* Hamburger */
.ph-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.ph-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.ph-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.ph-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.ph-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.ph-mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s var(--ease);
}

.ph-mobile-menu.is-open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.ph-mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.ph-mobile-menu a:hover {
  color: var(--cream);
  background: rgba(255,255,255,0.04);
}

.mobile-menu-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.mobile-menu-actions .btn-ghost,
.mobile-menu-actions .btn-primary {
  flex: 1;
  text-align: center;
}

/* Header shrink on scroll */
.ph-header.is-scrolled {
  height: 60px;
  background: rgba(14,11,8,0.92);
}


/* ================================================================
   HERO
   ================================================================ */

.ph-hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(232,98,42,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 60%, rgba(212,168,83,0.06) 0%, transparent 50%),
    var(--bg);
}

/* Animated grid overlay in hero */
.ph-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,98,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,98,42,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Floating geometric shapes */
.ph-hero::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 8%;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(232,98,42,0.12);
  transform: rotate(45deg);
  animation: floatShape 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatShape {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(-20px); }
}

/* Second floating shape */
.ph-hero .container::before {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(212,168,83,0.08);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: floatHex 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatHex {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}

.ph-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ph-hero-content {
  max-width: 560px;
}

.ph-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(232,98,42,0.08);
  border: 1px solid rgba(232,98,42,0.15);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--orange);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.ph-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ph-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.ph-hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: 32px;
}

.ph-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ph-hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.ph-hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.ph-hero-trust span::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hero visual (right side) */
.ph-hero-visual {
  position: relative;
}

.ph-hero-visual svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
  border: 1px solid var(--border2);
}


/* ================================================================
   STATS BAR
   ================================================================ */

.ph-stats {
  background: var(--bg2);
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.ph-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(232,98,42,0.2) 50%, transparent 90%);
}

.ph-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.ph-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ph-stat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 4px;
  opacity: 0.7;
}

.ph-stat-icon svg {
  width: 24px;
  height: 24px;
}

.ph-stat-value {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: 2px;
  line-height: 1;
}

.ph-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}


/* ================================================================
   PROBLEMS
   ================================================================ */

.ph-problems {
  background: var(--bg);
  padding: 0;
}

.ph-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ph-problem-card {
  padding: 36px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.ph-problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,75,74,0.3), transparent);
}

.ph-problem-card:hover {
  border-color: rgba(232,75,74,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.ph-problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,75,74,0.08);
  border: 1px solid rgba(232,75,74,0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--red);
}

.ph-problem-icon svg {
  width: 24px;
  height: 24px;
}

.ph-problem-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
}

.ph-problem-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
}


/* ================================================================
   FEATURES
   ================================================================ */

.ph-features {
  background: var(--bg);
}

.ph-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ph-feature-card {
  padding: 36px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  position: relative;
}

.ph-feature-card:hover {
  border-left-color: var(--orange);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.ph-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,98,42,0.08);
  border: 1px solid rgba(232,98,42,0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--orange);
}

.ph-feature-icon svg {
  width: 24px;
  height: 24px;
}

.ph-feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 10px;
}

.ph-feature-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
}


/* ================================================================
   SECTION SHARED
   ================================================================ */

.ph-section {
  padding: 100px 0;
  position: relative;
}

.ph-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.ph-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.ph-section-header p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
}

/* Decorative line before sections */
.ph-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}


/* ================================================================
   TESTIMONIALS
   ================================================================ */

.ph-testimonials {
  background: var(--bg);
}

.ph-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ph-testimonial-card {
  padding: 36px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
}

.ph-testimonial-card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Quote mark decoration */
.ph-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--orange);
  opacity: 0.15;
}

.ph-testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.ph-testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
  fill: var(--amber);
}

.ph-testimonial-quote {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.ph-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.ph-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.ph-testimonial-name {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  font-size: 15px;
}

.ph-testimonial-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 2px;
  text-transform: uppercase;
}


/* ================================================================
   PRICING
   ================================================================ */

.ph-pricing {
  background: var(--bg2);
  position: relative;
}

.ph-pricing::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,98,42,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.ph-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ph-pricing-card {
  padding: 40px 32px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
}

.ph-pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.ph-pricing-card.ph-pricing-popular {
  border-color: var(--orange);
  box-shadow: 0 8px 40px rgba(232,98,42,0.15);
  transform: scale(1.03);
  background: var(--bg3);
}

.ph-pricing-card.ph-pricing-popular:hover {
  transform: scale(1.03) translateY(-2px);
}

.ph-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.ph-pricing-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
}

.ph-pricing-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 24px;
  line-height: 1.5;
}

.ph-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.ph-pricing-amount {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1;
  letter-spacing: 2px;
}

.ph-pricing-card.ph-pricing-popular .ph-pricing-amount {
  color: var(--orange);
}

.ph-pricing-period {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
}

.ph-pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.ph-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text2);
  line-height: 1.5;
}

.ph-pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--orange);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.ph-pricing-card .btn-primary,
.ph-pricing-card .btn-secondary {
  width: 100%;
  text-align: center;
}

.ph-pricing-compare {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.ph-pricing-compare a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s var(--ease);
}

.ph-pricing-compare a:hover {
  gap: 10px;
}


/* ================================================================
   FAQ
   ================================================================ */

.ph-faq {
  background: var(--bg);
}

.ph-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg2);
  transition: all 0.25s var(--ease);
}

.ph-faq-item:hover {
  border-color: var(--border2);
}

.ph-faq-item.is-open {
  border-color: rgba(232,98,42,0.2);
}

.ph-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  text-align: left;
  line-height: 1.4;
  transition: color 0.2s;
}

.ph-faq-question:hover {
  color: var(--orange);
}

.ph-faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}

.ph-faq-item.is-open .ph-faq-question svg {
  transform: rotate(180deg);
}

.ph-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}

.ph-faq-answer-inner {
  padding: 0 24px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

.ph-faq-item.is-open .ph-faq-answer {
  max-height: 300px;
}


/* ================================================================
   CTA FINAL
   ================================================================ */

.ph-cta-final {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg3) 100%);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ph-cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(232,98,42,0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating hex in CTA */
.ph-cta-final::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 15%;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(232,98,42,0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: floatHex 12s ease-in-out infinite;
  pointer-events: none;
}

.ph-cta-final .container {
  position: relative;
  z-index: 1;
}

.ph-cta-final h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 16px;
}

.ph-cta-final p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text2);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.ph-cta-final .btn-primary {
  font-size: 17px;
  padding: 18px 40px;
  letter-spacing: 2px;
}

.ph-cta-final .btn-primary:hover {
  box-shadow: 0 8px 48px rgba(232,98,42,0.5);
}


/* ================================================================
   BLOG PREVIEW
   ================================================================ */

.ph-blog {
  background: var(--bg2);
}

.ph-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ph-blog-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.ph-blog-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ph-blog-cover {
  width: 100%;
  height: 180px;
  background: var(--bg4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  overflow: hidden;
}

.ph-blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ph-blog-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.ph-blog-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 10px;
}

.ph-blog-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  flex: 1;
}

.ph-blog-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s var(--ease);
}

.ph-blog-link:hover {
  gap: 10px;
}


/* ================================================================
   FOOTER
   ================================================================ */

.ph-footer {
  background: var(--bg2);
  padding: 80px 0 40px;
  position: relative;
}

.ph-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--orange) 50%, transparent 95%);
  opacity: 0.3;
}

.ph-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.ph-footer-brand p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.ph-footer-brand .ph-header-logo {
  margin-bottom: 16px;
}

.ph-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ph-footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
}

.ph-footer-col a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.ph-footer-col a:hover {
  color: var(--cream);
}

/* Trust badges */
.ph-footer-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.ph-footer-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.ph-footer-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
  opacity: 0.7;
}

/* Social icons */
.ph-footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.ph-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.25s var(--ease);
}

.ph-footer-social a:hover {
  color: var(--orange);
  border-color: rgba(232,98,42,0.3);
  background: rgba(232,98,42,0.05);
}

.ph-footer-social a svg {
  width: 18px;
  height: 18px;
}

/* Footer bottom */
.ph-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.ph-footer-bottom a {
  color: var(--muted);
  transition: color 0.2s;
}

.ph-footer-bottom a:hover {
  color: var(--orange);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}


/* ================================================================
   TOP BANNER
   ================================================================ */

.top-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  padding: 10px 24px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1001;
}

.top-banner-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.top-banner-close:hover {
  opacity: 1;
}


/* ================================================================
   WAITLIST
   ================================================================ */

.waitlist-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.waitlist-input {
  padding: 14px 16px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  min-width: 260px;
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.waitlist-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,98,42,0.12);
}

.waitlist-input::placeholder {
  color: var(--muted);
}

.waitlist-ok {
  color: var(--green) !important;
  display: block !important;
}

.waitlist-err {
  color: var(--red) !important;
  display: block !important;
}


/* ================================================================
   BACK TO TOP
   ================================================================ */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(232,98,42,0.3);
  transition: all 0.3s var(--ease);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 6px 32px rgba(232,98,42,0.45);
  transform: translateY(-2px);
}


/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.fade-in.visible {
  opacity: 1;
}

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { --delay: 0s; }
.stagger > *:nth-child(2) { --delay: 0.08s; }
.stagger > *:nth-child(3) { --delay: 0.16s; }
.stagger > *:nth-child(4) { --delay: 0.24s; }
.stagger > *:nth-child(5) { --delay: 0.32s; }
.stagger > *:nth-child(6) { --delay: 0.40s; }
.stagger > *:nth-child(7) { --delay: 0.48s; }
.stagger > *:nth-child(8) { --delay: 0.56s; }
.stagger > *:nth-child(9) { --delay: 0.64s; }


/* ================================================================
   OVERRIDE BODY CLASS (landing-v4)
   Reset the old light theme overrides
   ================================================================ */

body.ph-landing-v4 {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
}

body.ph-landing-v4 .site-noise {
  display: block;
}

/* Header overrides for v4 body class */
body.ph-landing-v4 .site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

body.ph-landing-v4 .site-header .brand-copy strong,
body.ph-landing-v4 .site-header .nav-link,
body.ph-landing-v4 .site-header .brand-copy em {
  color: var(--cream) !important;
}

body.ph-landing-v4 .site-header .brand-mark svg {
  color: var(--orange);
}

body.ph-landing-v4 .site-header .nav-link:hover,
body.ph-landing-v4 .site-header .nav-link.is-active {
  color: var(--orange) !important;
}

body.ph-landing-v4 .site-header .btn-ghost {
  color: var(--cream) !important;
  border-color: var(--border2) !important;
}

body.ph-landing-v4 .site-header .btn-ghost:hover {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.15) !important;
}

body.ph-landing-v4 .site-header .btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange2)) !important;
  border: none !important;
  color: #fff !important;
}

body.ph-landing-v4 .site-header .btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 28px rgba(232,98,42,0.35) !important;
}

body.ph-landing-v4 .site-header .mobile-toggle span {
  background: var(--cream) !important;
}

body.ph-landing-v4 .mobile-menu {
  background: var(--bg2) !important;
  border-bottom: 1px solid var(--border) !important;
}

body.ph-landing-v4 .mobile-menu a {
  color: var(--text2) !important;
}

body.ph-landing-v4 .mobile-menu a:hover {
  color: var(--cream) !important;
}

/* Footer overrides for v4 body class */
body.ph-landing-v4 .site-footer {
  background: var(--bg2);
  color: var(--muted);
}

body.ph-landing-v4 .site-footer .brand-copy strong {
  color: var(--cream) !important;
}

body.ph-landing-v4 .site-footer .brand-copy em {
  color: var(--muted) !important;
}

body.ph-landing-v4 .site-footer h4 {
  color: var(--cream);
}

body.ph-landing-v4 .site-footer a {
  color: var(--muted);
}

body.ph-landing-v4 .site-footer a:hover {
  color: var(--cream);
}

body.ph-landing-v4 .footer-bottom {
  border-color: var(--border) !important;
}

body.ph-landing-v4 .back-to-top {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  border: none;
  box-shadow: 0 4px 20px rgba(232,98,42,0.3);
}


/* ================================================================
   RESPONSIVE -- 1024px
   ================================================================ */

@media (max-width: 1024px) {
  .ph-hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ph-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .ph-hero-cta,
  .ph-hero-trust {
    justify-content: center;
  }

  .ph-hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .ph-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .ph-problems-grid,
  .ph-features-grid,
  .ph-testimonials-grid,
  .ph-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ph-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .ph-pricing-card.ph-pricing-popular {
    transform: none;
    order: -1;
  }

  .ph-pricing-card.ph-pricing-popular:hover {
    transform: translateY(-2px);
  }

  .ph-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .ph-header-nav {
    display: none;
  }

  .ph-hamburger {
    display: flex;
  }
}


/* ================================================================
   RESPONSIVE -- 768px
   ================================================================ */

@media (max-width: 768px) {
  .ph-section {
    padding: 72px 0;
  }

  .ph-hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .ph-hero h1 {
    font-size: clamp(30px, 7vw, 42px);
    letter-spacing: 2px;
  }

  .ph-hero-sub {
    font-size: 16px;
  }

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

  .ph-problems-grid,
  .ph-features-grid,
  .ph-testimonials-grid,
  .ph-blog-grid {
    grid-template-columns: 1fr;
  }

  .ph-hero-cta {
    flex-direction: column;
  }

  .ph-hero-cta .btn-primary,
  .ph-hero-cta .btn-secondary {
    width: 100%;
  }

  .ph-hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .ph-section-header h2 {
    font-size: clamp(26px, 6vw, 36px);
    letter-spacing: 2px;
  }

  .ph-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ph-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .ph-footer-trust {
    flex-direction: column;
    align-items: center;
  }

  .ph-cta-final {
    padding: 80px 0;
  }

  .ph-cta-final h2 {
    font-size: clamp(26px, 6vw, 38px);
  }
}


/* ================================================================
   RESPONSIVE -- 480px
   ================================================================ */

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .ph-section {
    padding: 56px 0;
  }

  .ph-hero {
    padding: 100px 0 48px;
  }

  .ph-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .ph-stat-value {
    font-size: 32px;
  }

  .ph-stat-label {
    font-size: 10px;
  }

  .ph-problem-card,
  .ph-feature-card,
  .ph-testimonial-card,
  .ph-blog-body {
    padding: 24px;
  }

  .ph-pricing-card {
    padding: 32px 24px;
  }

  .ph-pricing-amount {
    font-size: 44px;
  }

  .waitlist-input {
    min-width: 100%;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form .btn-primary {
    width: 100%;
  }

  .ph-footer-social a {
    width: 36px;
    height: 36px;
  }

  .ph-cta-final .btn-primary {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
  }

  .ph-header-logo span {
    font-size: 18px;
    letter-spacing: 2px;
  }
}


/* ================================================================
   UTILITY CLASSES
   ================================================================ */

.text-orange { color: var(--orange); }
.text-cream { color: var(--cream); }
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-amber { color: var(--amber); }

.bg-bg { background: var(--bg); }
.bg-bg2 { background: var(--bg2); }
.bg-bg3 { background: var(--bg3); }

.font-heading { font-family: var(--font-heading); }
.font-mono { font-family: var(--font-mono); }
.font-body { font-family: var(--font-body); }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 2px; }
.tracking-wider { letter-spacing: 3px; }


/* ================================================================
   KEYFRAME ANIMATIONS
   ================================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(232,98,42,0.15); }
  50% { box-shadow: 0 0 40px rgba(232,98,42,0.25); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes rotate360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Animated gradient border effect for featured cards */
.glow-border {
  position: relative;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--orange), transparent, var(--orange));
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
  z-index: -1;
  opacity: 0.3;
}


/* ================================================================
   SELECTION & SCROLLBAR
   ================================================================ */

::selection {
  background: rgba(232,98,42,0.25);
  color: var(--cream);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--bg4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(232,98,42,0.3);
}


/* ================================================================
   FOCUS STYLES (Accessibility)
   ================================================================ */

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}


/* ================================================================
   PRINT
   ================================================================ */

@media print {
  body::before,
  body::after,
  .site-noise,
  .ph-header,
  .ph-mobile-menu,
  .back-to-top,
  .ph-footer-social {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }
}

/* ═══════════════════════════════════════════
   LEGACY PAGE STYLES (contact, blog, legal, etc.)
   ═══════════════════════════════════════════ */

/* Shell container for legacy pages */
.shell { max-width: var(--max-width, 1200px); margin: 0 auto; padding: 0 24px; }

/* Page hero (shared by contact, blog, legal) */
.page-hero { position: relative; padding: 120px 0 60px; text-align: center; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(232,98,42,0.08) 0%, transparent 70%); pointer-events: none; }
.page-hero .eyebrow { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); margin-bottom: 12px; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 3px; color: var(--cream); margin-bottom: 12px; }
.page-hero-sub { font-family: var(--font-body); font-size: 16px; color: var(--text2); max-width: 600px; margin: 0 auto; }

/* Site section */
.site-section { padding: 80px 0; }
.ph-site { background: var(--bg); color: var(--text); min-height: 100vh; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-family: var(--font-heading); font-size: 2rem; letter-spacing: 2px; color: var(--cream); margin-bottom: 12px; }
.contact-copy p { font-family: var(--font-body); font-size: 15px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.contact-points { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.contact-points li { font-family: var(--font-body); font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.contact-points li span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.contact-info-block { padding: 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.contact-info-block strong { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange); }
.contact-info-block a { color: var(--cream); text-decoration: none; }
.contact-info-block a:hover { color: var(--orange); }

/* Contact form */
.contact-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-card label { display: flex; flex-direction: column; gap: 6px; }
.contact-card label span { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.contact-card input,
.contact-card textarea { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; font-family: var(--font-body); font-size: 14px; color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.contact-card input:focus,
.contact-card textarea:focus { border-color: rgba(232,98,42,0.5); box-shadow: 0 0 0 3px rgba(232,98,42,0.08); }
.contact-card textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-submit-row { display: flex; align-items: center; gap: 16px; }
.contact-msg { font-family: var(--font-mono); font-size: 12px; }
.contact-msg.success { color: var(--green); }
.contact-msg.error { color: var(--red); }

/* Blog cards (for blog listing) */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.blog-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; background: var(--bg3); }
.blog-card-body { padding: 20px; }
.blog-card-body h3 { font-family: var(--font-heading); font-size: 1.3rem; letter-spacing: 1px; color: var(--cream); margin-bottom: 8px; }
.blog-card-body p { font-family: var(--font-body); font-size: 14px; color: var(--text2); line-height: 1.6; }
.blog-card-meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }

/* Scroll reveal animations */
.reveal, .reveal-slide-left, .reveal-slide-right { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-slide-left { transform: translateX(-30px); }
.reveal-slide-right { transform: translateX(30px); }
.reveal.is-visible, .reveal-slide-left.is-visible, .reveal-slide-right.is-visible,
.reveal.visible, .reveal-slide-left.visible, .reveal-slide-right.visible { opacity: 1; transform: translate(0); }
[data-delay="1"] { transition-delay: 0.15s; }
[data-delay="2"] { transition-delay: 0.3s; }

/* Site noise overlay */
.site-noise { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Legal pages */
.legal-content { max-width: 800px; margin: 0 auto; padding: 40px 24px 80px; font-family: var(--font-body); font-size: 15px; color: var(--text); line-height: 1.8; }
.legal-content h2 { font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 2px; color: var(--cream); margin: 32px 0 12px; }
.legal-content h3 { font-family: var(--font-heading); font-size: 1.2rem; letter-spacing: 1px; color: var(--cream); margin: 24px 0 8px; }
.legal-content a { color: var(--orange); }

/* Responsive legacy */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 0 40px; }
}

  .ph-hero,
  .ph-section,
  .ph-cta-final {
    padding: 32px 0 !important;
  }
}
