/*
 * UI UX Powerhouse — Luxury Black & Gold Theme
 * Premium enterprise SaaS aesthetic
 * Inspired by: Stripe, Linear, Ramp, Brex, high-end fintech
 */

/* ═══════════════════════════════════════════════
   1. GOOGLE FONTS — PREMIUM TYPOGRAPHY
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ═══════════════════════════════════════════════
   2. DESIGN TOKENS
═══════════════════════════════════════════════ */
:root {
  /* Backgrounds */
  --lux-bg-base:    #0B0B0F;
  --lux-bg-1:       #111117;
  --lux-bg-2:       #15151D;
  --lux-surface-1:  #1B1B24;
  --lux-surface-2:  #20202B;
  --lux-surface-3:  #262632;

  /* Gold palette */
  --lux-gold:       #C9A84C;
  --lux-gold-light: #E2C36B;
  --lux-gold-dim:   #A8893C;
  --lux-gold-glow:  rgba(212, 175, 55, 0.18);
  --lux-gold-border:rgba(212, 175, 55, 0.25);
  --lux-gold-muted: rgba(212, 175, 55, 0.07);

  /* Text */
  --lux-text-primary:   #F5F5F7;
  --lux-text-secondary: #E5E7EB;
  --lux-text-muted:     #B4BBC8;
  --lux-text-subtle:    #8A93A3;

  /* Borders */
  --lux-border:     rgba(255,255,255,0.07);
  --lux-border-md:  rgba(255,255,255,0.10);

  /* Radii */
  --lux-radius:     10px;
  --lux-radius-lg:  16px;
  --lux-radius-pill:100px;

  /* Shadows */
  --lux-shadow-card: 0 1px 3px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  --lux-shadow-gold: 0 0 28px rgba(212,175,55,0.14), 0 0 0 1px rgba(212,175,55,0.2);

  /* Gradients */
  --lux-grad-gold: linear-gradient(135deg, #C9A84C 0%, #E2C36B 50%, #C9A84C 100%);
  --lux-grad-page: linear-gradient(160deg, #0B0B0F 0%, #111117 60%, #0D0D14 100%);
  --lux-grad-card: linear-gradient(145deg, #1B1B24 0%, #16161E 100%);
  --lux-grad-subtle: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, transparent 60%);
}

/* ═══════════════════════════════════════════════
   3. GLOBAL RESETS & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body,
body.body-dark {
  background-color: var(--lux-bg-base) !important;
  font-family: 'DM Sans', 'Inter', sans-serif !important;
  color: var(--lux-text-secondary) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: var(--lux-grad-page) !important;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', 'Inter', sans-serif !important;
  color: var(--lux-text-primary) !important;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p, li, span { color: var(--lux-text-secondary); }

a { color: var(--lux-gold-light); transition: color 0.2s; }
a:hover { color: #fff; text-decoration: none; }

/* Override theme-dark variables */
:root {
  --color-primary: var(--lux-gold) !important;
  --color-primary-rgb: 201, 168, 76 !important;
  --bg-1: var(--lux-surface-1) !important;
  --bg-2: var(--lux-bg-1) !important;
  --bg-white: var(--lux-bg-2) !important;
  --border-color: var(--lux-border) !important;
  --border-color-2: var(--lux-border-md) !important;
  --text-dark: var(--lux-text-primary) !important;
  --text-medium: var(--lux-text-muted) !important;
}

/* ───────────────────────────────────────────────
   KILL TEMPLATE RED/CORAL bg-primary CLASSES
   The original template uses bg-primary (red-coral) and
   bg-primary-light — override them to dark luxury surfaces.
─────────────────────────────────────────────── */
.bg-primary          { background: #1B1B24 !important; color: var(--lux-text-primary) !important; }
.bg-primary-light    { background: #20202B !important; color: var(--lux-text-primary) !important; }
.bg-primary .title,
.bg-primary-light .title  { color: #F5F5F7 !important; }
.bg-primary .text,
.bg-primary-light .text,
.bg-primary p,
.bg-primary-light p       { color: #B4BBC8 !important; }
.bg-primary .color-white,
.bg-primary-light .color-white { color: #F5F5F7 !important; }

/* Gold contact form — solid black borders, placeholder, inputs */
.faq-form input.form-control,
.faq-form textarea.form-control {
  background: rgba(0,0,0,.18) !important;
  border: 2px solid #000000 !important;
  color: #000000 !important;
  border-radius: 8px !important;
}
.faq-form input.form-control::placeholder,
.faq-form textarea.form-control::placeholder {
  color: rgba(0,0,0,.65) !important;
  opacity: 1 !important;
}
.faq-form input.form-control:focus,
.faq-form textarea.form-control:focus {
  border-color: #000000 !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.2) !important;
  outline: none !important;
}

/* Gold contact / featured sections — force black text */
[style*="linear-gradient(135deg,#C9A84C"],
[style*="linear-gradient(135deg, #C9A84C"] {
  color: #000000 !important;
}
[style*="linear-gradient(135deg,#C9A84C"] .title,
[style*="linear-gradient(135deg,#C9A84C"] h1,
[style*="linear-gradient(135deg,#C9A84C"] h2,
[style*="linear-gradient(135deg,#C9A84C"] h3,
[style*="linear-gradient(135deg,#C9A84C"] h4,
[style*="linear-gradient(135deg,#C9A84C"] p,
[style*="linear-gradient(135deg,#C9A84C"] .text,
[style*="linear-gradient(135deg,#C9A84C"] li,
[style*="linear-gradient(135deg,#C9A84C"] label { color: #000000 !important; }

/* ═══════════════════════════════════════════════
   4. HEADER / NAVIGATION
═══════════════════════════════════════════════ */
.header-area {
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s !important;
}

.header-area.is-sticky {
  background: rgba(11, 11, 15, 0.88) !important;
  border-bottom: 1px solid var(--lux-border) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 32px rgba(0,0,0,0.4) !important;
}

.header-area .nav-link {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--lux-text-muted) !important;
  letter-spacing: 0.01em;
  transition: color 0.2s !important;
  padding: 6px 14px !important;
}

.header-area .nav-link:hover,
.header-area .nav-link.active {
  color: var(--lux-text-primary) !important;
  background: transparent !important;
}

.header-area .main-navbar .menu-dropdown {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6) !important;
  border-radius: var(--lux-radius) !important;
}

.menu-toggler span {
  background: var(--lux-text-secondary) !important;
}

/* ═══════════════════════════════════════════════
   5. BUTTONS — GOLD LUXURY SYSTEM
═══════════════════════════════════════════════ */

/* Primary — gold gradient */
.btn-primary,
.ph-btn-primary {
  background: var(--lux-grad-gold) !important;
  color: #0B0B0F !important;
  border: none !important;
  border-radius: var(--lux-radius) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.01em;
  padding: 12px 28px !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s !important;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.3), 0 4px 16px rgba(201,168,76,0.2) !important;
  text-decoration: none;
  display: inline-block;
}

.btn-primary::before,
.ph-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.btn-primary:hover,
.ph-btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.5), 0 8px 28px rgba(201,168,76,0.35) !important;
  opacity: 1 !important;
  color: #0B0B0F !important;
}

.btn-primary:hover::before,
.ph-btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active,
.ph-btn-primary:active {
  transform: translateY(0) !important;
}

/* Secondary / ghost — dark surface + gold border */
.btn-outline-primary,
.ph-btn-ghost {
  background: var(--lux-surface-1) !important;
  color: var(--lux-gold-light) !important;
  border: 1px solid var(--lux-gold-border) !important;
  border-radius: var(--lux-radius) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 11px 27px !important;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s !important;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-primary:hover,
.ph-btn-ghost:hover {
  border-color: var(--lux-gold) !important;
  box-shadow: 0 0 16px var(--lux-gold-glow) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  background: var(--lux-surface-2) !important;
}

/* md size variant */
.btn.btn-md { font-size: 0.875rem !important; }

/* ═══════════════════════════════════════════════
   6. HERO SECTION
═══════════════════════════════════════════════ */
.ph-hero {
  background: transparent !important;
  position: relative;
  overflow: hidden;
}

/* Radial aurora behind hero */
.ph-hero::before {
  background: radial-gradient(ellipse 55% 45% at 68% 38%,
    rgba(201,168,76,0.09) 0%,
    rgba(201,168,76,0.04) 35%,
    transparent 70%) !important;
}

/* Subtle animated radial pulse */
.ph-hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  top: -160px; right: -140px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);
  animation: luxPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes luxPulse {
  0%   { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.12) translate(20px, -20px); opacity: 1; }
}

.ph-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  color: var(--lux-text-primary) !important;
}

.ph-hero h1 em {
  font-style: normal !important;
  background: var(--lux-grad-gold) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.ph-hero-sub {
  color: var(--lux-text-muted) !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
}

/* eyebrow pill */
.ph-eyebrow {
  background: rgba(201,168,76,0.08) !important;
  border: 1px solid rgba(201,168,76,0.22) !important;
  color: var(--lux-gold-light) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.14em !important;
}

.ph-eyebrow span { color: var(--lux-gold) !important; }

/* hero image panel */
.ph-hero-img {
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
  background: var(--lux-surface-1) !important;
  box-shadow: 0 2px 0 rgba(255,255,255,0.04) inset,
              0 32px 80px rgba(0,0,0,0.5),
              0 0 0 1px var(--lux-border) !important;
  overflow: hidden;
}

.ph-hero-badge {
  background: rgba(11,11,15,0.92) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid var(--lux-gold-border) !important;
  border-radius: var(--lux-radius) !important;
  box-shadow: 0 0 20px var(--lux-gold-glow) !important;
}

.ph-hero-badge strong {
  color: var(--lux-gold-light) !important;
}

/* trust bar */
.ph-trust-bar {
  border-top-color: var(--lux-border) !important;
}

.ph-trust-item i {
  color: var(--lux-gold) !important;
}

.ph-trust-item span {
  color: var(--lux-text-muted) !important;
  font-size: 0.8rem !important;
}

/* ═══════════════════════════════════════════════
   7. SECTION TYPOGRAPHY
═══════════════════════════════════════════════ */
.ph-section-eyebrow {
  color: var(--lux-gold) !important;
  letter-spacing: 0.14em !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
}

.ph-section-title {
  color: var(--lux-text-primary) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}

.ph-section-sub {
  color: var(--lux-text-muted) !important;
  line-height: 1.8 !important;
}

.ph-divider {
  background: var(--lux-grad-gold) !important;
  height: 2px !important;
  width: 36px !important;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(201,168,76,0.4) !important;
}

/* ═══════════════════════════════════════════════
   8. SERVICE CARDS (HOMEPAGE GRID)
═══════════════════════════════════════════════ */
.ph-services-grid {
  background: var(--lux-border) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
}

.ph-service-card {
  background: var(--lux-surface-1) !important;
  transition: background 0.25s, box-shadow 0.25s !important;
  position: relative;
}

.ph-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lux-grad-subtle);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.ph-service-card:hover {
  background: var(--lux-surface-2) !important;
  box-shadow: inset 0 0 0 1px rgba(201,168,76,0.18) !important;
}

.ph-service-card:hover::before { opacity: 1; }

.ph-service-icon {
  background: rgba(201,168,76,0.08) !important;
  border: 1px solid rgba(201,168,76,0.18) !important;
  color: var(--lux-gold) !important;
}

.ph-service-card h5 { color: var(--lux-text-primary) !important; }
.ph-service-card p { color: var(--lux-text-muted) !important; }

.ph-service-arrow { color: rgba(201,168,76,0.18) !important; }
.ph-service-card:hover .ph-service-arrow { color: var(--lux-gold) !important; }

/* ═══════════════════════════════════════════════
   9. WHY US CARDS
═══════════════════════════════════════════════ */
.ph-why-card {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s !important;
}

.ph-why-card:hover {
  border-color: var(--lux-gold-border) !important;
  box-shadow: 0 0 24px var(--lux-gold-glow) !important;
  transform: translateY(-2px) !important;
}

.ph-why-num {
  color: rgba(201,168,76,0.12) !important;
  font-size: 2.4rem !important;
}

.ph-why-card h6 { color: var(--lux-text-primary) !important; }
.ph-why-card p  { color: var(--lux-text-muted) !important; }

/* ═══════════════════════════════════════════════
   10. CASE STUDY CARDS
═══════════════════════════════════════════════ */
.ph-case-card {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s !important;
}

.ph-case-card:hover {
  border-color: rgba(201,168,76,0.3) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px var(--lux-gold-glow) !important;
}

.ph-case-tag {
  background: rgba(201,168,76,0.08) !important;
  color: var(--lux-gold-light) !important;
  border-radius: 5px !important;
}

.ph-case-card h5 { color: var(--lux-text-primary) !important; }
.ph-case-card p  { color: var(--lux-text-muted) !important; }
.ph-metrics      { border-top-color: var(--lux-border) !important; }
.ph-metric strong { color: var(--lux-text-primary) !important; }
.ph-metric span   { color: var(--lux-text-subtle) !important; }

/* ═══════════════════════════════════════════════
   11. TECH STACK PILLS
═══════════════════════════════════════════════ */
.ph-tech-pill {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  color: var(--lux-text-secondary) !important;
  border-radius: 8px !important;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s !important;
}

.ph-tech-pill:hover {
  border-color: rgba(201,168,76,0.4) !important;
  color: var(--lux-text-primary) !important;
  background: var(--lux-surface-2) !important;
  box-shadow: 0 0 14px var(--lux-gold-glow) !important;
}

.ph-tech-pill i { color: var(--lux-gold) !important; }

/* ═══════════════════════════════════════════════
   12. PROCESS STEPS
═══════════════════════════════════════════════ */
.ph-process::before {
  background: var(--lux-border) !important;
}

.ph-step-dot {
  background: var(--lux-gold) !important;
  border-color: rgba(201,168,76,0.2) !important;
  box-shadow: 0 0 10px rgba(201,168,76,0.4) !important;
}

.ph-step-num { color: var(--lux-gold) !important; }
.ph-process-step h6 { color: var(--lux-text-primary) !important; }
.ph-process-step p  { color: var(--lux-text-muted) !important; }

/* ═══════════════════════════════════════════════
   13. TESTIMONIAL CARDS
═══════════════════════════════════════════════ */
.ph-testimonial-card {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
  transition: border-color 0.25s, box-shadow 0.25s !important;
}

.ph-testimonial-card:hover {
  border-color: var(--lux-gold-border) !important;
  box-shadow: 0 0 20px var(--lux-gold-glow) !important;
}

.ph-stars { color: var(--lux-gold) !important; }

.ph-testimonial-card blockquote {
  color: var(--lux-text-secondary) !important;
  font-size: 0.9rem !important;
  font-style: italic;
}

.ph-reviewer { border-top-color: var(--lux-border) !important; }

.ph-reviewer-avatar {
  background: rgba(201,168,76,0.1) !important;
  border: 1px solid rgba(201,168,76,0.25) !important;
  color: var(--lux-gold) !important;
}

.ph-reviewer-name { color: var(--lux-text-primary) !important; }
.ph-reviewer-role { color: var(--lux-text-muted) !important; }

/* ═══════════════════════════════════════════════
   14. TRUSTED BY / LOGO BAR
═══════════════════════════════════════════════ */
.ph-trusted {
  border-top-color: var(--lux-border) !important;
  border-bottom-color: var(--lux-border) !important;
  background: rgba(255,255,255,0.012) !important;
}

.ph-trusted-label { color: var(--lux-text-subtle) !important; }

.ph-logo-item {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid var(--lux-border) !important;
  color: var(--lux-text-subtle) !important;
  border-radius: 8px !important;
  transition: border-color 0.2s, color 0.2s !important;
}

.ph-logo-item:hover {
  border-color: var(--lux-gold-border) !important;
  color: var(--lux-text-muted) !important;
}

/* ═══════════════════════════════════════════════
   15. FINAL CTA SECTION
═══════════════════════════════════════════════ */
.ph-final-cta {
  background: linear-gradient(135deg,
    rgba(201,168,76,0.07) 0%,
    rgba(201,168,76,0.02) 50%,
    transparent 100%) !important;
  border-top-color: var(--lux-border) !important;
  border-bottom-color: var(--lux-border) !important;
  position: relative;
}

.ph-final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lux-gold-dim), transparent);
}

