/* =============================================
   ROOK MEDIA — Home Page Styles
   ============================================= */

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding: 120px 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
}

.hero-rook {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(8rem, 18vw, 22rem);
  color: rgba(201,168,76,0.04);
  line-height: 1;
  user-select: none;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  flex: 1;
  animation: fadeUp 0.9s ease both;
}

.hero-text { max-width: 640px; }

.hero-content h1 {
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-stats {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 100%;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}
.hero-stat span:last-child {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ---- Trust Strip ---- */
.trust-strip {
  padding: 28px 0;
  background: var(--surface);
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 0.85rem;
}

.trust-industries {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust-industries .dot {
  color: var(--gold);
  font-size: 0.45rem;
}

/* ---- Services Preview ---- */
.services-preview { background: var(--black); }

.section-header {
  text-align: left;
  max-width: 540px;
  margin-bottom: 4rem;
}

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

.service-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  transition: var(--transition);
}
.service-link:hover { gap: 8px; letter-spacing: 0.12em; }

/* ---- Why Section ---- */
.why-section {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.why-bg-accent {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

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

.why-check {
  width: 28px;
  height: 28px;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-list strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.why-list p { font-size: 0.88rem; }

.why-visual { display: flex; justify-content: center; }

.why-rook-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 360px;
  width: 100%;
  box-shadow: var(--shadow-gold);
  animation: glowPulse 4s ease-in-out infinite;
}

.rook-symbol {
  font-size: 6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(201,168,76,0.4));
  animation: float 5s ease-in-out infinite;
}

.rook-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 1.5rem auto;
  max-width: 120px;
}

.rook-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.rook-card-text { margin-top: 1.25rem; }

/* ---- Process Teaser ---- */
.process-teaser { background: var(--black); }

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  padding: 0 1rem;
}

.step-num {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  width: 56px;
  height: 56px;
  border: 1px solid rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.05);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.process-step:hover .step-num {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(201,168,76,0.2);
}

.process-step h4 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.process-step p { font-size: 0.88rem; }

.step-arrow {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,168,76,0.2), rgba(201,168,76,0.6), rgba(201,168,76,0.2));
  align-self: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--surface);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-rook {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.5));
}

.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner > p { max-width: 520px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

.cta-note {
  margin-top: 1.25rem !important;
  font-size: 0.8rem !important;
  color: var(--text-dim) !important;
}

/* ---- Responsive ---- */
/* ---- Hero Value Statements ---- */
.hero-value-title {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

/* ---- Pricing Section ---- */
.pricing-section {
  padding: 6rem 0;
}

.pricing-section .section-header {
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-grid .card .stat-number {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}

.pricing-grid .card h3 {
  margin-bottom: 0.75rem;
}

/* ---- Hero Chess Board ---- */
.hero-board-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.5rem;
}

.chess-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 0 50px rgba(201, 168, 76, 0.1), 0 0 0 1px rgba(201, 168, 76, 0.08);
  overflow: hidden;
}

.chess-sq { aspect-ratio: 1; }
.sq-light { background: rgba(255, 255, 255, 0.02); }
.sq-dark  { background: rgba(201, 168, 76, 0.06); }

.chess-piece {
  position: absolute;
  width: 12.5%;
  height: 12.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  z-index: 2;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.chess-rook { color: var(--gold); filter: drop-shadow(0 0 6px rgba(201,168,76,0.5)); }
.chess-king { color: rgba(240, 237, 232, 0.8); }
.chess-bp, .chess-bb, .chess-bn, .chess-bq { color: rgba(180,170,160,0.45); }
.chess-wp, .chess-wb, .chess-wn, .chess-wq { color: rgba(230,225,215,0.5); }

.chess-board.checkmate .chess-rook {
  animation: mateGlow 0.6s ease-in-out 4;
}

@keyframes mateGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(201,168,76,0.5)); }
  50%       { filter: drop-shadow(0 0 22px rgba(201,168,76,1)); color: #ffdc70; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; max-width: 800px; gap: 2rem; }
  .hero-board-wrap { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .why-visual { display: none; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-stats { flex-direction: column; align-items: center; gap: 1.5rem; padding: 1.5rem 0; }
  .hero-stat { padding: 0; }
  .hero-stat-divider { display: none; }
  .process-steps { gap: 2rem; }
  .step-arrow { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
}
