/* ============================================
   THEME: Bindingstone Digital
   Midnight Cornerstone — deep dark, warm gold

   Brand Identity:
   - Primary: Dark gold (#B8860B)
   - Secondary: Deep midnight (#1a1a2e)
   - Accent: Warm gold (#DAA520)
   - Premium dark surfaces
   ============================================ */

:root {
  /* --- Brand Colors (Midnight Cornerstone) --- */
  --color-primary:        #B8860B;      /* Dark gold — authority, prestige */
  --color-primary-light:  #DAA520;      /* Goldenrod — hover state */
  --color-primary-dark:   #996F0A;      /* Deep gold — pressed state */
  --color-secondary:      #1a1a2e;      /* Deep midnight navy */
  --color-secondary-light:#252545;      /* Lighter midnight */
  --color-accent:         #DAA520;      /* Warm goldenrod — highlights */
  --color-accent-light:   #E8BE4C;      /* Light gold — accent hover */

  /* --- Surfaces --- */
  --color-bg:             #0d0d1a;
  --color-surface:        #141428;
  --color-surface-light:  #1c1c38;
  --color-border:         rgba(255, 255, 255, 0.08);

  /* --- Text --- */
  --color-text:           #f0f0f5;
  --color-text-secondary: #a0a0b8;
  --color-text-muted:     #5a5a78;

  /* --- Typography --- */
  --font-heading:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type Scale */
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.5rem;
  --text-5xl:   3.25rem;
  --text-6xl:   4.5rem;

  /* --- Spacing / Layout --- */
  --container-max:        1200px;
  --container-padding:    2rem;
  --section-padding:      6rem;
  --grid-gap:             2rem;

  /* --- Borders --- */
  --radius:     6px;
  --radius-lg:  12px;
}

/* --- Responsive Type Scaling --- */
@media (max-width: 1024px) {
  :root {
    --text-6xl:  3.5rem;
    --text-5xl:  2.75rem;
    --text-4xl:  2rem;
    --section-padding: 4.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --text-6xl:  2.5rem;
    --text-5xl:  2rem;
    --text-4xl:  1.75rem;
    --text-3xl:  1.5rem;
    --container-padding: 1.25rem;
    --section-padding: 3.5rem;
    --grid-gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --text-6xl:  2rem;
    --text-5xl:  1.75rem;
    --container-padding: 1rem;
    --section-padding: 3rem;
  }
}

/* =============================================
   CLIENT-SPECIFIC STYLES
   ============================================= */

/* Form fields on accent/colored backgrounds */
.section--accent input::placeholder,
.section--accent textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.section--accent input,
.section--accent textarea,
.section--accent select {
  color: #fff;
}

/* Accent color highlight for brand emphasis */
.highlight {
  color: var(--color-primary);
}

.highlight--gold {
  color: var(--color-accent);
}

/* Brand separator line */
.divider {
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* Image placeholder styling */
.img-placeholder {
  background: linear-gradient(
    135deg,
    var(--color-surface) 0%,
    var(--color-surface-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero & page banner gradients — midnight with gold tinge */
.hero__bg .img-placeholder {
  background: linear-gradient(135deg, #0d0d1a 0%, #141428 25%, #1c1635 45%, #141428 65%, #0d0d1a 100%) !important;
}

.hero__overlay {
  background: linear-gradient(
    135deg,
    rgba(13, 13, 26, 0.90) 0%,
    rgba(13, 13, 26, 0.60) 45%,
    rgba(13, 13, 26, 0.80) 100%
  ) !important;
}

.page-banner {
  background: linear-gradient(135deg, #0d0d1a 0%, #141428 30%, #1c1635 50%, #141428 70%, #0d0d1a 100%) !important;
}

/* Comparison table highlight column (pricing page) */
.comparison-table__highlight {
  background-color: rgba(184, 134, 11, 0.08);
  border-left: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
}

.comparison-table thead .comparison-table__highlight {
  border-top: 2px solid var(--color-primary);
  color: var(--color-primary) !important;
}

.comparison-table tbody tr:last-child .comparison-table__highlight {
  border-bottom: 2px solid var(--color-primary);
}

/* Keystone decorative element */
.keystone-accent {
  display: inline-block;
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 100%);
  margin-right: 12px;
  vertical-align: middle;
}

/* =============================================
   BINDINGSTONE PREMIUM EFFECTS
   ============================================= */

/* Hero gradient mesh background */
.bs-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--color-bg);
}

.bs-mesh__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.07;
  animation: orb-float 20s ease-in-out infinite;
}

.bs-mesh__orb--1 {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.bs-mesh__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--color-accent);
  bottom: -10%;
  right: -5%;
  animation-delay: -7s;
}

.bs-mesh__orb--3 {
  width: 300px;
  height: 300px;
  background: #4a6fa5;
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Architectural grid overlay (subtle) */
.bs-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 134, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 134, 11, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Gold accent line */
.bs-accent-line {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 20%, var(--color-accent) 50%, var(--color-primary) 80%, transparent 100%);
  opacity: 0.4;
}

/* Section with blue gradient background (for CTA) */
.section--blue {
  background: linear-gradient(135deg, #0f1b3d 0%, #162654 50%, #0f1b3d 100%);
}

.section--blue h2,
.section--blue h3,
.section--blue .label {
  color: #fff;
}

.section--blue p {
  color: rgba(255, 255, 255, 0.75);
}

/* Profession card hover glow */
.prof-list__item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prof-list__item:hover::after {
  opacity: 1;
}

/* Button glow on primary */
.btn--primary {
  position: relative;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 20px rgba(184, 134, 11, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn--primary:hover::after {
  opacity: 1;
}

/* Gold dot separator for inline items */
.gold-sep::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
  margin: 0 1rem;
  vertical-align: middle;
}

/* Mockup screen gradient for Bindingstone */
.mockup-monitor__screen--bs {
  background: linear-gradient(135deg,
    var(--color-surface) 0%,
    rgba(184, 134, 11, 0.03) 30%,
    var(--color-surface-light) 60%,
    rgba(184, 134, 11, 0.02) 100%
  );
}

/* Number accent (for "01", "02" style) */
.num-accent {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
}

/* Card accent top border */
.card--accent-top {
  border-top: 2px solid var(--color-primary);
}

.card--accent-top:hover {
  border-top-color: var(--color-accent);
}