.ph-final-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
}

.ph-final-cta h2 em {
  font-style: normal !important;
  background: var(--lux-grad-gold) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.ph-final-cta p { color: var(--lux-text-muted) !important; }

/* ═══════════════════════════════════════════════
   16. CONTACT FORM
═══════════════════════════════════════════════ */
.ph-contact-form {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
  box-shadow: var(--lux-shadow-card) !important;
}

.ph-contact-form .form-control {
  background: rgba(255,255,255,0.04) !important;
  border-color: var(--lux-border) !important;
  color: var(--lux-text-primary) !important;
  border-radius: 8px !important;
  font-family: 'DM Sans', sans-serif !important;
  padding: 10px 14px !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.ph-contact-form .form-control::placeholder { color: var(--lux-text-subtle) !important; }

.ph-contact-form .form-control:focus {
  border-color: rgba(201,168,76,0.5) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08) !important;
  background: rgba(255,255,255,0.06) !important;
  outline: none !important;
}

/* ═══════════════════════════════════════════════
   17. FOOTER
═══════════════════════════════════════════════ */
.footer-area,
.footer-area.bg-primary-light {
  background: var(--lux-bg-1) !important;
  border-top: 1px solid var(--lux-border) !important;
}

.footer-widget h5 {
  color: var(--lux-text-primary) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
}

.footer-links li a {
  color: var(--lux-text-muted) !important;
  font-size: 0.85rem !important;
  transition: color 0.2s !important;
  text-decoration: none !important;
}

.footer-links li a:hover { color: var(--lux-gold-light) !important; }

.copy-right-area {
  border-top: 1px solid var(--lux-border) !important;
}

.copy-right-content span {
  color: var(--lux-text-subtle) !important;
  font-size: 0.8rem !important;
}

.copy-right-content a { color: var(--lux-gold-light) !important; }
.copy-right-content a:hover { color: #fff !important; }

.ph-footer-tagline {
  color: var(--lux-text-subtle) !important;
  font-size: 0.82rem !important;
}

/* ═══════════════════════════════════════════════
   18. SCROLL-TO-TOP BUTTON
═══════════════════════════════════════════════ */
.go-top {
  background: var(--lux-surface-2) !important;
  border: 1px solid var(--lux-gold-border) !important;
  color: var(--lux-gold) !important;
  border-radius: 8px !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}

.go-top:hover {
  box-shadow: 0 0 20px var(--lux-gold-glow) !important;
  transform: translateY(-2px) !important;
  color: var(--lux-gold-light) !important;
}

/* ═══════════════════════════════════════════════
   19. SERVICE LANDING PAGE CARDS (ph-card)
═══════════════════════════════════════════════ */
.ph-card {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s !important;
}

.ph-card:hover {
  border-color: rgba(201,168,76,0.3) !important;
  box-shadow: 0 0 24px var(--lux-gold-glow) !important;
  transform: translateY(-2px) !important;
}

.ph-card-icon {
  background: rgba(201,168,76,0.08) !important;
  border: 1px solid rgba(201,168,76,0.18) !important;
  color: var(--lux-gold) !important;
  border-radius: 10px !important;
}

.ph-card h5 { color: var(--lux-text-primary) !important; }
.ph-card p  { color: var(--lux-text-muted) !important; }

/* ═══════════════════════════════════════════════
   20. FAQ SECTION
═══════════════════════════════════════════════ */
.ph-faq-item {
  border-bottom-color: var(--lux-border) !important;
}

.ph-faq-q {
  color: var(--lux-text-primary) !important;
  font-weight: 700 !important;
}

.ph-faq-q i { color: var(--lux-gold) !important; }

.ph-faq-a { color: var(--lux-text-muted) !important; }

/* ═══════════════════════════════════════════════
   21. RELATED LINKS SIDEBAR
═══════════════════════════════════════════════ */
.ph-related a {
  border-color: var(--lux-border) !important;
  color: var(--lux-text-muted) !important;
  border-radius: 8px !important;
  transition: border-color 0.2s, color 0.2s, background 0.2s !important;
}

.ph-related a:hover {
  border-color: var(--lux-gold-border) !important;
  color: var(--lux-gold-light) !important;
  background: rgba(201,168,76,0.05) !important;
}

/* ═══════════════════════════════════════════════
   22. BREADCRUMB
═══════════════════════════════════════════════ */
.ph-breadcrumb { color: var(--lux-text-subtle) !important; }
.ph-breadcrumb a { color: var(--lux-text-muted) !important; }
.ph-breadcrumb a:hover { color: var(--lux-gold-light) !important; }

/* ═══════════════════════════════════════════════
   23. PROSE (ARTICLE BODY)
═══════════════════════════════════════════════ */
.ph-prose h2 {
  color: var(--lux-text-primary) !important;
  letter-spacing: -0.025em !important;
  position: relative;
  padding-bottom: 16px;
}

.ph-prose h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--lux-grad-gold);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(201,168,76,0.4);
}

.ph-prose h3 { color: var(--lux-text-primary) !important; }
.ph-prose p  { color: var(--lux-text-secondary) !important; line-height: 1.9 !important; }
.ph-prose li { color: var(--lux-text-secondary) !important; line-height: 1.85 !important; }
.ph-prose strong { color: var(--lux-text-primary) !important; }

code {
  background: rgba(201,168,76,0.08) !important;
  color: var(--lux-gold-light) !important;
  border: 1px solid rgba(201,168,76,0.15) !important;
  border-radius: 4px !important;
  padding: 1px 6px !important;
  font-size: 0.88em !important;
}

/* ═══════════════════════════════════════════════
   24. METRICS / KPI BOXES
═══════════════════════════════════════════════ */
.ph-metric-box {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
  position: relative;
  overflow: hidden;
}

.ph-metric-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lux-gold-dim), transparent);
  opacity: 0.5;
}

.ph-metric-box strong { color: var(--lux-text-primary) !important; }
.ph-metric-box span   { color: var(--lux-text-subtle) !important; }

/* ═══════════════════════════════════════════════
   25. PRICING PAGE — TIER CARDS
═══════════════════════════════════════════════ */
.pricing-item,
.pricing-item.bg-primary-light {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
  box-shadow: var(--lux-shadow-card) !important;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s !important;
  padding: 36px 32px !important;
}

.pricing-item:hover {
  border-color: var(--lux-gold-border) !important;
  box-shadow: 0 0 32px var(--lux-gold-glow), var(--lux-shadow-card) !important;
  transform: translateY(-3px) !important;
}

/* Active card = gold featured treatment, NOT coral */
.pricing-item.active {
  background: linear-gradient(145deg, #C9A84C 0%, #F4D03F 55%, #D4AF37 100%) !important;
  border: none !important;
  box-shadow: 0 8px 40px rgba(201,168,76,.4) !important;
}
.pricing-item.active *:not(.btn):not(a) {
  color: #000000 !important;
}
.pricing-item.active .pricing-list li,
.pricing-item.active .pricing-list li i,
.pricing-item.active .pricing-list i { color: #000000 !important; }
.pricing-item.active .btn-primary,
.pricing-item.active a.btn {
  background: #0B0B0F !important;
  color: #F4D03F !important;
  border-color: #0B0B0F !important;
}
.pricing-item.active .btn-primary:hover,
.pricing-item.active a.btn:hover {
  background: #1B1B24 !important;
  border-color: #F4D03F !important;
}

.pricing-header h4 {
  color: var(--lux-text-primary) !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
}

.pricing-header p { color: var(--lux-text-muted) !important; }

.pricing-list li {
  color: var(--lux-text-secondary) !important;
  font-size: 0.88rem !important;
  padding: 6px 0 !important;
  border-bottom: 1px solid var(--lux-border) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.pricing-list li:last-child { border-bottom: none !important; }

.pricing-list li .fal.fa-check {
  color: var(--lux-gold) !important;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ═══════════════════════════════════════════════
   26. BLOG PAGE — CARDS
═══════════════════════════════════════════════ */
.blog-area .card,
.blog-area .card-content {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s !important;
}

.blog-area .card:hover {
  border-color: var(--lux-gold-border) !important;
  box-shadow: 0 0 20px var(--lux-gold-glow) !important;
  transform: translateY(-2px) !important;
}

.blog-area .tag a {
  background: rgba(201,168,76,0.08) !important;
  color: var(--lux-gold-light) !important;
  border: 1px solid rgba(201,168,76,0.15) !important;
  border-radius: 5px !important;
  padding: 2px 10px !important;
  font-size: 0.75rem !important;
}

.blog-area .card-title a,
.blog-area .title a {
  color: var(--lux-text-primary) !important;
  transition: color 0.2s !important;
}

.blog-area .card-title a:hover,
.blog-area .title a:hover {
  color: var(--lux-gold-light) !important;
}

/* ═══════════════════════════════════════════════
   27. HERO BANNER (pricing / blogs pages)
═══════════════════════════════════════════════ */
.hero-banner,
.hero-banner-4 {
  background: transparent !important;
  padding: 120px 0 80px !important;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%,
    rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-banner .title,
.hero-banner h1 {
  color: var(--lux-text-primary) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}

.hero-banner .text,
.hero-banner p.text {
  color: var(--lux-text-muted) !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
}

.hero-banner .breadcrumb-item a { color: var(--lux-text-muted) !important; }
.hero-banner .breadcrumb-item.active { color: var(--lux-text-subtle) !important; }
.hero-banner .breadcrumb-item + .breadcrumb-item::before { color: var(--lux-text-subtle) !important; }

/* ═══════════════════════════════════════════════
   28. SPECIALIST SERVICE GRID (pricing page)
═══════════════════════════════════════════════ */
[onmouseover] {
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s !important;
}

/* ═══════════════════════════════════════════════
   29. GENERIC CARD / INFO GRID
═══════════════════════════════════════════════ */
.card {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
}

.card-icon {
  background: rgba(201,168,76,0.08) !important;
  color: var(--lux-gold) !important;
}

.card-title { color: var(--lux-text-primary) !important; }

/* Tech stack card grid (pricing page) */
.about-area .card,
.info-list .card {
  background: var(--lux-surface-1) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-radius-lg) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.about-area .card:hover,
.info-list .card:hover {
  border-color: var(--lux-gold-border) !important;
  box-shadow: 0 0 16px var(--lux-gold-glow) !important;
}

.about-area .card .card-icon i,
.info-list .card .card-icon i {
  color: var(--lux-gold) !important;
}

/* ═══════════════════════════════════════════════
   30. PRELOADER
═══════════════════════════════════════════════ */
#preLoader {
  background: var(--lux-bg-base) !important;
}

.loader {
  border-color: var(--lux-border) transparent var(--lux-gold) transparent !important;
}

/* ═══════════════════════════════════════════════
   31. FORM ELEMENTS (GLOBAL)
═══════════════════════════════════════════════ */
.form-control,
textarea.form-control,
input.form-control {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--lux-border) !important;
  color: var(--lux-text-primary) !important;
  border-radius: 8px !important;
  font-family: 'DM Sans', sans-serif !important;
}

.form-control::placeholder { color: var(--lux-text-subtle) !important; }

.form-control:focus {
  border-color: rgba(201,168,76,0.45) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.07) !important;
  background: rgba(255,255,255,0.06) !important;
  color: var(--lux-text-primary) !important;
}

/* ═══════════════════════════════════════════════
   32. COLOUR UTILITY OVERRIDES
═══════════════════════════════════════════════ */
.color-primary,
.color-primary a { color: var(--lux-gold) !important; }

.bg-primary-light {
  background-color: rgba(201,168,76,0.06) !important;
}

/* ═══════════════════════════════════════════════
   33. GOLD HORIZONTAL RULE / DIVIDERS
═══════════════════════════════════════════════ */
.border-top {
  border-top-color: var(--lux-border) !important;
}

hr {
  border-color: var(--lux-border) !important;
  opacity: 1 !important;
}

/* ═══════════════════════════════════════════════
   34. ANIMATED BACKGROUND GRID PATTERN (HERO)
═══════════════════════════════════════════════ */
.ph-hero > .container { position: relative; z-index: 2; }

/* Subtle dot grid behind hero */
section.ph-hero {
  background-image:
    radial-gradient(circle, rgba(201,168,76,0.08) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
  background-position: -1px -1px !important;
}

/* ═══════════════════════════════════════════════
   35. SELECTION COLOUR
═══════════════════════════════════════════════ */
::selection {
  background: rgba(201,168,76,0.25);
  color: var(--lux-text-primary);
}

/* ═══════════════════════════════════════════════
   36. SCROLLBAR
═══════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--lux-bg-base); }
::-webkit-scrollbar-thumb {
  background: var(--lux-surface-3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--lux-gold-dim);
}

/* ═══════════════════════════════════════════════
   37. MOBILE NAV OVERLAY
═══════════════════════════════════════════════ */
.mobile-menu {
  background: var(--lux-bg-1) !important;
  border-bottom: 1px solid var(--lux-border) !important;
}

.main-responsive-nav {
  background: rgba(11,11,15,0.95) !important;
  border-bottom: 1px solid var(--lux-border) !important;
  backdrop-filter: blur(16px) !important;
}

/* ═══════════════════════════════════════════════
   38. SUCCESS / ERROR MESSAGES
═══════════════════════════════════════════════ */
.success-msg { color: #6ee7b7 !important; }
.error { color: #f87171 !important; }

/* ═══════════════════════════════════════════════
   39. ACCESSIBILITY — FOCUS RING
═══════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--lux-gold) !important;
  outline-offset: 3px !important;
}

/* ═══════════════════════════════════════════════
   40. CTA SECTION BACKGROUND VARIATIONS
═══════════════════════════════════════════════ */
section[style*="background:linear-gradient(135deg,rgba(91,110,245"],
section[style*="background: linear-gradient(135deg, rgba(91,110,245"] {
  background: linear-gradient(135deg,
    rgba(201,168,76,0.07) 0%,
    rgba(201,168,76,0.02) 50%,
    transparent 100%) !important;
}

/* Replace all blue/indigo border accent references on page sections */
section[style*="border-top:1px solid var(--ph-border)"] {
  border-top-color: var(--lux-border) !important;
}

/* ═══════════════════════════════════════════════
   41. LOGO SHIMMER ON HOVER
═══════════════════════════════════════════════ */
.logo a img,
.navbar-brand img {
  transition: filter 0.3s, opacity 0.3s !important;
  filter: brightness(1) !important;
}

.logo a:hover img,
.navbar-brand:hover img {
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(201,168,76,0.3)) !important;
}

/* ═══════════════════════════════════════════════
   42. RESPONSIVE ADJUSTMENTS
═══════════════════════════════════════════════ */
@media (max-width: 767px) {
  .ph-hero h1 { font-size: clamp(1.9rem, 6vw, 2.6rem) !important; }
  .ph-section-title { font-size: clamp(1.5rem, 5vw, 2rem) !important; }
  .pricing-item { padding: 28px 20px !important; }
}

/* ═══════════════════════════════════════════════
   43. INLINE STYLE OVERRIDES — SECTION BACKGROUNDS
       (for sections using inline background styles)
═══════════════════════════════════════════════ */

/* Sections with explicit inline rgba(255,255,255,.02) background */
[style*="rgba(255,255,255,.02)"] {
  background: rgba(255,255,255,0.018) !important;
}

/* Override the ph-accent CSS variable inline usage */
/* The inline styles in HTML use --ph-accent: var(--color-primary, #5b6ef5)
   After we override --color-primary to gold, those automatically pick up gold */
